freifunkmanager/webroot/css/main.css

197 lines
3.2 KiB
CSS
Raw Normal View History

body {
2017-05-16 19:18:35 +02:00
position: relative;
margin: 0px;
font-size: 15px;
color: #333;
line-height: 1.3;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.status {
2017-05-16 19:18:35 +02:00
float: right;
background: #009ee0;
2017-05-30 14:35:11 +02:00
color: white;
2017-05-16 19:18:35 +02:00
width: 50px;
height: 50px;
}
2017-05-30 14:35:11 +02:00
.status.connecting,.status.running {
2017-05-16 19:18:35 +02:00
background: #ffb400;
}
2017-05-30 14:35:11 +02:00
.status.offline, .status.failed {
2017-05-16 19:18:35 +02:00
background: #dc0067;
2017-05-30 14:35:11 +02:00
color: white;
}
2017-05-16 00:22:15 +02:00
span.online {
2017-05-16 19:18:35 +02:00
color: #009ee0;
2017-05-16 00:22:15 +02:00
}
span.offline {
2017-05-16 19:18:35 +02:00
color: #dc0067;
2017-05-16 00:22:15 +02:00
}
2017-05-15 21:59:48 +02:00
h1 {
2017-05-16 19:18:35 +02:00
border-bottom: 4px solid #dc0067;
2017-05-15 21:59:48 +02:00
}
header {
2017-05-30 18:40:06 +02:00
width: 100%;
2017-05-16 19:18:35 +02:00
height: 50px;
}
header > div {
2017-05-16 19:18:35 +02:00
display: inline-block;
}
nav {
2017-05-30 18:40:06 +02:00
background-color: #373636;
position: fixed;
2017-05-16 19:18:35 +02:00
display: inline-block;
font-weight: 700;
width: 100%;
2017-05-30 18:40:06 +02:00
height: 50px;
}
nav ul {
2017-05-16 19:18:35 +02:00
padding: 0;
margin: 0;
list-style-type: none;
}
nav li {
2017-05-16 19:18:35 +02:00
float:left;
display: inline-block;
}
nav li:hover, nav.active {
2017-05-16 19:18:35 +02:00
background: rgba(255, 255, 255, 0.2);
}
nav li a, nav li span {
2017-05-16 19:18:35 +02:00
display: inline-block;
cursor: pointer;
text-decoration: none !important;
text-align: center;
text-transform: uppercase;
color: inherit;
box-sizing: border-box;
padding: 1.1em .5em;
height: 50px;
}
nav > ul > .item-1 {
2017-05-16 19:18:35 +02:00
background: #ffb400;
color: #000;
}
nav > ul > .item-2 {
2017-05-16 19:18:35 +02:00
background: #dc0067;
color: #fff;
}
nav > ul > .item-3 {
2017-05-16 19:18:35 +02:00
background: #ccc;
color: #000;
}
2017-05-09 02:12:10 +02:00
.notifications {
2017-05-16 19:18:35 +02:00
position: absolute;
right: 1em;
2017-05-08 19:13:29 +02:00
}
.notify {
2017-05-16 19:18:35 +02:00
position: relative;
min-height: 1em;
margin: 1em 0;
padding: 1em 1.5em;
color: rgba(0,0,0,.87);
-webkit-transition: opacity .1s ease,color .1s ease,background .1s ease,box-shadow .1s ease;
transition: opacity .1s ease,color .1s ease,background .1s ease,box-shadow .1s ease;
box-shadow: 0 0 0 1px rgba(34,36,38,.22) inset, 0 0 0 0 transparent;
background: #ccc;
color: #000;
}
.notify.success {
2017-05-16 19:18:35 +02:00
background: #009ee0;
color: #fff;
}
.notify.warn {
2017-05-16 19:18:35 +02:00
background: #ffb400;
color: #000;
}
.notify.error {
2017-05-16 19:18:35 +02:00
background: #dc0067;
color: #fff;
}
2017-05-09 20:40:18 +02:00
thead {
2017-05-16 19:18:35 +02:00
font-size: 1.3em;
font-weight: bold;
cursor: default;
2017-05-09 20:40:18 +02:00
}
thead tr th{
2017-05-16 19:18:35 +02:00
border-bottom: 4px solid #dc0067;
2017-05-09 20:40:18 +02:00
}
2017-05-12 21:32:10 +02:00
table th > input {
2017-05-16 19:18:35 +02:00
border: none;
color: #000;
font-weight: bold;
background: #fff;
2017-05-12 21:32:10 +02:00
}
table th.sortable.sort-down:after {
2017-05-16 19:18:35 +02:00
content: " \25BC"
2017-05-12 21:32:10 +02:00
}
table th.sortable.sort-up:after {
2017-05-16 19:18:35 +02:00
content: " \25B2"
2017-05-12 21:32:10 +02:00
}
table th.sortable:not(.sort-down):not(.sort-up):after {
2017-05-16 19:18:35 +02:00
content: " \25B4\25BE";
2017-05-12 21:32:10 +02:00
}
2017-05-15 21:59:48 +02:00
table.nodes, table.stats {
2017-05-16 19:18:35 +02:00
width: 100%;
2017-05-12 21:32:10 +02:00
}
2017-05-09 20:40:18 +02:00
2017-05-12 21:32:10 +02:00
table.nodes td > span{
2017-05-16 19:18:35 +02:00
display: block;
2017-05-12 21:32:10 +02:00
}
table.nodes tbody tr:nth-child(even) {
2017-05-16 19:18:35 +02:00
background: #eee;
2017-05-09 20:40:18 +02:00
}
2017-05-12 21:32:10 +02:00
table.nodes tbody tr:nth-child(odd) {
2017-05-16 19:18:35 +02:00
background: #fff;
2017-05-12 21:32:10 +02:00
}
table.nodes tbody tr:hover {
2017-05-16 19:18:35 +02:00
background: #ccc;
2017-05-12 21:32:10 +02:00
}
table.nodes tbody tr.offline,
2017-05-12 21:32:10 +02:00
table.nodes tbody tr.offline:hover{
2017-05-16 19:18:35 +02:00
background: #dc0067;
2017-05-09 20:40:18 +02:00
}
table.nodes tbody tr.unseen{
background: #009ee0;
}
2017-05-09 20:40:18 +02:00
2017-05-15 21:59:48 +02:00
table tr.line td,table tr.line th {
2017-05-16 19:18:35 +02:00
border-bottom: 1px solid #ffb400;
2017-05-15 21:59:48 +02:00
}
table.stats td {
2017-05-16 19:18:35 +02:00
text-align: center;
2017-05-15 21:59:48 +02:00
}
2017-05-12 21:32:10 +02:00
.btn {
2017-05-16 19:18:35 +02:00
display: inline-block;
padding: .3em .5em;
border-radius: 1em;
color: #fff;
background-color: #dc0067;
text-align: center;
cursor: pointer;
2017-05-12 21:32:10 +02:00
}
.btn:hover {
2017-05-16 19:18:35 +02:00
background: lighten(#dc0067, 5%);
}
a.btn:hover {
2017-05-16 19:18:35 +02:00
text-decoration: none;
}
a {
2017-05-16 19:18:35 +02:00
color: #dc0067;
text-decoration: none;
}
input[readonly] {
border: none;
background: none;
padding: 0px;
font-size: 15px;
color: #333;
line-height: 1.3;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}