Skip to content

Commit 53fdb38

Browse files
committed
fix: missing tooltip styles
1 parent df8789a commit 53fdb38

File tree

1 file changed

+45
-13
lines changed

1 file changed

+45
-13
lines changed

packages/app-frontend/src/assets/style/index.styl

Lines changed: 45 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,25 @@ button:focus
5151
color #fff
5252
background-color $active-color
5353

54+
.vue-ui-icon svg
55+
fill currentColor
56+
57+
.preferences
58+
display flex
59+
flex-wrap wrap
60+
padding 12px 4px
61+
62+
> *
63+
flex-basis 380px
64+
margin 16px 24px
65+
66+
.vue-ui-form-field
67+
> .wrapper > .content
68+
min-height 32px
69+
justify-content center
70+
71+
// Popover
72+
5473
$arrow-color = $vue-ui-color-dark
5574

5675
.arrow
@@ -85,19 +104,32 @@ $arrow-color = $vue-ui-color-dark
85104
&.left
86105
border-right-color $arrow-color
87106

88-
.vue-ui-icon svg
89-
fill currentColor
107+
// Tooltips
90108

91-
.preferences
92-
display flex
93-
flex-wrap wrap
94-
padding 12px 4px
109+
.keyboard
110+
display inline-block
111+
min-width 22px
112+
text-align center
113+
background rgba($grey, .3)
114+
padding 2px 4px 0
115+
border-radius 3px
116+
margin-bottom 6px
117+
box-shadow 0 3px 0 rgba($grey, .2)
118+
.vue-ui-dark-mode &
119+
background rgba($grey, .9)
120+
box-shadow 0 3px 0 rgba($grey, .6)
95121

96-
> *
97-
flex-basis 380px
98-
margin 16px 24px
122+
.mono
123+
font-family Menlo, Consolas, monospace
99124

100-
.vue-ui-form-field
101-
> .wrapper > .content
102-
min-height 32px
103-
justify-content center
125+
.v-popper__popper.v-popper--theme-tooltip
126+
pointer-events none
127+
font-size 12px
128+
129+
.vue-ui-icon
130+
width 16px
131+
height @width
132+
vertical-align middle
133+
134+
.vue-ui-dark-mode .v-popper__popper.v-popper--theme-tooltip .vue-ui-icon svg
135+
fill #666

0 commit comments

Comments
 (0)