Skip to content

Commit 398f464

Browse files
Merge pull request #4359 from IgorA100/UseVariablesToSpecifyColor
Use variables to specify color (CSS)
2 parents a6d31aa + df27822 commit 398f464

File tree

2 files changed

+24
-21
lines changed

2 files changed

+24
-21
lines changed

web/skins/classic/css/base/skin.css

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
--alarmBG: #FFC0C0;
2828
--alarmText: inherit;
2929
--backgroundMediumDark: #485460;
30+
--colorLink: #3498db;
31+
--colorBackgroundButtons: #3498db;
32+
--colorBorder: #3498db;
3033
}
3134

3235
html,
@@ -105,7 +108,7 @@ a {
105108

106109
a.optionhelp,
107110
a:link {
108-
color: #3498db;
111+
color: var(--colorLink);
109112
text-decoration: none;
110113
}
111114

@@ -192,8 +195,8 @@ hr {
192195
height: 1px;
193196
width: 100%;
194197
border: 0;
195-
color: #3498db;
196-
background-color: #3498db;
198+
color: var(--colorLink);
199+
background-color: var(--colorBackgroundButtons);
197200
}
198201

199202
/*
@@ -621,9 +624,9 @@ input[type=button],
621624
input[type=submit],
622625
.btn-primary,
623626
.btn-primary:link {
624-
background-color: #3498db;
627+
background-color: var(--colorBackgroundButtons);
625628
color: #fff;
626-
border-color: #3498db;
629+
border-color: var(--colorBorder);
627630
text-transform: uppercase;
628631
font-weight: 200;
629632
padding: 7px 10px 5px 10px;
@@ -637,8 +640,8 @@ input[type=submit],
637640
.btn-normal,
638641
.btn-normal:link {
639642
color: #fff;
640-
background-color: #3498db;
641-
border: 1px solid #3498db;
643+
background-color: var(--colorBackgroundButtons);
644+
border: 1px solid var(--colorBorder);
642645
}
643646

644647
button:hover,
@@ -665,7 +668,7 @@ input[type=submit]:disabled,
665668
padding: 0;
666669
display: flex;
667670
justify-content: space-between;
668-
background-color:#485460 !important;
671+
background-color: var(--backgroundMediumDark) !important;
669672
}
670673

671674
#navbar-container > nav {
@@ -685,20 +688,20 @@ input[type=submit]:disabled,
685688

686689
.navbar {
687690
padding: 0 0 0 0px;
688-
margin-bottom: 0 !important;
689-
border-radius: 0;
690-
background-color:#485460 !important;
691-
color: #0fbcf9;
692-
border:none;
691+
margin-bottom: 0 !important;
692+
border-radius: 0;
693+
background-color: var(--backgroundMediumDark) !important;
694+
color: #0fbcf9;
695+
border:none;
693696
}
694697

695698
.navbar-brand {
696699
margin-left: 15px;
697-
font-weight: normal;
698-
font-size: 30px;
700+
font-weight: normal;
701+
font-size: 30px;
699702
}
700703
.navbar-brand a {
701-
color:#ffa801;
704+
color:#ffa801;
702705
}
703706
@media (max-width: 600px){
704707
.navbar-brand {
@@ -828,11 +831,11 @@ li.search-choice {
828831
#dropdown_storage+div,
829832
#dropdown_reminder+div,
830833
#dropdown_bandwidth+div {
831-
background-color:#485460;
834+
background-color: var(--backgroundMediumDark);
832835
}
833836

834837
#framesTable td:hover {
835-
cursor: pointer;
838+
cursor: pointer;
836839
}
837840

838841
.zoom,

web/skins/classic/css/base/views/filter.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ min-width: 500px;
8383
min-width: 500px;
8484
}
8585
form {
86-
border-bottom: 1px solid #3498db;
86+
border-bottom: 1px solid var(--colorBorder);
8787
}
8888
#ActionsAndOptions {
8989
padding-top: 5px;
90-
border-top: 1px solid #3498db;
91-
border-bottom: 1px solid #3498db;
90+
border-top: 1px solid var(--colorBorder);
91+
border-bottom: 1px solid var(--colorBorder);
9292
}
9393
#ActionsAndOptions fieldset {
9494
border: none;

0 commit comments

Comments
 (0)