Skip to content

Commit e78e455

Browse files
committed
Minor style fixes, add focus styles
1 parent 3c87b08 commit e78e455

File tree

4 files changed

+20
-15
lines changed

4 files changed

+20
-15
lines changed

src/assets/css/common.css

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ header.vff-header svg.f-logo {
744744
max-width: 100%;
745745
}
746746

747-
/*matrix field*/
747+
/* matrix field*/
748748
.vff .f-matrix-wrap {
749749
overflow-x: auto;
750750
}
@@ -762,7 +762,7 @@ header.vff-header svg.f-logo {
762762
}
763763

764764
.vff .f-table-cell {
765-
padding: .6em .68em;
765+
padding: .54em;
766766
min-width: 9em;
767767
text-align: left;
768768
}
@@ -791,12 +791,8 @@ header.vff-header svg.f-logo {
791791
position: relative;
792792
display: inline-block;
793793
cursor: pointer;
794-
width: 1.5em;
795-
height: 1.5em;
796-
}
797-
798-
.vff .f-radio-mask {
799-
border-radius: 100%;
794+
width: 1.4em;
795+
height: 1.4em;
800796
}
801797

802798
.vff .f-field-svg {
@@ -831,15 +827,12 @@ header.vff-header svg.f-logo {
831827
fill: currentColor;
832828
}
833829

834-
.vff .f-field-control:focus:not(:checked) ~ .f-field-mask .f-field-svg {
835-
outline: 1px solid #000;
836-
outline-offset: 4px;
830+
.vff .f-field-control:focus ~ .f-field-mask {
831+
outline: 1px dotted;
837832
}
838833

839-
@media (prefers-color-scheme: dark) {
840-
.vff .f-field-control:focus ~ .f-field-mask .f-field-svg {
841-
outline-color: #fff;
842-
}
834+
.vff .f-field-control:focus ~ .f-checkbox-mask {
835+
outline-offset: 2px;
843836
}
844837

845838
/*

src/assets/css/themes/theme-green.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ header.vff-header svg.f-logo {
154154
border-spacing: 0 .6em;
155155
}
156156

157+
.vff .f-matrix-table thead th {
158+
padding-bottom: 0;
159+
}
160+
157161
.vff .f-matrix-table td {
158162
border: 1px solid var(--vff-secondary-text-color);
159163
border-right:hidden;

src/assets/css/themes/theme-minimal.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ header.vff-header svg.f-logo{
144144
border-spacing: 0 .6em;
145145
}
146146

147+
.vff .f-matrix-table thead th {
148+
padding-bottom: 0;
149+
}
150+
147151
.vff .f-matrix-table td {
148152
border: 1px solid var(--vff-secondary-text-color);
149153
border-right:hidden;

src/assets/css/themes/theme-purple.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ header.vff-header svg.f-logo{
162162
border-spacing: 0 .6em;
163163
}
164164

165+
.vff .f-matrix-table thead th {
166+
padding-bottom: 0;
167+
}
168+
165169
.vff .f-matrix-table td {
166170
border: 1px solid var(--vff-secondary-form-bg-color);
167171
border-right:hidden;

0 commit comments

Comments
 (0)