2016-01-12 18:43:00 -06:00
|
|
|
// Place all the styles related to the recipes controller here.
|
|
|
|
// They will automatically be included in application.css.
|
|
|
|
// You can use Sass (SCSS) here: http://sass-lang.com/
|
2016-01-13 17:10:43 -06:00
|
|
|
|
|
|
|
@mixin editor {
|
2016-01-18 12:58:54 -06:00
|
|
|
|
|
|
|
@extend .well;
|
|
|
|
@extend .well-sm;
|
|
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
padding-top: 4px;
|
|
|
|
|
|
|
|
.form-group {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.remove-button {
|
|
|
|
@extend .btn;
|
|
|
|
@extend .btn-danger;
|
|
|
|
@extend .btn-sm;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 9px;
|
|
|
|
}
|
2016-01-13 17:10:43 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
div.ingredient-editor {
|
|
|
|
@include editor;
|
2016-01-30 20:29:35 -06:00
|
|
|
|
2016-01-13 17:10:43 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
div.step-editor {
|
|
|
|
@include editor;
|
2016-01-18 12:58:54 -06:00
|
|
|
|
|
|
|
padding-bottom: 4px;
|
|
|
|
|
|
|
|
.form-group {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sort-order-display {
|
|
|
|
font-size: 120%;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 50px;
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
2016-01-13 17:10:43 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
div#ingredient-list, div#step-list {
|
|
|
|
padding-bottom: 15px;
|
2016-01-18 19:41:26 -06:00
|
|
|
}
|
|
|
|
|
2016-01-30 20:29:35 -06:00
|
|
|
div#ingredient-list {
|
|
|
|
|
|
|
|
@media (min-width: $screen-md-min) {
|
|
|
|
.ingredient-editor .control-label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ingredient-editor:first-child .control-label {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-18 19:41:26 -06:00
|
|
|
div.recipe-view {
|
2016-01-21 11:45:46 -06:00
|
|
|
|
|
|
|
.source {
|
|
|
|
@extend .col-xs-6;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
2016-01-18 19:41:26 -06:00
|
|
|
.ingredients div {
|
|
|
|
padding-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.steps div {
|
|
|
|
padding-bottom: 15px;
|
|
|
|
}
|
2016-01-30 17:02:19 -06:00
|
|
|
|
|
|
|
li.checked {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
2016-01-13 17:10:43 -06:00
|
|
|
}
|