-
-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: improve dark mode color mapping
- Loading branch information
Showing
17 changed files
with
215 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 36 additions & 29 deletions
65
packages/ui/src/components/JobCard/Timeline/Timeline.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,59 @@ | ||
.timeline { | ||
padding: 1.5rem 1rem 1.5rem 0; | ||
margin: 0; | ||
list-style: none; | ||
border: 0; | ||
border-right-width: 2px; | ||
border-right-style: solid; | ||
border-image: linear-gradient(to bottom, #fff, #e2e8f0 10%, #e2e8f0 90%, #fff) 1 100%; | ||
color: #a0aec0; | ||
font-weight: 300; | ||
height: 100%; | ||
padding: 1.5rem 1rem 1.5rem 0; | ||
margin: 0; | ||
list-style: none; | ||
border: 0; | ||
border-right-width: 2px; | ||
border-right-style: solid; | ||
border-image: linear-gradient( | ||
to bottom, | ||
var(--card-bg), | ||
var(--separator-color) 10%, | ||
var(--separator-color) 90%, | ||
var(--card-bg) | ||
) | ||
1 100%; | ||
color: var(--card-text-secondary-color); | ||
font-weight: 300; | ||
height: 100%; | ||
} | ||
|
||
.timeline li { | ||
display: block; | ||
display: block; | ||
} | ||
|
||
.timeline li + li { | ||
margin-top: 1.5rem; | ||
margin-top: 1.5rem; | ||
} | ||
|
||
.timeline li > time { | ||
position: relative; | ||
color: #718096; | ||
position: relative; | ||
color: var(--accent-color-d1); | ||
} | ||
|
||
.timeline li > time:before { | ||
content: ''; | ||
width: 0.5rem; | ||
height: 0.5rem; | ||
position: absolute; | ||
right: -1.5rem; | ||
top: 50%; | ||
margin-top: -0.5rem; | ||
background-color: #cbd5e0; | ||
border-radius: 100%; | ||
border: 3px solid #fff; | ||
content: ''; | ||
width: 0.5rem; | ||
height: 0.5rem; | ||
position: absolute; | ||
right: -1.5rem; | ||
top: 50%; | ||
margin-top: -0.5rem; | ||
background-color: var(--card-text-secondary-color); | ||
border-radius: 100%; | ||
border: 3px solid var(--card-bg); | ||
} | ||
|
||
.timeline li > small { | ||
display: block; | ||
line-height: 1; | ||
display: block; | ||
line-height: 1; | ||
} | ||
|
||
.timeline li > small + small { | ||
margin-top: 1.5rem; | ||
margin-top: 1.5rem; | ||
} | ||
|
||
.timelineWrapper { | ||
position: relative; | ||
flex: 1; | ||
position: relative; | ||
flex: 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 21 additions & 21 deletions
42
packages/ui/src/components/Pagination/Pagination.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
.pagination { | ||
list-style: none; | ||
padding: 0; | ||
margin: 0; | ||
display: flex; | ||
flex-direction: row; | ||
list-style: none; | ||
padding: 0; | ||
margin: 0; | ||
display: flex; | ||
flex-direction: row; | ||
} | ||
|
||
.pagination li + li { | ||
margin-left: 0.25em; | ||
margin-left: 0.25em; | ||
} | ||
|
||
.pagination li { | ||
line-height: normal; | ||
line-height: normal; | ||
} | ||
|
||
.pagination a { | ||
border-radius: 0.28571429rem; | ||
padding: 0.6em 0.92857143em; | ||
color: inherit; | ||
text-decoration: none; | ||
display: flex; | ||
line-height: 1; | ||
border-radius: 0.28571429rem; | ||
padding: 0.6em 0.92857143em; | ||
color: inherit; | ||
text-decoration: none; | ||
display: flex; | ||
line-height: 1; | ||
} | ||
|
||
.pagination a:hover, | ||
.pagination a:focus { | ||
background-color: #e2e8f0; | ||
background-color: #e2e8f0; | ||
} | ||
|
||
.pagination a:active, | ||
.pagination li.isActive a { | ||
background-color: #cbd5e0; | ||
background-color: var(--text-secondary-color); | ||
} | ||
|
||
.pagination a svg { | ||
height: 1em; | ||
vertical-align: middle; | ||
display: inline-block; | ||
fill: currentColor; | ||
height: 1em; | ||
vertical-align: middle; | ||
display: inline-block; | ||
fill: currentColor; | ||
} | ||
|
||
.pagination li.disabled { | ||
opacity: 0.45; | ||
pointer-events: none; | ||
opacity: 0.45; | ||
pointer-events: none; | ||
} |
16 changes: 8 additions & 8 deletions
16
packages/ui/src/components/QueueActions/QueueActions.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
.queueActions { | ||
margin: 0; | ||
padding: 0; | ||
list-style: none; | ||
display: flex; | ||
margin: 0; | ||
padding: 0; | ||
list-style: none; | ||
display: flex; | ||
} | ||
|
||
.queueActions > li + li { | ||
margin-left: 0.25rem; | ||
margin-left: 0.25rem; | ||
} | ||
|
||
.queueActions .button > svg { | ||
fill: #a0aec0; | ||
margin: -0.25em 0.5em 0 0; | ||
fill: var(--card-text-secondary-color); | ||
margin: -0.25em 0.5em 0 0; | ||
} | ||
|
||
.queueActions .button:hover > svg, | ||
.queueActions .button:focus > svg { | ||
fill: #718096; | ||
fill: var(--accent-color-d1); | ||
} |
Oops, something went wrong.