nested css
This commit is contained in:
parent
3671636487
commit
7c4177d749
1 changed files with 116 additions and 110 deletions
|
|
@ -34,25 +34,27 @@ header.navbar {
|
||||||
color: white;
|
color: white;
|
||||||
padding: 15px 0;
|
padding: 15px 0;
|
||||||
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
||||||
}
|
|
||||||
|
|
||||||
header.navbar h1 {
|
h1 {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
header.navbar nav ul {
|
nav {
|
||||||
|
ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
header.navbar nav a {
|
a {
|
||||||
color: white;
|
color: white;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
|
||||||
|
|
||||||
header.navbar nav a:hover {
|
&:hover {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
|
|
@ -88,12 +90,16 @@ th, td {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
tbody tr:hover {
|
tbody {
|
||||||
|
tr {
|
||||||
|
&:hover {
|
||||||
background-color: #f9f9f9;
|
background-color: #f9f9f9;
|
||||||
}
|
}
|
||||||
|
|
||||||
tbody tr:nth-child(even) {
|
&:nth-child(even) {
|
||||||
background-color: #fafafa;
|
background-color: #fafafa;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
|
|
@ -108,79 +114,77 @@ tbody tr:nth-child(even) {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
transition: background-color 0.2s;
|
transition: background-color 0.2s;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
|
||||||
|
|
||||||
.btn:hover {
|
&:hover {
|
||||||
background-color: #ccc;
|
background-color: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn--primary {
|
&--primary {
|
||||||
background-color: #007bff;
|
background-color: #007bff;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
|
||||||
|
|
||||||
.btn--primary:hover {
|
&:hover {
|
||||||
background-color: #0056b3;
|
background-color: #0056b3;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.btn--success {
|
&--success {
|
||||||
background-color: #28a745;
|
background-color: #28a745;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
|
||||||
|
|
||||||
.btn--success:hover {
|
&:hover {
|
||||||
background-color: #1e7e34;
|
background-color: #1e7e34;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.btn--danger {
|
&--danger {
|
||||||
background-color: #dc3545;
|
background-color: #dc3545;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
|
||||||
|
|
||||||
.btn--danger:hover {
|
&:hover {
|
||||||
background-color: #c82333;
|
background-color: #c82333;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.btn--warning {
|
&--warning {
|
||||||
background-color: #ffc107;
|
background-color: #ffc107;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
|
||||||
|
|
||||||
.btn--warning:hover {
|
&:hover {
|
||||||
background-color: #e0a800;
|
background-color: #e0a800;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.btn--small {
|
&--small {
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-group {
|
.form-group {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
|
||||||
|
|
||||||
.form-group label {
|
label {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-group input,
|
input,
|
||||||
.form-group textarea,
|
textarea,
|
||||||
.form-group select {
|
select {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
|
||||||
|
|
||||||
.form-group input:focus,
|
&:focus {
|
||||||
.form-group textarea:focus,
|
|
||||||
.form-group select:focus {
|
|
||||||
outline: none;
|
outline: none;
|
||||||
border-color: #007bff;
|
border-color: #007bff;
|
||||||
box-shadow: 0 0 5px rgba(0,123,255,0.25);
|
box-shadow: 0 0 5px rgba(0,123,255,0.25);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-actions {
|
.form-actions {
|
||||||
|
|
@ -192,18 +196,18 @@ tbody tr:nth-child(even) {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border-left: 4px solid;
|
border-left: 4px solid;
|
||||||
}
|
|
||||||
|
|
||||||
.alert--success {
|
&--success {
|
||||||
background-color: #d4edda;
|
background-color: #d4edda;
|
||||||
border-color: #28a745;
|
border-color: #28a745;
|
||||||
color: #155724;
|
color: #155724;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert--error {
|
&--error {
|
||||||
background-color: #f8d7da;
|
background-color: #f8d7da;
|
||||||
border-color: #dc3545;
|
border-color: #dc3545;
|
||||||
color: #721c24;
|
color: #721c24;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.status {
|
.status {
|
||||||
|
|
@ -212,26 +216,26 @@ tbody tr:nth-child(even) {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
|
||||||
|
|
||||||
.status--stopped {
|
&--stopped {
|
||||||
background-color: #e9ecef;
|
background-color: #e9ecef;
|
||||||
color: #6c757d;
|
color: #6c757d;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status--starting {
|
&--starting {
|
||||||
background-color: #fff3cd;
|
background-color: #fff3cd;
|
||||||
color: #856404;
|
color: #856404;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status--running {
|
&--running {
|
||||||
background-color: #d4edda;
|
background-color: #d4edda;
|
||||||
color: #155724;
|
color: #155724;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status--failed {
|
&--failed {
|
||||||
background-color: #f8d7da;
|
background-color: #f8d7da;
|
||||||
color: #721c24;
|
color: #721c24;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
section {
|
section {
|
||||||
|
|
@ -255,20 +259,22 @@ section {
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.server-info p {
|
.server-info {
|
||||||
|
p {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.overlays-list {
|
.overlays-list {
|
||||||
list-style: decimal;
|
list-style: decimal;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
|
||||||
|
|
||||||
.overlays-list li {
|
li {
|
||||||
padding: 8px 0;
|
padding: 8px 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.template-preview {
|
.template-preview {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue