2016-05-11 21:31:17 +02:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2016-06-14 03:07:00 +02:00
|
|
|
html, body {
|
2016-05-11 04:22:32 +02:00
|
|
|
font-size: #{$base-font-size}px;
|
|
|
|
}
|
|
|
|
|
2019-07-09 18:24:09 +02:00
|
|
|
body, input, textarea {
|
2016-09-14 17:55:53 +02:00
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('primary-text-color');
|
|
|
|
}
|
2017-02-22 20:29:35 +01:00
|
|
|
}
|
|
|
|
|
2019-07-09 18:24:09 +02:00
|
|
|
body, input, textarea, button {
|
2016-12-14 16:41:50 +01:00
|
|
|
font-family: Montserrat, sans-serif;
|
2016-06-10 04:15:50 +02:00
|
|
|
}
|
|
|
|
|
2016-05-18 19:37:59 +02:00
|
|
|
.root-app, .app {
|
2016-05-11 04:22:32 +02:00
|
|
|
min-height: 100%;
|
|
|
|
height: 100%;
|
2016-06-10 04:15:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2016-09-14 18:46:54 +02:00
|
|
|
@include themify() {
|
2017-02-22 20:29:35 +01:00
|
|
|
@extend %link;
|
2016-06-10 04:15:50 +02:00
|
|
|
}
|
2016-06-14 03:07:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input, button {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
2019-07-09 18:24:09 +02:00
|
|
|
input,
|
|
|
|
textarea {
|
2016-06-14 03:07:00 +02:00
|
|
|
padding: #{5 / $base-font-size}rem;
|
2016-12-16 00:43:58 +01:00
|
|
|
border: 1px solid ;
|
|
|
|
border-radius: 2px;
|
2016-07-13 22:13:28 +02:00
|
|
|
padding: #{10 / $base-font-size}rem;
|
2016-09-22 00:52:44 +02:00
|
|
|
@include themify() {
|
2016-09-22 05:39:50 +02:00
|
|
|
color: getThemifyVariable('input-text-color');
|
2020-04-24 02:25:39 +02:00
|
|
|
background-color: getThemifyVariable('input-background-color');
|
2016-09-22 05:39:50 +02:00
|
|
|
border-color: getThemifyVariable('input-border-color');
|
2016-09-22 00:52:44 +02:00
|
|
|
}
|
2016-06-14 03:07:00 +02:00
|
|
|
}
|
|
|
|
|
2019-05-24 11:09:41 +02:00
|
|
|
button[type="submit"],
|
2016-06-15 01:49:37 +02:00
|
|
|
input[type="submit"] {
|
2016-09-13 23:05:42 +02:00
|
|
|
@include themify() {
|
2016-12-19 22:49:37 +01:00
|
|
|
@extend %button;
|
2016-09-13 23:05:42 +02:00
|
|
|
}
|
2016-06-21 05:04:41 +02:00
|
|
|
}
|
|
|
|
|
2019-05-24 11:09:41 +02:00
|
|
|
button[type="submit"]:disabled,
|
|
|
|
input[type="submit"]:disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
2017-02-22 20:29:35 +01:00
|
|
|
button {
|
|
|
|
@include themify() {
|
|
|
|
@extend %link;
|
|
|
|
}
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2019-09-19 19:38:27 +02:00
|
|
|
h1 {
|
|
|
|
font-size: #{21 / $base-font-size}em;
|
|
|
|
}
|
|
|
|
|
2016-06-21 05:04:41 +02:00
|
|
|
h2 {
|
|
|
|
font-size: #{21 / $base-font-size}em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-weight: normal;
|
2020-05-28 22:44:00 +02:00
|
|
|
font-size: #{16 / $base-font-size}rem;
|
2016-07-06 17:27:39 +02:00
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2016-07-11 04:52:48 +02:00
|
|
|
h6 {
|
|
|
|
font-weight: normal;
|
2020-04-06 19:02:23 +02:00
|
|
|
font-size: #{12 / $base-font-size}rem;
|
2016-07-11 04:52:48 +02:00
|
|
|
}
|
2016-07-05 22:04:14 +02:00
|
|
|
thead {
|
|
|
|
text-align: left;
|
2016-07-12 05:03:54 +02:00
|
|
|
}
|
2017-02-22 20:29:35 +01:00
|
|
|
th {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2020-04-22 22:52:47 +02:00
|
|
|
|
|
|
|
a:focus,
|
|
|
|
button:focus,
|
|
|
|
input:focus,
|
|
|
|
textarea:focus {
|
|
|
|
outline: none;
|
|
|
|
box-shadow: 0 0 0 1px $outline-color;
|
|
|
|
}
|
2020-05-06 01:03:58 +02:00
|
|
|
|
|
|
|
// screen reader only class
|
|
|
|
// from https://www.scottohara.me/blog/2017/04/14/inclusively-hidden.html#hiding-content-visually
|
|
|
|
.sr-only:not(:focus):not(:active) {
|
|
|
|
clip: rect(0 0 0 0);
|
|
|
|
clip-path: inset(50%);
|
|
|
|
height: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 1px;
|
|
|
|
}
|