Files
filebrowser/assets/src/css/dashboard.css
T

152 lines
2.3 KiB
CSS
Raw Normal View History

2017-07-07 20:00:32 +01:00
.dashboard {
max-width: 600px;
box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px, rgba(0, 0, 0, 0.12) 0px 1px 2px;
border-radius: .5em;
background: #fff;
padding: 1em;
margin: 1em 0;
}
.dashboard a {
color: inherit
}
.dashboard h1 button {
font-size: 0.5em;
float: right;
}
.dashboard table {
width: 100%;
}
.dashboard table th {
font-weight: 500;
color: #757575;
text-align: left;
}
.dashboard table th,
.dashboard table td {
padding: .5em 0;
}
.dashboard table td:last-child {
width: 1em
}
2017-08-01 20:49:56 +01:00
.dashboard > h1:first-of-type {
2017-07-07 20:00:32 +01:00
margin-top: 0;
}
2017-07-20 18:50:29 +01:00
.dashboard form > p:last-child,
2017-07-20 10:12:45 +01:00
form.dashboard > p:last-child {
text-align: right
2017-07-07 20:00:32 +01:00
}
2017-07-20 10:12:45 +01:00
.dashboard > *:last-child {
margin-bottom: 0;
2017-07-07 20:00:32 +01:00
}
2017-08-01 20:49:56 +01:00
.dashboard select,
2017-07-07 20:00:32 +01:00
.dashboard textarea,
.dashboard input[type="text"],
.dashboard input[type="password"] {
padding: 0;
line-height: 1.7;
display: block;
border: 0;
border-bottom: 1px solid #dddddd;
transition: .2s ease border;
width: 100%;
}
2017-08-01 20:49:56 +01:00
.dashboard #locale,
2017-07-07 20:00:32 +01:00
.dashboard #username,
.dashboard #password,
.dashboard #scope {
max-width: 18em;
}
2017-08-01 20:49:56 +01:00
.dashboard #locale {
border: 1px solid #dddddd;
margin-top: .5em;
}
2017-07-07 20:00:32 +01:00
.dashboard textarea:focus,
.dashboard textarea:hover,
.dashboard input[type="text"]:focus,
.dashboard input[type="password"]:focus,
.dashboard input[type="text"]:hover,
.dashboard input[type="password"]:hover {
border-color: #2979ff;
}
.dashboard input.red {
border-color: red;
}
.dashboard input.green {
border-color: green;
}
2017-07-20 18:50:29 +01:00
.dashboard button.delete {
2017-07-20 10:12:45 +01:00
background: #F44336;
}
2017-07-20 18:50:29 +01:00
.dashboard button.delete:hover {
2017-07-20 10:12:45 +01:00
background: #D32F2F;
}
2017-07-07 20:00:32 +01:00
.dashboard textarea {
line-height: 1.15;
padding: .5em;
border: 1px solid #ddd;
font-family: monospace;
min-height: 10em;
resize: vertical;
}
.dashboard p label {
margin-bottom: .2em;
display: block;
font-size: .8em;
font-weight: bold;
}
li code,
p code {
background: rgba(0, 0, 0, 0.05);
padding: .1em;
border-radius: .2em;
}
.small {
font-size: .8em;
line-height: 1.5;
}
2017-08-01 20:49:56 +01:00
.dashboard #nav {
list-style: none;
display: flex;
color: rgb(84, 110, 122);
font-weight: 500;
padding: 0 0 1em;
margin: 0 0 1em;
font-size: .8em;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.dashboard #nav li {
width: 100%;
}
.dashboard #nav li:last-child {
text-align: right
}
.dashboard #nav i {
font-size: 1em;
vertical-align: middle;
}