Compare commits

..

4 commits

Author SHA1 Message Date
Bad
48c6ae7efb Increase the size of the homeserver explanation
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-11-01 17:57:19 +01:00
Bad
fc5dbe93e7 Make homeserver explanatoin accessible 2020-11-01 17:55:57 +01:00
Bad
d8343f5976 Change homserver-question into a class 2020-11-01 17:35:10 +01:00
Bad
157bb9fc47 style fixes 2020-11-01 17:33:27 +01:00
4 changed files with 10 additions and 10 deletions

View file

@ -54,12 +54,12 @@ class Homeserver extends ElemJS {
constructor() {
super(q("#homeserver"));
this.tippy = tippy.default(q("#homeserver-question"), {
this.tippy = tippy.default(q(".homeserver-question"), {
content: q("#homeserver-popup-template").innerHTML,
allowHTML: true,
interactive: true,
interactiveBorder: 10,
trigger: "mouseenter",
trigger: "focus mouseenter",
theme: "carbon",
arrow: tippy.roundArrow,
})

View file

@ -24,7 +24,7 @@ html
.form-input-container
.homeserver-label
label(for="homeserver") Homeserver
span#homeserver-question (What's this?)
span.homeserver-question(tabindex=0) (What's this?)
input(type="text" name="homeserver" placeholder="matrix.org")#homeserver
#feedback

View file

@ -44,9 +44,8 @@
.form-error
color: red
#homeserver-question
font-size: 0.6em
padding-left: 0.2em
.homeserver-question
font-size: 0.8em
.homeserver-label
display: flex

View file

@ -3,7 +3,8 @@
@use "./colors.sass" as c
.tippy-box[data-theme~="carbon"]
background-color: c.$milder
border: 2px solid c.$divider
.tippy-svg-arrow
fill: c.$milder
background-color: c.$milder
border: 2px solid c.$divider
.tippy-svg-arrow
fill: c.$milder