mirror of
https://github.com/ShaYmez/ezservermonitor-web.git
synced 2024-11-15 12:51:50 -05:00
9970343fe5
General : responsive design General : reload button now spins when you reload block General : update jQuery plugin Knob to 1.2.11 General : optimizing security (config file esm.config.json is now in the conf/ folder with an htaccess) CPU : retrieves correctly CPU frequency for Raspberry Pi CPU : add CPU temperature (+ option to enable/disable) System : little correction for getting distro name Swap : fix if swap is disabled Services status : adds protocol TCP or UDP for checking service status Services status : new option to hide port number (see show_port in services section)
98 lines
2.8 KiB
SCSS
98 lines
2.8 KiB
SCSS
@import "compass";
|
|
|
|
.box {
|
|
background: map-get($classic-box, background);
|
|
box-shadow: 3px 3px 0 rgba(map-get($classic-box, border-color), .6);
|
|
margin-bottom: 15px;
|
|
border: 1px solid map-get($classic-box, border-color);
|
|
padding: 2px;
|
|
|
|
.box-header {
|
|
background-color: map-get($classic-box, color);
|
|
height: map-get-deep($classic-box, header, height);
|
|
|
|
h1 {
|
|
color: map-get-deep($classic-box, header, color);
|
|
float: left;
|
|
font-size: map-get-deep($classic-box, header, font-size);
|
|
font-weight: bold;
|
|
line-height: map-get-deep($classic-box, header, height) - 2px;
|
|
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;
|
|
}
|
|
}
|
|
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);
|
|
padding: 4px 10px;
|
|
|
|
text-decoration: none;
|
|
|
|
&:hover:not(.disabled) {
|
|
background: lighten(map-get($classic-box, color), 20%);
|
|
color: map-get($classic-box, color) !important;
|
|
}
|
|
|
|
&.disabled {
|
|
/*opacity: .4;*/
|
|
|
|
&: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);
|
|
|
|
&:hover {
|
|
color: lighten(map-get($classic-box, color), 20%);
|
|
}
|
|
}
|
|
|
|
&.faded {
|
|
opacity: .4;
|
|
}
|
|
}
|
|
|
|
.box-footer {
|
|
background: #e8e8e8;
|
|
padding: 7px;
|
|
|
|
span[class^="icon-"] {
|
|
font-size: 14px;
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
} |