-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3f877e
commit 101b158
Showing
2 changed files
with
50 additions
and
44 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
91 changes: 48 additions & 43 deletions
91
core/app/assets/stylesheets/refinery/components/_form_actions.sass
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 |
---|---|---|
@@ -1,50 +1,55 @@ | ||
#page_container | ||
#page | ||
#content | ||
form | ||
position: relative | ||
.form-actions | ||
position: absolute | ||
bottom: -5em | ||
left: 0 | ||
width: 100% | ||
|
||
.form-actions-left, | ||
.form-actions-right | ||
margin: 1.5em 0 | ||
|
||
.form-actions-left | ||
.button | ||
margin-right: 0.25em | ||
|
||
.form-actions-right | ||
text-align: right | ||
|
||
.button | ||
margin-left: 0.25em | ||
|
||
form | ||
.form-actions | ||
position: absolute | ||
bottom: -5em | ||
left: 0 | ||
width: 100% | ||
|
||
.form-actions-left, | ||
.form-actions-right | ||
margin: 1.5em 0 | ||
|
||
.form-actions-left | ||
.button | ||
margin-right: 0.25em | ||
|
||
.form-actions-right | ||
text-align: right | ||
|
||
.button | ||
margin-left: 0.25em | ||
.button | ||
background: linear-gradient(to bottom, #65c3f7, $base_color) | ||
border: 1px solid $base_color | ||
border-radius: 3px | ||
color: white | ||
cursor: pointer | ||
display: inline-block | ||
font-size: 0.9em | ||
padding: 0.5em 1em | ||
text-decoration: none | ||
|
||
&:hover | ||
background: $base_color | ||
|
||
.button | ||
background: linear-gradient(to bottom, #65c3f7, $base_color) | ||
border: 1px solid $base_color | ||
border-radius: 3px | ||
color: white | ||
cursor: pointer | ||
display: inline-block | ||
font-size: 0.9em | ||
padding: 0.5em 1em | ||
text-decoration: none | ||
|
||
&:hover | ||
background: $base_color | ||
&#delete_button | ||
background: linear-gradient(to bottom, #de3618, #c73016) | ||
border: 1px solid #b02b13 | ||
|
||
&#delete_button | ||
background: linear-gradient(to bottom, #de3618, #c73016) | ||
border: 1px solid #b02b13 | ||
&:hover | ||
background: #c73016 | ||
|
||
&:hover | ||
background: #c73016 | ||
&#cancel_button | ||
background: linear-gradient(to bottom, white, #f9fafb) | ||
border: 1px solid #c4cdd5 | ||
color: #666A70 | ||
|
||
&#cancel_button | ||
background: linear-gradient(to bottom, white, #f9fafb) | ||
border: 1px solid #c4cdd5 | ||
color: #666A70 | ||
|
||
&:hover | ||
background: #f9fafb | ||
&:hover | ||
background: #f9fafb |