.
9 |
10 | .list-group {
11 | // No need to set list-style: none; since .list-group-item is block level
12 | margin-bottom: 20px;
13 | padding-left: 0; // reset padding because ul and ol
14 | }
15 |
16 |
17 | // Individual list items
18 | //
19 | // Use on `li`s or `div`s within the `.list-group` parent.
20 |
21 | .list-group-item {
22 | position: relative;
23 | display: block;
24 | padding: 10px 15px;
25 | // Place the border on the list items and negative margin up for better styling
26 | margin-bottom: -1px;
27 | background-color: $list-group-bg;
28 | border: 1px solid $list-group-border;
29 |
30 | // Round the first and last items
31 | &:first-child {
32 | @include border-top-radius($list-group-border-radius);
33 | }
34 | &:last-child {
35 | margin-bottom: 0;
36 | @include border-bottom-radius($list-group-border-radius);
37 | }
38 | }
39 |
40 |
41 | // Linked list items
42 | //
43 | // Use anchor elements instead of `li`s or `div`s to create linked list items.
44 | // Includes an extra `.active` modifier class for showing selected items.
45 |
46 | a.list-group-item {
47 | color: $list-group-link-color;
48 |
49 | .list-group-item-heading {
50 | color: $list-group-link-heading-color;
51 | }
52 |
53 | // Hover state
54 | &:hover,
55 | &:focus {
56 | text-decoration: none;
57 | color: $list-group-link-hover-color;
58 | background-color: $list-group-hover-bg;
59 | }
60 | }
61 |
62 | .list-group-item {
63 | // Disabled state
64 | &.disabled,
65 | &.disabled:hover,
66 | &.disabled:focus {
67 | background-color: $list-group-disabled-bg;
68 | color: $list-group-disabled-color;
69 | cursor: $cursor-disabled;
70 |
71 | // Force color to inherit for custom content
72 | .list-group-item-heading {
73 | color: inherit;
74 | }
75 | .list-group-item-text {
76 | color: $list-group-disabled-text-color;
77 | }
78 | }
79 |
80 | // Active class on item itself, not parent
81 | &.active,
82 | &.active:hover,
83 | &.active:focus {
84 | z-index: 2; // Place active items above their siblings for proper border styling
85 | color: $list-group-active-color;
86 | background-color: $list-group-active-bg;
87 | border-color: $list-group-active-border;
88 |
89 | // Force color to inherit for custom content
90 | .list-group-item-heading,
91 | .list-group-item-heading > small,
92 | .list-group-item-heading > .small {
93 | color: inherit;
94 | }
95 | .list-group-item-text {
96 | color: $list-group-active-text-color;
97 | }
98 | }
99 | }
100 |
101 |
102 | // Contextual variants
103 | //
104 | // Add modifier classes to change text and background color on individual items.
105 | // Organizationally, this must come after the `:hover` states.
106 |
107 | @include list-group-item-variant(success, $state-success-bg, $state-success-text);
108 | @include list-group-item-variant(info, $state-info-bg, $state-info-text);
109 | @include list-group-item-variant(warning, $state-warning-bg, $state-warning-text);
110 | @include list-group-item-variant(danger, $state-danger-bg, $state-danger-text);
111 |
112 |
113 | // Custom content options
114 | //
115 | // Extra classes for creating well-formatted content within `.list-group-item`s.
116 |
117 | .list-group-item-heading {
118 | margin-top: 0;
119 | margin-bottom: 5px;
120 | }
121 | .list-group-item-text {
122 | margin-bottom: 0;
123 | line-height: 1.3;
124 | }
125 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_media.scss:
--------------------------------------------------------------------------------
1 | .media {
2 | // Proper spacing between instances of .media
3 | margin-top: 15px;
4 |
5 | &:first-child {
6 | margin-top: 0;
7 | }
8 | }
9 |
10 | .media-right,
11 | .media > .pull-right {
12 | padding-left: 10px;
13 | }
14 |
15 | .media-left,
16 | .media > .pull-left {
17 | padding-right: 10px;
18 | }
19 |
20 | .media-left,
21 | .media-right,
22 | .media-body {
23 | display: table-cell;
24 | vertical-align: top;
25 | }
26 |
27 | .media-middle {
28 | vertical-align: middle;
29 | }
30 |
31 | .media-bottom {
32 | vertical-align: bottom;
33 | }
34 |
35 | // Reset margins on headings for tighter default spacing
36 | .media-heading {
37 | margin-top: 0;
38 | margin-bottom: 5px;
39 | }
40 |
41 | // Media list variation
42 | //
43 | // Undo default ul/ol styles
44 | .media-list {
45 | padding-left: 0;
46 | list-style: none;
47 | }
48 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_mixins.scss:
--------------------------------------------------------------------------------
1 | // Mixins
2 | // --------------------------------------------------
3 |
4 | // Utilities
5 | @import "mixins/hide-text";
6 | @import "mixins/opacity";
7 | @import "mixins/image";
8 | @import "mixins/labels";
9 | @import "mixins/reset-filter";
10 | @import "mixins/resize";
11 | @import "mixins/responsive-visibility";
12 | @import "mixins/size";
13 | @import "mixins/tab-focus";
14 | @import "mixins/text-emphasis";
15 | @import "mixins/text-overflow";
16 | @import "mixins/vendor-prefixes";
17 |
18 | // Components
19 | @import "mixins/alerts";
20 | @import "mixins/buttons";
21 | @import "mixins/panels";
22 | @import "mixins/pagination";
23 | @import "mixins/list-group";
24 | @import "mixins/nav-divider";
25 | @import "mixins/forms";
26 | @import "mixins/progress-bar";
27 | @import "mixins/table-row";
28 |
29 | // Skins
30 | @import "mixins/background-variant";
31 | @import "mixins/border-radius";
32 | @import "mixins/gradients";
33 |
34 | // Layout
35 | @import "mixins/clearfix";
36 | @import "mixins/center-block";
37 | @import "mixins/nav-vertical-align";
38 | @import "mixins/grid-framework";
39 | @import "mixins/grid";
40 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_modals.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Modals
3 | // --------------------------------------------------
4 |
5 | // .modal-open - body class for killing the scroll
6 | // .modal - container to scroll within
7 | // .modal-dialog - positioning shell for the actual modal
8 | // .modal-content - actual modal w/ bg and corners and shit
9 |
10 | // Kill the scroll on the body
11 | .modal-open {
12 | overflow: hidden;
13 | }
14 |
15 | // Container that the modal scrolls within
16 | .modal {
17 | display: none;
18 | overflow: hidden;
19 | position: fixed;
20 | top: 0;
21 | right: 0;
22 | bottom: 0;
23 | left: 0;
24 | z-index: $zindex-modal;
25 | -webkit-overflow-scrolling: touch;
26 |
27 | // Prevent Chrome on Windows from adding a focus outline. For details, see
28 | // https://github.com/twbs/bootstrap/pull/10951.
29 | outline: 0;
30 |
31 | // When fading in the modal, animate it to slide down
32 | &.fade .modal-dialog {
33 | @include translate(0, -25%);
34 | @include transition-transform(0.3s ease-out);
35 | }
36 | &.in .modal-dialog { @include translate(0, 0) }
37 | }
38 | .modal-open .modal {
39 | overflow-x: hidden;
40 | overflow-y: auto;
41 | }
42 |
43 | // Shell div to position the modal with bottom padding
44 | .modal-dialog {
45 | position: relative;
46 | width: auto;
47 | margin: 10px;
48 | }
49 |
50 | // Actual modal
51 | .modal-content {
52 | position: relative;
53 | background-color: $modal-content-bg;
54 | border: 1px solid $modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
55 | border: 1px solid $modal-content-border-color;
56 | border-radius: $border-radius-large;
57 | @include box-shadow(0 3px 9px rgba(0,0,0,.5));
58 | background-clip: padding-box;
59 | // Remove focus outline from opened modal
60 | outline: 0;
61 | }
62 |
63 | // Modal background
64 | .modal-backdrop {
65 | position: absolute;
66 | top: 0;
67 | right: 0;
68 | left: 0;
69 | background-color: $modal-backdrop-bg;
70 | // Fade for backdrop
71 | &.fade { @include opacity(0); }
72 | &.in { @include opacity($modal-backdrop-opacity); }
73 | }
74 |
75 | // Modal header
76 | // Top section of the modal w/ title and dismiss
77 | .modal-header {
78 | padding: $modal-title-padding;
79 | border-bottom: 1px solid $modal-header-border-color;
80 | min-height: ($modal-title-padding + $modal-title-line-height);
81 | }
82 | // Close icon
83 | .modal-header .close {
84 | margin-top: -2px;
85 | }
86 |
87 | // Title text within header
88 | .modal-title {
89 | margin: 0;
90 | line-height: $modal-title-line-height;
91 | }
92 |
93 | // Modal body
94 | // Where all modal content resides (sibling of .modal-header and .modal-footer)
95 | .modal-body {
96 | position: relative;
97 | padding: $modal-inner-padding;
98 | }
99 |
100 | // Footer (for actions)
101 | .modal-footer {
102 | padding: $modal-inner-padding;
103 | text-align: right; // right align buttons
104 | border-top: 1px solid $modal-footer-border-color;
105 | @include clearfix; // clear it in case folks use .pull-* classes on buttons
106 |
107 | // Properly space out buttons
108 | .btn + .btn {
109 | margin-left: 5px;
110 | margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
111 | }
112 | // but override that for button groups
113 | .btn-group .btn + .btn {
114 | margin-left: -1px;
115 | }
116 | // and override it for block buttons as well
117 | .btn-block + .btn-block {
118 | margin-left: 0;
119 | }
120 | }
121 |
122 | // Measure scrollbar width for padding body during modal show/hide
123 | .modal-scrollbar-measure {
124 | position: absolute;
125 | top: -9999px;
126 | width: 50px;
127 | height: 50px;
128 | overflow: scroll;
129 | }
130 |
131 | // Scale up the modal
132 | @media (min-width: $screen-sm-min) {
133 | // Automatically set modal's width for larger viewports
134 | .modal-dialog {
135 | width: $modal-md;
136 | margin: 30px auto;
137 | }
138 | .modal-content {
139 | @include box-shadow(0 5px 15px rgba(0,0,0,.5));
140 | }
141 |
142 | // Modal sizes
143 | .modal-sm { width: $modal-sm; }
144 | }
145 |
146 | @media (min-width: $screen-md-min) {
147 | .modal-lg { width: $modal-lg; }
148 | }
149 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_navs.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Navs
3 | // --------------------------------------------------
4 |
5 |
6 | // Base class
7 | // --------------------------------------------------
8 |
9 | .nav {
10 | margin-bottom: 0;
11 | padding-left: 0; // Override default ul/ol
12 | list-style: none;
13 | @include clearfix;
14 |
15 | > li {
16 | position: relative;
17 | display: block;
18 |
19 | > a {
20 | position: relative;
21 | display: block;
22 | padding: $nav-link-padding;
23 | &:hover,
24 | &:focus {
25 | text-decoration: none;
26 | background-color: $nav-link-hover-bg;
27 | }
28 | }
29 |
30 | // Disabled state sets text to gray and nukes hover/tab effects
31 | &.disabled > a {
32 | color: $nav-disabled-link-color;
33 |
34 | &:hover,
35 | &:focus {
36 | color: $nav-disabled-link-hover-color;
37 | text-decoration: none;
38 | background-color: transparent;
39 | cursor: $cursor-disabled;
40 | }
41 | }
42 | }
43 |
44 | // Open dropdowns
45 | .open > a {
46 | &,
47 | &:hover,
48 | &:focus {
49 | background-color: $nav-link-hover-bg;
50 | border-color: $link-color;
51 | }
52 | }
53 |
54 | // Nav dividers (deprecated with v3.0.1)
55 | //
56 | // This should have been removed in v3 with the dropping of `.nav-list`, but
57 | // we missed it. We don't currently support this anywhere, but in the interest
58 | // of maintaining backward compatibility in case you use it, it's deprecated.
59 | .nav-divider {
60 | @include nav-divider;
61 | }
62 |
63 | // Prevent IE8 from misplacing imgs
64 | //
65 | // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
66 | > li > a > img {
67 | max-width: none;
68 | }
69 | }
70 |
71 |
72 | // Tabs
73 | // -------------------------
74 |
75 | // Give the tabs something to sit on
76 | .nav-tabs {
77 | border-bottom: 1px solid $nav-tabs-border-color;
78 | > li {
79 | float: left;
80 | // Make the list-items overlay the bottom border
81 | margin-bottom: -1px;
82 |
83 | // Actual tabs (as links)
84 | > a {
85 | margin-right: 2px;
86 | line-height: $line-height-base;
87 | border: 1px solid transparent;
88 | border-radius: $border-radius-base $border-radius-base 0 0;
89 | &:hover {
90 | border-color: $nav-tabs-link-hover-border-color $nav-tabs-link-hover-border-color $nav-tabs-border-color;
91 | }
92 | }
93 |
94 | // Active state, and its :hover to override normal :hover
95 | &.active > a {
96 | &,
97 | &:hover,
98 | &:focus {
99 | color: $nav-tabs-active-link-hover-color;
100 | background-color: $nav-tabs-active-link-hover-bg;
101 | border: 1px solid $nav-tabs-active-link-hover-border-color;
102 | border-bottom-color: transparent;
103 | cursor: default;
104 | }
105 | }
106 | }
107 | // pulling this in mainly for less shorthand
108 | &.nav-justified {
109 | @extend .nav-justified;
110 | @extend .nav-tabs-justified;
111 | }
112 | }
113 |
114 |
115 | // Pills
116 | // -------------------------
117 | .nav-pills {
118 | > li {
119 | float: left;
120 |
121 | // Links rendered as pills
122 | > a {
123 | border-radius: $nav-pills-border-radius;
124 | }
125 | + li {
126 | margin-left: 2px;
127 | }
128 |
129 | // Active state
130 | &.active > a {
131 | &,
132 | &:hover,
133 | &:focus {
134 | color: $nav-pills-active-link-hover-color;
135 | background-color: $nav-pills-active-link-hover-bg;
136 | }
137 | }
138 | }
139 | }
140 |
141 |
142 | // Stacked pills
143 | .nav-stacked {
144 | > li {
145 | float: none;
146 | + li {
147 | margin-top: 2px;
148 | margin-left: 0; // no need for this gap between nav items
149 | }
150 | }
151 | }
152 |
153 |
154 | // Nav variations
155 | // --------------------------------------------------
156 |
157 | // Justified nav links
158 | // -------------------------
159 |
160 | .nav-justified {
161 | width: 100%;
162 |
163 | > li {
164 | float: none;
165 | > a {
166 | text-align: center;
167 | margin-bottom: 5px;
168 | }
169 | }
170 |
171 | > .dropdown .dropdown-menu {
172 | top: auto;
173 | left: auto;
174 | }
175 |
176 | @media (min-width: $screen-sm-min) {
177 | > li {
178 | display: table-cell;
179 | width: 1%;
180 | > a {
181 | margin-bottom: 0;
182 | }
183 | }
184 | }
185 | }
186 |
187 | // Move borders to anchors instead of bottom of list
188 | //
189 | // Mixin for adding on top the shared `.nav-justified` styles for our tabs
190 | .nav-tabs-justified {
191 | border-bottom: 0;
192 |
193 | > li > a {
194 | // Override margin from .nav-tabs
195 | margin-right: 0;
196 | border-radius: $border-radius-base;
197 | }
198 |
199 | > .active > a,
200 | > .active > a:hover,
201 | > .active > a:focus {
202 | border: 1px solid $nav-tabs-justified-link-border-color;
203 | }
204 |
205 | @media (min-width: $screen-sm-min) {
206 | > li > a {
207 | border-bottom: 1px solid $nav-tabs-justified-link-border-color;
208 | border-radius: $border-radius-base $border-radius-base 0 0;
209 | }
210 | > .active > a,
211 | > .active > a:hover,
212 | > .active > a:focus {
213 | border-bottom-color: $nav-tabs-justified-active-link-border-color;
214 | }
215 | }
216 | }
217 |
218 |
219 | // Tabbable tabs
220 | // -------------------------
221 |
222 | // Hide tabbable panes to start, show them when `.active`
223 | .tab-content {
224 | > .tab-pane {
225 | display: none;
226 | visibility: hidden;
227 | }
228 | > .active {
229 | display: block;
230 | visibility: visible;
231 | }
232 | }
233 |
234 |
235 | // Dropdowns
236 | // -------------------------
237 |
238 | // Specific dropdowns
239 | .nav-tabs .dropdown-menu {
240 | // make dropdown border overlap tab border
241 | margin-top: -1px;
242 | // Remove the top rounded corners here since there is a hard edge above the menu
243 | @include border-top-radius(0);
244 | }
245 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_normalize.scss:
--------------------------------------------------------------------------------
1 | /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
2 |
3 | //
4 | // 1. Set default font family to sans-serif.
5 | // 2. Prevent iOS text size adjust after orientation change, without disabling
6 | // user zoom.
7 | //
8 |
9 | html {
10 | font-family: sans-serif; // 1
11 | -ms-text-size-adjust: 100%; // 2
12 | -webkit-text-size-adjust: 100%; // 2
13 | }
14 |
15 | //
16 | // Remove default margin.
17 | //
18 |
19 | body {
20 | margin: 0;
21 | }
22 |
23 | // HTML5 display definitions
24 | // ==========================================================================
25 |
26 | //
27 | // Correct `block` display not defined for any HTML5 element in IE 8/9.
28 | // Correct `block` display not defined for `details` or `summary` in IE 10/11
29 | // and Firefox.
30 | // Correct `block` display not defined for `main` in IE 11.
31 | //
32 |
33 | article,
34 | aside,
35 | details,
36 | figcaption,
37 | figure,
38 | footer,
39 | header,
40 | hgroup,
41 | main,
42 | menu,
43 | nav,
44 | section,
45 | summary {
46 | display: block;
47 | }
48 |
49 | //
50 | // 1. Correct `inline-block` display not defined in IE 8/9.
51 | // 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
52 | //
53 |
54 | audio,
55 | canvas,
56 | progress,
57 | video {
58 | display: inline-block; // 1
59 | vertical-align: baseline; // 2
60 | }
61 |
62 | //
63 | // Prevent modern browsers from displaying `audio` without controls.
64 | // Remove excess height in iOS 5 devices.
65 | //
66 |
67 | audio:not([controls]) {
68 | display: none;
69 | height: 0;
70 | }
71 |
72 | //
73 | // Address `[hidden]` styling not present in IE 8/9/10.
74 | // Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
75 | //
76 |
77 | [hidden],
78 | template {
79 | display: none;
80 | }
81 |
82 | // Links
83 | // ==========================================================================
84 |
85 | //
86 | // Remove the gray background color from active links in IE 10.
87 | //
88 |
89 | a {
90 | background-color: transparent;
91 | }
92 |
93 | //
94 | // Improve readability when focused and also mouse hovered in all browsers.
95 | //
96 |
97 | a:active,
98 | a:hover {
99 | outline: 0;
100 | }
101 |
102 | // Text-level semantics
103 | // ==========================================================================
104 |
105 | //
106 | // Address styling not present in IE 8/9/10/11, Safari, and Chrome.
107 | //
108 |
109 | abbr[title] {
110 | border-bottom: 1px dotted;
111 | }
112 |
113 | //
114 | // Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
115 | //
116 |
117 | b,
118 | strong {
119 | font-weight: bold;
120 | }
121 |
122 | //
123 | // Address styling not present in Safari and Chrome.
124 | //
125 |
126 | dfn {
127 | font-style: italic;
128 | }
129 |
130 | //
131 | // Address variable `h1` font-size and margin within `section` and `article`
132 | // contexts in Firefox 4+, Safari, and Chrome.
133 | //
134 |
135 | h1 {
136 | font-size: 2em;
137 | margin: 0.67em 0;
138 | }
139 |
140 | //
141 | // Address styling not present in IE 8/9.
142 | //
143 |
144 | mark {
145 | background: #ff0;
146 | color: #000;
147 | }
148 |
149 | //
150 | // Address inconsistent and variable font size in all browsers.
151 | //
152 |
153 | small {
154 | font-size: 80%;
155 | }
156 |
157 | //
158 | // Prevent `sub` and `sup` affecting `line-height` in all browsers.
159 | //
160 |
161 | sub,
162 | sup {
163 | font-size: 75%;
164 | line-height: 0;
165 | position: relative;
166 | vertical-align: baseline;
167 | }
168 |
169 | sup {
170 | top: -0.5em;
171 | }
172 |
173 | sub {
174 | bottom: -0.25em;
175 | }
176 |
177 | // Embedded content
178 | // ==========================================================================
179 |
180 | //
181 | // Remove border when inside `a` element in IE 8/9/10.
182 | //
183 |
184 | img {
185 | border: 0;
186 | }
187 |
188 | //
189 | // Correct overflow not hidden in IE 9/10/11.
190 | //
191 |
192 | svg:not(:root) {
193 | overflow: hidden;
194 | }
195 |
196 | // Grouping content
197 | // ==========================================================================
198 |
199 | //
200 | // Address margin not present in IE 8/9 and Safari.
201 | //
202 |
203 | figure {
204 | margin: 1em 40px;
205 | }
206 |
207 | //
208 | // Address differences between Firefox and other browsers.
209 | //
210 |
211 | hr {
212 | -moz-box-sizing: content-box;
213 | box-sizing: content-box;
214 | height: 0;
215 | }
216 |
217 | //
218 | // Contain overflow in all browsers.
219 | //
220 |
221 | pre {
222 | overflow: auto;
223 | }
224 |
225 | //
226 | // Address odd `em`-unit font size rendering in all browsers.
227 | //
228 |
229 | code,
230 | kbd,
231 | pre,
232 | samp {
233 | font-family: monospace, monospace;
234 | font-size: 1em;
235 | }
236 |
237 | // Forms
238 | // ==========================================================================
239 |
240 | //
241 | // Known limitation: by default, Chrome and Safari on OS X allow very limited
242 | // styling of `select`, unless a `border` property is set.
243 | //
244 |
245 | //
246 | // 1. Correct color not being inherited.
247 | // Known issue: affects color of disabled elements.
248 | // 2. Correct font properties not being inherited.
249 | // 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
250 | //
251 |
252 | button,
253 | input,
254 | optgroup,
255 | select,
256 | textarea {
257 | color: inherit; // 1
258 | font: inherit; // 2
259 | margin: 0; // 3
260 | }
261 |
262 | //
263 | // Address `overflow` set to `hidden` in IE 8/9/10/11.
264 | //
265 |
266 | button {
267 | overflow: visible;
268 | }
269 |
270 | //
271 | // Address inconsistent `text-transform` inheritance for `button` and `select`.
272 | // All other form control elements do not inherit `text-transform` values.
273 | // Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
274 | // Correct `select` style inheritance in Firefox.
275 | //
276 |
277 | button,
278 | select {
279 | text-transform: none;
280 | }
281 |
282 | //
283 | // 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
284 | // and `video` controls.
285 | // 2. Correct inability to style clickable `input` types in iOS.
286 | // 3. Improve usability and consistency of cursor style between image-type
287 | // `input` and others.
288 | //
289 |
290 | button,
291 | html input[type="button"], // 1
292 | input[type="reset"],
293 | input[type="submit"] {
294 | -webkit-appearance: button; // 2
295 | cursor: pointer; // 3
296 | }
297 |
298 | //
299 | // Re-set default cursor for disabled elements.
300 | //
301 |
302 | button[disabled],
303 | html input[disabled] {
304 | cursor: default;
305 | }
306 |
307 | //
308 | // Remove inner padding and border in Firefox 4+.
309 | //
310 |
311 | button::-moz-focus-inner,
312 | input::-moz-focus-inner {
313 | border: 0;
314 | padding: 0;
315 | }
316 |
317 | //
318 | // Address Firefox 4+ setting `line-height` on `input` using `!important` in
319 | // the UA stylesheet.
320 | //
321 |
322 | input {
323 | line-height: normal;
324 | }
325 |
326 | //
327 | // It's recommended that you don't attempt to style these elements.
328 | // Firefox's implementation doesn't respect box-sizing, padding, or width.
329 | //
330 | // 1. Address box sizing set to `content-box` in IE 8/9/10.
331 | // 2. Remove excess padding in IE 8/9/10.
332 | //
333 |
334 | input[type="checkbox"],
335 | input[type="radio"] {
336 | box-sizing: border-box; // 1
337 | padding: 0; // 2
338 | }
339 |
340 | //
341 | // Fix the cursor style for Chrome's increment/decrement buttons. For certain
342 | // `font-size` values of the `input`, it causes the cursor style of the
343 | // decrement button to change from `default` to `text`.
344 | //
345 |
346 | input[type="number"]::-webkit-inner-spin-button,
347 | input[type="number"]::-webkit-outer-spin-button {
348 | height: auto;
349 | }
350 |
351 | //
352 | // 1. Address `appearance` set to `searchfield` in Safari and Chrome.
353 | // 2. Address `box-sizing` set to `border-box` in Safari and Chrome
354 | // (include `-moz` to future-proof).
355 | //
356 |
357 | input[type="search"] {
358 | -webkit-appearance: textfield; // 1
359 | -moz-box-sizing: content-box;
360 | -webkit-box-sizing: content-box; // 2
361 | box-sizing: content-box;
362 | }
363 |
364 | //
365 | // Remove inner padding and search cancel button in Safari and Chrome on OS X.
366 | // Safari (but not Chrome) clips the cancel button when the search input has
367 | // padding (and `textfield` appearance).
368 | //
369 |
370 | input[type="search"]::-webkit-search-cancel-button,
371 | input[type="search"]::-webkit-search-decoration {
372 | -webkit-appearance: none;
373 | }
374 |
375 | //
376 | // Define consistent border, margin, and padding.
377 | //
378 |
379 | fieldset {
380 | border: 1px solid #c0c0c0;
381 | margin: 0 2px;
382 | padding: 0.35em 0.625em 0.75em;
383 | }
384 |
385 | //
386 | // 1. Correct `color` not being inherited in IE 8/9/10/11.
387 | // 2. Remove padding so people aren't caught out if they zero out fieldsets.
388 | //
389 |
390 | legend {
391 | border: 0; // 1
392 | padding: 0; // 2
393 | }
394 |
395 | //
396 | // Remove default vertical scrollbar in IE 8/9/10/11.
397 | //
398 |
399 | textarea {
400 | overflow: auto;
401 | }
402 |
403 | //
404 | // Don't inherit the `font-weight` (applied by a rule above).
405 | // NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
406 | //
407 |
408 | optgroup {
409 | font-weight: bold;
410 | }
411 |
412 | // Tables
413 | // ==========================================================================
414 |
415 | //
416 | // Remove most spacing between table cells.
417 | //
418 |
419 | table {
420 | border-collapse: collapse;
421 | border-spacing: 0;
422 | }
423 |
424 | td,
425 | th {
426 | padding: 0;
427 | }
428 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_pager.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Pager pagination
3 | // --------------------------------------------------
4 |
5 |
6 | .pager {
7 | padding-left: 0;
8 | margin: $line-height-computed 0;
9 | list-style: none;
10 | text-align: center;
11 | @include clearfix;
12 | li {
13 | display: inline;
14 | > a,
15 | > span {
16 | display: inline-block;
17 | padding: 5px 14px;
18 | background-color: $pager-bg;
19 | border: 1px solid $pager-border;
20 | border-radius: $pager-border-radius;
21 | }
22 |
23 | > a:hover,
24 | > a:focus {
25 | text-decoration: none;
26 | background-color: $pager-hover-bg;
27 | }
28 | }
29 |
30 | .next {
31 | > a,
32 | > span {
33 | float: right;
34 | }
35 | }
36 |
37 | .previous {
38 | > a,
39 | > span {
40 | float: left;
41 | }
42 | }
43 |
44 | .disabled {
45 | > a,
46 | > a:hover,
47 | > a:focus,
48 | > span {
49 | color: $pager-disabled-color;
50 | background-color: $pager-bg;
51 | cursor: $cursor-disabled;
52 | }
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_pagination.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Pagination (multiple pages)
3 | // --------------------------------------------------
4 | .pagination {
5 | display: inline-block;
6 | padding-left: 0;
7 | margin: $line-height-computed 0;
8 | border-radius: $border-radius-base;
9 |
10 | > li {
11 | display: inline; // Remove list-style and block-level defaults
12 | > a,
13 | > span {
14 | position: relative;
15 | float: left; // Collapse white-space
16 | padding: $padding-base-vertical $padding-base-horizontal;
17 | line-height: $line-height-base;
18 | text-decoration: none;
19 | color: $pagination-color;
20 | background-color: $pagination-bg;
21 | border: 1px solid $pagination-border;
22 | margin-left: -1px;
23 | }
24 | &:first-child {
25 | > a,
26 | > span {
27 | margin-left: 0;
28 | @include border-left-radius($border-radius-base);
29 | }
30 | }
31 | &:last-child {
32 | > a,
33 | > span {
34 | @include border-right-radius($border-radius-base);
35 | }
36 | }
37 | }
38 |
39 | > li > a,
40 | > li > span {
41 | &:hover,
42 | &:focus {
43 | color: $pagination-hover-color;
44 | background-color: $pagination-hover-bg;
45 | border-color: $pagination-hover-border;
46 | }
47 | }
48 |
49 | > .active > a,
50 | > .active > span {
51 | &,
52 | &:hover,
53 | &:focus {
54 | z-index: 2;
55 | color: $pagination-active-color;
56 | background-color: $pagination-active-bg;
57 | border-color: $pagination-active-border;
58 | cursor: default;
59 | }
60 | }
61 |
62 | > .disabled {
63 | > span,
64 | > span:hover,
65 | > span:focus,
66 | > a,
67 | > a:hover,
68 | > a:focus {
69 | color: $pagination-disabled-color;
70 | background-color: $pagination-disabled-bg;
71 | border-color: $pagination-disabled-border;
72 | cursor: $cursor-disabled;
73 | }
74 | }
75 | }
76 |
77 | // Sizing
78 | // --------------------------------------------------
79 |
80 | // Large
81 | .pagination-lg {
82 | @include pagination-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $border-radius-large);
83 | }
84 |
85 | // Small
86 | .pagination-sm {
87 | @include pagination-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $border-radius-small);
88 | }
89 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_panels.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Panels
3 | // --------------------------------------------------
4 |
5 |
6 | // Base class
7 | .panel {
8 | margin-bottom: $line-height-computed;
9 | background-color: $panel-bg;
10 | border: 1px solid transparent;
11 | border-radius: $panel-border-radius;
12 | @include box-shadow(0 1px 1px rgba(0,0,0,.05));
13 | }
14 |
15 | // Panel contents
16 | .panel-body {
17 | padding: $panel-body-padding;
18 | @include clearfix;
19 | }
20 |
21 | // Optional heading
22 | .panel-heading {
23 | padding: $panel-heading-padding;
24 | border-bottom: 1px solid transparent;
25 | @include border-top-radius(($panel-border-radius - 1));
26 |
27 | > .dropdown .dropdown-toggle {
28 | color: inherit;
29 | }
30 | }
31 |
32 | // Within heading, strip any `h*` tag of its default margins for spacing.
33 | .panel-title {
34 | margin-top: 0;
35 | margin-bottom: 0;
36 | font-size: ceil(($font-size-base * 1.125));
37 | color: inherit;
38 |
39 | > a {
40 | color: inherit;
41 | }
42 | }
43 |
44 | // Optional footer (stays gray in every modifier class)
45 | .panel-footer {
46 | padding: $panel-footer-padding;
47 | background-color: $panel-footer-bg;
48 | border-top: 1px solid $panel-inner-border;
49 | @include border-bottom-radius(($panel-border-radius - 1));
50 | }
51 |
52 |
53 | // List groups in panels
54 | //
55 | // By default, space out list group content from panel headings to account for
56 | // any kind of custom content between the two.
57 |
58 | .panel {
59 | > .list-group,
60 | > .panel-collapse > .list-group {
61 | margin-bottom: 0;
62 |
63 | .list-group-item {
64 | border-width: 1px 0;
65 | border-radius: 0;
66 | }
67 |
68 | // Add border top radius for first one
69 | &:first-child {
70 | .list-group-item:first-child {
71 | border-top: 0;
72 | @include border-top-radius(($panel-border-radius - 1));
73 | }
74 | }
75 | // Add border bottom radius for last one
76 | &:last-child {
77 | .list-group-item:last-child {
78 | border-bottom: 0;
79 | @include border-bottom-radius(($panel-border-radius - 1));
80 | }
81 | }
82 | }
83 | }
84 | // Collapse space between when there's no additional content.
85 | .panel-heading + .list-group {
86 | .list-group-item:first-child {
87 | border-top-width: 0;
88 | }
89 | }
90 | .list-group + .panel-footer {
91 | border-top-width: 0;
92 | }
93 |
94 | // Tables in panels
95 | //
96 | // Place a non-bordered `.table` within a panel (not within a `.panel-body`) and
97 | // watch it go full width.
98 |
99 | .panel {
100 | > .table,
101 | > .table-responsive > .table,
102 | > .panel-collapse > .table {
103 | margin-bottom: 0;
104 |
105 | caption {
106 | padding-left: $panel-body-padding;
107 | padding-right: $panel-body-padding;
108 | }
109 | }
110 | // Add border top radius for first one
111 | > .table:first-child,
112 | > .table-responsive:first-child > .table:first-child {
113 | @include border-top-radius(($panel-border-radius - 1));
114 |
115 | > thead:first-child,
116 | > tbody:first-child {
117 | > tr:first-child {
118 | border-top-left-radius: ($panel-border-radius - 1);
119 | border-top-right-radius: ($panel-border-radius - 1);
120 |
121 | td:first-child,
122 | th:first-child {
123 | border-top-left-radius: ($panel-border-radius - 1);
124 | }
125 | td:last-child,
126 | th:last-child {
127 | border-top-right-radius: ($panel-border-radius - 1);
128 | }
129 | }
130 | }
131 | }
132 | // Add border bottom radius for last one
133 | > .table:last-child,
134 | > .table-responsive:last-child > .table:last-child {
135 | @include border-bottom-radius(($panel-border-radius - 1));
136 |
137 | > tbody:last-child,
138 | > tfoot:last-child {
139 | > tr:last-child {
140 | border-bottom-left-radius: ($panel-border-radius - 1);
141 | border-bottom-right-radius: ($panel-border-radius - 1);
142 |
143 | td:first-child,
144 | th:first-child {
145 | border-bottom-left-radius: ($panel-border-radius - 1);
146 | }
147 | td:last-child,
148 | th:last-child {
149 | border-bottom-right-radius: ($panel-border-radius - 1);
150 | }
151 | }
152 | }
153 | }
154 | > .panel-body + .table,
155 | > .panel-body + .table-responsive,
156 | > .table + .panel-body,
157 | > .table-responsive + .panel-body {
158 | border-top: 1px solid $table-border-color;
159 | }
160 | > .table > tbody:first-child > tr:first-child th,
161 | > .table > tbody:first-child > tr:first-child td {
162 | border-top: 0;
163 | }
164 | > .table-bordered,
165 | > .table-responsive > .table-bordered {
166 | border: 0;
167 | > thead,
168 | > tbody,
169 | > tfoot {
170 | > tr {
171 | > th:first-child,
172 | > td:first-child {
173 | border-left: 0;
174 | }
175 | > th:last-child,
176 | > td:last-child {
177 | border-right: 0;
178 | }
179 | }
180 | }
181 | > thead,
182 | > tbody {
183 | > tr:first-child {
184 | > td,
185 | > th {
186 | border-bottom: 0;
187 | }
188 | }
189 | }
190 | > tbody,
191 | > tfoot {
192 | > tr:last-child {
193 | > td,
194 | > th {
195 | border-bottom: 0;
196 | }
197 | }
198 | }
199 | }
200 | > .table-responsive {
201 | border: 0;
202 | margin-bottom: 0;
203 | }
204 | }
205 |
206 |
207 | // Collapsable panels (aka, accordion)
208 | //
209 | // Wrap a series of panels in `.panel-group` to turn them into an accordion with
210 | // the help of our collapse JavaScript plugin.
211 |
212 | .panel-group {
213 | margin-bottom: $line-height-computed;
214 |
215 | // Tighten up margin so it's only between panels
216 | .panel {
217 | margin-bottom: 0;
218 | border-radius: $panel-border-radius;
219 |
220 | + .panel {
221 | margin-top: 5px;
222 | }
223 | }
224 |
225 | .panel-heading {
226 | border-bottom: 0;
227 |
228 | + .panel-collapse > .panel-body,
229 | + .panel-collapse > .list-group {
230 | border-top: 1px solid $panel-inner-border;
231 | }
232 | }
233 |
234 | .panel-footer {
235 | border-top: 0;
236 | + .panel-collapse .panel-body {
237 | border-bottom: 1px solid $panel-inner-border;
238 | }
239 | }
240 | }
241 |
242 |
243 | // Contextual variations
244 | .panel-default {
245 | @include panel-variant($panel-default-border, $panel-default-text, $panel-default-heading-bg, $panel-default-border);
246 | }
247 | .panel-primary {
248 | @include panel-variant($panel-primary-border, $panel-primary-text, $panel-primary-heading-bg, $panel-primary-border);
249 | }
250 | .panel-success {
251 | @include panel-variant($panel-success-border, $panel-success-text, $panel-success-heading-bg, $panel-success-border);
252 | }
253 | .panel-info {
254 | @include panel-variant($panel-info-border, $panel-info-text, $panel-info-heading-bg, $panel-info-border);
255 | }
256 | .panel-warning {
257 | @include panel-variant($panel-warning-border, $panel-warning-text, $panel-warning-heading-bg, $panel-warning-border);
258 | }
259 | .panel-danger {
260 | @include panel-variant($panel-danger-border, $panel-danger-text, $panel-danger-heading-bg, $panel-danger-border);
261 | }
262 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_popovers.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Popovers
3 | // --------------------------------------------------
4 |
5 |
6 | .popover {
7 | position: absolute;
8 | top: 0;
9 | left: 0;
10 | z-index: $zindex-popover;
11 | display: none;
12 | max-width: $popover-max-width;
13 | padding: 1px;
14 | // Reset font and text propertes given new insertion method
15 | font-family: $font-family-base;
16 | font-size: $font-size-base;
17 | font-weight: normal;
18 | line-height: $line-height-base;
19 | text-align: left;
20 | background-color: $popover-bg;
21 | background-clip: padding-box;
22 | border: 1px solid $popover-fallback-border-color;
23 | border: 1px solid $popover-border-color;
24 | border-radius: $border-radius-large;
25 | @include box-shadow(0 5px 10px rgba(0,0,0,.2));
26 |
27 | // Overrides for proper insertion
28 | white-space: normal;
29 |
30 | // Offset the popover to account for the popover arrow
31 | &.top { margin-top: -$popover-arrow-width; }
32 | &.right { margin-left: $popover-arrow-width; }
33 | &.bottom { margin-top: $popover-arrow-width; }
34 | &.left { margin-left: -$popover-arrow-width; }
35 | }
36 |
37 | .popover-title {
38 | margin: 0; // reset heading margin
39 | padding: 8px 14px;
40 | font-size: $font-size-base;
41 | background-color: $popover-title-bg;
42 | border-bottom: 1px solid darken($popover-title-bg, 5%);
43 | border-radius: ($border-radius-large - 1) ($border-radius-large - 1) 0 0;
44 | }
45 |
46 | .popover-content {
47 | padding: 9px 14px;
48 | }
49 |
50 | // Arrows
51 | //
52 | // .arrow is outer, .arrow:after is inner
53 |
54 | .popover > .arrow {
55 | &,
56 | &:after {
57 | position: absolute;
58 | display: block;
59 | width: 0;
60 | height: 0;
61 | border-color: transparent;
62 | border-style: solid;
63 | }
64 | }
65 | .popover > .arrow {
66 | border-width: $popover-arrow-outer-width;
67 | }
68 | .popover > .arrow:after {
69 | border-width: $popover-arrow-width;
70 | content: "";
71 | }
72 |
73 | .popover {
74 | &.top > .arrow {
75 | left: 50%;
76 | margin-left: -$popover-arrow-outer-width;
77 | border-bottom-width: 0;
78 | border-top-color: $popover-arrow-outer-fallback-color; // IE8 fallback
79 | border-top-color: $popover-arrow-outer-color;
80 | bottom: -$popover-arrow-outer-width;
81 | &:after {
82 | content: " ";
83 | bottom: 1px;
84 | margin-left: -$popover-arrow-width;
85 | border-bottom-width: 0;
86 | border-top-color: $popover-arrow-color;
87 | }
88 | }
89 | &.right > .arrow {
90 | top: 50%;
91 | left: -$popover-arrow-outer-width;
92 | margin-top: -$popover-arrow-outer-width;
93 | border-left-width: 0;
94 | border-right-color: $popover-arrow-outer-fallback-color; // IE8 fallback
95 | border-right-color: $popover-arrow-outer-color;
96 | &:after {
97 | content: " ";
98 | left: 1px;
99 | bottom: -$popover-arrow-width;
100 | border-left-width: 0;
101 | border-right-color: $popover-arrow-color;
102 | }
103 | }
104 | &.bottom > .arrow {
105 | left: 50%;
106 | margin-left: -$popover-arrow-outer-width;
107 | border-top-width: 0;
108 | border-bottom-color: $popover-arrow-outer-fallback-color; // IE8 fallback
109 | border-bottom-color: $popover-arrow-outer-color;
110 | top: -$popover-arrow-outer-width;
111 | &:after {
112 | content: " ";
113 | top: 1px;
114 | margin-left: -$popover-arrow-width;
115 | border-top-width: 0;
116 | border-bottom-color: $popover-arrow-color;
117 | }
118 | }
119 |
120 | &.left > .arrow {
121 | top: 50%;
122 | right: -$popover-arrow-outer-width;
123 | margin-top: -$popover-arrow-outer-width;
124 | border-right-width: 0;
125 | border-left-color: $popover-arrow-outer-fallback-color; // IE8 fallback
126 | border-left-color: $popover-arrow-outer-color;
127 | &:after {
128 | content: " ";
129 | right: 1px;
130 | border-right-width: 0;
131 | border-left-color: $popover-arrow-color;
132 | bottom: -$popover-arrow-width;
133 | }
134 | }
135 | }
136 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_print.scss:
--------------------------------------------------------------------------------
1 | /*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
2 |
3 | // ==========================================================================
4 | // Print styles.
5 | // Inlined to avoid the additional HTTP request: h5bp.com/r
6 | // ==========================================================================
7 |
8 | @media print {
9 | *,
10 | *:before,
11 | *:after {
12 | background: transparent !important;
13 | color: #000 !important; // Black prints faster: h5bp.com/s
14 | box-shadow: none !important;
15 | text-shadow: none !important;
16 | }
17 |
18 | a,
19 | a:visited {
20 | text-decoration: underline;
21 | }
22 |
23 | a[href]:after {
24 | content: " (" attr(href) ")";
25 | }
26 |
27 | abbr[title]:after {
28 | content: " (" attr(title) ")";
29 | }
30 |
31 | // Don't show links that are fragment identifiers,
32 | // or use the `javascript:` pseudo protocol
33 | a[href^="#"]:after,
34 | a[href^="javascript:"]:after {
35 | content: "";
36 | }
37 |
38 | pre,
39 | blockquote {
40 | border: 1px solid #999;
41 | page-break-inside: avoid;
42 | }
43 |
44 | thead {
45 | display: table-header-group; // h5bp.com/t
46 | }
47 |
48 | tr,
49 | img {
50 | page-break-inside: avoid;
51 | }
52 |
53 | img {
54 | max-width: 100% !important;
55 | }
56 |
57 | p,
58 | h2,
59 | h3 {
60 | orphans: 3;
61 | widows: 3;
62 | }
63 |
64 | h2,
65 | h3 {
66 | page-break-after: avoid;
67 | }
68 |
69 | // Bootstrap specific changes start
70 | //
71 | // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245
72 | // Once fixed, we can just straight up remove this.
73 | select {
74 | background: #fff !important;
75 | }
76 |
77 | // Bootstrap components
78 | .navbar {
79 | display: none;
80 | }
81 | .btn,
82 | .dropup > .btn {
83 | > .caret {
84 | border-top-color: #000 !important;
85 | }
86 | }
87 | .label {
88 | border: 1px solid #000;
89 | }
90 |
91 | .table {
92 | border-collapse: collapse !important;
93 |
94 | td,
95 | th {
96 | background-color: #fff !important;
97 | }
98 | }
99 | .table-bordered {
100 | th,
101 | td {
102 | border: 1px solid #ddd !important;
103 | }
104 | }
105 |
106 | // Bootstrap specific changes end
107 | }
108 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_progress-bars.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Progress bars
3 | // --------------------------------------------------
4 |
5 |
6 | // Bar animations
7 | // -------------------------
8 |
9 | // WebKit
10 | @-webkit-keyframes progress-bar-stripes {
11 | from { background-position: 40px 0; }
12 | to { background-position: 0 0; }
13 | }
14 |
15 | // Spec and IE10+
16 | @keyframes progress-bar-stripes {
17 | from { background-position: 40px 0; }
18 | to { background-position: 0 0; }
19 | }
20 |
21 |
22 | // Bar itself
23 | // -------------------------
24 |
25 | // Outer container
26 | .progress {
27 | overflow: hidden;
28 | height: $line-height-computed;
29 | margin-bottom: $line-height-computed;
30 | background-color: $progress-bg;
31 | border-radius: $progress-border-radius;
32 | @include box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
33 | }
34 |
35 | // Bar of progress
36 | .progress-bar {
37 | float: left;
38 | width: 0%;
39 | height: 100%;
40 | font-size: $font-size-small;
41 | line-height: $line-height-computed;
42 | color: $progress-bar-color;
43 | text-align: center;
44 | background-color: $progress-bar-bg;
45 | @include box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
46 | @include transition(width .6s ease);
47 | }
48 |
49 | // Striped bars
50 | //
51 | // `.progress-striped .progress-bar` is deprecated as of v3.2.0 in favor of the
52 | // `.progress-bar-striped` class, which you just add to an existing
53 | // `.progress-bar`.
54 | .progress-striped .progress-bar,
55 | .progress-bar-striped {
56 | @include gradient-striped;
57 | background-size: 40px 40px;
58 | }
59 |
60 | // Call animation for the active one
61 | //
62 | // `.progress.active .progress-bar` is deprecated as of v3.2.0 in favor of the
63 | // `.progress-bar.active` approach.
64 | .progress.active .progress-bar,
65 | .progress-bar.active {
66 | @include animation(progress-bar-stripes 2s linear infinite);
67 | }
68 |
69 |
70 | // Variations
71 | // -------------------------
72 |
73 | .progress-bar-success {
74 | @include progress-bar-variant($progress-bar-success-bg);
75 | }
76 |
77 | .progress-bar-info {
78 | @include progress-bar-variant($progress-bar-info-bg);
79 | }
80 |
81 | .progress-bar-warning {
82 | @include progress-bar-variant($progress-bar-warning-bg);
83 | }
84 |
85 | .progress-bar-danger {
86 | @include progress-bar-variant($progress-bar-danger-bg);
87 | }
88 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_responsive-embed.scss:
--------------------------------------------------------------------------------
1 | // Embeds responsive
2 | //
3 | // Credit: Nicolas Gallagher and SUIT CSS.
4 |
5 | .embed-responsive {
6 | position: relative;
7 | display: block;
8 | height: 0;
9 | padding: 0;
10 | overflow: hidden;
11 |
12 | .embed-responsive-item,
13 | iframe,
14 | embed,
15 | object,
16 | video {
17 | position: absolute;
18 | top: 0;
19 | left: 0;
20 | bottom: 0;
21 | height: 100%;
22 | width: 100%;
23 | border: 0;
24 | }
25 |
26 | // Modifier class for 16:9 aspect ratio
27 | &.embed-responsive-16by9 {
28 | padding-bottom: 56.25%;
29 | }
30 |
31 | // Modifier class for 4:3 aspect ratio
32 | &.embed-responsive-4by3 {
33 | padding-bottom: 75%;
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_responsive-utilities.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Responsive: Utility classes
3 | // --------------------------------------------------
4 |
5 |
6 | // IE10 in Windows (Phone) 8
7 | //
8 | // Support for responsive views via media queries is kind of borked in IE10, for
9 | // Surface/desktop in split view and for Windows Phone 8. This particular fix
10 | // must be accompanied by a snippet of JavaScript to sniff the user agent and
11 | // apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at
12 | // our Getting Started page for more information on this bug.
13 | //
14 | // For more information, see the following:
15 | //
16 | // Issue: https://github.com/twbs/bootstrap/issues/10497
17 | // Docs: http://getbootstrap.com/getting-started/#support-ie10-width
18 | // Source: http://timkadlec.com/2013/01/windows-phone-8-and-device-width/
19 | // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
20 |
21 | @-ms-viewport {
22 | width: device-width;
23 | }
24 |
25 |
26 | // Visibility utilities
27 | // Note: Deprecated .visible-xs, .visible-sm, .visible-md, and .visible-lg as of v3.2.0
28 |
29 | @include responsive-invisibility('.visible-xs, .visible-sm, .visible-md, .visible-lg');
30 |
31 | .visible-xs-block,
32 | .visible-xs-inline,
33 | .visible-xs-inline-block,
34 | .visible-sm-block,
35 | .visible-sm-inline,
36 | .visible-sm-inline-block,
37 | .visible-md-block,
38 | .visible-md-inline,
39 | .visible-md-inline-block,
40 | .visible-lg-block,
41 | .visible-lg-inline,
42 | .visible-lg-inline-block {
43 | display: none !important;
44 | }
45 |
46 | @media (max-width: $screen-xs-max) {
47 | @include responsive-visibility('.visible-xs');
48 | }
49 | .visible-xs-block {
50 | @media (max-width: $screen-xs-max) {
51 | display: block !important;
52 | }
53 | }
54 | .visible-xs-inline {
55 | @media (max-width: $screen-xs-max) {
56 | display: inline !important;
57 | }
58 | }
59 | .visible-xs-inline-block {
60 | @media (max-width: $screen-xs-max) {
61 | display: inline-block !important;
62 | }
63 | }
64 |
65 | @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
66 | @include responsive-visibility('.visible-sm');
67 | }
68 | .visible-sm-block {
69 | @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
70 | display: block !important;
71 | }
72 | }
73 | .visible-sm-inline {
74 | @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
75 | display: inline !important;
76 | }
77 | }
78 | .visible-sm-inline-block {
79 | @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
80 | display: inline-block !important;
81 | }
82 | }
83 |
84 | @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
85 | @include responsive-visibility('.visible-md');
86 | }
87 | .visible-md-block {
88 | @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
89 | display: block !important;
90 | }
91 | }
92 | .visible-md-inline {
93 | @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
94 | display: inline !important;
95 | }
96 | }
97 | .visible-md-inline-block {
98 | @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
99 | display: inline-block !important;
100 | }
101 | }
102 |
103 | @media (min-width: $screen-lg-min) {
104 | @include responsive-visibility('.visible-lg');
105 | }
106 | .visible-lg-block {
107 | @media (min-width: $screen-lg-min) {
108 | display: block !important;
109 | }
110 | }
111 | .visible-lg-inline {
112 | @media (min-width: $screen-lg-min) {
113 | display: inline !important;
114 | }
115 | }
116 | .visible-lg-inline-block {
117 | @media (min-width: $screen-lg-min) {
118 | display: inline-block !important;
119 | }
120 | }
121 |
122 | @media (max-width: $screen-xs-max) {
123 | @include responsive-invisibility('.hidden-xs');
124 | }
125 |
126 | @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
127 | @include responsive-invisibility('.hidden-sm');
128 | }
129 |
130 | @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
131 | @include responsive-invisibility('.hidden-md');
132 | }
133 |
134 | @media (min-width: $screen-lg-min) {
135 | @include responsive-invisibility('.hidden-lg');
136 | }
137 |
138 |
139 | // Print utilities
140 | //
141 | // Media queries are placed on the inside to be mixin-friendly.
142 |
143 | // Note: Deprecated .visible-print as of v3.2.0
144 |
145 | @include responsive-invisibility('.visible-print');
146 |
147 | @media print {
148 | @include responsive-visibility('.visible-print');
149 | }
150 | .visible-print-block {
151 | display: none !important;
152 |
153 | @media print {
154 | display: block !important;
155 | }
156 | }
157 | .visible-print-inline {
158 | display: none !important;
159 |
160 | @media print {
161 | display: inline !important;
162 | }
163 | }
164 | .visible-print-inline-block {
165 | display: none !important;
166 |
167 | @media print {
168 | display: inline-block !important;
169 | }
170 | }
171 |
172 | @media print {
173 | @include responsive-invisibility('.hidden-print');
174 | }
175 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_scaffolding.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Scaffolding
3 | // --------------------------------------------------
4 |
5 |
6 | // Reset the box-sizing
7 | //
8 | // Heads up! This reset may cause conflicts with some third-party widgets.
9 | // For recommendations on resolving such conflicts, see
10 | // http://getbootstrap.com/getting-started/#third-box-sizing
11 | * {
12 | @include box-sizing(border-box);
13 | }
14 | *:before,
15 | *:after {
16 | @include box-sizing(border-box);
17 | }
18 |
19 |
20 | // Body reset
21 |
22 | html {
23 | font-size: 10px;
24 | -webkit-tap-highlight-color: rgba(0,0,0,0);
25 | }
26 |
27 | body {
28 | font-family: $font-family-base;
29 | font-size: $font-size-base;
30 | line-height: $line-height-base;
31 | color: $text-color;
32 | background-color: $body-bg;
33 | }
34 |
35 | // Reset fonts for relevant elements
36 | input,
37 | button,
38 | select,
39 | textarea {
40 | font-family: inherit;
41 | font-size: inherit;
42 | line-height: inherit;
43 | }
44 |
45 |
46 | // Links
47 |
48 | a {
49 | color: $link-color;
50 | text-decoration: none;
51 |
52 | &:hover,
53 | &:focus {
54 | color: $link-hover-color;
55 | text-decoration: $link-hover-decoration;
56 | }
57 |
58 | &:focus {
59 | @include tab-focus;
60 | }
61 | }
62 |
63 |
64 | // Figures
65 | //
66 | // We reset this here because previously Normalize had no `figure` margins. This
67 | // ensures we don't break anyone's use of the element.
68 |
69 | figure {
70 | margin: 0;
71 | }
72 |
73 |
74 | // Images
75 |
76 | img {
77 | vertical-align: middle;
78 | }
79 |
80 | // Responsive images (ensure images don't scale beyond their parents)
81 | .img-responsive {
82 | @include img-responsive;
83 | }
84 |
85 | // Rounded corners
86 | .img-rounded {
87 | border-radius: $border-radius-large;
88 | }
89 |
90 | // Image thumbnails
91 | //
92 | // Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`.
93 | .img-thumbnail {
94 | padding: $thumbnail-padding;
95 | line-height: $line-height-base;
96 | background-color: $thumbnail-bg;
97 | border: 1px solid $thumbnail-border;
98 | border-radius: $thumbnail-border-radius;
99 | @include transition(all .2s ease-in-out);
100 |
101 | // Keep them at most 100% wide
102 | @include img-responsive(inline-block);
103 | }
104 |
105 | // Perfect circle
106 | .img-circle {
107 | border-radius: 50%; // set radius in percents
108 | }
109 |
110 |
111 | // Horizontal rules
112 |
113 | hr {
114 | margin-top: $line-height-computed;
115 | margin-bottom: $line-height-computed;
116 | border: 0;
117 | border-top: 1px solid $hr-border;
118 | }
119 |
120 |
121 | // Only display content to screen readers
122 | //
123 | // See: http://a11yproject.com/posts/how-to-hide-content/
124 |
125 | .sr-only {
126 | position: absolute;
127 | width: 1px;
128 | height: 1px;
129 | margin: -1px;
130 | padding: 0;
131 | overflow: hidden;
132 | clip: rect(0,0,0,0);
133 | border: 0;
134 | }
135 |
136 | // Use in conjunction with .sr-only to only display content when it's focused.
137 | // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
138 | // Credit: HTML5 Boilerplate
139 |
140 | .sr-only-focusable {
141 | &:active,
142 | &:focus {
143 | position: static;
144 | width: auto;
145 | height: auto;
146 | margin: 0;
147 | overflow: visible;
148 | clip: auto;
149 | }
150 | }
151 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_tables.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Tables
3 | // --------------------------------------------------
4 |
5 |
6 | table {
7 | background-color: $table-bg;
8 | }
9 | caption {
10 | padding-top: $table-cell-padding;
11 | padding-bottom: $table-cell-padding;
12 | color: $text-muted;
13 | text-align: left;
14 | }
15 | th {
16 | text-align: left;
17 | }
18 |
19 |
20 | // Baseline styles
21 |
22 | .table {
23 | width: 100%;
24 | max-width: 100%;
25 | margin-bottom: $line-height-computed;
26 | // Cells
27 | > thead,
28 | > tbody,
29 | > tfoot {
30 | > tr {
31 | > th,
32 | > td {
33 | padding: $table-cell-padding;
34 | line-height: $line-height-base;
35 | vertical-align: top;
36 | border-top: 1px solid $table-border-color;
37 | }
38 | }
39 | }
40 | // Bottom align for column headings
41 | > thead > tr > th {
42 | vertical-align: bottom;
43 | border-bottom: 2px solid $table-border-color;
44 | }
45 | // Remove top border from thead by default
46 | > caption + thead,
47 | > colgroup + thead,
48 | > thead:first-child {
49 | > tr:first-child {
50 | > th,
51 | > td {
52 | border-top: 0;
53 | }
54 | }
55 | }
56 | // Account for multiple tbody instances
57 | > tbody + tbody {
58 | border-top: 2px solid $table-border-color;
59 | }
60 |
61 | // Nesting
62 | .table {
63 | background-color: $body-bg;
64 | }
65 | }
66 |
67 |
68 | // Condensed table w/ half padding
69 |
70 | .table-condensed {
71 | > thead,
72 | > tbody,
73 | > tfoot {
74 | > tr {
75 | > th,
76 | > td {
77 | padding: $table-condensed-cell-padding;
78 | }
79 | }
80 | }
81 | }
82 |
83 |
84 | // Bordered version
85 | //
86 | // Add borders all around the table and between all the columns.
87 |
88 | .table-bordered {
89 | border: 1px solid $table-border-color;
90 | > thead,
91 | > tbody,
92 | > tfoot {
93 | > tr {
94 | > th,
95 | > td {
96 | border: 1px solid $table-border-color;
97 | }
98 | }
99 | }
100 | > thead > tr {
101 | > th,
102 | > td {
103 | border-bottom-width: 2px;
104 | }
105 | }
106 | }
107 |
108 |
109 | // Zebra-striping
110 | //
111 | // Default zebra-stripe styles (alternating gray and transparent backgrounds)
112 |
113 | .table-striped {
114 | > tbody > tr:nth-child(odd) {
115 | background-color: $table-bg-accent;
116 | }
117 | }
118 |
119 |
120 | // Hover effect
121 | //
122 | // Placed here since it has to come after the potential zebra striping
123 |
124 | .table-hover {
125 | > tbody > tr:hover {
126 | background-color: $table-bg-hover;
127 | }
128 | }
129 |
130 |
131 | // Table cell sizing
132 | //
133 | // Reset default table behavior
134 |
135 | table col[class*="col-"] {
136 | position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
137 | float: none;
138 | display: table-column;
139 | }
140 | table {
141 | td,
142 | th {
143 | &[class*="col-"] {
144 | position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
145 | float: none;
146 | display: table-cell;
147 | }
148 | }
149 | }
150 |
151 |
152 | // Table backgrounds
153 | //
154 | // Exact selectors below required to override `.table-striped` and prevent
155 | // inheritance to nested tables.
156 |
157 | // Generate the contextual variants
158 | @include table-row-variant('active', $table-bg-active);
159 | @include table-row-variant('success', $state-success-bg);
160 | @include table-row-variant('info', $state-info-bg);
161 | @include table-row-variant('warning', $state-warning-bg);
162 | @include table-row-variant('danger', $state-danger-bg);
163 |
164 |
165 | // Responsive tables
166 | //
167 | // Wrap your tables in `.table-responsive` and we'll make them mobile friendly
168 | // by enabling horizontal scrolling. Only applies <768px. Everything above that
169 | // will display normally.
170 |
171 | .table-responsive {
172 | overflow-x: auto;
173 | min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)
174 |
175 | @media screen and (max-width: $screen-xs-max) {
176 | width: 100%;
177 | margin-bottom: ($line-height-computed * 0.75);
178 | overflow-y: hidden;
179 | -ms-overflow-style: -ms-autohiding-scrollbar;
180 | border: 1px solid $table-border-color;
181 |
182 | // Tighten up spacing
183 | > .table {
184 | margin-bottom: 0;
185 |
186 | // Ensure the content doesn't wrap
187 | > thead,
188 | > tbody,
189 | > tfoot {
190 | > tr {
191 | > th,
192 | > td {
193 | white-space: nowrap;
194 | }
195 | }
196 | }
197 | }
198 |
199 | // Special overrides for the bordered tables
200 | > .table-bordered {
201 | border: 0;
202 |
203 | // Nuke the appropriate borders so that the parent can handle them
204 | > thead,
205 | > tbody,
206 | > tfoot {
207 | > tr {
208 | > th:first-child,
209 | > td:first-child {
210 | border-left: 0;
211 | }
212 | > th:last-child,
213 | > td:last-child {
214 | border-right: 0;
215 | }
216 | }
217 | }
218 |
219 | // Only nuke the last row's bottom-border in `tbody` and `tfoot` since
220 | // chances are there will be only one `tr` in a `thead` and that would
221 | // remove the border altogether.
222 | > tbody,
223 | > tfoot {
224 | > tr:last-child {
225 | > th,
226 | > td {
227 | border-bottom: 0;
228 | }
229 | }
230 | }
231 |
232 | }
233 | }
234 | }
235 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_theme.scss:
--------------------------------------------------------------------------------
1 |
2 | //
3 | // Load core variables and mixins
4 | // --------------------------------------------------
5 |
6 | @import "variables";
7 | @import "mixins";
8 |
9 |
10 | //
11 | // Buttons
12 | // --------------------------------------------------
13 |
14 | // Common styles
15 | .btn-default,
16 | .btn-primary,
17 | .btn-success,
18 | .btn-info,
19 | .btn-warning,
20 | .btn-danger {
21 | text-shadow: 0 -1px 0 rgba(0,0,0,.2);
22 | $shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
23 | @include box-shadow($shadow);
24 |
25 | // Reset the shadow
26 | &:active,
27 | &.active {
28 | @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
29 | }
30 |
31 | .badge {
32 | text-shadow: none;
33 | }
34 | }
35 |
36 | // Mixin for generating new styles
37 | @mixin btn-styles($btn-color: #555) {
38 | @include gradient-vertical($start-color: $btn-color, $end-color: darken($btn-color, 12%));
39 | @include reset-filter; // Disable gradients for IE9 because filter bleeds through rounded corners
40 | background-repeat: repeat-x;
41 | border-color: darken($btn-color, 14%);
42 |
43 | &:hover,
44 | &:focus {
45 | background-color: darken($btn-color, 12%);
46 | background-position: 0 -15px;
47 | }
48 |
49 | &:active,
50 | &.active {
51 | background-color: darken($btn-color, 12%);
52 | border-color: darken($btn-color, 14%);
53 | }
54 |
55 | &:disabled,
56 | &[disabled] {
57 | background-color: darken($btn-color, 12%);
58 | background-image: none;
59 | }
60 | }
61 |
62 | // Common styles
63 | .btn {
64 | // Remove the gradient for the pressed/active state
65 | &:active,
66 | &.active {
67 | background-image: none;
68 | }
69 | }
70 |
71 | // Apply the mixin to the buttons
72 | .btn-default { @include btn-styles($btn-default-bg); text-shadow: 0 1px 0 #fff; border-color: #ccc; }
73 | .btn-primary { @include btn-styles($btn-primary-bg); }
74 | .btn-success { @include btn-styles($btn-success-bg); }
75 | .btn-info { @include btn-styles($btn-info-bg); }
76 | .btn-warning { @include btn-styles($btn-warning-bg); }
77 | .btn-danger { @include btn-styles($btn-danger-bg); }
78 |
79 |
80 | //
81 | // Images
82 | // --------------------------------------------------
83 |
84 | .thumbnail,
85 | .img-thumbnail {
86 | @include box-shadow(0 1px 2px rgba(0,0,0,.075));
87 | }
88 |
89 |
90 | //
91 | // Dropdowns
92 | // --------------------------------------------------
93 |
94 | .dropdown-menu > li > a:hover,
95 | .dropdown-menu > li > a:focus {
96 | @include gradient-vertical($start-color: $dropdown-link-hover-bg, $end-color: darken($dropdown-link-hover-bg, 5%));
97 | background-color: darken($dropdown-link-hover-bg, 5%);
98 | }
99 | .dropdown-menu > .active > a,
100 | .dropdown-menu > .active > a:hover,
101 | .dropdown-menu > .active > a:focus {
102 | @include gradient-vertical($start-color: $dropdown-link-active-bg, $end-color: darken($dropdown-link-active-bg, 5%));
103 | background-color: darken($dropdown-link-active-bg, 5%);
104 | }
105 |
106 |
107 | //
108 | // Navbar
109 | // --------------------------------------------------
110 |
111 | // Default navbar
112 | .navbar-default {
113 | @include gradient-vertical($start-color: lighten($navbar-default-bg, 10%), $end-color: $navbar-default-bg);
114 | @include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
115 | border-radius: $navbar-border-radius;
116 | $shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
117 | @include box-shadow($shadow);
118 |
119 | .navbar-nav > .open > a,
120 | .navbar-nav > .active > a {
121 | @include gradient-vertical($start-color: darken($navbar-default-link-active-bg, 5%), $end-color: darken($navbar-default-link-active-bg, 2%));
122 | @include box-shadow(inset 0 3px 9px rgba(0,0,0,.075));
123 | }
124 | }
125 | .navbar-brand,
126 | .navbar-nav > li > a {
127 | text-shadow: 0 1px 0 rgba(255,255,255,.25);
128 | }
129 |
130 | // Inverted navbar
131 | .navbar-inverse {
132 | @include gradient-vertical($start-color: lighten($navbar-inverse-bg, 10%), $end-color: $navbar-inverse-bg);
133 | @include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
134 |
135 | .navbar-nav > .open > a,
136 | .navbar-nav > .active > a {
137 | @include gradient-vertical($start-color: $navbar-inverse-link-active-bg, $end-color: lighten($navbar-inverse-link-active-bg, 2.5%));
138 | @include box-shadow(inset 0 3px 9px rgba(0,0,0,.25));
139 | }
140 |
141 | .navbar-brand,
142 | .navbar-nav > li > a {
143 | text-shadow: 0 -1px 0 rgba(0,0,0,.25);
144 | }
145 | }
146 |
147 | // Undo rounded corners in static and fixed navbars
148 | .navbar-static-top,
149 | .navbar-fixed-top,
150 | .navbar-fixed-bottom {
151 | border-radius: 0;
152 | }
153 |
154 | // Fix active state of dropdown items in collapsed mode
155 | @media (max-width: $grid-float-breakpoint-max) {
156 | .navbar .navbar-nav .open .dropdown-menu > .active > a {
157 | &,
158 | &:hover,
159 | &:focus {
160 | color: #fff;
161 | @include gradient-vertical($start-color: $dropdown-link-active-bg, $end-color: darken($dropdown-link-active-bg, 5%));
162 | }
163 | }
164 | }
165 |
166 |
167 | //
168 | // Alerts
169 | // --------------------------------------------------
170 |
171 | // Common styles
172 | .alert {
173 | text-shadow: 0 1px 0 rgba(255,255,255,.2);
174 | $shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05);
175 | @include box-shadow($shadow);
176 | }
177 |
178 | // Mixin for generating new styles
179 | @mixin alert-styles($color) {
180 | @include gradient-vertical($start-color: $color, $end-color: darken($color, 7.5%));
181 | border-color: darken($color, 15%);
182 | }
183 |
184 | // Apply the mixin to the alerts
185 | .alert-success { @include alert-styles($alert-success-bg); }
186 | .alert-info { @include alert-styles($alert-info-bg); }
187 | .alert-warning { @include alert-styles($alert-warning-bg); }
188 | .alert-danger { @include alert-styles($alert-danger-bg); }
189 |
190 |
191 | //
192 | // Progress bars
193 | // --------------------------------------------------
194 |
195 | // Give the progress background some depth
196 | .progress {
197 | @include gradient-vertical($start-color: darken($progress-bg, 4%), $end-color: $progress-bg)
198 | }
199 |
200 | // Mixin for generating new styles
201 | @mixin progress-bar-styles($color) {
202 | @include gradient-vertical($start-color: $color, $end-color: darken($color, 10%));
203 | }
204 |
205 | // Apply the mixin to the progress bars
206 | .progress-bar { @include progress-bar-styles($progress-bar-bg); }
207 | .progress-bar-success { @include progress-bar-styles($progress-bar-success-bg); }
208 | .progress-bar-info { @include progress-bar-styles($progress-bar-info-bg); }
209 | .progress-bar-warning { @include progress-bar-styles($progress-bar-warning-bg); }
210 | .progress-bar-danger { @include progress-bar-styles($progress-bar-danger-bg); }
211 |
212 | // Reset the striped class because our mixins don't do multiple gradients and
213 | // the above custom styles override the new `.progress-bar-striped` in v3.2.0.
214 | .progress-bar-striped {
215 | @include gradient-striped;
216 | }
217 |
218 |
219 | //
220 | // List groups
221 | // --------------------------------------------------
222 |
223 | .list-group {
224 | border-radius: $border-radius-base;
225 | @include box-shadow(0 1px 2px rgba(0,0,0,.075));
226 | }
227 | .list-group-item.active,
228 | .list-group-item.active:hover,
229 | .list-group-item.active:focus {
230 | text-shadow: 0 -1px 0 darken($list-group-active-bg, 10%);
231 | @include gradient-vertical($start-color: $list-group-active-bg, $end-color: darken($list-group-active-bg, 7.5%));
232 | border-color: darken($list-group-active-border, 7.5%);
233 |
234 | .badge {
235 | text-shadow: none;
236 | }
237 | }
238 |
239 |
240 | //
241 | // Panels
242 | // --------------------------------------------------
243 |
244 | // Common styles
245 | .panel {
246 | @include box-shadow(0 1px 2px rgba(0,0,0,.05));
247 | }
248 |
249 | // Mixin for generating new styles
250 | @mixin panel-heading-styles($color) {
251 | @include gradient-vertical($start-color: $color, $end-color: darken($color, 5%));
252 | }
253 |
254 | // Apply the mixin to the panel headings only
255 | .panel-default > .panel-heading { @include panel-heading-styles($panel-default-heading-bg); }
256 | .panel-primary > .panel-heading { @include panel-heading-styles($panel-primary-heading-bg); }
257 | .panel-success > .panel-heading { @include panel-heading-styles($panel-success-heading-bg); }
258 | .panel-info > .panel-heading { @include panel-heading-styles($panel-info-heading-bg); }
259 | .panel-warning > .panel-heading { @include panel-heading-styles($panel-warning-heading-bg); }
260 | .panel-danger > .panel-heading { @include panel-heading-styles($panel-danger-heading-bg); }
261 |
262 |
263 | //
264 | // Wells
265 | // --------------------------------------------------
266 |
267 | .well {
268 | @include gradient-vertical($start-color: darken($well-bg, 5%), $end-color: $well-bg);
269 | border-color: darken($well-bg, 10%);
270 | $shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);
271 | @include box-shadow($shadow);
272 | }
273 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_thumbnails.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Thumbnails
3 | // --------------------------------------------------
4 |
5 |
6 | // Mixin and adjust the regular image class
7 | .thumbnail {
8 | display: block;
9 | padding: $thumbnail-padding;
10 | margin-bottom: $line-height-computed;
11 | line-height: $line-height-base;
12 | background-color: $thumbnail-bg;
13 | border: 1px solid $thumbnail-border;
14 | border-radius: $thumbnail-border-radius;
15 | @include transition(border .2s ease-in-out);
16 |
17 | > img,
18 | a > img {
19 | @include img-responsive;
20 | margin-left: auto;
21 | margin-right: auto;
22 | }
23 |
24 | // [converter] extracted a&:hover, a&:focus, a&.active to a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active
25 |
26 | // Image captions
27 | .caption {
28 | padding: $thumbnail-caption-padding;
29 | color: $thumbnail-caption-color;
30 | }
31 | }
32 |
33 | // Add a hover state for linked versions only
34 | a.thumbnail:hover,
35 | a.thumbnail:focus,
36 | a.thumbnail.active {
37 | border-color: $link-color;
38 | }
39 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_tooltip.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Tooltips
3 | // --------------------------------------------------
4 |
5 |
6 | // Base class
7 | .tooltip {
8 | position: absolute;
9 | z-index: $zindex-tooltip;
10 | display: block;
11 | visibility: visible;
12 | // Reset font and text propertes given new insertion method
13 | font-family: $font-family-base;
14 | font-size: $font-size-small;
15 | font-weight: normal;
16 | line-height: 1.4;
17 | @include opacity(0);
18 |
19 | &.in { @include opacity($tooltip-opacity); }
20 | &.top { margin-top: -3px; padding: $tooltip-arrow-width 0; }
21 | &.right { margin-left: 3px; padding: 0 $tooltip-arrow-width; }
22 | &.bottom { margin-top: 3px; padding: $tooltip-arrow-width 0; }
23 | &.left { margin-left: -3px; padding: 0 $tooltip-arrow-width; }
24 | }
25 |
26 | // Wrapper for the tooltip content
27 | .tooltip-inner {
28 | max-width: $tooltip-max-width;
29 | padding: 3px 8px;
30 | color: $tooltip-color;
31 | text-align: center;
32 | text-decoration: none;
33 | background-color: $tooltip-bg;
34 | border-radius: $border-radius-base;
35 | }
36 |
37 | // Arrows
38 | .tooltip-arrow {
39 | position: absolute;
40 | width: 0;
41 | height: 0;
42 | border-color: transparent;
43 | border-style: solid;
44 | }
45 | // Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
46 | .tooltip {
47 | &.top .tooltip-arrow {
48 | bottom: 0;
49 | left: 50%;
50 | margin-left: -$tooltip-arrow-width;
51 | border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
52 | border-top-color: $tooltip-arrow-color;
53 | }
54 | &.top-left .tooltip-arrow {
55 | bottom: 0;
56 | right: $tooltip-arrow-width;
57 | margin-bottom: -$tooltip-arrow-width;
58 | border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
59 | border-top-color: $tooltip-arrow-color;
60 | }
61 | &.top-right .tooltip-arrow {
62 | bottom: 0;
63 | left: $tooltip-arrow-width;
64 | margin-bottom: -$tooltip-arrow-width;
65 | border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
66 | border-top-color: $tooltip-arrow-color;
67 | }
68 | &.right .tooltip-arrow {
69 | top: 50%;
70 | left: 0;
71 | margin-top: -$tooltip-arrow-width;
72 | border-width: $tooltip-arrow-width $tooltip-arrow-width $tooltip-arrow-width 0;
73 | border-right-color: $tooltip-arrow-color;
74 | }
75 | &.left .tooltip-arrow {
76 | top: 50%;
77 | right: 0;
78 | margin-top: -$tooltip-arrow-width;
79 | border-width: $tooltip-arrow-width 0 $tooltip-arrow-width $tooltip-arrow-width;
80 | border-left-color: $tooltip-arrow-color;
81 | }
82 | &.bottom .tooltip-arrow {
83 | top: 0;
84 | left: 50%;
85 | margin-left: -$tooltip-arrow-width;
86 | border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
87 | border-bottom-color: $tooltip-arrow-color;
88 | }
89 | &.bottom-left .tooltip-arrow {
90 | top: 0;
91 | right: $tooltip-arrow-width;
92 | margin-top: -$tooltip-arrow-width;
93 | border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
94 | border-bottom-color: $tooltip-arrow-color;
95 | }
96 | &.bottom-right .tooltip-arrow {
97 | top: 0;
98 | left: $tooltip-arrow-width;
99 | margin-top: -$tooltip-arrow-width;
100 | border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
101 | border-bottom-color: $tooltip-arrow-color;
102 | }
103 | }
104 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_type.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Typography
3 | // --------------------------------------------------
4 |
5 |
6 | // Headings
7 | // -------------------------
8 |
9 | h1, h2, h3, h4, h5, h6,
10 | .h1, .h2, .h3, .h4, .h5, .h6 {
11 | font-family: $headings-font-family;
12 | font-weight: $headings-font-weight;
13 | line-height: $headings-line-height;
14 | color: $headings-color;
15 |
16 | small,
17 | .small {
18 | font-weight: normal;
19 | line-height: 1;
20 | color: $headings-small-color;
21 | }
22 | }
23 |
24 | h1, .h1,
25 | h2, .h2,
26 | h3, .h3 {
27 | margin-top: $line-height-computed;
28 | margin-bottom: ($line-height-computed / 2);
29 |
30 | small,
31 | .small {
32 | font-size: 65%;
33 | }
34 | }
35 | h4, .h4,
36 | h5, .h5,
37 | h6, .h6 {
38 | margin-top: ($line-height-computed / 2);
39 | margin-bottom: ($line-height-computed / 2);
40 |
41 | small,
42 | .small {
43 | font-size: 75%;
44 | }
45 | }
46 |
47 | h1, .h1 { font-size: $font-size-h1; }
48 | h2, .h2 { font-size: $font-size-h2; }
49 | h3, .h3 { font-size: $font-size-h3; }
50 | h4, .h4 { font-size: $font-size-h4; }
51 | h5, .h5 { font-size: $font-size-h5; }
52 | h6, .h6 { font-size: $font-size-h6; }
53 |
54 |
55 | // Body text
56 | // -------------------------
57 |
58 | p {
59 | margin: 0 0 ($line-height-computed / 2);
60 | }
61 |
62 | .lead {
63 | margin-bottom: $line-height-computed;
64 | font-size: floor(($font-size-base * 1.15));
65 | font-weight: 300;
66 | line-height: 1.4;
67 |
68 | @media (min-width: $screen-sm-min) {
69 | font-size: ($font-size-base * 1.5);
70 | }
71 | }
72 |
73 |
74 | // Emphasis & misc
75 | // -------------------------
76 |
77 | // Ex: (12px small font / 14px base font) * 100% = about 85%
78 | small,
79 | .small {
80 | font-size: floor((100% * $font-size-small / $font-size-base));
81 | }
82 |
83 | mark,
84 | .mark {
85 | background-color: $state-warning-bg;
86 | padding: .2em;
87 | }
88 |
89 | // Alignment
90 | .text-left { text-align: left; }
91 | .text-right { text-align: right; }
92 | .text-center { text-align: center; }
93 | .text-justify { text-align: justify; }
94 | .text-nowrap { white-space: nowrap; }
95 |
96 | // Transformation
97 | .text-lowercase { text-transform: lowercase; }
98 | .text-uppercase { text-transform: uppercase; }
99 | .text-capitalize { text-transform: capitalize; }
100 |
101 | // Contextual colors
102 | .text-muted {
103 | color: $text-muted;
104 | }
105 |
106 | @include text-emphasis-variant('.text-primary', $brand-primary);
107 |
108 | @include text-emphasis-variant('.text-success', $state-success-text);
109 |
110 | @include text-emphasis-variant('.text-info', $state-info-text);
111 |
112 | @include text-emphasis-variant('.text-warning', $state-warning-text);
113 |
114 | @include text-emphasis-variant('.text-danger', $state-danger-text);
115 |
116 | // Contextual backgrounds
117 | // For now we'll leave these alongside the text classes until v4 when we can
118 | // safely shift things around (per SemVer rules).
119 | .bg-primary {
120 | // Given the contrast here, this is the only class to have its color inverted
121 | // automatically.
122 | color: #fff;
123 | }
124 | @include bg-variant('.bg-primary', $brand-primary);
125 |
126 | @include bg-variant('.bg-success', $state-success-bg);
127 |
128 | @include bg-variant('.bg-info', $state-info-bg);
129 |
130 | @include bg-variant('.bg-warning', $state-warning-bg);
131 |
132 | @include bg-variant('.bg-danger', $state-danger-bg);
133 |
134 |
135 | // Page header
136 | // -------------------------
137 |
138 | .page-header {
139 | padding-bottom: (($line-height-computed / 2) - 1);
140 | margin: ($line-height-computed * 2) 0 $line-height-computed;
141 | border-bottom: 1px solid $page-header-border-color;
142 | }
143 |
144 |
145 | // Lists
146 | // -------------------------
147 |
148 | // Unordered and Ordered lists
149 | ul,
150 | ol {
151 | margin-top: 0;
152 | margin-bottom: ($line-height-computed / 2);
153 | ul,
154 | ol {
155 | margin-bottom: 0;
156 | }
157 | }
158 |
159 | // List options
160 |
161 | // [converter] extracted from `.list-unstyled` for libsass compatibility
162 | @mixin list-unstyled {
163 | padding-left: 0;
164 | list-style: none;
165 | }
166 | // [converter] extracted as `@mixin list-unstyled` for libsass compatibility
167 | .list-unstyled {
168 | @include list-unstyled;
169 | }
170 |
171 |
172 | // Inline turns list items into inline-block
173 | .list-inline {
174 | @include list-unstyled;
175 | margin-left: -5px;
176 |
177 | > li {
178 | display: inline-block;
179 | padding-left: 5px;
180 | padding-right: 5px;
181 | }
182 | }
183 |
184 | // Description Lists
185 | dl {
186 | margin-top: 0; // Remove browser default
187 | margin-bottom: $line-height-computed;
188 | }
189 | dt,
190 | dd {
191 | line-height: $line-height-base;
192 | }
193 | dt {
194 | font-weight: bold;
195 | }
196 | dd {
197 | margin-left: 0; // Undo browser default
198 | }
199 |
200 | // Horizontal description lists
201 | //
202 | // Defaults to being stacked without any of the below styles applied, until the
203 | // grid breakpoint is reached (default of ~768px).
204 |
205 | .dl-horizontal {
206 | dd {
207 | @include clearfix; // Clear the floated `dt` if an empty `dd` is present
208 | }
209 |
210 | @media (min-width: $grid-float-breakpoint) {
211 | dt {
212 | float: left;
213 | width: ($dl-horizontal-offset - 20);
214 | clear: left;
215 | text-align: right;
216 | @include text-overflow;
217 | }
218 | dd {
219 | margin-left: $dl-horizontal-offset;
220 | }
221 | }
222 | }
223 |
224 |
225 | // Misc
226 | // -------------------------
227 |
228 | // Abbreviations and acronyms
229 | abbr[title],
230 | // Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
231 | abbr[data-original-title] {
232 | cursor: help;
233 | border-bottom: 1px dotted $abbr-border-color;
234 | }
235 | .initialism {
236 | font-size: 90%;
237 | text-transform: uppercase;
238 | }
239 |
240 | // Blockquotes
241 | blockquote {
242 | padding: ($line-height-computed / 2) $line-height-computed;
243 | margin: 0 0 $line-height-computed;
244 | font-size: $blockquote-font-size;
245 | border-left: 5px solid $blockquote-border-color;
246 |
247 | p,
248 | ul,
249 | ol {
250 | &:last-child {
251 | margin-bottom: 0;
252 | }
253 | }
254 |
255 | // Note: Deprecated small and .small as of v3.1.0
256 | // Context: https://github.com/twbs/bootstrap/issues/11660
257 | footer,
258 | small,
259 | .small {
260 | display: block;
261 | font-size: 80%; // back to default font-size
262 | line-height: $line-height-base;
263 | color: $blockquote-small-color;
264 |
265 | &:before {
266 | content: '\2014 \00A0'; // em dash, nbsp
267 | }
268 | }
269 | }
270 |
271 | // Opposite alignment of blockquote
272 | //
273 | // Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0.
274 | .blockquote-reverse,
275 | blockquote.pull-right {
276 | padding-right: 15px;
277 | padding-left: 0;
278 | border-right: 5px solid $blockquote-border-color;
279 | border-left: 0;
280 | text-align: right;
281 |
282 | // Account for citation
283 | footer,
284 | small,
285 | .small {
286 | &:before { content: ''; }
287 | &:after {
288 | content: '\00A0 \2014'; // nbsp, em dash
289 | }
290 | }
291 | }
292 |
293 | // Addresses
294 | address {
295 | margin-bottom: $line-height-computed;
296 | font-style: normal;
297 | line-height: $line-height-base;
298 | }
299 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_utilities.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Utility classes
3 | // --------------------------------------------------
4 |
5 |
6 | // Floats
7 | // -------------------------
8 |
9 | .clearfix {
10 | @include clearfix;
11 | }
12 | .center-block {
13 | @include center-block;
14 | }
15 | .pull-right {
16 | float: right !important;
17 | }
18 | .pull-left {
19 | float: left !important;
20 | }
21 |
22 |
23 | // Toggling content
24 | // -------------------------
25 |
26 | // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
27 | .hide {
28 | display: none !important;
29 | }
30 | .show {
31 | display: block !important;
32 | }
33 | .invisible {
34 | visibility: hidden;
35 | }
36 | .text-hide {
37 | @include text-hide;
38 | }
39 |
40 |
41 | // Hide from screenreaders and browsers
42 | //
43 | // Credit: HTML5 Boilerplate
44 |
45 | .hidden {
46 | display: none !important;
47 | visibility: hidden !important;
48 | }
49 |
50 |
51 | // For Affix plugin
52 | // -------------------------
53 |
54 | .affix {
55 | position: fixed;
56 | }
57 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/_wells.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Wells
3 | // --------------------------------------------------
4 |
5 |
6 | // Base class
7 | .well {
8 | min-height: 20px;
9 | padding: 19px;
10 | margin-bottom: 20px;
11 | background-color: $well-bg;
12 | border: 1px solid $well-border;
13 | border-radius: $border-radius-base;
14 | @include box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
15 | blockquote {
16 | border-color: #ddd;
17 | border-color: rgba(0,0,0,.15);
18 | }
19 | }
20 |
21 | // Sizes
22 | .well-lg {
23 | padding: 24px;
24 | border-radius: $border-radius-large;
25 | }
26 | .well-sm {
27 | padding: 9px;
28 | border-radius: $border-radius-small;
29 | }
30 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_alerts.scss:
--------------------------------------------------------------------------------
1 | // Alerts
2 |
3 | @mixin alert-variant($background, $border, $text-color) {
4 | background-color: $background;
5 | border-color: $border;
6 | color: $text-color;
7 |
8 | hr {
9 | border-top-color: darken($border, 5%);
10 | }
11 | .alert-link {
12 | color: darken($text-color, 10%);
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_background-variant.scss:
--------------------------------------------------------------------------------
1 | // Contextual backgrounds
2 |
3 | // [converter] $parent hack
4 | @mixin bg-variant($parent, $color) {
5 | #{$parent} {
6 | background-color: $color;
7 | }
8 | a#{$parent}:hover {
9 | background-color: darken($color, 10%);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_border-radius.scss:
--------------------------------------------------------------------------------
1 | // Single side border-radius
2 |
3 | @mixin border-top-radius($radius) {
4 | border-top-right-radius: $radius;
5 | border-top-left-radius: $radius;
6 | }
7 | @mixin border-right-radius($radius) {
8 | border-bottom-right-radius: $radius;
9 | border-top-right-radius: $radius;
10 | }
11 | @mixin border-bottom-radius($radius) {
12 | border-bottom-right-radius: $radius;
13 | border-bottom-left-radius: $radius;
14 | }
15 | @mixin border-left-radius($radius) {
16 | border-bottom-left-radius: $radius;
17 | border-top-left-radius: $radius;
18 | }
19 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_buttons.scss:
--------------------------------------------------------------------------------
1 | // Button variants
2 | //
3 | // Easily pump out default styles, as well as :hover, :focus, :active,
4 | // and disabled options for all buttons
5 |
6 | @mixin button-variant($color, $background, $border) {
7 | color: $color;
8 | background-color: $background;
9 | border-color: $border;
10 |
11 | &:hover,
12 | &:focus,
13 | &.focus,
14 | &:active,
15 | &.active,
16 | .open > &.dropdown-toggle {
17 | color: $color;
18 | background-color: darken($background, 10%);
19 | border-color: darken($border, 12%);
20 | }
21 | &:active,
22 | &.active,
23 | .open > &.dropdown-toggle {
24 | background-image: none;
25 | }
26 | &.disabled,
27 | &[disabled],
28 | fieldset[disabled] & {
29 | &,
30 | &:hover,
31 | &:focus,
32 | &.focus,
33 | &:active,
34 | &.active {
35 | background-color: $background;
36 | border-color: $border;
37 | }
38 | }
39 |
40 | .badge {
41 | color: $background;
42 | background-color: $color;
43 | }
44 | }
45 |
46 | // Button sizes
47 | @mixin button-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
48 | padding: $padding-vertical $padding-horizontal;
49 | font-size: $font-size;
50 | line-height: $line-height;
51 | border-radius: $border-radius;
52 | }
53 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_center-block.scss:
--------------------------------------------------------------------------------
1 | // Center-align a block level element
2 |
3 | @mixin center-block() {
4 | display: block;
5 | margin-left: auto;
6 | margin-right: auto;
7 | }
8 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_clearfix.scss:
--------------------------------------------------------------------------------
1 | // Clearfix
2 | //
3 | // For modern browsers
4 | // 1. The space content is one way to avoid an Opera bug when the
5 | // contenteditable attribute is included anywhere else in the document.
6 | // Otherwise it causes space to appear at the top and bottom of elements
7 | // that are clearfixed.
8 | // 2. The use of `table` rather than `block` is only necessary if using
9 | // `:before` to contain the top-margins of child elements.
10 | //
11 | // Source: http://nicolasgallagher.com/micro-clearfix-hack/
12 |
13 | @mixin clearfix() {
14 | &:before,
15 | &:after {
16 | content: " "; // 1
17 | display: table; // 2
18 | }
19 | &:after {
20 | clear: both;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_forms.scss:
--------------------------------------------------------------------------------
1 | // Form validation states
2 | //
3 | // Used in forms.less to generate the form validation CSS for warnings, errors,
4 | // and successes.
5 |
6 | @mixin form-control-validation($text-color: #555, $border-color: #ccc, $background-color: #f5f5f5) {
7 | // Color the label and help text
8 | .help-block,
9 | .control-label,
10 | .radio,
11 | .checkbox,
12 | .radio-inline,
13 | .checkbox-inline,
14 | &.radio label,
15 | &.checkbox label,
16 | &.radio-inline label,
17 | &.checkbox-inline label {
18 | color: $text-color;
19 | }
20 | // Set the border and box shadow on specific inputs to match
21 | .form-control {
22 | border-color: $border-color;
23 | @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
24 | &:focus {
25 | border-color: darken($border-color, 10%);
26 | $shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten($border-color, 20%);
27 | @include box-shadow($shadow);
28 | }
29 | }
30 | // Set validation states also for addons
31 | .input-group-addon {
32 | color: $text-color;
33 | border-color: $border-color;
34 | background-color: $background-color;
35 | }
36 | // Optional feedback icon
37 | .form-control-feedback {
38 | color: $text-color;
39 | }
40 | }
41 |
42 |
43 | // Form control focus state
44 | //
45 | // Generate a customized focus state and for any input with the specified color,
46 | // which defaults to the `$input-border-focus` variable.
47 | //
48 | // We highly encourage you to not customize the default value, but instead use
49 | // this to tweak colors on an as-needed basis. This aesthetic change is based on
50 | // WebKit's default styles, but applicable to a wider range of browsers. Its
51 | // usability and accessibility should be taken into account with any change.
52 | //
53 | // Example usage: change the default blue border and shadow to white for better
54 | // contrast against a dark gray background.
55 | @mixin form-control-focus($color: $input-border-focus) {
56 | $color-rgba: rgba(red($color), green($color), blue($color), .6);
57 | &:focus {
58 | border-color: $color;
59 | outline: 0;
60 | @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px $color-rgba);
61 | }
62 | }
63 |
64 | // Form control sizing
65 | //
66 | // Relative text size, padding, and border-radii changes for form controls. For
67 | // horizontal sizing, wrap controls in the predefined grid classes. `
`
68 | // element gets special love because it's special, and that's a fact!
69 | // [converter] $parent hack
70 | @mixin input-size($parent, $input-height, $padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
71 | #{$parent} {
72 | height: $input-height;
73 | padding: $padding-vertical $padding-horizontal;
74 | font-size: $font-size;
75 | line-height: $line-height;
76 | border-radius: $border-radius;
77 | }
78 |
79 | select#{$parent} {
80 | height: $input-height;
81 | line-height: $input-height;
82 | }
83 |
84 | textarea#{$parent},
85 | select[multiple]#{$parent} {
86 | height: auto;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_gradients.scss:
--------------------------------------------------------------------------------
1 | // Gradients
2 |
3 |
4 |
5 | // Horizontal gradient, from left to right
6 | //
7 | // Creates two color stops, start and end, by specifying a color and position for each color stop.
8 | // Color stops are not available in IE9 and below.
9 | @mixin gradient-horizontal($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) {
10 | background-image: -webkit-linear-gradient(left, $start-color $start-percent, $end-color $end-percent); // Safari 5.1-6, Chrome 10+
11 | background-image: -o-linear-gradient(left, $start-color $start-percent, $end-color $end-percent); // Opera 12
12 | background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
13 | background-repeat: repeat-x;
14 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=1); // IE9 and down
15 | }
16 |
17 | // Vertical gradient, from top to bottom
18 | //
19 | // Creates two color stops, start and end, by specifying a color and position for each color stop.
20 | // Color stops are not available in IE9 and below.
21 | @mixin gradient-vertical($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) {
22 | background-image: -webkit-linear-gradient(top, $start-color $start-percent, $end-color $end-percent); // Safari 5.1-6, Chrome 10+
23 | background-image: -o-linear-gradient(top, $start-color $start-percent, $end-color $end-percent); // Opera 12
24 | background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
25 | background-repeat: repeat-x;
26 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=0); // IE9 and down
27 | }
28 |
29 | @mixin gradient-directional($start-color: #555, $end-color: #333, $deg: 45deg) {
30 | background-repeat: repeat-x;
31 | background-image: -webkit-linear-gradient($deg, $start-color, $end-color); // Safari 5.1-6, Chrome 10+
32 | background-image: -o-linear-gradient($deg, $start-color, $end-color); // Opera 12
33 | background-image: linear-gradient($deg, $start-color, $end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
34 | }
35 | @mixin gradient-horizontal-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
36 | background-image: -webkit-linear-gradient(left, $start-color, $mid-color $color-stop, $end-color);
37 | background-image: -o-linear-gradient(left, $start-color, $mid-color $color-stop, $end-color);
38 | background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);
39 | background-repeat: no-repeat;
40 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=1); // IE9 and down, gets no color-stop at all for proper fallback
41 | }
42 | @mixin gradient-vertical-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
43 | background-image: -webkit-linear-gradient($start-color, $mid-color $color-stop, $end-color);
44 | background-image: -o-linear-gradient($start-color, $mid-color $color-stop, $end-color);
45 | background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color);
46 | background-repeat: no-repeat;
47 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=0); // IE9 and down, gets no color-stop at all for proper fallback
48 | }
49 | @mixin gradient-radial($inner-color: #555, $outer-color: #333) {
50 | background-image: -webkit-radial-gradient(circle, $inner-color, $outer-color);
51 | background-image: radial-gradient(circle, $inner-color, $outer-color);
52 | background-repeat: no-repeat;
53 | }
54 | @mixin gradient-striped($color: rgba(255,255,255,.15), $angle: 45deg) {
55 | background-image: -webkit-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
56 | background-image: -o-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
57 | background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
58 | }
59 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_grid-framework.scss:
--------------------------------------------------------------------------------
1 | // Framework grid generation
2 | //
3 | // Used only by Bootstrap to generate the correct number of grid classes given
4 | // any value of `$grid-columns`.
5 |
6 | // [converter] This is defined recursively in LESS, but Sass supports real loops
7 | @mixin make-grid-columns($i: 1, $list: ".col-xs-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}") {
8 | @for $i from (1 + 1) through $grid-columns {
9 | $list: "#{$list}, .col-xs-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}";
10 | }
11 | #{$list} {
12 | position: relative;
13 | // Prevent columns from collapsing when empty
14 | min-height: 1px;
15 | // Inner gutter via padding
16 | padding-left: ($grid-gutter-width / 2);
17 | padding-right: ($grid-gutter-width / 2);
18 | }
19 | }
20 |
21 |
22 | // [converter] This is defined recursively in LESS, but Sass supports real loops
23 | @mixin float-grid-columns($class, $i: 1, $list: ".col-#{$class}-#{$i}") {
24 | @for $i from (1 + 1) through $grid-columns {
25 | $list: "#{$list}, .col-#{$class}-#{$i}";
26 | }
27 | #{$list} {
28 | float: left;
29 | }
30 | }
31 |
32 |
33 | @mixin calc-grid-column($index, $class, $type) {
34 | @if ($type == width) and ($index > 0) {
35 | .col-#{$class}-#{$index} {
36 | width: percentage(($index / $grid-columns));
37 | }
38 | }
39 | @if ($type == push) and ($index > 0) {
40 | .col-#{$class}-push-#{$index} {
41 | left: percentage(($index / $grid-columns));
42 | }
43 | }
44 | @if ($type == push) and ($index == 0) {
45 | .col-#{$class}-push-0 {
46 | left: auto;
47 | }
48 | }
49 | @if ($type == pull) and ($index > 0) {
50 | .col-#{$class}-pull-#{$index} {
51 | right: percentage(($index / $grid-columns));
52 | }
53 | }
54 | @if ($type == pull) and ($index == 0) {
55 | .col-#{$class}-pull-0 {
56 | right: auto;
57 | }
58 | }
59 | @if ($type == offset) {
60 | .col-#{$class}-offset-#{$index} {
61 | margin-left: percentage(($index / $grid-columns));
62 | }
63 | }
64 | }
65 |
66 | // [converter] This is defined recursively in LESS, but Sass supports real loops
67 | @mixin loop-grid-columns($columns, $class, $type) {
68 | @for $i from 0 through $columns {
69 | @include calc-grid-column($i, $class, $type);
70 | }
71 | }
72 |
73 |
74 | // Create grid for specific class
75 | @mixin make-grid($class) {
76 | @include float-grid-columns($class);
77 | @include loop-grid-columns($grid-columns, $class, width);
78 | @include loop-grid-columns($grid-columns, $class, pull);
79 | @include loop-grid-columns($grid-columns, $class, push);
80 | @include loop-grid-columns($grid-columns, $class, offset);
81 | }
82 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_grid.scss:
--------------------------------------------------------------------------------
1 | // Grid system
2 | //
3 | // Generate semantic grid columns with these mixins.
4 |
5 | // Centered container element
6 | @mixin container-fixed($gutter: $grid-gutter-width) {
7 | margin-right: auto;
8 | margin-left: auto;
9 | padding-left: ($gutter / 2);
10 | padding-right: ($gutter / 2);
11 | @include clearfix;
12 | }
13 |
14 | // Creates a wrapper for a series of columns
15 | @mixin make-row($gutter: $grid-gutter-width) {
16 | margin-left: ($gutter / -2);
17 | margin-right: ($gutter / -2);
18 | @include clearfix;
19 | }
20 |
21 | // Generate the extra small columns
22 | @mixin make-xs-column($columns, $gutter: $grid-gutter-width) {
23 | position: relative;
24 | float: left;
25 | width: percentage(($columns / $grid-columns));
26 | min-height: 1px;
27 | padding-left: ($gutter / 2);
28 | padding-right: ($gutter / 2);
29 | }
30 | @mixin make-xs-column-offset($columns) {
31 | margin-left: percentage(($columns / $grid-columns));
32 | }
33 | @mixin make-xs-column-push($columns) {
34 | left: percentage(($columns / $grid-columns));
35 | }
36 | @mixin make-xs-column-pull($columns) {
37 | right: percentage(($columns / $grid-columns));
38 | }
39 |
40 | // Generate the small columns
41 | @mixin make-sm-column($columns, $gutter: $grid-gutter-width) {
42 | position: relative;
43 | min-height: 1px;
44 | padding-left: ($gutter / 2);
45 | padding-right: ($gutter / 2);
46 |
47 | @media (min-width: $screen-sm-min) {
48 | float: left;
49 | width: percentage(($columns / $grid-columns));
50 | }
51 | }
52 | @mixin make-sm-column-offset($columns) {
53 | @media (min-width: $screen-sm-min) {
54 | margin-left: percentage(($columns / $grid-columns));
55 | }
56 | }
57 | @mixin make-sm-column-push($columns) {
58 | @media (min-width: $screen-sm-min) {
59 | left: percentage(($columns / $grid-columns));
60 | }
61 | }
62 | @mixin make-sm-column-pull($columns) {
63 | @media (min-width: $screen-sm-min) {
64 | right: percentage(($columns / $grid-columns));
65 | }
66 | }
67 |
68 | // Generate the medium columns
69 | @mixin make-md-column($columns, $gutter: $grid-gutter-width) {
70 | position: relative;
71 | min-height: 1px;
72 | padding-left: ($gutter / 2);
73 | padding-right: ($gutter / 2);
74 |
75 | @media (min-width: $screen-md-min) {
76 | float: left;
77 | width: percentage(($columns / $grid-columns));
78 | }
79 | }
80 | @mixin make-md-column-offset($columns) {
81 | @media (min-width: $screen-md-min) {
82 | margin-left: percentage(($columns / $grid-columns));
83 | }
84 | }
85 | @mixin make-md-column-push($columns) {
86 | @media (min-width: $screen-md-min) {
87 | left: percentage(($columns / $grid-columns));
88 | }
89 | }
90 | @mixin make-md-column-pull($columns) {
91 | @media (min-width: $screen-md-min) {
92 | right: percentage(($columns / $grid-columns));
93 | }
94 | }
95 |
96 | // Generate the large columns
97 | @mixin make-lg-column($columns, $gutter: $grid-gutter-width) {
98 | position: relative;
99 | min-height: 1px;
100 | padding-left: ($gutter / 2);
101 | padding-right: ($gutter / 2);
102 |
103 | @media (min-width: $screen-lg-min) {
104 | float: left;
105 | width: percentage(($columns / $grid-columns));
106 | }
107 | }
108 | @mixin make-lg-column-offset($columns) {
109 | @media (min-width: $screen-lg-min) {
110 | margin-left: percentage(($columns / $grid-columns));
111 | }
112 | }
113 | @mixin make-lg-column-push($columns) {
114 | @media (min-width: $screen-lg-min) {
115 | left: percentage(($columns / $grid-columns));
116 | }
117 | }
118 | @mixin make-lg-column-pull($columns) {
119 | @media (min-width: $screen-lg-min) {
120 | right: percentage(($columns / $grid-columns));
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_hide-text.scss:
--------------------------------------------------------------------------------
1 | // CSS image replacement
2 | //
3 | // Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
4 | // mixins being reused as classes with the same name, this doesn't hold up. As
5 | // of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
6 | //
7 | // Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
8 |
9 | // Deprecated as of v3.0.1 (will be removed in v4)
10 | @mixin hide-text() {
11 | font: #{0/0} a;
12 | color: transparent;
13 | text-shadow: none;
14 | background-color: transparent;
15 | border: 0;
16 | }
17 |
18 | // New mixin to use as of v3.0.1
19 | @mixin text-hide() {
20 | @include hide-text;
21 | }
22 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_image.scss:
--------------------------------------------------------------------------------
1 | // Image Mixins
2 | // - Responsive image
3 | // - Retina image
4 |
5 |
6 | // Responsive image
7 | //
8 | // Keep images from scaling beyond the width of their parents.
9 | @mixin img-responsive($display: block) {
10 | display: $display;
11 | max-width: 100%; // Part 1: Set a maximum relative to the parent
12 | height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
13 | }
14 |
15 |
16 | // Retina image
17 | //
18 | // Short retina mixin for setting background-image and -size. Note that the
19 | // spelling of `min--moz-device-pixel-ratio` is intentional.
20 | @mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {
21 | background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$file-1x}"), "#{$file-1x}"));
22 |
23 | @media
24 | only screen and (-webkit-min-device-pixel-ratio: 2),
25 | only screen and ( min--moz-device-pixel-ratio: 2),
26 | only screen and ( -o-min-device-pixel-ratio: 2/1),
27 | only screen and ( min-device-pixel-ratio: 2),
28 | only screen and ( min-resolution: 192dpi),
29 | only screen and ( min-resolution: 2dppx) {
30 | background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$file-2x}"), "#{$file-2x}"));
31 | background-size: $width-1x $height-1x;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_labels.scss:
--------------------------------------------------------------------------------
1 | // Labels
2 |
3 | @mixin label-variant($color) {
4 | background-color: $color;
5 |
6 | &[href] {
7 | &:hover,
8 | &:focus {
9 | background-color: darken($color, 10%);
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_list-group.scss:
--------------------------------------------------------------------------------
1 | // List Groups
2 |
3 | @mixin list-group-item-variant($state, $background, $color) {
4 | .list-group-item-#{$state} {
5 | color: $color;
6 | background-color: $background;
7 |
8 | // [converter] extracted a& to a.list-group-item-#{$state}
9 | }
10 |
11 | a.list-group-item-#{$state} {
12 | color: $color;
13 |
14 | .list-group-item-heading {
15 | color: inherit;
16 | }
17 |
18 | &:hover,
19 | &:focus {
20 | color: $color;
21 | background-color: darken($background, 5%);
22 | }
23 | &.active,
24 | &.active:hover,
25 | &.active:focus {
26 | color: #fff;
27 | background-color: $color;
28 | border-color: $color;
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_nav-divider.scss:
--------------------------------------------------------------------------------
1 | // Horizontal dividers
2 | //
3 | // Dividers (basically an hr) within dropdowns and nav lists
4 |
5 | @mixin nav-divider($color: #e5e5e5) {
6 | height: 1px;
7 | margin: (($line-height-computed / 2) - 1) 0;
8 | overflow: hidden;
9 | background-color: $color;
10 | }
11 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_nav-vertical-align.scss:
--------------------------------------------------------------------------------
1 | // Navbar vertical align
2 | //
3 | // Vertically center elements in the navbar.
4 | // Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
5 |
6 | @mixin navbar-vertical-align($element-height) {
7 | margin-top: (($navbar-height - $element-height) / 2);
8 | margin-bottom: (($navbar-height - $element-height) / 2);
9 | }
10 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_opacity.scss:
--------------------------------------------------------------------------------
1 | // Opacity
2 |
3 | @mixin opacity($opacity) {
4 | opacity: $opacity;
5 | // IE8 filter
6 | $opacity-ie: ($opacity * 100);
7 | filter: #{alpha(opacity=$opacity-ie)};
8 | }
9 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_pagination.scss:
--------------------------------------------------------------------------------
1 | // Pagination
2 |
3 | @mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $border-radius) {
4 | > li {
5 | > a,
6 | > span {
7 | padding: $padding-vertical $padding-horizontal;
8 | font-size: $font-size;
9 | }
10 | &:first-child {
11 | > a,
12 | > span {
13 | @include border-left-radius($border-radius);
14 | }
15 | }
16 | &:last-child {
17 | > a,
18 | > span {
19 | @include border-right-radius($border-radius);
20 | }
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_panels.scss:
--------------------------------------------------------------------------------
1 | // Panels
2 |
3 | @mixin panel-variant($border, $heading-text-color, $heading-bg-color, $heading-border) {
4 | border-color: $border;
5 |
6 | & > .panel-heading {
7 | color: $heading-text-color;
8 | background-color: $heading-bg-color;
9 | border-color: $heading-border;
10 |
11 | + .panel-collapse > .panel-body {
12 | border-top-color: $border;
13 | }
14 | .badge {
15 | color: $heading-bg-color;
16 | background-color: $heading-text-color;
17 | }
18 | }
19 | & > .panel-footer {
20 | + .panel-collapse > .panel-body {
21 | border-bottom-color: $border;
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_progress-bar.scss:
--------------------------------------------------------------------------------
1 | // Progress bars
2 |
3 | @mixin progress-bar-variant($color) {
4 | background-color: $color;
5 |
6 | // Deprecated parent class requirement as of v3.2.0
7 | .progress-striped & {
8 | @include gradient-striped;
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_reset-filter.scss:
--------------------------------------------------------------------------------
1 | // Reset filters for IE
2 | //
3 | // When you need to remove a gradient background, do not forget to use this to reset
4 | // the IE filter for IE9 and below.
5 |
6 | @mixin reset-filter() {
7 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
8 | }
9 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_resize.scss:
--------------------------------------------------------------------------------
1 | // Resize anything
2 |
3 | @mixin resizable($direction) {
4 | resize: $direction; // Options: horizontal, vertical, both
5 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible`
6 | }
7 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_responsive-visibility.scss:
--------------------------------------------------------------------------------
1 | // Responsive utilities
2 |
3 | //
4 | // More easily include all the states for responsive-utilities.less.
5 | // [converter] $parent hack
6 | @mixin responsive-visibility($parent) {
7 | #{$parent} {
8 | display: block !important;
9 | }
10 | table#{$parent} { display: table; }
11 | tr#{$parent} { display: table-row !important; }
12 | th#{$parent},
13 | td#{$parent} { display: table-cell !important; }
14 | }
15 |
16 | // [converter] $parent hack
17 | @mixin responsive-invisibility($parent) {
18 | #{$parent} {
19 | display: none !important;
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_size.scss:
--------------------------------------------------------------------------------
1 | // Sizing shortcuts
2 |
3 | @mixin size($width, $height) {
4 | width: $width;
5 | height: $height;
6 | }
7 |
8 | @mixin square($size) {
9 | @include size($size, $size);
10 | }
11 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_tab-focus.scss:
--------------------------------------------------------------------------------
1 | // WebKit-style focus
2 |
3 | @mixin tab-focus() {
4 | // Default
5 | outline: thin dotted;
6 | // WebKit
7 | outline: 5px auto -webkit-focus-ring-color;
8 | outline-offset: -2px;
9 | }
10 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_table-row.scss:
--------------------------------------------------------------------------------
1 | // Tables
2 |
3 | @mixin table-row-variant($state, $background) {
4 | // Exact selectors below required to override `.table-striped` and prevent
5 | // inheritance to nested tables.
6 | .table > thead > tr,
7 | .table > tbody > tr,
8 | .table > tfoot > tr {
9 | > td.#{$state},
10 | > th.#{$state},
11 | &.#{$state} > td,
12 | &.#{$state} > th {
13 | background-color: $background;
14 | }
15 | }
16 |
17 | // Hover states for `.table-hover`
18 | // Note: this is not available for cells or rows within `thead` or `tfoot`.
19 | .table-hover > tbody > tr {
20 | > td.#{$state}:hover,
21 | > th.#{$state}:hover,
22 | &.#{$state}:hover > td,
23 | &:hover > .#{$state},
24 | &.#{$state}:hover > th {
25 | background-color: darken($background, 5%);
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_text-emphasis.scss:
--------------------------------------------------------------------------------
1 | // Typography
2 |
3 | // [converter] $parent hack
4 | @mixin text-emphasis-variant($parent, $color) {
5 | #{$parent} {
6 | color: $color;
7 | }
8 | a#{$parent}:hover {
9 | color: darken($color, 10%);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_text-overflow.scss:
--------------------------------------------------------------------------------
1 | // Text overflow
2 | // Requires inline-block or block for proper styling
3 |
4 | @mixin text-overflow() {
5 | overflow: hidden;
6 | text-overflow: ellipsis;
7 | white-space: nowrap;
8 | }
9 |
--------------------------------------------------------------------------------
/_sass/bootstrap-sass/bootstrap/mixins/_vendor-prefixes.scss:
--------------------------------------------------------------------------------
1 | // Vendor Prefixes
2 | //
3 | // All vendor mixins are deprecated as of v3.2.0 due to the introduction of
4 | // Autoprefixer in our Gruntfile. They will be removed in v4.
5 |
6 | // - Animations
7 | // - Backface visibility
8 | // - Box shadow
9 | // - Box sizing
10 | // - Content columns
11 | // - Hyphens
12 | // - Placeholder text
13 | // - Transformations
14 | // - Transitions
15 | // - User Select
16 |
17 |
18 | // Animations
19 | @mixin animation($animation) {
20 | -webkit-animation: $animation;
21 | -o-animation: $animation;
22 | animation: $animation;
23 | }
24 | @mixin animation-name($name) {
25 | -webkit-animation-name: $name;
26 | animation-name: $name;
27 | }
28 | @mixin animation-duration($duration) {
29 | -webkit-animation-duration: $duration;
30 | animation-duration: $duration;
31 | }
32 | @mixin animation-timing-function($timing-function) {
33 | -webkit-animation-timing-function: $timing-function;
34 | animation-timing-function: $timing-function;
35 | }
36 | @mixin animation-delay($delay) {
37 | -webkit-animation-delay: $delay;
38 | animation-delay: $delay;
39 | }
40 | @mixin animation-iteration-count($iteration-count) {
41 | -webkit-animation-iteration-count: $iteration-count;
42 | animation-iteration-count: $iteration-count;
43 | }
44 | @mixin animation-direction($direction) {
45 | -webkit-animation-direction: $direction;
46 | animation-direction: $direction;
47 | }
48 | @mixin animation-fill-mode($fill-mode) {
49 | -webkit-animation-fill-mode: $fill-mode;
50 | animation-fill-mode: $fill-mode;
51 | }
52 |
53 | // Backface visibility
54 | // Prevent browsers from flickering when using CSS 3D transforms.
55 | // Default value is `visible`, but can be changed to `hidden`
56 |
57 | @mixin backface-visibility($visibility){
58 | -webkit-backface-visibility: $visibility;
59 | -moz-backface-visibility: $visibility;
60 | backface-visibility: $visibility;
61 | }
62 |
63 | // Drop shadows
64 | //
65 | // Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's
66 | // supported browsers that have box shadow capabilities now support it.
67 |
68 | @mixin box-shadow($shadow...) {
69 | -webkit-box-shadow: $shadow; // iOS <4.3 & Android <4.1
70 | box-shadow: $shadow;
71 | }
72 |
73 | // Box sizing
74 | @mixin box-sizing($boxmodel) {
75 | -webkit-box-sizing: $boxmodel;
76 | -moz-box-sizing: $boxmodel;
77 | box-sizing: $boxmodel;
78 | }
79 |
80 | // CSS3 Content Columns
81 | @mixin content-columns($column-count, $column-gap: $grid-gutter-width) {
82 | -webkit-column-count: $column-count;
83 | -moz-column-count: $column-count;
84 | column-count: $column-count;
85 | -webkit-column-gap: $column-gap;
86 | -moz-column-gap: $column-gap;
87 | column-gap: $column-gap;
88 | }
89 |
90 | // Optional hyphenation
91 | @mixin hyphens($mode: auto) {
92 | word-wrap: break-word;
93 | -webkit-hyphens: $mode;
94 | -moz-hyphens: $mode;
95 | -ms-hyphens: $mode; // IE10+
96 | -o-hyphens: $mode;
97 | hyphens: $mode;
98 | }
99 |
100 | // Placeholder text
101 | @mixin placeholder($color: $input-color-placeholder) {
102 | // Firefox
103 | &::-moz-placeholder {
104 | color: $color;
105 | opacity: 1; // See https://github.com/twbs/bootstrap/pull/11526
106 | }
107 | &:-ms-input-placeholder { color: $color; } // Internet Explorer 10+
108 | &::-webkit-input-placeholder { color: $color; } // Safari and Chrome
109 | }
110 |
111 | // Transformations
112 | @mixin scale($ratio...) {
113 | -webkit-transform: scale($ratio);
114 | -ms-transform: scale($ratio); // IE9 only
115 | -o-transform: scale($ratio);
116 | transform: scale($ratio);
117 | }
118 |
119 | @mixin scaleX($ratio) {
120 | -webkit-transform: scaleX($ratio);
121 | -ms-transform: scaleX($ratio); // IE9 only
122 | -o-transform: scaleX($ratio);
123 | transform: scaleX($ratio);
124 | }
125 | @mixin scaleY($ratio) {
126 | -webkit-transform: scaleY($ratio);
127 | -ms-transform: scaleY($ratio); // IE9 only
128 | -o-transform: scaleY($ratio);
129 | transform: scaleY($ratio);
130 | }
131 | @mixin skew($x, $y) {
132 | -webkit-transform: skewX($x) skewY($y);
133 | -ms-transform: skewX($x) skewY($y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
134 | -o-transform: skewX($x) skewY($y);
135 | transform: skewX($x) skewY($y);
136 | }
137 | @mixin translate($x, $y) {
138 | -webkit-transform: translate($x, $y);
139 | -ms-transform: translate($x, $y); // IE9 only
140 | -o-transform: translate($x, $y);
141 | transform: translate($x, $y);
142 | }
143 | @mixin translate3d($x, $y, $z) {
144 | -webkit-transform: translate3d($x, $y, $z);
145 | transform: translate3d($x, $y, $z);
146 | }
147 | @mixin rotate($degrees) {
148 | -webkit-transform: rotate($degrees);
149 | -ms-transform: rotate($degrees); // IE9 only
150 | -o-transform: rotate($degrees);
151 | transform: rotate($degrees);
152 | }
153 | @mixin rotateX($degrees) {
154 | -webkit-transform: rotateX($degrees);
155 | -ms-transform: rotateX($degrees); // IE9 only
156 | -o-transform: rotateX($degrees);
157 | transform: rotateX($degrees);
158 | }
159 | @mixin rotateY($degrees) {
160 | -webkit-transform: rotateY($degrees);
161 | -ms-transform: rotateY($degrees); // IE9 only
162 | -o-transform: rotateY($degrees);
163 | transform: rotateY($degrees);
164 | }
165 | @mixin perspective($perspective) {
166 | -webkit-perspective: $perspective;
167 | -moz-perspective: $perspective;
168 | perspective: $perspective;
169 | }
170 | @mixin perspective-origin($perspective) {
171 | -webkit-perspective-origin: $perspective;
172 | -moz-perspective-origin: $perspective;
173 | perspective-origin: $perspective;
174 | }
175 | @mixin transform-origin($origin) {
176 | -webkit-transform-origin: $origin;
177 | -moz-transform-origin: $origin;
178 | -ms-transform-origin: $origin; // IE9 only
179 | transform-origin: $origin;
180 | }
181 |
182 |
183 | // Transitions
184 |
185 | @mixin transition($transition...) {
186 | -webkit-transition: $transition;
187 | -o-transition: $transition;
188 | transition: $transition;
189 | }
190 | @mixin transition-property($transition-property...) {
191 | -webkit-transition-property: $transition-property;
192 | transition-property: $transition-property;
193 | }
194 | @mixin transition-delay($transition-delay) {
195 | -webkit-transition-delay: $transition-delay;
196 | transition-delay: $transition-delay;
197 | }
198 | @mixin transition-duration($transition-duration...) {
199 | -webkit-transition-duration: $transition-duration;
200 | transition-duration: $transition-duration;
201 | }
202 | @mixin transition-timing-function($timing-function) {
203 | -webkit-transition-timing-function: $timing-function;
204 | transition-timing-function: $timing-function;
205 | }
206 | @mixin transition-transform($transition...) {
207 | -webkit-transition: -webkit-transform $transition;
208 | -moz-transition: -moz-transform $transition;
209 | -o-transition: -o-transform $transition;
210 | transition: transform $transition;
211 | }
212 |
213 |
214 | // User select
215 | // For selecting text on the page
216 |
217 | @mixin user-select($select) {
218 | -webkit-user-select: $select;
219 | -moz-user-select: $select;
220 | -ms-user-select: $select; // IE10+
221 | user-select: $select;
222 | }
223 |
--------------------------------------------------------------------------------
/_sass/custom-bootstrap-variables.scss:
--------------------------------------------------------------------------------
1 | // Customize bootstrap variables here.
2 |
--------------------------------------------------------------------------------
/_sass/custom-scss.scss:
--------------------------------------------------------------------------------
1 | // Add your own custom CSS here.
2 | @import "pygments-tomorrow";
3 |
4 | .post-content img,
5 | .post-excerpt-home img,
6 | .post-nav img {
7 | @extend .img-rounded;
8 | }
9 | .post-content table,
10 | .post-excerpt-home table,
11 | .post-nav table {
12 | @extend .table;
13 | @extend .table-bordered;
14 | }
15 |
--------------------------------------------------------------------------------
/_sass/pygments-tomorrow.scss:
--------------------------------------------------------------------------------
1 | .highlight .hll { background-color: #d6d6d6 }
2 | .highlight { background: #ffffff; color: #4d4d4c }
3 | .highlight .c { color: #8e908c } /* Comment */
4 | .highlight .err { color: #c82829 } /* Error */
5 | .highlight .k { color: #8959a8 } /* Keyword */
6 | .highlight .l { color: #f5871f } /* Literal */
7 | .highlight .n { color: #4d4d4c } /* Name */
8 | .highlight .o { color: #3e999f } /* Operator */
9 | .highlight .p { color: #4d4d4c } /* Punctuation */
10 | .highlight .cm { color: #8e908c } /* Comment.Multiline */
11 | .highlight .cp { color: #8e908c } /* Comment.Preproc */
12 | .highlight .c1 { color: #8e908c } /* Comment.Single */
13 | .highlight .cs { color: #8e908c } /* Comment.Special */
14 | .highlight .gd { color: #c82829 } /* Generic.Deleted */
15 | .highlight .ge { font-style: italic } /* Generic.Emph */
16 | .highlight .gh { color: #4d4d4c; font-weight: bold } /* Generic.Heading */
17 | .highlight .gi { color: #718c00 } /* Generic.Inserted */
18 | .highlight .gp { color: #8e908c; font-weight: bold } /* Generic.Prompt */
19 | .highlight .gs { font-weight: bold } /* Generic.Strong */
20 | .highlight .gu { color: #3e999f; font-weight: bold } /* Generic.Subheading */
21 | .highlight .kc { color: #8959a8 } /* Keyword.Constant */
22 | .highlight .kd { color: #8959a8 } /* Keyword.Declaration */
23 | .highlight .kn { color: #3e999f } /* Keyword.Namespace */
24 | .highlight .kp { color: #8959a8 } /* Keyword.Pseudo */
25 | .highlight .kr { color: #8959a8 } /* Keyword.Reserved */
26 | .highlight .kt { color: #eab700 } /* Keyword.Type */
27 | .highlight .ld { color: #718c00 } /* Literal.Date */
28 | .highlight .m { color: #f5871f } /* Literal.Number */
29 | .highlight .s { color: #718c00 } /* Literal.String */
30 | .highlight .na { color: #4271ae } /* Name.Attribute */
31 | .highlight .nb { color: #4d4d4c } /* Name.Builtin */
32 | .highlight .nc { color: #eab700 } /* Name.Class */
33 | .highlight .no { color: #c82829 } /* Name.Constant */
34 | .highlight .nd { color: #3e999f } /* Name.Decorator */
35 | .highlight .ni { color: #4d4d4c } /* Name.Entity */
36 | .highlight .ne { color: #c82829 } /* Name.Exception */
37 | .highlight .nf { color: #4271ae } /* Name.Function */
38 | .highlight .nl { color: #4d4d4c } /* Name.Label */
39 | .highlight .nn { color: #eab700 } /* Name.Namespace */
40 | .highlight .nx { color: #4271ae } /* Name.Other */
41 | .highlight .py { color: #4d4d4c } /* Name.Property */
42 | .highlight .nt { color: #3e999f } /* Name.Tag */
43 | .highlight .nv { color: #c82829 } /* Name.Variable */
44 | .highlight .ow { color: #3e999f } /* Operator.Word */
45 | .highlight .w { color: #4d4d4c } /* Text.Whitespace */
46 | .highlight .mf { color: #f5871f } /* Literal.Number.Float */
47 | .highlight .mh { color: #f5871f } /* Literal.Number.Hex */
48 | .highlight .mi { color: #f5871f } /* Literal.Number.Integer */
49 | .highlight .mo { color: #f5871f } /* Literal.Number.Oct */
50 | .highlight .sb { color: #718c00 } /* Literal.String.Backtick */
51 | .highlight .sc { color: #4d4d4c } /* Literal.String.Char */
52 | .highlight .sd { color: #8e908c } /* Literal.String.Doc */
53 | .highlight .s2 { color: #718c00 } /* Literal.String.Double */
54 | .highlight .se { color: #f5871f } /* Literal.String.Escape */
55 | .highlight .sh { color: #718c00 } /* Literal.String.Heredoc */
56 | .highlight .si { color: #f5871f } /* Literal.String.Interpol */
57 | .highlight .sx { color: #718c00 } /* Literal.String.Other */
58 | .highlight .sr { color: #718c00 } /* Literal.String.Regex */
59 | .highlight .s1 { color: #718c00 } /* Literal.String.Single */
60 | .highlight .ss { color: #718c00 } /* Literal.String.Symbol */
61 | .highlight .bp { color: #4d4d4c } /* Name.Builtin.Pseudo */
62 | .highlight .vc { color: #c82829 } /* Name.Variable.Class */
63 | .highlight .vg { color: #c82829 } /* Name.Variable.Global */
64 | .highlight .vi { color: #c82829 } /* Name.Variable.Instance */
65 | .highlight .il { color: #f5871f } /* Literal.Number.Integer.Long */
66 |
--------------------------------------------------------------------------------
/about.html:
--------------------------------------------------------------------------------
1 | ---
2 | title: About
3 | permalink: "about/index.html"
4 | layout: page
5 | ---
6 |
--------------------------------------------------------------------------------
/archive.html:
--------------------------------------------------------------------------------
1 | ---
2 | title: Archive
3 | permalink: "archive/index.html"
4 | ---
5 |
6 | {% for post in site.posts %}
7 | {% assign post_month_year = post.date | date: "%B %Y" %}
8 | {% assign newer_post_month_year = post.next.date | date: "%B %Y" %}
9 | {% if post_month_year != newer_post_month_year %}
10 |
13 | {% endif %}
14 |
15 | {{ post.title }}
16 | {{ post.date | date_to_string }}
17 |
18 | {% endfor %}
19 |
20 |
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ellekasai/shiori/524edfa1ea9c402d8b7c768ace93dff0a99fdc96/favicon.ico
--------------------------------------------------------------------------------
/feed.xml:
--------------------------------------------------------------------------------
1 | ---
2 | layout: null
3 | ---
4 |
5 |
6 |
7 | {{ site.title | xml_escape }}
8 | {{ site.description | xml_escape }}
9 | {{ site.url }}{{ site.baseurl }}/
10 |
11 | {{ site.time | date_to_rfc822 }}
12 | {{ site.time | date_to_rfc822 }}
13 | Jekyll v{{ jekyll.version }}
14 | {% for post in site.posts limit:10 %}
15 | -
16 |
{{ post.title | xml_escape }}
17 | {{ post.content | xml_escape }}
18 | {{ post.date | date_to_rfc822 }}
19 | {{ post.url | prepend: site.baseurl | prepend: site.url }}
20 | {{ post.url | prepend: site.baseurl | prepend: site.url }}
21 | {% for tag in post.tags %}
22 | {{ tag | xml_escape }}
23 | {% endfor %}
24 | {% for cat in post.categories %}
25 | {{ cat | xml_escape }}
26 | {% endfor %}
27 |
28 | {% endfor %}
29 |
30 |
31 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | ---
3 |
4 | {% for post in site.posts limit:site.data.theme.num_home_posts %}
5 |
11 |
12 | {{ post.excerpt }}
13 |
Continue Reading →
14 |
15 | {% endfor %}
16 |
17 |
20 |
--------------------------------------------------------------------------------
/javascripts/purplecoat-min.js:
--------------------------------------------------------------------------------
1 | $(function(){var e=".purplecoat { display: none; position: absolute; padding: 5px; box-sizing: border-box; background-color: rgba(142, 68, 173, 0.8); color: #FFF; text-align: center; font-weight: bold; overflow: hidden; z-index: 9999; } .purplecoat-inner { display: table; width: 100%; height: 100%; } .purplecoat-inner-text { display: table-cell; vertical-align: middle;",a=$("");a.html(e),$("head").prepend(a),$("[data-purplecoat-toggle]").on("click",function(){var e=$(this).data("purplecoat-toggle"),a=$("[data-purplecoat-for="+e+"]:visible"),t=$("[data-purplecoat-for="+e+"]:hidden");if(a.size())a.fadeOut();else if(t.size())t.fadeIn();else{var o=$(this).data("purplecoat-color");$("[data-purplecoat="+e+"]").each(function(){var a=$(this),t=$('
');$("body").append(t);var l=$('
');t.append(l);var i=$('
');i.html(a.data("purplecoat-label")),l.append(i),o&&t.css("background-color",o),t.attr("data-purplecoat-for",e).css({top:a.offset().top,left:a.offset().left,width:a.width(),height:a.height()}).fadeIn()})}})});
--------------------------------------------------------------------------------
/stylesheets/shiori.scss:
--------------------------------------------------------------------------------
1 | ---
2 | ---
3 |
4 | $container-large-desktop: 970px;
5 |
6 | $font-family-base: "Merriweather", "Helvetica Neue", Arial, sans-serif;
7 | $headings-font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
8 | $headings-font-weight: 700;
9 |
10 | $font-size-base: 15px;
11 | $font-size-h1: floor(($font-size-base * 2));
12 | $font-size-h2: floor(($font-size-base * 1.4));
13 | $font-size-h3: floor(($font-size-base * 1));
14 | $font-size-h4: floor(($font-size-base * 1));
15 | $font-size-h5: floor(($font-size-base * 1));
16 | $font-size-h6: floor(($font-size-base * 1));
17 | $blockquote-font-size: floor(($font-size-base * 1.25));
18 | $line-height-base: 1.8;
19 | $headings-line-height: 1.3;
20 |
21 | $navbar-default-bg: #fff;
22 | $navbar-default-border: #fff;
23 | $navbar-default-brand-color: #333;
24 | $navbar-height: 60px;
25 | $navbar-inverse-link-color: #fff;
26 | $navbar-inverse-toggle-border-color: #fff;
27 | $navbar-inverse-color: rgba(#fff, 0.75);
28 | $navbar-inverse-toggle-hover-bg: rgba(#fff, 0.2);
29 |
30 | $gray-dark: #555;
31 | $gray: #888;
32 | $btn-default-color: #555;
33 | $gray-light: #aaa;
34 |
35 | $brand-primary: #e07280;
36 | $code-color: #555;
37 | $code-bg: #f5f5f5;
38 | $headings-color: #333;
39 |
40 | // http://flatuicolors.com/
41 | $dark: #3d566e;
42 | $dark-brand-primary: #5b7fa4; // Set saturation to 50
43 | $turquoise: #1abc9c;
44 | $green: #2ecc71;
45 | $blue: #3498db;
46 | $purple: #9b59b6;
47 | $orange: #e67e22;
48 | $red: #e74c3c;
49 |
50 | {% unless site.data.theme.color == "default" %}
51 | $theme-color: ${{ site.data.theme.color }};
52 | $navbar-inverse-bg: $theme-color;
53 | @if $theme-color == $dark {
54 | $brand-primary: $dark-brand-primary;
55 | } @else {
56 | $brand-primary: $theme-color;
57 | }
58 | {% endunless %}
59 |
60 | @import "custom-bootstrap-variables";
61 | @import "bootstrap-sass/bootstrap";
62 |
63 | $space-xs: $line-height-computed * 1;
64 | $space-sm: $line-height-computed * 1.5;
65 | $space-md: $line-height-computed * 2;
66 |
67 | h2 {
68 | margin-top: $line-height-computed * 1.5;
69 | margin-bottom: $line-height-computed * 0.25;
70 | }
71 | h3 {
72 | text-transform: uppercase;
73 | margin-bottom: $line-height-computed * 0.25;
74 | }
75 |
76 | .lead {
77 | @media (min-width: $screen-sm-min) {
78 | font-size: $blockquote-font-size;
79 | }
80 | }
81 |
82 | .btn {
83 | font-family: $headings-font-family;
84 | }
85 |
86 | .section-header {
87 | margin-top: 0;
88 | }
89 | .section-header-archive {
90 | margin-top: 0;
91 | }
92 | .section-header-archive ~ .section-header-archive {
93 | margin-top: $space-md;
94 | }
95 |
96 | .post-header {
97 | margin-bottom: $space-xs;
98 | }
99 | .post-title-home {
100 | margin: 0;
101 | a {
102 | color: inherit;
103 | }
104 | }
105 | .post-excerpt-home {
106 | margin-bottom: $space-md;
107 | }
108 | .post-title-main {
109 | margin: 0;
110 | }
111 | .post-title-archive {
112 | font-family: $headings-font-family;
113 | font-weight: $headings-font-weight;
114 | margin-right: 1em;
115 | }
116 | .post-content {
117 | margin-bottom: $space-md;
118 | }
119 | .post-content img,
120 | .post-excerpt-home img,
121 | .post-nav img {
122 | @extend .img-responsive;
123 | }
124 | .post-footer {
125 | border-top: 1px solid $gray-lighter;
126 | padding-top: $space-sm;
127 | margin-bottom: $space-md;
128 | }
129 | .post-navs {
130 | margin-bottom: $space-md;
131 | }
132 | .post-nav {
133 | margin-bottom: $space-sm;
134 | }
135 | .post-title-link {
136 | margin-top: 0;
137 | }
138 |
139 | .navbar-brand {
140 | font-weight: $headings-font-weight;
141 | }
142 | .navbar {
143 | font-family: $headings-font-family;
144 | }
145 | .navbar-static-top {
146 | margin-bottom: $space-md;
147 | }
148 |
149 | .page-archive {
150 | margin-bottom: $space-md;
151 | }
152 |
153 | .footer {
154 | margin: $space-sm 0 $space-sm;
155 | font-size: $font-size-small;
156 | color: $gray-light;
157 | }
158 |
159 | .home-read-more {
160 | margin-bottom: 40px;
161 | }
162 |
163 | .gist {
164 | table {
165 | border: none !important;
166 | width: auto !important;
167 | }
168 | td {
169 | border-left: none !important;
170 | border-top: none !important;
171 | border-bottom: none !important;
172 | &.line-data {
173 | border-right: none !important;
174 | line-height: 1.4 !important;
175 | }
176 | }
177 | }
178 |
179 | @media(max-width: $screen-xs-max) {
180 | .navbar-header {
181 | text-align: center;
182 | }
183 | .navbar-brand {
184 | display: inline-block;
185 | float: none;
186 | }
187 | .navbar-toggle-wrapper {
188 | position: absolute;
189 | left: $navbar-padding-horizontal;
190 | height: ($navbar-height + 34px) / 2;
191 | }
192 | }
193 |
194 | @import "custom-scss";
195 |
--------------------------------------------------------------------------------