ezservermonitor-web/web/css/libs/_classic-box.scss

98 lines
2.8 KiB
SCSS
Raw Normal View History

2014-06-18 04:11:11 -04:00
@import "compass";
.box {
background: map-get($classic-box, background);
box-shadow: 3px 3px 0 rgba(map-get($classic-box, border-color), .6);
2014-06-18 04:11:11 -04:00
margin-bottom: 15px;
border: 1px solid map-get($classic-box, border-color);
2014-06-18 04:11:11 -04:00
padding: 2px;
.box-header {
background-color: map-get($classic-box, color);
height: map-get-deep($classic-box, header, height);
2014-06-18 04:11:11 -04:00
h1 {
color: map-get-deep($classic-box, header, color);
2014-06-18 04:11:11 -04:00
float: left;
font-size: map-get-deep($classic-box, header, font-size);
2014-06-18 04:11:11 -04:00
font-weight: bold;
line-height: map-get-deep($classic-box, header, height) - 2px;
2014-06-18 04:11:11 -04:00
padding-left: 10px;
text-transform: uppercase;
/*text-shadow: rgba(0, 0, 0, 1) 0 1px 0;*/
&:first-letter {
font-size: map-get-deep($classic-box, header, font-size) + 6px;
2014-06-18 04:11:11 -04:00
}
}
ul {
float: right;
list-style-type: none;
li {
display: inline;
margin-left: -3px;
a {
color: lighten(map-get-deep($classic-box, header, color), 10%);
font-size: map-get-deep($classic-box, header, font-size) + 6px;
line-height: map-get-deep($classic-box, header, height);
2014-06-18 04:11:11 -04:00
padding: 4px 10px;
text-decoration: none;
&:hover:not(.disabled) {
background: lighten(map-get($classic-box, color), 20%);
color: map-get($classic-box, color) !important;
2014-06-18 04:11:11 -04:00
}
&.disabled {
/*opacity: .4;*/
2014-06-18 04:11:11 -04:00
&:hover {
cursor: default;
}
}
}
&:first-child {
margin-left: 0;
}
&:last-child a {
border-right: none;
}
&.active a {
background: #fafafa;
cursor: default;
}
}
}
}
.box-content {
padding: 6px;
table a {
text-decoration: none;
color: map-get($classic-box, color);
2014-06-18 04:11:11 -04:00
&:hover {
color: lighten(map-get($classic-box, color), 20%);
2014-06-18 04:11:11 -04:00
}
}
&.faded {
opacity: .4;
}
2014-06-18 04:11:11 -04:00
}
.box-footer {
background: #e8e8e8;
padding: 7px;
span[class^="icon-"] {
font-size: 14px;
margin-right: 5px;
}
}
}