scss org and parenthood adding
This commit is contained in:
43
app/assets/stylesheets/organisms/alerts.scss
Normal file
43
app/assets/stylesheets/organisms/alerts.scss
Normal file
@ -0,0 +1,43 @@
|
||||
.alertbox {
|
||||
background-color: $white;
|
||||
border: 2px solid $white;
|
||||
color: $dark;
|
||||
left: calc(50% - 125px);
|
||||
margin-bottom: 15px;
|
||||
padding: 10px 35px 10px 20px;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
width: 250px;
|
||||
z-index: 50;
|
||||
& + & { position: relative; }
|
||||
|
||||
&.box-blue {
|
||||
background-color: $blue;
|
||||
border-color: $light;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
&.box-red {
|
||||
background-color: $red;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.box-close {
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
float: right;
|
||||
height: 15px;
|
||||
margin-top: 1px;
|
||||
position: relative;
|
||||
right: -25px;
|
||||
width: 15px;
|
||||
|
||||
&:before {
|
||||
color: $white;
|
||||
content: "\00d7";
|
||||
left: 3px;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
}
|
||||
}
|
36
app/assets/stylesheets/organisms/forms.scss
Normal file
36
app/assets/stylesheets/organisms/forms.scss
Normal file
@ -0,0 +1,36 @@
|
||||
form {
|
||||
width: 100%;
|
||||
|
||||
* {
|
||||
font-size: 14px;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
margin: 0.6em 0 0;
|
||||
width: 100%;
|
||||
|
||||
&:after {
|
||||
content: ": ";
|
||||
}
|
||||
}
|
||||
|
||||
input {
|
||||
display: block;
|
||||
margin: 0 0 0.6em;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
[type=submit] {
|
||||
margin: 0.6em 0;
|
||||
}
|
||||
|
||||
textarea {
|
||||
height: 5em;
|
||||
max-width: 300px;
|
||||
padding: 5px;
|
||||
width: calc(100% - 30px);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user