Skip to content

Commit 935cc81

Browse files
Finish section General colors
1 parent e8d1b81 commit 935cc81

18 files changed

+47
-29
lines changed

src/App.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ html, body {
827827
.main {
828828
flex: 1;
829829
position: relative;
830-
background-color: @color-background-secondary;
830+
background-color: var(--color-background-secondary);
831831
}
832832
.flexbox-row {
833833
display: flex;
@@ -903,7 +903,7 @@ html, body {
903903
width: 100%;
904904
}
905905
.configError {
906-
background-color: @color-background;
906+
background-color: var(--color-background);
907907
width: 100%;
908908
height: 100%;
909909
}
@@ -940,7 +940,7 @@ html, body {
940940
// Override border color for all cocoda-vue-tabs
941941
.cocoda-vue-tabs-header-item.cocoda-vue-tabs-header-item-active {
942942
border-bottom-color: var(--color-primary) !important;
943-
background-color: @color-background-heading !important;
943+
background-color: var(--color-background-heading) !important;
944944
}
945945
// Override font-size for all cocoda-vue-tabs
946946
.cocoda-vue-tabs-sm {

src/ConcordanceApp.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ html, body {
346346
.main {
347347
flex: 1;
348348
position: relative;
349-
background-color: @color-background-secondary;
349+
background-color: var(--color-background-secondary);
350350
}
351351
.flexbox-row {
352352
display: flex;
@@ -448,7 +448,7 @@ html, body {
448448
// Override border color for all cocoda-vue-tabs
449449
.cocoda-vue-tabs-header-item.cocoda-vue-tabs-header-item-active {
450450
border-bottom-color: var(--color-primary) !important;
451-
background-color: @color-background-heading !important;
451+
background-color: var(--color-background-heading) !important;
452452
}
453453
// Override font-size for all cocoda-vue-tabs
454454
.cocoda-vue-tabs-sm {

src/components/AnnotationList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export default {
207207
flex-direction: column;
208208
}
209209
.annotationList > div:nth-child(odd) {
210-
background-color: @color-background;
210+
background-color: var(--color-background);
211211
}
212212
.annotationList > div:nth-child(even) {
213213
background-color: var(--color-text-veryLightGrey-opacity);

src/components/ConceptDetail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ export default {
557557
position: absolute;
558558
right: 3px;
559559
top: -2px;
560-
color: @color-background;
560+
color: var(--color-background);
561561
}
562562
563563
.conceptDetail-identifier {

src/components/ConceptListItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ export default {
398398
.addToMapping {
399399
.fontSize-large;
400400
position: absolute;
401-
color: @color-background;
401+
color: var(--color-background);
402402
top: 50%;
403403
transform: translateY(-50%);
404404
right: 8px;

src/components/ConceptListWrapper.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ export default {
353353
padding: 4px 5px;
354354
}
355355
.conceptListWrapper-listSelectionPopover-choice:hover {
356-
background-color: @color-background-secondary;
356+
background-color: var(--color-background-secondary);
357357
cursor: pointer;
358358
}
359359

src/components/ConceptSearch.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,8 @@ export default {
530530
width: 100%;
531531
padding: 0;
532532
margin: 3px 0;
533-
background-color: @color-background;
534-
box-shadow: 0 2px 4px 0 @color-shadow;
533+
background-color: var(--color-background);
534+
box-shadow: 0 2px 4px 0 var(--color-shadow);
535535
z-index: @zIndex-10;
536536
}
537537
@@ -558,7 +558,7 @@ export default {
558558
height: 50px;
559559
padding: 0px 0px 0px 12px;
560560
z-index: @zIndex-3;
561-
background-color: @color-loading-overlay-background;
561+
background-color: var(--color-loading-overlay-background);
562562
display: flex;
563563
justify-content: left;
564564
align-items: center;

src/components/ItemName.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,6 @@ export default {
290290
width: 1em;
291291
height: 1em;
292292
margin-top: 0.2em;
293-
background: @color-background;
293+
background: var(--color-background);
294294
}
295295
</style>

src/components/ItemSuggest.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ export default defineComponent({
324324
width: 100%;
325325
padding: 0;
326326
margin: 1px 0;
327-
background-color: @color-background;
327+
background-color: var(--color-background);
328328
box-shadow: 0 2px 4px 0 @color-shadow;
329329
z-index: @zIndex-10;
330330
}

src/components/LoadingIndicatorFull.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ export default {
4343
<style lang="less">
4444
@import "@/style/z-index.less";
4545
@import "@/style/utilities.less";
46+
@import "../style/colors.css";
4647
4748
.loadingIndicatorFull {
4849
z-index: @zIndex-8 !important;
49-
background-color: @color-loading-overlay-background;
50+
background-color: var(--color-loading-overlay-background);
5051
animation: fadein 0.5s;
5152
}
5253
@keyframes fadein {

0 commit comments

Comments
 (0)