Orbit/app/assets/stylesheets/lib/checkbox-card.css

149 lines
2.8 KiB
CSS

.mini-layout {
}
.mini-layout .mini-layout-sidebar {
position: relative;
}
.mini-layout .mini-layout-sidebar:before {
content: "";
height: 100%;
position: absolute;
right: -8.5555%;
border-right: 1px solid #e5e5e5;
}
.checkbox-card {
margin: 0;
}
.checkbox-card li {
position: relative;
list-style: none;
color: #FFFFFF;
width: 180px;
height: 40px;
margin: 0 10px 10px 0;
float: left;
display: inline-block;
background-color: #cccccc;
overflow: hidden;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-transition: all .2s linear;
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
transition: all .2s linear;
}
.checkbox-card li.mark {
width: 0;
height: 0;
padding: 0;
margin: 0;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: alpha(opacity=0);
opacity: 0;
visibility: hidden;
}
.checkbox-card li:hover {
background-color: #0088cc;
}
.checkbox-card li:after {
content: "";
display: block;
clear: both;
height: 0;
visibility: hidden;
}
.checkbox-card li.active:before {
-webkit-text-size-adjust : none;
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
color: #FFF;
text-decoration: inherit;
content: "\f00c";
position: absolute;
right: 0px;
top: 0px;
line-height: 14px;
text-indent: 10px;
font-size: 10px;
width: 0px;
height: 0px;
border-style: solid;
border-width: 0 22px 22px 0;
border-color: transparent #51a351 transparent transparent;
}
.checkbox-card li.active label {
}
.checkbox-card li label {
margin-bottom: 0px;
overflow: hidden;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.checkbox-card li input {
visibility: hidden;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
margin: 0;
}
.checkbox-card li label span {
-webkit-text-size-adjust : none;
font-size: 10px;
display: block;
width: 130px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #666666;
margin-top: -3px;
}
.checkbox-card li:hover label span,
.checkbox-card li:hover label span.user-name {
color: #FFFFFF;
}
.checkbox-card li label span.user-name {
font-size: 12px;
color: #363636;
padding: 2px 0 0;
margin-top: 0;
}
.checkbox-card li .user-pic {
float: left;
margin-right: 5px;
width: 40px;
height: 40px;
}
/* Responsive */
@media (max-width: 767px) {
.mini-layout .mini-layout-sidebar,
.mini-layout .mini-layout-body {
width: 100%;
margin: 0;
}
.mini-layout .mini-layout-sidebar .nav {
border-bottom: 1px solid #e5e5e5;
margin-bottom: 10px;
padding-bottom: 5px;
}
.mini-layout .mini-layout-sidebar:before {
border-right: none;
}
.mini-layout .mini-layout-sidebar .nav-stacked > li {
float: left;
}
.checkbox-card li {
width: 210px;
margin: 0 0 10px 9px;
}
.checkbox-card li label span {
width: 160px;
}
}