-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from NikitaRubocki/84_update_forms
84 update forms
- Loading branch information
Showing
22 changed files
with
389 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.alert { | ||
ul { | ||
margin: 0 0 30px 0; | ||
} | ||
} | ||
|
||
.alert .alert-heading { | ||
margin: 0 0 10px 0; | ||
} | ||
|
||
.alert ul { | ||
margin: 0px; | ||
} | ||
|
||
// Devise alerts | ||
.alert-error { | ||
background-color: #f2dede; | ||
border-color: #eed3d7; | ||
color: #b94a48; | ||
text-align: left; | ||
} | ||
|
||
.alert-alert { | ||
background-color: #f2dede; | ||
border-color: #eed3d7; | ||
color: #b94a48; | ||
text-align: left; | ||
} | ||
|
||
.alert-success { | ||
background-color: #dff0d8; | ||
border-color: #d6e9c6; | ||
color: #468847; | ||
text-align: left; | ||
} | ||
|
||
.alert-notice { | ||
background-color: #dff0d8; | ||
border-color: #d6e9c6; | ||
color: #468847; | ||
text-align: left; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@import './constants.css.scss'; | ||
|
||
input[type="checkbox"] { | ||
appearance: none; | ||
margin: 0px $space2 0px !important; | ||
padding: 3px 7px 2px !important; | ||
vertical-align: text-bottom; | ||
height: $txt4; | ||
width: $txt4; | ||
outline: 0px; | ||
border-radius: $space0; | ||
background-color: white; | ||
border: 1px solid #ccc; | ||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); | ||
cursor: pointer; | ||
&::before { | ||
position: absolute; | ||
content: ''; | ||
width: 6px; | ||
height: 12px; | ||
border-style: solid; | ||
color: white; | ||
border-width: 0 3px 3px 0; | ||
transform: rotate(38deg); | ||
opacity: 0; | ||
} | ||
&:hover{ | ||
border-color: $orange6; | ||
box-shadow: $border-orange; | ||
} | ||
&:checked { | ||
border-color: $orange5; | ||
background: $orange5; | ||
box-shadow: none; | ||
&::before { | ||
opacity: 1; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.