Skip to content

Commit fe43653

Browse files
committed
style: prevents index.css styling conflicts
1 parent fa23844 commit fe43653

File tree

2 files changed

+37
-34
lines changed

2 files changed

+37
-34
lines changed

.prettierignore

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ selenium-debug.log
88
# local asset build
99
release.tar.gz
1010

11+
# Postcss managed files
12+
src/styles/index.css
13+
1114
# local env files
1215
.env.local
1316
.env.*.local

src/styles/index.css

+34-34
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,34 @@
22
@import '../../node_modules/@sanger/ui-styling/tailwind.css';
33

44
/* Define your custom styles */
5-
.success-message {
5+
.success-message{
66
--tw-bg-opacity: 1;
7-
background-color: rgb(72 187 120 / var(--tw-bg-opacity));
7+
background-color: rgb(72 187 120 / var(--tw-bg-opacity, 1));
88
--tw-text-opacity: 1;
9-
color: rgb(255 255 255 / var(--tw-text-opacity));
9+
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
1010
}
11-
.success-icon {
11+
.success-icon{
1212
--tw-text-opacity: 1;
13-
color: rgb(255 255 255 / var(--tw-text-opacity));
13+
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
1414
}
15-
.success-icon:hover {
15+
.success-icon:hover{
1616
--tw-text-opacity: 1;
17-
color: rgb(34 84 61 / var(--tw-text-opacity));
17+
color: rgb(34 84 61 / var(--tw-text-opacity, 1));
1818
}
1919

20-
.failure-message {
20+
.failure-message{
2121
--tw-bg-opacity: 1;
22-
background-color: rgb(245 101 101 / var(--tw-bg-opacity));
22+
background-color: rgb(245 101 101 / var(--tw-bg-opacity, 1));
2323
--tw-text-opacity: 1;
24-
color: rgb(255 255 255 / var(--tw-text-opacity));
24+
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
2525
}
26-
.failure-icon {
26+
.failure-icon{
2727
--tw-text-opacity: 1;
28-
color: rgb(255 255 255 / var(--tw-text-opacity));
28+
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
2929
}
30-
.failure-icon:hover {
30+
.failure-icon:hover{
3131
--tw-text-opacity: 1;
32-
color: rgb(116 42 42 / var(--tw-text-opacity));
32+
color: rgb(116 42 42 / var(--tw-text-opacity, 1));
3333
}
3434

3535
.warning-message {
@@ -58,22 +58,22 @@ nav {
5858
}
5959

6060
#nav a {
61-
font-weight: bold;
62-
color: #2c3e50;
63-
}
61+
font-weight: bold;
62+
color: #2c3e50;
63+
}
6464

6565
#nav a.router-link-exact-active {
66-
color: #42b983;
67-
}
66+
color: #42b983;
67+
}
6868

6969
#nav a.router-link-active {
70-
color: #42b983;
71-
}
70+
color: #42b983;
71+
}
7272

7373
a:hover {
74-
text-decoration: none;
75-
color: black;
76-
}
74+
text-decoration: none;
75+
color: black;
76+
}
7777

7878
.file {
7979
visibility: hidden;
@@ -95,13 +95,13 @@ nav {
9595
}
9696

9797
nav a {
98-
color: white;
99-
}
98+
color: white;
99+
}
100100

101101
nav a:hover,
102-
nav a:visited {
103-
color: white;
104-
}
102+
nav a:visited {
103+
color: white;
104+
}
105105

106106
th {
107107
background-color: #ddd1c3;
@@ -122,7 +122,7 @@ th {
122122
display: -ms-flexbox;
123123
display: flex;
124124
-ms-flex-wrap: wrap;
125-
flex-wrap: wrap;
125+
flex-wrap: wrap;
126126
width: 100%;
127127
}
128128

@@ -131,10 +131,10 @@ th {
131131
}
132132

133133
.table td,
134-
.table th {
135-
min-height: 50px;
136-
font-size: 12px;
137-
}
134+
.table th {
135+
min-height: 50px;
136+
font-size: 12px;
137+
}
138138

139139
.control {
140140
color: white;

0 commit comments

Comments
 (0)