Skip to content

Commit f7dd9ef

Browse files
dsterling7elsong86chrisr0892joeahn95AidenCarere
committed
Updated stylings on Volumes and Configurations page
Co-authored-by: Ellis <[email protected]> Co-authored-by: Chris <[email protected]> Co-authored-by: Joseph <[email protected]> Co-authored-by: Dylan <[email protected]> Co-authored-by: Aiden <[email protected]>
1 parent 163d6ad commit f7dd9ef

File tree

6 files changed

+14
-17
lines changed

6 files changed

+14
-17
lines changed

ui/src/_variables.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ $palettes: (
155155

156156
// card is in variables to allow for easy extending and customization in containers, images, and volume history. Keeps tha base option the same, but allows for easy customization. Simply change things here and it will change everywhere.
157157
.card {
158-
background-color: color(background, base);
159-
background: $background-bg;
158+
background-color: rgba(0, 0, 0, 0.128);
160159
box-shadow: $shadow;
161160
backdrop-filter: blur(4px);
162161
-webkit-backdrop-filter: blur(4px);
@@ -169,8 +168,9 @@ $palettes: (
169168
border-width: 2px;
170169
border-style: solid;
171170
border-color: color(light, base);
172-
// border-color: color(background, base);
173171
border-image: initial;
174172
transition: border 350ms ease 100ms, background-image 200ms ease;
175173
transition: all 0.3s ease-in-out;
176174
}
175+
176+

ui/src/components/Configuration/GlobalConfigs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const GlobalConfigs = ({ setIsModified }): React.JSX.Element => {
3737
return (
3838
<form action="" className={styles.containerCard}>
3939
<span>
40-
<strong>Scrape Interval: </strong>
40+
<strong style={{color: 'rgb(156, 171, 213)'}}>Scrape Interval: </strong>
4141
{isEdit ? (
4242
<input
4343
style={{ color: "black" }}
@@ -56,7 +56,7 @@ const GlobalConfigs = ({ setIsModified }): React.JSX.Element => {
5656
</span>
5757

5858
<span>
59-
<strong>Evaluation Interval: </strong>
59+
<strong style={{color: 'rgb(156, 171, 213)'}}>Evaluation Interval: </strong>
6060
{isEdit ? (
6161
<input
6262
style={{ color: "black" }}

ui/src/components/Configuration/JobConfigs.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ const JobConfigs = ({ index, setIsModified }: {index: number, setIsModified : Fu
6666
return (
6767
<div className={styles.containerCard}>
6868
<span>
69-
<strong>Job Name: </strong>
69+
<strong style={{color: 'rgb(156, 171, 213)'}}>Job Name: </strong>
7070
{jobName}
7171
</span>
7272
<span>
73-
<strong>Scrape Interval: </strong>
73+
<strong style={{color: 'rgb(156, 171, 213)'}}>Scrape Interval: </strong>
7474
{scrapeInterval}
7575
</span>
7676
<span>
77-
<strong>Targets: </strong>
77+
<strong style={{color: 'rgb(156, 171, 213)'}}>Targets: </strong>
7878
{isEdit ? (
7979
<input
8080
style={{ color: 'black', width: '400px' }}

ui/src/components/Configuration/configuration.module.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
display: flex;
55
flex-direction: column;
66
margin: $default-page-margin;
7-
backdrop-filter: blur(4px);
87
}
98

109
.configurationHeader {
@@ -100,8 +99,6 @@
10099
overflow-x: scroll;
101100
overflow-y: scroll;
102101
font-family: 'Roboto';
103-
104-
background-color: color(background, base);
105102
backdrop-filter: blur(4px);
106103
-webkit-backdrop-filter: blur(4px);
107104
border-radius: 10px;

ui/src/components/VolumeHistory/SingleVolume.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ const SingleVolume = ({volName, onHover, removeClick, containers}: SVJSX): React
1919
return (
2020
<div className={`${styles.volumesCard}`}>
2121
<div onMouseOver={onHover}>
22-
<h3>{`${volName.substring(0, 20)}...`}</h3>
22+
<h3 style={{ color: '#6cc6f0' }}>{`${volName.substring(0, 20)}...`}</h3>
2323
</div>
2424
<div>
2525
{containers.length ? (
2626
containers.map((container, j) => (
2727
<div key={`vol-${j}`}>
28-
<strong>Container: </strong>
28+
<strong style={{color: 'rgb(156, 171, 213)'}}>Container: </strong>
2929
{container.Names}
3030
<br />
31-
<strong>Status: </strong>
31+
<strong style={{color: 'rgb(156, 171, 213)'}}>Status: </strong>
3232
{container.State}
3333
<br />
34-
<strong>Runtime: </strong>
34+
<strong style={{color: 'rgb(156, 171, 213)'}}>Runtime: </strong>
3535
{container.Status}
3636
</div>
3737
))

ui/styles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
html {
22
height: auto;
3-
background: radial-gradient(ellipse at bottom, #1b2735 0%,#090a0f 100%);
4-
background-color: rgb(73, 71, 71);
3+
// background: radial-gradient(ellipse at bottom, #1b2735 0%,#090a0f 100%);
4+
background-color: rgb(20, 20, 20);
55
}
66

77
.wrapper {

0 commit comments

Comments
 (0)