Skip to content

Commit f0f0381

Browse files
committed
style changes for colorscheme selection
1 parent d11e691 commit f0f0381

1 file changed

Lines changed: 27 additions & 2 deletions

File tree

frontend/MSA.vue

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,11 @@
113113
class="input-label"
114114
>Colours</label>
115115
<v-select dense flat hide-details solo
116-
style="max-width: 140px; max-height: 32px;"
116+
class="colorscheme-select"
117+
style="max-width: 130px; max-height: 32px;"
117118
v-model="colorScheme"
118119
:items="schemes"
120+
:menu-props="{ minWidth: '220px' }"
119121
/>
120122
</div>
121123
</div>
@@ -898,6 +900,29 @@ div.input-div .v-input__control, div.input-div .v-input__control * {
898900
div.input-div .v-input__slot {
899901
padding: 0 4px !important;
900902
}
903+
.colorscheme-select {
904+
max-width: 130px;
905+
}
906+
.colorscheme-select .v-select__selection {
907+
font-size: 14px;
908+
}
909+
.colorscheme-select .v-select__selections {
910+
justify-content: flex-end;
911+
}
912+
.colorscheme-select .v-select__selection {
913+
width: 100%;
914+
text-align: right;
915+
}
916+
.colorscheme-select .v-input__slot {
917+
justify-content: flex-end;
918+
}
919+
.colorscheme-select .v-select__selections input {
920+
cursor: pointer;
921+
caret-color: transparent;
922+
}
923+
.colorscheme-select .v-input__slot {
924+
cursor: pointer;
925+
}
901926
@media only screen and (min-width: 961px) {
902927
.flex-col {
903928
/* flex: 1 0 0px; */
@@ -1013,4 +1038,4 @@ div.input-div .v-input__slot {
10131038
.structure-panel-btn.primary--text:active {
10141039
background-color: rgba(25, 118, 210, 20%);
10151040
}
1016-
</style>
1041+
</style>

0 commit comments

Comments
 (0)