p5.js-web-editor/client/styles/base/_base.scss

85 lines
1.1 KiB
SCSS
Raw Normal View History

* {
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');
}
}
2019-07-09 18:24:09 +02:00
body, input, textarea, button {
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() {
@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;
border: 1px solid ;
border-radius: 2px;
padding: #{10 / $base-font-size}rem;
2016-09-22 00:52:44 +02:00
@include themify() {
color: getThemifyVariable('input-text-color');
border-color: getThemifyVariable('input-border-color');
2016-09-22 00:52:44 +02:00
}
2016-06-14 03:07:00 +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() {
@extend %button;
2016-09-13 23:05:42 +02:00
}
2016-06-21 05:04:41 +02:00
}
button[type="submit"]:disabled,
input[type="submit"]:disabled {
cursor: not-allowed;
}
button {
@include themify() {
@extend %link;
}
background: transparent;
border: none;
}
2016-06-21 05:04:41 +02:00
h2 {
font-size: #{21 / $base-font-size}em;
}
h3 {
font-weight: normal;
2016-07-06 17:27:39 +02:00
}
h4 {
font-weight: normal;
}
2016-07-11 04:52:48 +02:00
h6 {
font-weight: normal;
}
2016-07-05 22:04:14 +02:00
thead {
text-align: left;
2016-07-12 05:03:54 +02:00
}
th {
text-align: left;
}