parsley/app/assets/stylesheets/recipes.scss

76 lines
1.1 KiB
SCSS
Raw Normal View History

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
2017-04-24 11:57:34 -05:00
div.table_tags {
width: 275px;
}
2017-05-08 11:20:04 -05:00
div.recipe_list_controls {
width: 85px;
}
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-13 17:10:43 -06:00
}
2017-04-14 09:01:51 -05:00
div#ingredient-list {
2016-01-13 17:10:43 -06:00
padding-bottom: 15px;
2016-01-18 19:41:26 -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
}