parsley/app/assets/stylesheets/application.scss

104 lines
2.2 KiB
SCSS
Raw Normal View History

2016-01-12 18:43:00 -06:00
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any styles
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
* file per style scope.
*
2016-01-14 11:07:15 -06:00
*= require flash_messages
2016-01-18 18:29:25 -06:00
*= require chosen
2016-08-12 16:05:24 -05:00
*= require bootstrap-datepicker3
2016-10-20 15:48:33 -05:00
*= require bootstrap-tagsinput
2016-01-20 12:20:10 -06:00
*= require font_references
2016-01-12 18:43:00 -06:00
*/
@import "bootstrap-sprockets";
2016-01-30 15:49:17 -06:00
@import "journal_custom_colors";
@import "journal/_variables";
2016-01-12 18:43:00 -06:00
@import "bootstrap";
2016-01-30 15:49:17 -06:00
@import "journal/_bootswatch";
2016-01-13 17:10:43 -06:00
2016-01-14 15:22:15 -06:00
@import "typeahead-bootstrap";
2016-01-14 11:07:15 -06:00
@import "recipes";
2016-08-12 16:05:24 -05:00
@import "star_rating";
2016-01-14 11:07:15 -06:00
2016-07-05 16:31:36 -05:00
// Skin overrides
.has-error {
.help-block,
.control-label,
.radio,
.checkbox,
.radio-inline,
.checkbox-inline,
&.radio label,
&.checkbox label,
&.radio-inline label,
&.checkbox-inline label,
.form-control-feedback {
color: $state-danger-text;
}
.form-control,
.form-control:focus {
border-color: $state-danger-border;
}
}
2016-01-13 17:10:43 -06:00
$footer_height: 40px;
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
2016-01-20 20:29:08 -06:00
margin-bottom: $footer_height + 20;
2016-01-20 12:53:51 -06:00
background: image_url("grey_wash_wall.png");
2016-01-18 12:58:54 -06:00
}
#main_container {
background: white;
2016-01-18 15:10:25 -06:00
padding-bottom: 15px;
2016-01-13 17:10:43 -06:00
}
2016-01-12 18:43:00 -06:00
.footer {
position: absolute;
bottom: 0;
width: 100%;
2016-01-13 17:10:43 -06:00
height: $footer_height;
2016-01-20 12:53:51 -06:00
background-color: $gray-lighter;
border-top: solid 1px $gray-light;
2016-09-28 17:08:43 -05:00
}
a.sorted {
position: relative;
}
a.sorted.asc:after {
content: " ";
position: absolute;
margin: 8px 0 0 6px;
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid black;
}
a.sorted.desc:after {
content: " ";
position: absolute;
margin: 8px 0 0 6px;
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid black;
2016-01-12 18:43:00 -06:00
}