forked from fixin.me/fixin.me
178 lines
3.5 KiB
CSS
178 lines
3.5 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;
|
|
}
|
|
::selection {
|
|
background-color: #009ade;
|
|
color: white;
|
|
}
|
|
:focus-visible {
|
|
outline: none;
|
|
}
|
|
|
|
body {
|
|
margin: 0 0.5rem;
|
|
}
|
|
|
|
input {
|
|
background-color: white;
|
|
border: 1px solid;
|
|
border-radius: 0.2rem;
|
|
border-color: #cccccc;
|
|
}
|
|
input:not([type=checkbox]) {
|
|
font-size: 0.9rem;
|
|
padding: 0.2rem 0.4rem;
|
|
}
|
|
input[type=checkbox] {
|
|
accent-color: #009ade;
|
|
appearance: none;
|
|
display: flex;
|
|
height: 1.1rem;
|
|
margin: 0rem;
|
|
width: 1.1rem;
|
|
-webkit-appearance: none;
|
|
}
|
|
input:focus-visible, input:hover {
|
|
accent-color: #006c9b;
|
|
background-color: #f3f3f3;
|
|
}
|
|
input[type=checkbox]:checked {
|
|
appearance: checkbox;
|
|
-webkit-appearance: checkbox;
|
|
}
|
|
|
|
.application-menu {
|
|
height: 2.1rem;
|
|
margin: 0.5rem 0;
|
|
}
|
|
.application-menu a,
|
|
input[type=submit] {
|
|
align-items: center;
|
|
border: 1px solid;
|
|
background-color: white;
|
|
border-color: #a0a0a0;
|
|
border-radius: 0.2rem;
|
|
color: #a0a0a0;
|
|
display: flex;
|
|
fill: #a0a0a0;
|
|
float: right;
|
|
font-size: 0.8rem;
|
|
font-weight: bold;
|
|
margin-left: 0.8rem;
|
|
padding: 0.4rem;
|
|
text-decoration: none;
|
|
}
|
|
.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:hover:focus-visible,
|
|
input[type=submit]:hover,
|
|
input[type=submit]:hover:focus-visible {
|
|
background-color: #009ade;
|
|
border-color: #009ade;
|
|
color: white;
|
|
cursor: pointer;
|
|
fill: white;
|
|
}
|
|
.application-menu a:focus-visible,
|
|
input[type=submit]:focus-visible {
|
|
background-color: #f3f3f3;
|
|
}
|
|
.application-menu a.active:focus-visible {
|
|
background-color: #006c9b;
|
|
border-color: #006c9b;
|
|
}
|
|
|
|
.flashes {
|
|
height: 2.1rem;
|
|
}
|
|
.flash {
|
|
align-items: center;
|
|
border-radius: 0.2rem;
|
|
color: white;
|
|
display: flex;
|
|
font-size: 1.0rem;
|
|
}
|
|
.flash.alert:before {
|
|
content: url('pictograms/alert-outline.svg');
|
|
height: 1.4rem;
|
|
margin: 0 0.5rem;
|
|
width: 1.4rem;
|
|
}
|
|
.flash.alert {
|
|
border-color: #ff1f5b;
|
|
background-color: #ff1f5b;
|
|
}
|
|
.flash.notice:before {
|
|
content: url('pictograms/check-circle-outline.svg');
|
|
height: 1.4rem;
|
|
margin: 0 0.5rem;
|
|
width: 1.4rem;
|
|
}
|
|
.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.4rem;
|
|
font-weight: bold;
|
|
margin-left:auto;
|
|
opacity: 0.6;
|
|
padding: 0.2rem 0.2rem;
|
|
}
|
|
.flash button:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
form table {
|
|
border-spacing: 0.8rem;
|
|
margin: 0 auto;
|
|
}
|
|
form tr td:first-child {
|
|
font-size: 0.9rem;
|
|
padding-right: 0.25rem;
|
|
text-align: right;
|
|
}
|
|
form td.required {
|
|
font-weight: bold;
|
|
}
|
|
form td.error {
|
|
color: #ff1f5b;
|
|
}
|
|
form em {
|
|
color: #707070;
|
|
font-size: 0.75rem;
|
|
font-weight: normal;
|
|
}
|
|
form input[type=submit] {
|
|
float: none;
|
|
font-size: 1rem;
|
|
margin: 1.5rem auto;
|
|
padding: 0.75rem;
|
|
}
|