1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

Dark mode settings

This commit is contained in:
Eldad Fux 2020-02-11 23:55:00 +02:00
parent c2e601813b
commit 2805c9b009
13 changed files with 48 additions and 101 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

View file

@ -19,7 +19,6 @@
div.message {
position: relative;
//opacity: .95;
padding: 12px 35px;
margin: 0 auto;
list-style: none;

View file

@ -17,7 +17,13 @@
&.danger {
background: var(--config-color-danger);
color: var(--config-color-background-fade);
color: #fff;
button,
.button {
background: #ffffff;
color: var(--config-color-danger);
}
}
&.focus {

View file

@ -3,9 +3,6 @@
padding: 30px 50px;
margin: 0 -50px;
position: relative;
//border-bottom: solid 1px #dedede;
//box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
//border-bottom: solid 2px #e3e9ec;;
h1,
h2,

View file

@ -15,23 +15,23 @@
hr {
margin: 0 -20px;
background: #efefef;
height: 2px;
background: var(--config-color-background);
height: 1px;
}
h3 {
font-size: 13px;
line-height: 20px;
height: 20px;
background-color: #f5f5f5;
background-color: var(--config-color-fade-super);
margin: -20px -20px 0 -20px;
padding: 10px 20px;
border-bottom: solid 1px #e1e2e2;
border-bottom: solid 1px var(--config-color-background);
font-weight: 600;
}
.empty {
height: 160px;
height: 162px;
font-size: 12px;
text-align: center;
margin: 50px 0;
@ -44,7 +44,7 @@
}
.search {
background-color: #f5f5f5;
background-color: var(--config-color-fade-super);
margin: 0 -20px 0 -20px;
padding: 10px 15px;
@ -59,7 +59,7 @@
.code {
height: 411px;
background: #f5f5f5;
background: var(--config-color-fade-super);
margin: 0 -20px -20px -20px;
padding: 20px;
width: ~"calc(100% - 10px)";
@ -74,7 +74,7 @@
}
.paging {
background: #f5f5f5;
background: var(--config-color-fade-super);
margin: 0 -20px -20px -20px;
padding: 20px;
}
@ -114,7 +114,6 @@
position: relative;
button {
background: red;
position: absolute;
top: 0;
bottom: 0;

View file

@ -1,9 +1,5 @@
.modal-open, .modal-open body {
//margin: 0;
//height: 100%;
//overflow: hidden;
.modal-bg {
position: fixed;
content: '';
@ -107,19 +103,6 @@
margin: 20px -30px;
}
/*iframe {
width: ~"calc(100% - 70px)";
height: ~"calc(100% - 180px)";
border: none;
background: #323639;
opacity: 1;
position: absolute;
top: 85px;
bottom: 0;
right: 35px;
left: 35px;
}*/
.info {
margin: 0 -30px;
padding: 20px 30px;
@ -135,8 +118,8 @@
line-height: 30px;
padding: 0;
margin: 0;
background: #1b1b1b;
color: #ffffff;
background: var(--config-color-normal);
color: var(--config-color-background-fade);
border-radius: 50%;
}
}

View file

@ -9,6 +9,7 @@
--config-color-background: #eceff1;
--config-color-background-fade: #ffffff;
--config-color-background-focus: #f5f5f5;
--config-color-background-input: #ffffff;
--config-color-placeholder: #868686;
--config-color-focus: #f02e65;
--config-color-focus-fade: #fef8fb;
@ -64,9 +65,10 @@
--config-console-nav-switch-arrow: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24' viewBox='0 0 24 24'><path fill='%23868686' d='M7.406 7.828l4.594 4.594 4.594-4.594 1.406 1.406-6 6-6-6z'></path></svg>");
.theme-dark {
--config-color-background: #1C2138;
--config-color-background-fade: #1c2138;
--config-color-background-focus: #1F253F;
--config-color-background: #061F2F;
--config-color-background-fade: #1c223a;
--config-color-background-focus: #1c2138;
--config-color-background-input: #dce8f5;
--config-color-link: rgb(76, 174, 219);
--config-color-placeholder: #1F253F;
--config-color-focus: rgb(199, 216, 235);
@ -112,9 +114,9 @@
--config-language-dart-contrast: var(--config-color-background);
// Console
--config-console-background: #1e233e;
--config-console-nav-start: #1c2038;
--config-console-nav-end: #121525;
--config-console-background: #20263f;
--config-console-nav-start: #1c2139;
--config-console-nav-end: #151929;
--config-console-nav-border: #171b30;
--config-console-nav-switch-background: var(--config-color-focus);
--config-console-nav-switch-color: var(--config-color-background);

View file

@ -13,6 +13,10 @@ input:-moz-placeholder {
text-align: @config-start;
}
input, textarea {
background: var(--config-color-background-input);
}
button,
.button {
display: inline-block;
@ -134,7 +138,7 @@ button,
&.disabled,
&:disabled,
.disabled {
//opacity: .3;
color: var(--config-color-normal);
background: var(--config-color-fade);
cursor: default;
}
@ -213,6 +217,7 @@ select {
-moz-appearance: none;
-webkit-transform: translateZ(0px);
box-sizing: content-box;
color: var(--config-color-dark);
height: 40px;
line-height: 40px;
border: solid 1px var(--config-color-fade-light);
@ -228,26 +233,6 @@ select {
padding: 15px;
height: auto;
}
&[xtype=file] {
line-height: normal;
height: auto;
border: none;
position: absolute;
top: 0;
.func-start(0);
bottom: 0;
opacity: 0;
cursor: pointer;
padding: 0;
margin: 0;
font-size: 0;
width: 100%;
&:disabled {
opacity: 0 !important;
}
}
&:focus {
outline: none;
@ -255,7 +240,7 @@ select {
}
&:disabled {
//opacity: .3;
color: var(--config-color-normal);
background: var(--config-color-fade-super);
}
@ -293,7 +278,7 @@ select {
background-image: var(--config-console-nav-switch-arrow);
background-position: @config-end 15px top 50%;
background-repeat: no-repeat;
background-color: #fff;
background-color: var(--config-color-background-input);
width: ~"calc(100% - 62px)";
.text-one-liner;
.func-padding-end(45px);
@ -314,6 +299,7 @@ input[type=search].strip {
background: transparent;
-webkit-appearance: none;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAdZJREFUWIXt1s2LjWEYBvDfnDMzFpNIamZIFrMiJYMyFmKhZKfOwoiFr2LFn2BByG6WVrKwMcjWxgoLIlKIUk6RrzAjZWZ8LO731FlwvB+PUbjq6X0X7/VeV/d9P9fz8IdRL8Hpw3x8w0xaOz9GNxq4gJeZcGs1cRab0fU7xLfgMSYzoT3YgNXYhIO4iM+4iTWphGs4jikcFSXvhEGczr4/UFW8C2N4jXUFudvwCYeqGNgnSr6yJH8rpkWLCqMfE9hdUryFE3iC3qLEk7ij+kT34Q32FiHV8Qr7K4q3cArXihCGxd5elMjARnzBvE4f1dreV+AtnicycC/7/7K8BhaIvqXCO3zFwrwGZtCT0EAtW9N5DTSxWGR/CizNns/yEgbFEK5NZGCnaEPHE7e9Ai9wA6OJDIzistgJubFdxHB/RfFVYgCHixJruI5x5dNwDm6J47sUhkTvjpUw0Y1zeOrXR3hHjOA9zmBuTs4Arog4/yhuUZWwHPdFMh7280BZgiP4ILJ/UuymqRQmejPxphiquzgvKnMJDzOxB9glZqiRiecykbfHdawX98EhcdxO4BGu4nYm2EJDzEKPSMIdYrBnFYUq8d/EP2di1gey3cS4ErflvxffASbhcakIINaMAAAAAElFTkSuQmCC");
background-color: var(--config-color-background-input);
background-position: @config-start 15px top 50%;
background-repeat: no-repeat;
background-size: 20px 20px;
@ -361,7 +347,7 @@ fieldset {
}
.file-preview {
background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAIElEQVQoU2NkYGAwZsAEZ9GFGIeIQix+wfQgyDODXSEAcUwGCrDSHgkAAAAASUVORK5CYII=) !important;
background: var(--config-color-background-input) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAIElEQVQoU2NkYGAwZsAEZ9GFGIeIQix+wfQgyDODXSEAcUwGCrDSHgkAAAAASUVORK5CYII=) !important;
border: solid 1px #e2e2e2;
box-shadow: inset 0 0 3px #a0a0a0;
border-radius: 8px;
@ -418,7 +404,7 @@ fieldset {
background: #333;
border-radius: 5px;
bottom: 26px;
color: #fff;
color: var(--config-color-background-input);
content: attr(data-tooltip);
padding: 5px 15px;
position: absolute;
@ -522,7 +508,7 @@ input[type=checkbox] {
display: block;
width: 20px;
height: 20px;
background: #fff;
background: var(--config-color-background-input);
top: -5px;
border-radius: 50%;
position: absolute;
@ -536,7 +522,7 @@ input[type=checkbox] {
content: '\e83d';
font-size: 16px;
line-height: 20px;
color: #ffffff;
color: var(--config-color-background-fade);
background: var(--config-color-focus);
}
@ -575,7 +561,7 @@ input[type=checkbox] {
width: 50px;
line-height: 50px;
text-align: center;
background: #fbfbfb;
background: var(--config-color-background-focus);
margin: 1px;
border-radius: 0 10px 10px 0;
}
@ -589,6 +575,11 @@ input[type=checkbox] {
form {
display: inline-block;
}
button:disabled {
color: var(--config-color-background-fade);
opacity: .6;
}
}
.blue-snap {
@ -1113,7 +1104,7 @@ ol {
.tags {
.input;
background: #ffffff;
background: var(--config-color-background-input);
min-height: 42px;
height: auto;

View file

@ -238,23 +238,6 @@
}
}
// @media @desktops {
// .xxxl {
// >.row.responsive {
// >.span-1,>.span-2,>.span-3,>.span-4,>.span-5,>.span-6,>.span-7,>.span-8,>.span-9,>.span-10,>.span-11,>.span-12 {
// .mixin-span(12, 0px)!important;
// width: 100% !important;
// }
// &> {
// width: 100%;
// padding: 0;
// margin: 0;
// }
// }
// }
// }
.tiles {
.clear;
position: relative;

View file

@ -136,7 +136,6 @@
}
nav {
//box-shadow: 0 0 2px rgba(0, 0, 0, .05);
background: #1b3445;
background: linear-gradient(var(--config-console-nav-start), var(--config-console-nav-end));
color: #788c99;
@ -260,9 +259,7 @@
}
.links {
//border-bottom: solid 1px #182d3c;
.margin-bottom-small;
//padding-bottom: 5px;
&.top {
border: none;
@ -328,8 +325,6 @@
&.selected {
color: #e4e4e4;
font-weight: 500;
//background: #142a3a;
//background: var(--config-color-focus);
}
}
}
@ -350,7 +345,6 @@
width: ~"calc(100% + 100px)";
margin: 0 -50px;
box-sizing: border-box;
//border-top: solid 1px var(--config-color-fade-super);
background: transparent;
.func-padding-end(30px);
.func-padding-start(30px);
@ -493,8 +487,6 @@
padding-bottom: 26%;
.func-margin-end(-2px);
overflow: hidden;
//border-radius: 10px;
//padding-top: 15px;
background-color: var(--config-color-background-fade);
background-image:
linear-gradient(transparent 1px, transparent 1px),

View file

@ -1,6 +1,5 @@
* {
font-family: Poppins,sans-serif,Arial;
//font-family: Heebo,sans-serif,Arial;
-webkit-font-smoothing: antialiased;
font-weight: 300;
}
@ -32,10 +31,6 @@ a, .link {
border-bottom: none;
}
&:visited {
//scolor: #4a8c83;
}
&.tag:hover {
border-bottom: none;
opacity: .9;