Skip to content

Commit f52fe04

Browse files
committed
WIP on redesign as dashboard.
Signed-off-by: michael vincerra <michael.vincerra@intel.com>
1 parent 52b357c commit f52fe04

2 files changed

Lines changed: 65 additions & 196 deletions

File tree

src/docs/_static/styles.css

Lines changed: 46 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ body {
155155
}
156156

157157
.filter-text {
158-
font-family: var(--bs-header-font-family);
158+
font-family: var(--bs-header-font-family) !important;
159159
font-weight: normal;
160160
font-weight: 400;
161161
font-size: 24px;
@@ -252,7 +252,7 @@ input[type=checkbox] label{
252252
display: inline;
253253
max-width: 350px;
254254
max-height: 300px;
255-
padding: 10px;
255+
/* padding: 10px; */
256256
/* background: -webkit-linear-gradient(rgba(252,252,252,99),rgba(224,224,224,88));
257257
background: -moz-linear-gradient(rgba(252,252,252,99),rgba(224,224,224,88));
258258
background: -o-linear-gradient(rgba(252,252,252,99),rgba(224,224,224,88));
@@ -326,14 +326,13 @@ input[type=checkbox] label{
326326

327327
.badge-col-head {
328328
font-family: var(--bs-header-font-family);
329-
font-weight: normal;
330-
font-weight: 600;
329+
font-weight: bold;
331330
display: flex;
332331
flex-direction: row;
333332
align-items: stretch;
334333
column-gap: 0.875rem;
335334
margin-bottom: 5px;
336-
font-weight:700;
335+
font-weight:600;
337336
}
338337

339338
.badge1 {
@@ -420,6 +419,8 @@ input[type=button] > #nobutton {
420419
/* font-size: 18px; */
421420
font-weight: normal;
422421
font-weight: 400;
422+
color: rgb(255,255,255);
423+
margin-top: 35px;
423424
}
424425

425426
.logo {
@@ -428,7 +429,8 @@ input[type=button] > #nobutton {
428429

429430
.grid-row {
430431
display: flex;
431-
grid-template-columns: minmax(30px, 40px) minmax(30px, 40px) minmax(30px, 40px) minmax(30px, 40px) minmax(30px, 40px);
432+
grid-template-columns: minmax(20px, 25px) minmax(20px, 25px) minmax(20px, 25px) minmax(20px, 25px) minmax(20px, 25px);
433+
/* See col-nav-grp padding*/
432434
background-color: rgb(0,84,174);
433435
width: 100%;
434436
text-align: center;
@@ -474,14 +476,15 @@ input[type=button] > #nobutton {
474476
margin-right: 12px;
475477
}
476478

477-
.col-nav-left{
479+
.col-nav-grp{
478480
font-family: "IntelOneText"; /*var(--bs-body-font-family);*/
479481
font-size: 18px;
480482
font-weight: normal;
481483
font-weight: 400;
482484
display: flex;
483485
direction: row;
484486
overflow: hidden;
487+
/* padding: 12px 0px 15px 20px; */
485488
}
486489

487490
.search-container{
@@ -493,7 +496,7 @@ input[type=button] > #nobutton {
493496
.search-widget {
494497
display: flex;
495498
justify-content: center;
496-
padding-left: 4%; /* offset to right; treat searchbar + X as one*/
499+
padding-left: 0.25em; /* offset to right; treat searchbar + X as one*/
497500
/* padding-bottom: 2%; */
498501
padding-top: 0.5em;
499502
padding-bottom: 0.25em;
@@ -511,14 +514,13 @@ input[type=button] > #nobutton {
511514
}
512515

513516
.search-widget .fa-remove {
514-
color: rgba(255,255,255,100);
515517
position: relative;
516-
top: 2px;
517-
left: 4px;
518+
top: 5px;
519+
left: 2px;
518520
outline: none;
519521
border: none;
520522
z-index: 25;
521-
font-size: 28px;
523+
font-size: 20px;
522524
/* opacity: .75; */
523525
}
524526

@@ -574,6 +576,7 @@ input[type=button] > #nobutton {
574576

575577
.fa-remove {
576578
padding-left: 0px;
579+
color: rgb(128,128,128) !important;
577580
}
578581

579582
.fa-home {
@@ -606,35 +609,39 @@ input::placeholder {
606609
color: rgba(128,128,128,0.8);
607610
z-index: 12;
608611
}
612+
609613
::-webkit-input-placeholder { /* Edge */
610614
color: rgba(128,128,128,0.8);
611615
z-index: 12;
612616
}
617+
613618
:-ms-input-placeholder { /* Internet Explorer 10-11 */
614619
color: rgba(128,128,128,0.8);
615620
z-index: 12;
616621
}
617622

618623
.search-widget .searchBox {
619-
font-family:var(--bs-header-font-family);
620-
/* font-style:normal;
621-
font-weight: 400; */
622-
display: inline-flex;
624+
/* font-family:var(--bs-header-font-family); */
625+
font-family: var(--bs-body-font-family);
626+
display: flex; /* inline-flex */
623627
flex: 1 1 350px;
624-
/* height: 8%;
628+
overflow: hidden;
625629
min-height: 5%;
626-
width: 10%; */
627-
background-color: rgba(233,233,233,91);
630+
width: 10%;
628631
border-radius: 10px;
629632
outline: none;
630633
border: none;
631-
padding-left: 1.25em; /* left-indent the input text */
632-
/*margin-right: -2px; pull to left .fa-remove button closer to searchBox */
634+
padding-left: 1.5em; /* left-indent input text for search */
633635
margin-top: 0.5em;
634636
margin-bottom: 0.5em;
635637
z-index: 10;
636638
}
637639

640+
.search-widget .searchBox:hover {
641+
background-color: rgba(231, 241, 255, 1);
642+
}
643+
644+
638645
.search-widget .searchBox:focus{
639646
color: rgba(82,82,82,32);
640647
/* color:rgba(38,38,38,15); */
@@ -668,8 +675,8 @@ input:hover {
668675
margin: 0 auto; /* center card-grid in viewport */
669676
display: grid;
670677
grid-template-columns: minmax(360px, 480px) minmax(360px, 480px) minmax(360px, 480px);
671-
grid-gap: .50rem;
672-
margin-top: 1rem;
678+
grid-gap: .5rem;
679+
/* margin-top: .5rem; */
673680
margin-bottom: 2rem;
674681
}
675682

@@ -764,7 +771,8 @@ input:hover {
764771
font-family: var(--bs-header-font-family);
765772
font-weight: normal;
766773
font-weight: 400;
767-
padding-top: 1.25rem;
774+
padding-top: 0.25em;
775+
padding-bottom: 0.25em;
768776
display: flex;
769777
justify-content: center;
770778
text-align: center;
@@ -902,7 +910,7 @@ label{
902910
display: flex;
903911
direction: row;
904912
align-items: center;
905-
row-gap: 2px;
913+
line-height: 1.25em;
906914
}
907915

908916
/* Create the indicator (the dot/circle - hidden when not checked) */
@@ -1185,16 +1193,19 @@ a:hover {
11851193

11861194
.left-column {
11871195
background-color: #E9E9E9;
1196+
border-radius: 7px;
11881197
height: 100vh;
11891198
flex: 20%;
1199+
margin-top: 1.5rem;
11901200
}
11911201

11921202
.right-column {
11931203
background-color: transparent;
11941204
height: 100vh;
11951205
flex: 80%;
1196-
outline: dotted;
1197-
outline-color: blue;
1206+
margin-top: -10px;
1207+
/* outline: dashed; */
1208+
/* outline-color: deeppink; */
11981209
}
11991210

12001211
/* Add bootstrap 5.1 classes for collapse */
@@ -1216,6 +1227,14 @@ a:hover {
12161227
width:fit-content;
12171228
}
12181229

1230+
.accordion-button {
1231+
font-family: var(--bs-header-font-family)!important;
1232+
font-weight: bold;
1233+
color: rgb(0,84,174) !important;
1234+
border-radius: 7px;
1235+
}
1236+
1237+
12191238
.accordion-button.collapsed {
12201239
background-color:#E9E9E9;
12211240
}

0 commit comments

Comments
 (0)