Skip to content

Commit c6e0e1d

Browse files
committed
Update style.css
1 parent 3fc3d5f commit c6e0e1d

File tree

1 file changed

+159
-41
lines changed

1 file changed

+159
-41
lines changed

src/frontend/assets/style.css

Lines changed: 159 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ body {
127127
}
128128

129129

130-
.button:disabled {
130+
.button:disabled,
131+
.button:disabled:hover {
131132
background-color: rgba(255, 255, 255, 0.5);
132133
background: rgba(255, 255, 255, 0.5) !important;
133134
color: rgba(0, 0, 0, 0.5);
@@ -137,18 +138,12 @@ body {
137138
text-decoration: none;
138139
display: inline-block;
139140
transition: unset;
141+
text-shadow: unset;
140142
box-shadow: unset;
141143
transition: unset;
142144
cursor: default;
143145
}
144146

145-
.button:disabled:hover {
146-
background: rgba(255, 255, 255, 0.5) !important;
147-
color: rgba(0, 0, 0, 0.5) !important;
148-
cursor: default;
149-
box-shadow: unset;
150-
text-shadow: unset;
151-
}
152147

153148
.button span.ripple {
154149
position: absolute;
@@ -184,6 +179,63 @@ body {
184179
-webkit-text-fill-color: transparent;
185180
}
186181

182+
183+
184+
185+
#contextMenu {
186+
position: fixed;
187+
z-index: 10;
188+
width: 200px;
189+
/* background: #1b1a1a; */
190+
background-color: rgba(255, 255, 255, 0.5);
191+
backdrop-filter: blur(15px) saturate(200%);
192+
box-shadow: 0.25rem 0.25rem 1rem 0.15rem rgba(0, 0, 0, 0.2);
193+
border-radius: var(--border-radius);
194+
transform: scale(0);
195+
transform-origin: top left;
196+
}
197+
198+
#contextMenu.visible {
199+
transform: scale(1);
200+
transition: transform 200ms ease-in-out;
201+
}
202+
203+
#contextMenu .item {
204+
display: none;
205+
}
206+
207+
#contextMenu .item.visible {
208+
display: block;
209+
padding: 0.5rem 1rem;
210+
/* font-size: 15px; */
211+
color: var(--color-font-dark);
212+
cursor: pointer;
213+
/* border-radius: inherit; */
214+
font-weight: 600;
215+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
216+
}
217+
218+
#contextMenu .item.visible.top {
219+
border-top-left-radius: var(--border-radius);
220+
border-top-right-radius: var(--border-radius);
221+
}
222+
223+
#contextMenu .item.visible.bottom {
224+
border-bottom-left-radius: var(--border-radius);
225+
border-bottom-right-radius: var(--border-radius);
226+
border-bottom: none;
227+
}
228+
229+
230+
231+
#contextMenu .item.visible:hover {
232+
/* background: var(--color-background-table-control); */
233+
/* background-color: rgba(255, 255, 255, 1); */
234+
background-color: var(--color-main-two);
235+
color: var(--color-font-light);
236+
}
237+
238+
187239
/* #END Commons content ------------------------------------------------------------------------------------------------------------------ */
188240

189241

@@ -300,12 +352,12 @@ body {
300352
padding: 0rem 1rem 1rem 1rem;
301353
display: none;
302354
color: var(--color-font-light);
303-
background-color: var(--color-dark-primary);
355+
background-color: var(--color-dark-secondary);
304356
align-items: center;
305357
flex-direction: column;
306358
position: relative;
307-
background-color: rgba(66, 66, 66, 0.75);
308-
backdrop-filter: blur(15px) saturate(200%);
359+
/* background-color: rgba(66, 66, 66, 0.75);
360+
backdrop-filter: blur(15px) saturate(200%); */
309361
z-index: 1;
310362
position: absolute;
311363
width: 100%;
@@ -352,19 +404,18 @@ body {
352404
}
353405

354406
#sectionOptions #copyright code {
407+
color: var(--color-font-light);
355408
color: rgba(255, 255, 255, 0.75);
409+
font-family: "CharisSIL", sans-serif;
356410
}
357411

358412

359-
#appUrl,
360-
#appLicense {
361-
text-decoration: underline;
362-
}
363413

364414
#appUrl:hover,
365415
#appLicense:hover {
366416
color: var(--color-main-one);
367417
cursor: pointer;
418+
text-decoration: underline;
368419
}
369420

370421
#sectionOptions .button:hover .material-icons-round.gradient,
@@ -610,17 +661,20 @@ body {
610661
border-radius: var(--border-radius);
611662
padding-left: 1rem;
612663
padding-right: 1rem;
613-
height: 3rem;
664+
min-height: 3rem;
665+
height: 100%;
614666
width: 100%;
615667
margin-top: 1rem;
616668
}
617669

618-
.editor-input-box input {
670+
.editor-input-box textarea {
619671
border: none;
620672
width: 100%;
673+
line-height: 1.25rem;
674+
resize: none;
621675
}
622676

623-
.editor-input-box input:focus {
677+
.editor-input-box textarea:focus {
624678
outline: none;
625679
}
626680

@@ -744,12 +798,21 @@ table.dataTable span.column_highlight {
744798
font-weight: var(--bold-weight);
745799
}
746800

801+
#tableAnnotation.row-grouping thead tr th {
802+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
803+
}
804+
747805
#tableAnnotation thead tr th:hover {
748-
background-color: rgba(255, 255, 255, 0.5);
749-
border-radius: var(--border-radius);
750-
border: none;
806+
background-color: rgba(255, 255, 255, 0.75);
807+
/* border-radius: var(--border-radius); */
808+
/* border: none; */
751809
}
752810

811+
/* #tableAnnotation thead tr th:first-child:hover {
812+
border-top-left-radius: var(--border-radius);
813+
border-bottom-left-radius: var(--border-radius);
814+
} */
815+
753816
table.dataTable thead>tr>th.sorting_asc:before,
754817
table.dataTable thead>tr>th.sorting_desc:after,
755818
table.dataTable thead>tr>td.sorting_asc:before,
@@ -775,6 +838,7 @@ table.dataTable thead>tr>td.sorting_asc_disabled:before,
775838
table.dataTable thead>tr>td.sorting_desc_disabled:before {
776839
bottom: 60%;
777840
/* content: "🡹"; */
841+
content: "";
778842
}
779843

780844
table.dataTable thead>tr>th.sorting:after,
@@ -789,16 +853,32 @@ table.dataTable thead>tr>td.sorting_asc_disabled:after,
789853
table.dataTable thead>tr>td.sorting_desc_disabled:after {
790854
top: 60%;
791855
/* content: "🡻"; */
856+
content: "";
857+
}
858+
859+
860+
#tableAnnotation thead th .material-icons-round {
861+
color: var(--color-dark-secondary);
862+
position: absolute;
863+
/* display: block; */
864+
opacity: .125;
865+
right: 0;
866+
/* line-height: 9px;
867+
font-size: .8em; */
868+
}
869+
870+
#tableAnnotation thead th .material-icons-round.active {
871+
opacity: 1;
872+
background: var(--color-main-gradient);
873+
background-clip: text;
874+
-webkit-background-clip: text;
875+
-webkit-text-fill-color: transparent;
792876
}
793877

794878
#tableAnnotation tbody {
795879
line-height: 1.25rem;
796880
}
797881

798-
#tableAnnotation tbody tr[data-document],
799-
#tableAnnotation tbody tr td[data-document] {
800-
cursor: alias !important;
801-
}
802882

803883

804884
#tableAnnotation tbody .material-icons-round.table-comment {
@@ -816,7 +896,9 @@ table.dataTable thead>tr>td.sorting_desc_disabled:after {
816896
}
817897

818898
#tableAnnotation tbody tr:hover .material-icons-round.table-comment,
819-
#tableAnnotation tbody tr:hover .material-icons-round.table-highlight {
899+
#tableAnnotation tbody tr:hover .material-icons-round.table-highlight,
900+
#tableAnnotation tbody tr.menu-active .material-icons-round.table-comment,
901+
#tableAnnotation tbody tr.menu-active .material-icons-round.table-highlight {
820902
color: var(--color-font-light);
821903
background: unset;
822904
background-clip: unset;
@@ -833,17 +915,15 @@ table.dataTable thead>tr>td.sorting_desc_disabled:after {
833915
text-align: left;
834916
}
835917

836-
#tableAnnotation tbody tr:hover .dbclick-table-row {
918+
#tableAnnotation tbody tr:hover .dbclick-table-row,
919+
#tableAnnotation tbody tr.menu-active .dbclick-table-row {
837920
background-color: var(--color-main-two);
838921
color: var(--color-font-light);
839922
cursor: pointer;
840923
}
841924

842-
843-
.dtrg-group.dtrg-start.dtrg-level-0 th {
844-
background: transparent;
845-
color: var(--color-font-dark);
846-
925+
#tableAnnotation tbody tr .dbclick-table-row.loading {
926+
cursor: wait ;
847927
}
848928

849929
/* Page column */
@@ -899,18 +979,33 @@ table.dataTable thead>tr>td.sorting_desc_disabled:after {
899979
}
900980

901981
/* Row grouping border style ----------------------------- */
902-
#tableAnnotation.row-grouping tbody tr.dtrg-group.dtrg-start.dtrg-level-0 th {
903-
color: var(--color-dark-secondary);
982+
#tableAnnotation.row-grouping tbody tr.dtrg-group.dtrg-level-0 th {
904983
font-weight: 600;
984+
background: var(--color-background-table);
985+
color: var(--color-font-dark);
986+
border-top-left-radius: var(--border-radius);
987+
border-top-right-radius: var(--border-radius);
988+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
989+
padding:1rem
990+
}
991+
992+
#tableAnnotation tbody tr.dtrg-level-0.dbclick-table-row:hover th,
993+
#tableAnnotation tbody tr.menu-active.dtrg-level-0.dbclick-table-row th {
994+
background-color: var(--color-main-two);
995+
color: var(--color-font-light);
996+
cursor: pointer;
905997
}
906998

999+
#tableAnnotation tbody tr.dtrg-level-0.dbclick-table-row.loading:hover th{
1000+
cursor: wait ;
1001+
}
9071002

9081003
#tableAnnotation.row-grouping tr.group-bottom-transparent-row td {
9091004
border-bottom: none;
9101005
}
9111006

9121007
#tableAnnotation.row-grouping tr.group-bottom-transparent-row.top-group {
913-
height: 0.5rem;
1008+
/* height: 0.5rem; */
9141009
display: block;
9151010
}
9161011

@@ -937,23 +1032,45 @@ table.dataTable thead>tr>td.sorting_desc_disabled:after {
9371032

9381033
/* #ND Row grouping border style ----------------------------- */
9391034

1035+
.dataTables_empty{
1036+
border-radius: var(--border-radius);
1037+
}
9401038

9411039
#tableAnnotation_info {
9421040
display: none;
9431041
}
9441042

1043+
#tablePaginationHolder {
1044+
display: flex;
1045+
justify-content: flex-end;
1046+
padding-top: 1rem;
1047+
padding-bottom: 1rem;
1048+
}
9451049

9461050
#tableAnnotation_paginate {
9471051
/* padding-top: reset datatables default value */
948-
padding-top: 0;
1052+
/* padding-top: 0;
9491053
margin-top: 1rem;
950-
margin-right: 1rem;
1054+
margin-right: 1rem; */
9511055
background-color: var(--color-background-table-control);
1056+
display: flex;
1057+
/* margin-bottom: 1rem; */
1058+
9521059
}
9531060

9541061
#tableAnnotation_paginate a {
9551062
/* Prevent weird 0.5rem margin/padding at the bottom */
9561063
overflow: inherit;
1064+
height: 100%;
1065+
color: var(--color-font-dark);
1066+
height: 3rem;
1067+
}
1068+
1069+
#tableAnnotation_paginate a,
1070+
#tableAnnotation_paginate span {
1071+
display: flex;
1072+
align-items: center;
1073+
justify-content: center;
9571074
}
9581075

9591076
#tableAnnotation_paginate a:active {
@@ -978,27 +1095,28 @@ table.dataTable thead>tr>td.sorting_desc_disabled:after {
9781095
}
9791096

9801097
#tableAnnotation_paginate.dataTables_paginate a.paginate_button.current {
981-
color: var(--color-font-light) !important;
1098+
color: var(--color-font-light);
9821099
background: var(--color-main-gradient);
9831100
}
9841101

9851102
#tableAnnotation_paginate.dataTables_paginate a.paginate_button:hover {
9861103
/* Override datatables.min.css */
987-
color: var(--color-font-light) !important;
1104+
color: var(--color-font-light);
9881105
background: var(--color-main-gradient);
9891106
}
9901107

9911108
#tableAnnotation_paginate.dataTables_paginate a.paginate_button.disabled,
9921109
#tableAnnotation_paginate.dataTables_paginate a.paginate_button.disabled:hover {
993-
color: rgba(0, 0, 0, 0.5) !important;
1110+
color: rgba(0, 0, 0, 0.5);
9941111
text-shadow: unset;
1112+
box-shadow: unset;
9951113
cursor: default;
9961114
background: rgba(255, 255, 255, 0.75);
9971115
}
9981116

9991117

10001118
#tableAnnotation_paginate.dataTables_paginate span.ellipsis {
1001-
color: var(--color-font-light);
1119+
color: var(--color-font-dark);
10021120
font-weight: 700;
10031121
padding: 0 0.5rem;
10041122
}

0 commit comments

Comments
 (0)