123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657 |
- /*customer theme for vm-manager*/
- @vm-grey: #99a9c0;
- @vm-grey-light: #f4f4f4;
- @vm-spacing-base: 15px;
- @border-split: 1px solid #e9eaec;
- @border-out: 1px solid #dddee1;
- .vm-panel{
- background-color: white;
- text-align: left;
- border-radius: 4px;
- .panel-heading{
- text-align: left;
- width: 100%;
- border-radius: 4px 4px 0 0;
- border-bottom: @border-split;
- padding:@vm-spacing-base;
- font-weight: bold;
- }
- .panel-body{
- padding: @vm-spacing-base;
- font-size: 14px;
- }
- }
-
- .vm-msg-push{
- ul{
- overflow: hidden;
- li{
- &:first-child{
- color: white;
- font-size: 16px;
- font-weight: bold;
- background: #2d8cf0;
- border-radius: 4px 4px 0 0;
- }
- img{
- vertical-align: top;
- border-radius: 4px;
- margin-right: 5px;
- }
- text-align: left;
- .subject{
- width: 200px;
- display: inline-block;
- .title{
- line-height: 18px;
- font-size: 16px;
- font-weight: bold;
- .time{
- float: right;
- font-size: 14px;
- color: @vm-grey;
- }
- }
- .message{
- margin-top: 6px;
- overflow: hidden;
- text-overflow:ellipsis;
- }
- }
- }
- }
- .vm-badge{
- border: 1px solid #dddee1;
- width: 24px;
- height: 24px;
- line-height: 24px;
- border-radius: 4px;
- cursor: pointer;
- }
- }
- .vm-state-overview{
- background-color: white;
- border-radius: 4px;
- min-height: 100px;
- overflow: hidden;
- .symbol{
- color: white;
- font-size: 45px;
- background-color: #2d8cf0;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .value{
- color: @vm-grey;
- display: flex;
- flex-direction: column;
- justify-content: center;
- }
- }
- .vm-user-preview{
- overflow: hidden;
- .panel-heading{
- display: flex;
- img{
- margin-right: @vm-spacing-base;
- }
- .title{
- display: flex;
- flex-direction: column;
- justify-content: center;
- .name{
- color: #2d8cf0;
- font-size: 18px;
- }
- .role{
- color: @vm-grey;
- }
- }
- }
- ul.content{
- font-size: 12px;
- li{
- display: flex;
- border-bottom: @border-split;
- i{
- color: @vm-grey;
- font-size: 16px;
- width: 10px;
- }
- padding: 0 @vm-spacing-base;
- height: 45px;
- line-height: 45px;
- span{
- flex-grow: 1;
- }
- span:first-child{
- width: 20%;
- }
- span:nth-child(2){
- width: 40%;
- }
- span:last-child{
- text-align: right;
- width: 40%;
- }
- }
- li:last-child{
- border-bottom: 1px solid transparent;
- }
- }
- }
- .vm-progress{
- .panel-heading{
- height: 80px;
- color: #2d8cf0;
- font-size: 16px;
- }
- table{
- tr{
- td{
- padding: 0 15px;
- font-size: 14px;
- }
- td:nth-child(2){
- width: 15%;
- }
- td:last-child{
- width: 40%;
- }
- }
- }
- }
- .vm-timeline{
- font-size: 14px;
- .panel-heading{
- color: #2d8cf0;
- font-size: 16px;
- }
- ul.panel-body{
- li{
- .left, .right{
- flex-grow: 1;
- width: calc(50% - 1px);
- padding-bottom: 15px;
- }
- .left{
- text-align: right;
- padding-right: 30px;
- }
- .right{
- text-align: left;
- padding-left: 30px;
- }
- .content{
- background-color: @vm-grey-light;
- border-radius: 4px;
- }
- .split{
- width: 2px;
- background-color: #dddee1;
- height: inherit;
- .dot-left, .dot-right{
- display: inline-block;
- position: relative;
- width: 12px;
- height: 12px;
- color: #2d8cf0;
- background-color: #2d8cf0;
- border-radius: 50%;
- margin: 20px 0 0 -5px;
- }
- .dot-left:before, .dot-right:before{
- content: '';
- border: 6px solid transparent;
- position: absolute;
- }
- .dot-left:before{
- border-left-color: inherit;
- left: 8px;
- }
- .dot-right:before{
- border-right-color: inherit;
- right: 8px;
- }
- }
-
- }
- }
-
- }
- .vm-tabs{
- .heading{
- height: 55px;
- border-radius: 4px 4px 0 0;
- background-color: #2d8cf0;
- line-height: 55px;
- font-size: 16px;
- color: white;
- .icon{
- display: inline-block;
- text-align: center;
- font-size: 18px;
- width: 55px;
- background: rgba(0,0,0,0.1);
- }
- .title{
- margin-left: 10px;
- }
- }
- .body{
- position: relative;
- overflow: hidden;
- padding: @vm-spacing-base;
- &>ul{
- position: relative;
- height: inherit;
- &>li{
- display: inline-block;
- position: absolute;
- width: 100%;
- height: 100%;
- background: white;
- }
- }
- }
- .footer{
- min-height: 60px;
- line-height: 60px;
- ul{
- display: flex;
- border-top: @border-split;
- justify-content: space-around;
- li{
- text-align: center;
- cursor: pointer;
- }
- li.active{
- color: #2d8cf0;
- font-weight: bold;
- }
- }
- }
- }
- .vm-weather{
- .top{
- color: white;
- border-radius: 4px 4px 0 0;
- background-color: #2db7f5;
- text-align: center;
- height: 130px;
- i{
- font-size: 60px;
- }
- .temprature{
- font-size: 60px;
- }
- }
- .bottom{
- height: 73px;
- font-size: 14px;
- &>div{
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- span{
- color: @vm-grey;
- }
- }
- }
- }
- .vm-table{
- .control{
- position: relative;
- margin-top: -@vm-spacing-base;
- margin-bottom: @vm-spacing-base;
- .table-style{
- display: flex;
- align-items: center;
- }
- &>div{
- margin-top: @vm-spacing-base;
- }
- }
- .edit{
- position: relative;
- margin-bottom: @vm-spacing-base;
- padding-top: @vm-spacing-base;
- border-top: 1px dashed #e9eaec;
- }
- .footer{
- margin-top: @vm-spacing-base;
- .info-bar{
- .input-number{
- width: 60px;
- margin: 0 10px;
- }
- }
- .page{
- display: flex;
- align-items: center;
- .total{
- margin-right: 15px;
- }
- }
- }
- }
- .vm-state-group{
- text-align: center;
- padding: 15px;
- .item{
- float: left;
- border-right: @border-split;
- &:last-child{
- border-right: none;
- }
- .icon{
- font-size: 24px;
- }
- p{
- font-size: 14px;
- color: @vm-grey;
- }
- }
- }
- .vm-message-carousel{
- .item{
- padding: @vm-spacing-base;
- .main{
- padding: @vm-spacing-base;
- position: relative;
- &:before, &:after{
- content: "\"";
- position: absolute;
- font-size: 28px;
- font-weight: bold;
- color: #2d8cf0;
- }
- &:before{
- top: 0;
- left: 0;
- }
- &:after{
- bottom: 0;
- right: 15px;
- }
- .title{
- font-size: 16px;
- font-weight: bold;
- }
- .content{
- font-size: 16px;
- margin: @vm-spacing-base 0;
- }
- }
- .from{
- margin: 0 @vm-spacing-base;
- img{
- border-radius: 50%;
- vertical-align: middle;
- height: 40px;
- margin-right: @vm-spacing-base;
- }
- .name{
- font-size: 16px;
- font-weight: bold;
- }
- }
- }
- }
- .vm-card-vertical{
- .card-img{
- position: relative;
- text-align: center;
- img{
- //display: block;
- //width: 100%
- display:inline-block;
- }
- .control{
- position: absolute;
- bottom: -20px;
- right: 15px;
- display: flex;
- span{
- display: flex;
- justify-content: center;
- margin-left: 10px;
- align-items: center;
- color: white;
- font-size: 18px;
- background-color: #2d8cf0;
- width: 40px;
- height: 40px;
- border-radius: 50%;
- cursor: pointer;
- }
- span.edit{
- background-color: #2db7f5;
- a{
- color: white;
- }
- }
- span.delete{
- background-color: #2d8cf0;
- }
- }
- }
- .card-desc{
- p{
- font-size: 14px;
- margin: 10px 0;
- text-align: justify;
- height: 84px;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- }
- }
- .vm-card-horizantal{
- overflow: hidden;
- position: relative;
- display: flex;
- padding: 0;
- .card-img{
- display: flex;
- align-items: center;
- //width: 50%;
- img{
- //display: block;
- margin: 0;
- //width: 100%;
- }
- }
- .card-desc{
- width: 50%;
- p{
- font-size: 14px;
- margin: 10px 0;
- text-align: justify;
- }
- }
- }
- .vm-circle{
- padding: @vm-spacing-base;
- &>div{
- height: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .title{
- margin-bottom: 5px;
- }
- p{
- font-size: 14px;
- }
- }
- .vm-login{
- width: 900px;
- height: 400px;
- &>div{
- padding: 30px;
- }
- .login-form{
- display: flex;
- flex-direction: column;
- justify-content: center;
- .login-header{
- text-align: center;
- font-size: 16px;
- font-weight: bold;
- margin-bottom: 20px;
- span{
- color: #2d8cf0;
- }
- }
- .login-form{
- input{
- margin-bottom: 20px;
- width: 100%;
- height: 45px;
- }
- button{
- height: 45px;
- width: 100%;
- }
- }
- .login-footer{
- margin-top: 10px;
- span.forget{
- float: right;
- }
- }
- }
- .login-ad{
- height: 100%;
- font-weight: bold;
- font-size: 14px;
- border-radius: 0 4px 4px 0;
- background: url("../assets/img/login-bg.jpg");
- .photo-author{
- position: absolute;
- right: 6px;
- bottom: 45px;
- }
- }
- }
- .vm-lock-screen{
- width: 600px;
- height: 450px;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- .company{
- font-size: 16px;
- font-weight: bold;
- img{
- vertical-align: middle;
- }
- span{
- color: #2d8cf0;
- }
- margin-bottom: 50px;
- }
- .user{
- margin-bottom: 50px;
- p.name{
- text-align: center;
- font-size: 14px;
- line-height: 20px;
- }
- }
- input{
- margin-bottom: 10px;
- }
- button{
- width: 300px;
- }
- }
- .vm-image-list{
- .image-list-heading{
- .page{
- span{
- margin-right: 10px;
- }
- span.margin-end{
- margin-right: 20px;
- }
- .input-number{
- width: 40px;
- margin-right: 10px;
- }
- }
- .panel-body{
- margin-top: -@vm-spacing-base;
- &>div{
- margin-top: @vm-spacing-base;
- }
- }
- }
- .total{
- margin-right: 15px;
- }
- }
- .vm-loading{
- .rect{
- width: 8px;
- height: 36px;
- background-color: #2d8cf0;
- float: left;
- margin: 3px;
- animation: animate 1s infinite;
- &:nth-child(2){
- animation-delay: 0.1s
- }
- &:nth-child(3){
- animation-delay: 0.2s
- }
- &:nth-child(4){
- animation-delay: 0.3s
- }
- &:nth-child(5){
- animation-delay: 0.4s
- }
- &:nth-child(6){
- animation-delay: 0.5s
- }
- &:nth-child(7){
- animation-delay: 0.6s
- }
- &:nth-child(8){
- animation-delay: 0.7s
- }
- &:nth-child(9){
- animation-delay: 0.8s
- }
- &:nth-child(10){
- animation-delay: 0.9s
- }
- }
- }
- @keyframes animate{
- 50%{
- transform: scaleY(0)
- }
- }
|