fix(client): night mode for settings page
This commit is contained in:
@ -18,3 +18,11 @@
|
|||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
color: #6d6d6d;
|
color: #6d6d6d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.night .footer {
|
||||||
|
background: #222;
|
||||||
|
}
|
||||||
|
|
||||||
|
.night .footer a {
|
||||||
|
color: #006400;
|
||||||
|
}
|
||||||
|
@ -3,6 +3,10 @@
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.night .toggle-active {
|
||||||
|
color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
.toggle-not-active.btn-primary.active {
|
.toggle-not-active.btn-primary.active {
|
||||||
background-color: #006400;
|
background-color: #006400;
|
||||||
}
|
}
|
||||||
@ -11,6 +15,18 @@
|
|||||||
background-color: #dedede;
|
background-color: #dedede;
|
||||||
color: rgb(0, 49, 0);
|
color: rgb(0, 49, 0);
|
||||||
}
|
}
|
||||||
.toggle-not-active:hover, .toggle-not-active:focus {
|
|
||||||
|
.night .toggle-not-active {
|
||||||
|
background-color: #999;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toggle-not-active:hover,
|
||||||
|
.toggle-not-active:focus {
|
||||||
background-color: #006400;
|
background-color: #006400;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.night .toggle-not-active:hover,
|
||||||
|
.night .toggle-not-active:focus {
|
||||||
|
color: #ddd;
|
||||||
|
}
|
||||||
|
@ -14,18 +14,18 @@
|
|||||||
color: #ddd;
|
color: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.night .toggle-active {
|
|
||||||
color: #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.night input,
|
.night input,
|
||||||
.night textarea {
|
.night textarea {
|
||||||
background-color: #ddd;
|
background-color: #ddd;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.night .btn.btn-primary {
|
.night a {
|
||||||
color: #ddd;
|
color: #f8f8f8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.night .table-striped > tbody > tr:nth-child(odd) {
|
||||||
|
background-color: #555555;
|
||||||
}
|
}
|
||||||
|
|
||||||
.night .challenge-preview {
|
.night .challenge-preview {
|
||||||
@ -35,12 +35,13 @@
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
background: #2a2a2a;
|
background: #2a2a2a;
|
||||||
}
|
}
|
||||||
.night .footer,
|
|
||||||
.night .challenge-instructions blockquote,
|
.night .challenge-instructions blockquote,
|
||||||
.night blockquote,
|
.night blockquote,
|
||||||
.night pre {
|
.night pre {
|
||||||
background: #222;
|
background: #222;
|
||||||
}
|
}
|
||||||
|
|
||||||
.night code {
|
.night code {
|
||||||
background-color: #242424;
|
background-color: #242424;
|
||||||
color: #02a902;
|
color: #02a902;
|
||||||
|
@ -123,6 +123,7 @@ class Timeline extends Component {
|
|||||||
<tr>
|
<tr>
|
||||||
<th>Challenge</th>
|
<th>Challenge</th>
|
||||||
<th className='text-center'>Completed</th>
|
<th className='text-center'>Completed</th>
|
||||||
|
<th />
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
.honesty-panel {
|
.honesty-panel {
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.honesty-panel .agreed {
|
.honesty-panel .agreed {
|
||||||
@ -23,3 +22,12 @@
|
|||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.night .honesty-panel {
|
||||||
|
color: #333333;
|
||||||
|
background-color: #cccccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.night .honesty-panel a {
|
||||||
|
color: darkgreen;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user