forked from fixin.me/fixin.me
160 lines
3.1 KiB
CSS
160 lines
3.1 KiB
CSS
/*
|
|
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
* listed below.
|
|
*
|
|
* Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
|
|
* vendor/assets/stylesheets directory can be referenced here using a relative path.
|
|
*
|
|
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
* compiled file so the styles you add here take precedence over styles defined in any other CSS
|
|
* files in this directory. Styles in this file should be added after the last require_* statement.
|
|
* It is generally better to create a new file per style scope.
|
|
*
|
|
*= require_tree .
|
|
*= require_self
|
|
*/
|
|
|
|
* {
|
|
font-family: system-ui;
|
|
}
|
|
// TODO: convert em to rem
|
|
body {
|
|
margin: 0 0.5em;
|
|
}
|
|
|
|
input {
|
|
border: 1px solid;
|
|
border-radius: 0.2em;
|
|
border-color: #cccccc;
|
|
font-size: 0.9em;
|
|
padding: 0.1em 0.4em;
|
|
}
|
|
input[type=checkbox] {
|
|
height: 1em;
|
|
margin: 0;
|
|
width: 1em;
|
|
}
|
|
input:focus:not([type=checkbox]) {
|
|
outline: none;
|
|
}
|
|
|
|
.application-menu {
|
|
height: 2.1em;
|
|
margin: 0.5em 0;
|
|
}
|
|
.application-menu a, input[type=submit] {
|
|
align-items: center;
|
|
border: 1px solid;
|
|
background-color: #ffffff;
|
|
border-color: #a0a0a0;
|
|
border-radius: 0.2em;
|
|
color: #a0a0a0;
|
|
display: flex;
|
|
fill: #a0a0a0;
|
|
float: right;
|
|
font-size: 0.8rem;
|
|
font-weight: bold;
|
|
margin-left: 1em;
|
|
padding: 0.6em;
|
|
}
|
|
.application-menu a svg {
|
|
height: 1.3rem;
|
|
padding-right: 0.4rem;
|
|
width: 1.3rem;
|
|
}
|
|
.application-menu a.active,
|
|
.application-menu a:hover,
|
|
.application-menu a:focus-visible,
|
|
input[type=submit]:hover,
|
|
input[type=submit]:focus-visible {
|
|
background-color: #009ade;
|
|
border-color: #009ade;
|
|
color: white;
|
|
cursor: pointer;
|
|
fill: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:not(:hover) {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.flashes {
|
|
height: 2.1em;
|
|
}
|
|
.flash {
|
|
align-items: center;
|
|
border-radius: 0.2em;
|
|
color: white;
|
|
display: flex;
|
|
font-size: 1.0em;
|
|
}
|
|
.flash.alert:before {
|
|
content: url('pictograms/alert-outline.svg');
|
|
height: 1.4em;
|
|
margin: 0 0.5em;
|
|
width: 1.4em;
|
|
}
|
|
.flash.alert {
|
|
border-color: #ff1f5b;
|
|
background-color: #ff1f5b;
|
|
}
|
|
.flash.notice:before {
|
|
content: url('pictograms/check-circle-outline.svg');
|
|
height: 1.4em;
|
|
margin: 0 0.5em;
|
|
width: 1.4em;
|
|
}
|
|
.flash.notice {
|
|
border-color: #00cd6c;
|
|
background-color: #00cd6c;
|
|
}
|
|
.flash button {
|
|
background-color: inherit;
|
|
border: inherit;
|
|
border-radius: inherit;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
font-size: 1.4em;
|
|
font-weight: bold;
|
|
margin-left:auto;
|
|
opacity: 0.6;
|
|
padding: 0.1em 0.2em;
|
|
}
|
|
.flash button:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
form {
|
|
margin: 0 auto;
|
|
display: table;
|
|
border-spacing: 0.8em;
|
|
}
|
|
.form-row {
|
|
display: table-row;
|
|
}
|
|
.form-label, .form-field {
|
|
display: table-cell;
|
|
}
|
|
.form-label {
|
|
font-size: 0.9em;
|
|
padding-right: 0.25em;
|
|
text-align: right;
|
|
}
|
|
.form-label.required {
|
|
font-weight: bold;
|
|
}
|
|
.form-label.error {
|
|
color: #ff1f5b;
|
|
}
|
|
.form-actions {
|
|
caption-side: bottom;
|
|
display: table-caption;
|
|
}
|
|
form input[type=submit] {
|
|
display: block;
|
|
float: none;
|
|
font-size: 0.9em;
|
|
margin: 0 auto;
|
|
}
|