Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yPhil
Pétrolette
Commits
8305f611
Commit
8305f611
authored
Feb 05, 2021
by
yPhil
Browse files
Sensible color vars + (long overdue) CSS streamlining
parent
d83f39ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
public/css/petrolette.css
View file @
8305f611
:root
{
--color-highlight
:
255
,
0
,
0
;
--color-ui-pri
:
#f4f4f4
;
--color-ui-sec
:
#19B5FE
;
--color-ui-ter
:
#C0B283
;
...
...
@@ -257,11 +260,27 @@ a:visited {
color
:
var
(
--color-qui
);
}
.ui-tab.ui-state-hover
a
,
a
:hover
,
a
:active
{
color
:
var
(
--color-sec
);
}
.ui-tab
#new-group
:hover
,
.ui-tab.ui-state-hover
{
background
:
var
(
--color-sep
);
}
.ui-tab.ui-state-active
a
,
.ui-tab.ui-state-default
a
{
color
:
var
(
--color-pri
);
}
.ui-tab.ui-state-default
a
:hover
{
color
:
var
(
--color-ter
)
!important
;
}
.ui-tab
{
padding
:
0
;
}
...
...
@@ -271,14 +290,9 @@ a:active {
}
.ui-tab
#new-group
{
background-color
:
var
(
--color-
qua
);
background-color
:
var
(
--color-
non
);
}
/* .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active { */
/* font-weight: normal; */
/* color: #454545; */
/* } */
.ui-button.ui-state-disabled
,
.ui-tab.ui-state-default
{
color
:
var
(
--color-non
);
...
...
@@ -290,38 +304,6 @@ a:active {
border-right
:
none
!important
;
}
.ui-tab
#new-group
:hover
,
.ui-tab.ui-state-hover
{
background
:
var
(
--color-sep
);
}
.ui-tab.ui-state-default
a
:link
,
.ui-tab.ui-state-default
a
:visited
,
.ui-tab.ui-state-default
a
:hover
,
.ui-tab.ui-state-default
a
:active
{
color
:
var
(
--color-pri
);
}
.ui-tab.ui-state-active
a
:link
,
.ui-tab.ui-state-active
a
:visited
,
.ui-tab.ui-state-active
a
:hover
,
.ui-tab.ui-state-active
a
:active
{
color
:
var
(
--color-pri
);
}
.ui-tab.ui-state-hover
a
:link
,
.ui-tab.ui-state-hover
a
:visited
,
.ui-tab.ui-state-hover
a
:hover
,
.ui-tab.ui-state-hover
a
:active
{
color
:
var
(
--color-sec
);
}
.ui-tab.ui-state-hover
a
,
.ui-tab.ui-state-active
a
{
cursor
:
pointer
!important
;
color
:
var
(
--color-sec
);
}
.ui-tab.ui-state-active
,
#tab-names
,
#tabs
{
...
...
@@ -1030,7 +1012,6 @@ li.feed.selected {
}
.feed-header
>
.feed-title
{
color
:
var
(
--color-ter
);
flex-basis
:
auto
;
flex-grow
:
4
;
flex-shrink
:
1
;
...
...
@@ -1151,12 +1132,12 @@ li.feed-item > div.itemDiv > a > .ptl-img.full {
table
tr
,
li
.feed-item
{
background-color
:
var
(
--color-
sep
);
background-color
:
var
(
--color-
non
);
}
table
tr
:nth-child
(
even
),
li
.feed-item
:nth-child
(
even
)
{
background-color
:
var
(
--color-non
);
filter
:
brightness
(
0.9
);
}
table
tr
:nth-child
(
even
),
...
...
public/css/themes/day.css
View file @
8305f611
:root
{
--color-pri
:
#2F365F
;
--color-sec
:
#F0EFF4
;
--color-ter
:
#
FFDC00
;
--color-ter
:
#
333333
;
--color-qua
:
#8CA9D3
;
--color-qui
:
#788780
;
/* visited links */
--color-sen
:
#647295
;
--color-sep
:
#
F0EFF4
;
--color-sep
:
#
647295
;
--color-oct
:
#7C818C
;
--color-non
:
#e3eff3
;
--color-den
:
#94c2d1
;
...
...
public/css/themes/night.css
View file @
8305f611
:root
{
--color-pri
:
#ffffff
;
--color-sec
:
#FF4136
;
--color-ter
:
#
fdfae9
;
--color-ter
:
#
FF4136
;
--color-qua
:
#29323c
;
--color-qui
:
#B0C4DE
;
/* visited links */
--color-sen
:
#383C4A
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment