mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Improve style, in particular forms
This commit is contained in:
@@ -1 +1,7 @@
|
||||
@import './bootstrap_custom.scss'
|
||||
@import './bootstrap_custom.scss';
|
||||
@import './navbar.scss';
|
||||
@import './forms.scss';
|
||||
|
||||
.container {
|
||||
max-width: 920px;
|
||||
}
|
||||
11
app/javascript/stylesheets/forms.scss
Normal file
11
app/javascript/stylesheets/forms.scss
Normal file
@@ -0,0 +1,11 @@
|
||||
@import "node_modules/bootstrap/scss/variables";
|
||||
|
||||
.field_with_errors {
|
||||
label {
|
||||
color: $danger;
|
||||
}
|
||||
|
||||
input {
|
||||
border-color: $danger;
|
||||
}
|
||||
}
|
||||
12
app/javascript/stylesheets/navbar.scss
Normal file
12
app/javascript/stylesheets/navbar.scss
Normal file
@@ -0,0 +1,12 @@
|
||||
.navbar {
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-style: solid;
|
||||
border-bottom-color: black;
|
||||
|
||||
margin-bottom: 1.5em;
|
||||
|
||||
.navbar-brand {
|
||||
font-size: 18pt;
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user