2014-02-18 19:39:54 +01:00
|
|
|
|
2014-03-04 11:43:43 +01:00
|
|
|
/** Default layout **/
|
|
|
|
html {
|
|
|
|
font-family: 'default-layout';
|
|
|
|
}
|
|
|
|
|
2014-02-18 19:39:54 +01:00
|
|
|
#layout {
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#header {
|
2014-02-25 11:24:17 +01:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2014-02-18 19:39:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar {
|
|
|
|
width: 13em;
|
2014-02-25 11:24:17 +01:00
|
|
|
position: fixed;
|
2014-02-18 19:39:54 +01:00
|
|
|
left: 0;
|
2014-02-25 11:24:17 +01:00
|
|
|
top: 3.6em;
|
2014-02-18 19:39:54 +01:00
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main {
|
|
|
|
position: fixed;
|
|
|
|
left: 13em;
|
2014-02-25 11:24:17 +01:00
|
|
|
top: 3.6em;
|
2014-02-18 19:39:54 +01:00
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-04 11:40:44 +01:00
|
|
|
#responsive-debug {
|
|
|
|
font-size: 0.9em;
|
|
|
|
font-family: Courier new, monospace;
|
|
|
|
padding: 0.5em;
|
|
|
|
width: 25em;
|
|
|
|
color: white;
|
|
|
|
height: 10em;
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0.5em;
|
|
|
|
right: 2em;
|
|
|
|
overflow: hidden;
|
|
|
|
z-index: 1000;
|
|
|
|
background: #333;
|
|
|
|
border-radius: 0.5em;
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
|
|
|
|
2014-03-04 11:43:43 +01:00
|
|
|
#layout.minimal-layout #responsive-debug {
|
|
|
|
font-size: 0.6em;
|
|
|
|
}
|
|
|
|
#layout.poor-layout #responsive-debug {
|
|
|
|
font-size: 0.7em;
|
|
|
|
}
|
|
|
|
#layout.compact-layout #responsive-debug {
|
|
|
|
font-size: 0.8em;
|
2014-02-18 19:39:54 +01:00
|
|
|
}
|
|
|
|
|
2014-03-04 11:43:43 +01:00
|
|
|
#layout.wide-layout #responsive-debug {
|
|
|
|
font-size: 1em;
|
2014-02-18 19:39:54 +01:00
|
|
|
}
|
|
|
|
|
2014-03-04 11:43:43 +01:00
|
|
|
/** Fullscreen layout **/
|
|
|
|
#layout.fullscreen-layout {
|
|
|
|
#header, #sidebar, .controls > .tabs {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main {
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
2014-02-18 19:39:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* tmp */
|
|
|
|
#main > .container {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
#layout.twocols #main > .container {
|
|
|
|
width: 50%;
|
|
|
|
}
|
2014-03-04 11:43:43 +01:00
|
|
|
|
2014-02-18 19:39:54 +01:00
|
|
|
|
|
|
|
/* #layout.twocols #main > .container > .controls {*/
|
2014-03-04 11:43:43 +01:00
|
|
|
/*#layout.twocols #main .container > .controls {
|
2014-02-18 19:39:54 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container > div {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2014-03-04 11:43:43 +01:00
|
|
|
*/
|
2014-02-18 19:39:54 +01:00
|
|
|
.container .controls {
|
|
|
|
top: 0;
|
|
|
|
background-color: white;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls h1 {
|
|
|
|
font-size: 1.5em;
|
|
|
|
margin-bottom: 0.2em;
|
|
|
|
border-bottom: 1px solid black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container .fake-controls {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container .controls .pagination {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main .dashboard {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dashboard > div.container {
|
|
|
|
font-size: 0.9em;
|
|
|
|
vertical-align: top;
|
2014-02-25 11:24:17 +01:00
|
|
|
width: 48.5%;
|
2014-02-18 19:39:54 +01:00
|
|
|
display: inline-block;
|
|
|
|
padding: 0;
|
2014-02-21 11:59:45 +01:00
|
|
|
margin-top: 1em;
|
2014-02-18 19:39:54 +01:00
|
|
|
margin-left: 1%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dashboard > div.container td.state {
|
|
|
|
font-size: 1em;
|
2014-03-07 15:03:46 +01:00
|
|
|
width: 6em;
|
2014-02-18 19:39:54 +01:00
|
|
|
}
|
|
|
|
|
2014-03-08 01:17:42 +01:00
|
|
|
.dashboard > div.container h1, .container .content h1, .container .controls h1 {
|
2014-02-18 19:39:54 +01:00
|
|
|
line-height: 2em;
|
|
|
|
font-size: 1em;
|
|
|
|
padding-left: 1em;
|
|
|
|
background-color: #555;
|
|
|
|
color: white;
|
|
|
|
border: none;
|
2014-02-25 11:24:17 +01:00
|
|
|
border-radius: 0.2em;
|
|
|
|
-moz-border-radius: 0.2em;
|
|
|
|
-webkit-border-radius: 0.2em;
|
2014-02-18 19:39:54 +01:00
|
|
|
}
|
|
|
|
|
2014-03-08 01:17:42 +01:00
|
|
|
.container .controls h1 {
|
|
|
|
margin-left: 1em;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container .controls .pagination {
|
|
|
|
margin-left: 1.2em;
|
|
|
|
}
|
|
|
|
|
2014-02-18 19:39:54 +01:00
|
|
|
.dashboard > div.container h1 a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dashboard > div.container h1 a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
2014-02-21 11:59:45 +01:00
|
|
|
padding: 1em;
|
2014-02-18 19:39:54 +01:00
|
|
|
}
|
|
|
|
|
2014-03-08 00:14:26 +01:00
|
|
|
.dashboard .content {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2014-02-25 11:24:17 +01:00
|
|
|
/* Not growing larger than 3840px at 1em=16px right now */
|
|
|
|
@media screen and (min-width: 240em) {
|
|
|
|
#main {
|
|
|
|
width: 227em;
|
|
|
|
}
|
|
|
|
#header {
|
|
|
|
width: 240em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-04 11:43:43 +01:00
|
|
|
/** More than 100em, that's usually 1600px **/
|
2014-02-25 11:24:17 +01:00
|
|
|
@media screen and (min-width: 100em) {
|
2014-03-04 11:43:43 +01:00
|
|
|
html {
|
|
|
|
font-family: 'wide-layout';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** Up to 72em, that's usually 1152px on desktops **/
|
|
|
|
@media screen and (max-width:72em) {
|
|
|
|
html {
|
|
|
|
font-family: 'compact-layout';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** Up to 752px, poor boy **/
|
|
|
|
@media screen and (max-width: 47em) {
|
|
|
|
html {
|
|
|
|
font-family: 'poor-layout';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Up to 576px for 1em=16px, should fit 320px devices */
|
|
|
|
@media screen and (max-width: 36em) {
|
|
|
|
html {
|
|
|
|
font-family: 'minimal-layout';
|
|
|
|
}
|
|
|
|
}
|
2014-02-25 11:24:17 +01:00
|
|
|
|
2014-03-04 11:43:43 +01:00
|
|
|
/* 100em */
|
|
|
|
#layout.wide-layout {
|
2014-02-25 11:24:17 +01:00
|
|
|
.dashboard > div.container {
|
|
|
|
width: 32%;
|
|
|
|
margin-left: 1%;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-04 11:43:43 +01:00
|
|
|
/* 72em */
|
|
|
|
#layout.compact-layout {
|
|
|
|
font-size: 0.8em;
|
2014-02-18 19:39:54 +01:00
|
|
|
}
|
2014-02-25 11:24:17 +01:00
|
|
|
|
2014-03-04 11:43:43 +01:00
|
|
|
#layout.poor-layout {
|
2014-03-07 11:32:38 +01:00
|
|
|
font-size: 0.8em;
|
|
|
|
|
2014-02-25 11:24:17 +01:00
|
|
|
.dashboard > div.container {
|
|
|
|
width: 98%;
|
|
|
|
margin-left: 1%;
|
|
|
|
margin-right: 1%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#layout.twocols {
|
|
|
|
#main > .container {
|
|
|
|
width: 99%;
|
|
|
|
}
|
|
|
|
#col1 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-04 11:43:43 +01:00
|
|
|
#layout.minimal-layout {
|
2014-02-25 11:24:17 +01:00
|
|
|
#sidebar {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-03-07 11:32:38 +01:00
|
|
|
|
|
|
|
.dashboard > div.container {
|
|
|
|
width: 98%;
|
|
|
|
margin-left: 1%;
|
|
|
|
margin-right: 1%;
|
|
|
|
}
|
|
|
|
|
2014-02-25 11:24:17 +01:00
|
|
|
#logo img {
|
|
|
|
/* TODO: Quickfix, this needs improvement */
|
|
|
|
width: 0 !important;
|
|
|
|
top: -100px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
#main {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
2014-03-06 10:22:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
#layout.twocols .dashboard > div.container {
|
|
|
|
width: 96%;
|
|
|
|
margin-left: 2%;
|
|
|
|
margin-right: 2%;
|
|
|
|
}
|
|
|
|
|
2014-03-17 16:29:18 +01:00
|
|
|
#layout.twocols.wide-layout #col1 {
|
|
|
|
width: 33.333%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#layout.twocols.wide-layout #col2 {
|
|
|
|
width: 66.667%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#layout.threecols.wide-layout #main > .container {
|
|
|
|
width: 33.333%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#layout #col2, #layout #col3 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#layout.twocols #col2 {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#layout.threecols #col3 {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-03-13 15:54:27 +01:00
|
|
|
.fileNotReadable {
|
|
|
|
padding: 0.5em;
|
|
|
|
background-color: @colorCritical;
|
|
|
|
font-weight: bold;
|
|
|
|
color: white;
|
|
|
|
}
|