Skip to content

Commit 5adafac

Browse files
Revert "fix: Change some colors to make agenda tool work in dark mode (ietf-tools#6428)"
This reverts commit 699a8e2.
1 parent c2a44db commit 5adafac

1 file changed

Lines changed: 35 additions & 34 deletions

File tree

ietf/static/css/ietf.scss

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ td.position-empty {
562562
}
563563

564564
.edit-meeting-schedule .edit-grid .day-label .swap-days:hover {
565-
color: var(--bs-secondary-color);
565+
color: #666;
566566
}
567567

568568
.edit-meeting-schedule #swap-days-modal .modal-body label {
@@ -594,15 +594,15 @@ td.position-empty {
594594
}
595595

596596
.edit-meeting-schedule .edit-grid .time-header .time-label.would-violate-hint {
597-
background-color: var(--bs-danger-bg-subtle);
598-
outline: var(--bs-danger-bg-subtle) solid 0.4em;
597+
background-color: #ffe0e0;
598+
outline: #ffe0e0 solid 0.4em;
599599
}
600600

601601
.edit-meeting-schedule .edit-grid .time-header .time-label span {
602602
display: inline-block;
603603
width: 100%;
604604
text-align: center;
605-
color: var(--bs-secondary-color);
605+
color: #444444;
606606
}
607607

608608
.edit-meeting-schedule .edit-grid .timeslots {
@@ -614,7 +614,7 @@ td.position-empty {
614614
.edit-meeting-schedule .edit-grid .timeslot {
615615
position: relative;
616616
display: inline-block;
617-
background-color: var(--bs-secondary-bg);
617+
background-color: #f4f4f4;
618618
height: 100%;
619619
overflow: hidden;
620620
}
@@ -627,7 +627,7 @@ td.position-empty {
627627
width: 100%;
628628
align-items: center;
629629
justify-content: center;
630-
color: var(--bs-tertiary-color);
630+
color: #999;
631631
}
632632

633633
.edit-meeting-schedule .edit-grid .timeslot .drop-target {
@@ -644,22 +644,22 @@ td.position-empty {
644644
}
645645

646646
.edit-meeting-schedule .edit-grid .timeslot.overfull {
647-
border-right: 0.3em dashed var(--bs-danger);
647+
border-right: 0.3em dashed #f55000;
648648
/* cut-off illusion */
649649
}
650650

651651
.edit-meeting-schedule .edit-grid .timeslot.would-violate-hint {
652-
background-color: var(--bs-danger-bg-subtle);
653-
outline: var(--bs-danger-bg-subtle) solid 0.4em;
652+
background-color: #ffe0e0;
653+
outline: #ffe0e0 solid 0.4em;
654654
}
655655

656656
.edit-meeting-schedule .edit-grid .timeslot.would-violate-hint.dropping {
657-
background-color: var(--bs-danger);
657+
background-color: #ccb3b3;
658658
}
659659

660660
.edit-meeting-schedule .constraints .encircled,
661661
.edit-meeting-schedule .formatted-constraints .encircled {
662-
border: 1px solid var( --bs-body-color);
662+
border: 1px solid #000;
663663
border-radius: 1em;
664664
padding: 0 0.3em;
665665
text-align: center;
@@ -672,7 +672,7 @@ td.position-empty {
672672

673673
/* sessions */
674674
.edit-meeting-schedule .session {
675-
background-color: var(--bs-body-bg);
675+
background-color: #fff;
676676
margin: 0.2em;
677677
padding-right: 0.2em;
678678
padding-left: 0.5em;
@@ -684,15 +684,15 @@ td.position-empty {
684684

685685
.edit-meeting-schedule .session.selected {
686686
cursor: grabbing;
687-
outline: var(--bs-primary) solid 0.2em;
688-
/* width matches margin on .session */
687+
outline: #0000ff solid 0.2em;
688+
/* blue, width matches margin on .session */
689689
z-index: 2;
690690
/* render above timeslot outlines */
691691
}
692692

693693
.edit-meeting-schedule .session.other-session-selected {
694-
outline: var(--bs-info) solid 0.2em;
695-
/* width matches margin on .session */
694+
outline: #00008b solid 0.2em;
695+
/* darkblue, width matches margin on .session */
696696
z-index: 2;
697697
/* render above timeslot outlines */
698698
}
@@ -703,7 +703,7 @@ td.position-empty {
703703

704704
.edit-meeting-schedule .session.readonly {
705705
cursor: default;
706-
background-color: var(--bs-dark-bg-subtle);
706+
background-color: #ddd;
707707
}
708708

709709
.edit-meeting-schedule .session.hidden-parent * {
@@ -717,12 +717,13 @@ td.position-empty {
717717
}
718718

719719
.edit-meeting-schedule .session.highlight {
720-
outline-color: var(--bs-warning);
721-
background-color: var(--bs-light);
720+
outline-color: #ff8c00;
721+
/* darkorange */
722+
background-color: #f3f3f3;
722723
}
723724

724725
.edit-meeting-schedule .session.would-violate-hint {
725-
outline: 0.3em solid var(--bs-danger);
726+
outline: 0.3em solid #F55000;
726727
z-index: 1;
727728
/* raise up so the outline is not overdrawn */
728729
}
@@ -744,7 +745,7 @@ td.position-empty {
744745

745746
.edit-meeting-schedule .edit-grid,
746747
.edit-meeting-schedule .session {
747-
// font-family: arial, helvetica, sans-serif;
748+
font-family: arial, helvetica, sans-serif;
748749
font-size: 11px;
749750
}
750751

@@ -815,9 +816,9 @@ td.position-empty {
815816
bottom: 0;
816817
left: 0;
817818
width: 100%;
818-
border-top: 0.2em solid var(--bs-border-color);
819+
border-top: 0.2em solid #ccc;
819820
margin-bottom: 2em;
820-
background-color: var(--bs-body-bg);
821+
background-color: #fff;
821822
opacity: 0.95;
822823
z-index: 5;
823824
/* raise above edit-grid items */
@@ -832,7 +833,7 @@ td.position-empty {
832833
min-height: 4em;
833834
max-height: 13em;
834835
overflow-y: auto;
835-
background-color: var(--bs-secondary-bg);
836+
background-color: #f4f4f4;
836837
}
837838

838839
.edit-meeting-schedule .unassigned-sessions.dropping {
@@ -889,7 +890,7 @@ td.position-empty {
889890
font-weight: normal;
890891
margin-right: 1em;
891892
padding: 0 1em;
892-
border: 0.1em solid var(--bs-border-color);
893+
border: 0.1em solid #eee;
893894
cursor: pointer;
894895
}
895896

@@ -955,7 +956,7 @@ td.position-empty {
955956
}
956957

957958
.edit-meeting-timeslots-and-misc-sessions .room-row {
958-
border-bottom: 1px solid var(--bs-border-color);
959+
border-bottom: 1px solid #ccc;
959960
// height: 20px;
960961
display: flex;
961962
cursor: pointer;
@@ -975,13 +976,13 @@ td.position-empty {
975976
}
976977

977978
.edit-meeting-timeslots-and-misc-sessions .timeline.hover {
978-
background: radial-gradient(var(--bs-tertiary-color) 1px, transparent 1px);
979+
background: radial-gradient(#999 1px, transparent 1px);
979980
background-size: 20px 20px;
980981
}
981982

982983
.edit-meeting-timeslots-and-misc-sessions .timeline.selected.hover,
983984
.edit-meeting-timeslots-and-misc-sessions .timeline.selected {
984-
background: radial-gradient(var(--bs-tertiary-color) 2px, transparent 2px);
985+
background: radial-gradient(#999 2px, transparent 2px);
985986
background-size: 20px 20px;
986987
}
987988

@@ -997,8 +998,8 @@ td.position-empty {
997998
white-space: nowrap;
998999
cursor: pointer;
9991000
padding-left: 0.2em;
1000-
border-left: 1px solid var(--bs-border-color);
1001-
border-right: 1px solid var(--bs-border-color);
1001+
border-left: 1px solid #999;
1002+
border-right: 1px solid #999;
10021003
}
10031004

10041005
.edit-meeting-timeslots-and-misc-sessions .timeslot:hover {
@@ -1018,10 +1019,10 @@ td.position-empty {
10181019
bottom: 0;
10191020
left: 0;
10201021
width: 100%;
1021-
border-top: 0.2em solid var(--bs-border-color);
1022+
border-top: 0.2em solid #ccc;
10221023
padding-top: 0.2em;
10231024
margin-bottom: 2em;
1024-
background-color: var(--bs-body-bg);
1025+
background-color: #fff;
10251026
opacity: 0.95;
10261027
}
10271028

@@ -1069,7 +1070,7 @@ td.position-empty {
10691070
}
10701071

10711072
.timeslot-edit .tstable div.timeslot {
1072-
border: var(--bs-body-color) solid 1px;
1073+
border: #000000 solid 1px;
10731074
border-radius: 0.5em;
10741075
padding: 0.5em;
10751076
}
@@ -1099,7 +1100,7 @@ td.position-empty {
10991100
}
11001101

11011102
.timeslot-edit .tstable .tstype_unavail {
1102-
background-color: var(--bs-secondary-color);
1103+
background-color: #666;
11031104
}
11041105

11051106
.timeslot-edit .official-use-warning {

0 commit comments

Comments
 (0)