Skip to content

Commit 3955c43

Browse files
Update Boilerplate.css
fixed Shy Column layout, beginning variables to enhance readability.
1 parent 35f8fb7 commit 3955c43

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

Boilerplate.css

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
/*VERSION 1.0.4*/
1+
/*VERSION 1.0.5*/
2+
/*https://github.com/StevenRotelli/GrooperCSS/*/
23
/* Makes data panel full size */
34
self {
45
width: auto !important;
6+
--soft-err-bg-color:#7f7f27;
7+
--soft-err-border-color:#ffcc00;
8+
--soft-err-bg-color-lite:#feffbd;
9+
--soft-err-border-color-lite:Yellow;
510
}
611
/* DataModel Setup */
712
.DataModel {
@@ -31,6 +36,7 @@ hr {
3136
padding-top:8px;
3237
padding-left:8px;
3338
width: calc(100% + 8px);
39+
height:fit-content;
3440
order: 1;
3541
}
3642
.toolbar {
@@ -116,16 +122,16 @@ hr {
116122
border-color: var(--grp-teal-1);
117123
}
118124
/* SPECIAL CLASSES */
119-
.SoftError > .invalid {
125+
.SoftError > .invalid, input[title="Confidence is below minimum."],div[title="Confidence is below minimum."] {
120126
background-color: #7f7f27;
121127
}
122-
.SoftError > .invalid:focus-within {
128+
.SoftError > .invalid:focus-within, input[title="Confidence is below minimum."], div[title="Confidence is below minimum."]{
123129
border-color: #ffcc00;
124130
}
125-
.lite-mode .SoftError > .invalid {
131+
.lite-mode .SoftError > .invalid, .lite-mode input[title="Confidence is below minimum."], .lite-mode div[title="Confidence is below minimum."] {
126132
background-color: #feffbd;
127133
}
128-
.lite-mode .SoftError > .invalid:focus-within {
134+
.lite-mode .SoftError > .invalid:focus-within, .lite-mode input[title="Confidence is below minimum."], .lite-mode div[title="Confidence is below minimum."] {
129135
border-color: Yellow;
130136
}
131137
.Secure > Input:hover {
@@ -203,6 +209,9 @@ hr {
203209
.ThreeFifths {
204210
flex: 0 0 calc(60% - 8px);
205211
}
212+
.FourFifths{
213+
flex: 0 0 calc(80% - 8px);
214+
}
206215
.OneThird {
207216
flex: 0 0 calc(33.333% - 8px);
208217
}
@@ -229,25 +238,24 @@ hr {
229238
overflow-y: hidden;
230239
}
231240
.Shy.DataSection > .DataField {
232-
width: 100%;
241+
width: calc(100% - 8px);
242+
margin-right:8px;
233243
}
234244
.Shy.DataSection > .DataField > label {
235245
width: fit-content;
236246
margin-right: auto;
237247
}
238-
.Shy.DataSection > .DataField > input {
248+
.Shy.DataSection > .DataValue {
239249
margin-right: 8px;
240250
}
241251
.Shy {
242-
width: 100%;
252+
width: calc(100% - 8px);
253+
margin-right:8px;
243254
}
244255
.Shy > label {
245256
width: fit-content;
246257
margin-right: auto;
247258
}
248-
.Shy > input {
249-
margin-right: 8px;
250-
}
251259
@font-face {
252260
font-family: "MesloLGS NF Regular";
253261
src: url("../Fonts/MesloLGS-NF-Regular.ttf") format("truetype");

0 commit comments

Comments
 (0)