* Update to Semantic UI 2.1.6 Basically I tried to rebuild the old layout as closely as possible. It is a bit more mobile friendly but still misses Semantic UIs collapsable menu: https://github.com/Semantic-Org/Semantic-UI/issues/157 + ditch old tablesorter for recommended one + use em instead of percentage for status labels in macros Overview: + sort overview by report date per default + slightly different colors Facts: + template based approach to even out the columns in facts view + don't show empty containers + needed an additional variable in context * get rid of unnecessary semantic src files * more cleanup * clean jquery-tablesort directory as well * drop unused theme files * remove symlinks in static/{js,css} * semantic_update + bump to semantic 2.1.8 + minor adjustments - default-sort class in tables - table type in inventory - fixed and wrapped table for reports * updated screenshots
197 lines
3.0 KiB
CSS
197 lines
3.0 KiB
CSS
body {
|
|
margin: 0;
|
|
font-family: "Open Sans", sans-serif;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
a {
|
|
color: #2E5D8C;
|
|
text-decoration: none;
|
|
}
|
|
|
|
h1.ui.header.no-margin-bottom {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.tablesorter-header-inner {
|
|
float: left;
|
|
}
|
|
|
|
th.tablesorter-headerAsc::after {
|
|
content: '\25b4' !important;
|
|
float: right;
|
|
}
|
|
|
|
th.tablesorter-headerDesc::after {
|
|
content: '\25be' !important;
|
|
float: right;
|
|
}
|
|
|
|
.ui.grid.padding-bottom {
|
|
padding-bottom: 40px !important;
|
|
}
|
|
|
|
.status {
|
|
width: 13.2em;
|
|
text-align: center;
|
|
display: block;
|
|
}
|
|
|
|
.ui.table[class*="very compact"] td {
|
|
padding: 0.15em 0.1em;
|
|
}
|
|
|
|
.factlist li {
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.ui.table.wrapped td {
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.ui.label.status {
|
|
color: white;
|
|
text-shadow: 0 0 1px;
|
|
}
|
|
|
|
.ui.header.failed, .ui.line.failed {
|
|
color: #AA4643;
|
|
}
|
|
|
|
.ui.label.failed {
|
|
background-color: #AA4643;
|
|
}
|
|
|
|
.ui.header.changed, .ui.line.changed {
|
|
color: #4572A7;
|
|
}
|
|
|
|
.ui.label.changed {
|
|
background-color: #4572A7;
|
|
}
|
|
|
|
.ui.header.unreported {
|
|
color: #3D96AE;
|
|
}
|
|
|
|
.ui.label.unreported {
|
|
background-color: #3D96AE;
|
|
}
|
|
|
|
.ui.header.noop {
|
|
color: #DB843D;
|
|
}
|
|
|
|
.ui.label.noop {
|
|
background-color: #DB843D;
|
|
}
|
|
|
|
.ui.label.unchanged {
|
|
background-color: #89A54E;
|
|
}
|
|
|
|
.ui.line.skipped {
|
|
color: orange;
|
|
}
|
|
|
|
.ui.label.skipped {
|
|
background-color: orange;
|
|
}
|
|
|
|
.count {
|
|
width: 4em;
|
|
text-align: center;
|
|
display: block;
|
|
}
|
|
|
|
.absolute {
|
|
position: fixed;
|
|
bottom: 0;
|
|
width: 100%;
|
|
background: #E8E8E8;
|
|
}
|
|
|
|
.absolute div {
|
|
padding: 1em;
|
|
}
|
|
|
|
.ui.menu.darkblue {
|
|
background-color: #2C3E50;
|
|
}
|
|
|
|
.ui.darkblue.header, i.darkblue {
|
|
color: #2C3E50;
|
|
}
|
|
|
|
.ui.labels .darkblue.label::before, .ui.darkblue.labels .label::before, .ui.darkblue.label::before {
|
|
background-color: #2C3E50;
|
|
}
|
|
|
|
.ui.darkblue.labels .label, .ui.darkblue.label {
|
|
background-color: #2C3E50;
|
|
border-color: #2C3E50;
|
|
color: #FFF;
|
|
}
|
|
|
|
.ui.menu.yellow {
|
|
background-color: #F0E965;
|
|
}
|
|
|
|
.ui.yellow.header, i.yellow {
|
|
color: #F0E965;
|
|
}
|
|
|
|
.ui.labels .yellow.label::before, .ui.yellow.labels .label::before, .ui.yellow.label::before {
|
|
background-color: #F0E965;
|
|
}
|
|
|
|
.ui.yellow.labels .label, .ui.yellow.label {
|
|
background-color: #F0E965;
|
|
border-color: #F0E965;
|
|
}
|
|
|
|
#scroll-btn-top {
|
|
position: fixed;
|
|
overflow: hidden;
|
|
z-index: 99999999;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
width: 50px;
|
|
height: 48px;
|
|
line-height: 48px;
|
|
right: 30px;
|
|
bottom: 85px;
|
|
padding-top: 2px;
|
|
background-color: #777777;
|
|
text-align: center;
|
|
color: #EEE;
|
|
border-top-left-radius: 10px;
|
|
border-top-right-radius: 10px;
|
|
border-bottom-right-radius: 10px;
|
|
border-bottom-left-radius: 10px;
|
|
-webkit-transition: all 0.5s ease-in-out;
|
|
-moz-transition: all 0.5s ease-in-out;
|
|
-ms-transition: all 0.5s ease-in-out;
|
|
-o-transition: all 0.5s ease-in-out;
|
|
transition: all 0.5s ease-in-out;
|
|
}
|
|
|
|
#scroll-btn-top:hover {
|
|
background-color: #888;
|
|
}
|
|
|
|
#scroll-btn-top.show {
|
|
visibility: visible;
|
|
cursor: pointer;
|
|
opacity: 1.0;
|
|
}
|
|
|
|
#scroll-btn-top i {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin: 0;
|
|
margin-right: -50%;
|
|
transform: translate(-50%, -50%)
|
|
}
|