.
7 | .list-group {
8 | // No need to set list-style: none; since .list-group-item is block level
9 | margin-bottom: 20px;
10 | padding-left: 0; // reset padding because ul and ol
11 | &.block > .list-group-item {
12 | border-left: none;
13 | border-right: none;
14 | }
15 | }
16 |
17 | // Individual list items
18 | //
19 | // Use on `li`s or `div`s within the `.list-group` parent.
20 | .list-group-item {
21 | position: relative;
22 | display: block;
23 | padding: 15px 15px;
24 | // Place the border on the list items and negative margin up for better styling
25 | margin-bottom: -1px;
26 | background-color: $list-group-bg;
27 | border: 1px solid $list-group-border;
28 | // Round the first and last items
29 | &:first-child {
30 | @include border-top-radius($list-group-border-radius);
31 | }
32 | &:last-child {
33 | margin-bottom: 0;
34 | @include border-bottom-radius($list-group-border-radius);
35 | }
36 | &:active,
37 | &.active {
38 | background-color: darken($list-group-bg, 5%);
39 | }
40 | & > i {
41 | font-size: 16px;
42 | margin-left: $horizontal-padding;
43 | }
44 | &.selected {
45 | background-color: $theme-color;
46 | color: $body-bg;
47 | }
48 | }
49 |
50 | // Interactive list items
51 | //
52 | // Use anchor or button elements instead of `li`s or `div`s to create interactive items.
53 | // Includes an extra `.active` modifier class for showing selected items.
54 | a.list-group-item,
55 | button.list-group-item {
56 | color: $list-group-link-color;
57 | .list-group-item-heading {
58 | color: $list-group-link-heading-color;
59 | }
60 | // Hover state
61 | /* the-framework &:hover, */
62 | &:focus {
63 | text-decoration: none;
64 | color: $list-group-link-hover-color;
65 | background-color: $list-group-hover-bg;
66 | }
67 | }
68 |
69 | button.list-group-item {
70 | width: 100%;
71 | text-align: left;
72 | }
73 |
74 | .list-group-item {
75 | // Disabled state
76 | &.disabled,
77 | &.disabled:hover,
78 | &.disabled:focus {
79 | background-color: $list-group-disabled-bg;
80 | color: $list-group-disabled-color;
81 | cursor: $cursor-disabled;
82 | // Force color to inherit for custom content
83 | .list-group-item-heading {
84 | color: inherit;
85 | }
86 | .list-group-item-text {
87 | color: $list-group-disabled-text-color;
88 | }
89 | }
90 | // Active class on item itself, not parent
91 | &.active,
92 | &.active:hover,
93 | &.active:focus {
94 | z-index: 2; // Place active items above their siblings for proper border styling
95 | color: $list-group-active-color;
96 | background-color: $list-group-active-bg;
97 | border-color: $list-group-active-border;
98 | // Force color to inherit for custom content
99 | .list-group-item-heading,
100 | .list-group-item-heading > small,
101 | .list-group-item-heading > .small {
102 | color: inherit;
103 | }
104 | .list-group-item-text {
105 | color: $list-group-active-text-color;
106 | }
107 | }
108 | }
109 |
110 | // Contextual variants
111 | //
112 | // Add modifier classes to change text and background color on individual items.
113 | // Organizationally, this must come after the `hover` states.
114 | @include list-group-item-variant(success, $state-success-bg, $state-success-text);
115 | @include list-group-item-variant(info, $state-info-bg, $state-info-text);
116 | @include list-group-item-variant(warning, $state-warning-bg, $state-warning-text);
117 | @include list-group-item-variant(danger, $state-danger-bg, $state-danger-text);
118 | // Custom content options
119 | //
120 | // Extra classes for creating well-formatted content within `.list-group-item`s.
121 | .list-group-item-heading {
122 | margin-top: 0;
123 | margin-bottom: 5px;
124 | }
125 |
126 | .list-group-item-text {
127 | margin-bottom: 0;
128 | line-height: 1.3;
129 | }
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_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,
11 | .media-body {
12 | zoom: 1;
13 | overflow: hidden;
14 | }
15 |
16 | .media-body {
17 | width: 10000px;
18 | }
19 |
20 | .media-object {
21 | display: block;
22 |
23 | // Fix collapse in webkit from max-width: 100% and display: table-cell.
24 | &.img-thumbnail {
25 | max-width: none;
26 | }
27 | }
28 |
29 | .media-right,
30 | .media > .pull-right {
31 | padding-left: 10px;
32 | }
33 |
34 | .media-left,
35 | .media > .pull-left {
36 | padding-right: 10px;
37 | }
38 |
39 | .media-left,
40 | .media-right,
41 | .media-body {
42 | display: table-cell;
43 | vertical-align: top;
44 | }
45 |
46 | .media-middle {
47 | vertical-align: middle;
48 | }
49 |
50 | .media-bottom {
51 | vertical-align: bottom;
52 | }
53 |
54 | // Reset margins on headings for tighter default spacing
55 | .media-heading {
56 | margin-top: 0;
57 | margin-bottom: 5px;
58 | }
59 |
60 | // Media list variation
61 | //
62 | // Undo default ul/ol styles
63 | .media-list {
64 | padding-left: 0;
65 | list-style: none;
66 | }
67 |
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_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/reset-text";
15 | @import "mixins/text-emphasis";
16 | @import "mixins/text-overflow";
17 | @import "mixins/vendor-prefixes";
18 |
19 | // Components
20 | @import "mixins/alerts";
21 | @import "mixins/buttons";
22 | @import "mixins/panels";
23 | @import "mixins/pagination";
24 | @import "mixins/list-group";
25 | @import "mixins/nav-divider";
26 | @import "mixins/forms";
27 | @import "mixins/progress-bar";
28 | @import "mixins/table-row";
29 |
30 | // Skins
31 | @import "mixins/background-variant";
32 | @import "mixins/border-radius";
33 | @import "mixins/gradients";
34 |
35 | // Layout
36 | @import "mixins/clearfix";
37 | @import "mixins/center-block";
38 | @import "mixins/nav-vertical-align";
39 | @import "mixins/grid-framework";
40 | @import "mixins/grid";
41 |
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_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: fixed;
66 | top: 0;
67 | right: 0;
68 | bottom: 0;
69 | left: 0;
70 | z-index: $zindex-modal-background;
71 | background-color: $modal-backdrop-bg;
72 | // Fade for backdrop
73 | &.fade { @include opacity(0); }
74 | &.in { @include opacity($modal-backdrop-opacity); }
75 | }
76 |
77 | // Modal header
78 | // Top section of the modal w/ title and dismiss
79 | .modal-header {
80 | padding: $modal-title-padding;
81 | border-bottom: 1px solid $modal-header-border-color;
82 | @include clearfix;
83 | }
84 | // Close icon
85 | .modal-header .close {
86 | margin-top: -2px;
87 | }
88 |
89 | // Title text within header
90 | .modal-title {
91 | margin: 0;
92 | line-height: $modal-title-line-height;
93 | }
94 |
95 | // Modal body
96 | // Where all modal content resides (sibling of .modal-header and .modal-footer)
97 | .modal-body {
98 | position: relative;
99 | padding: $modal-inner-padding;
100 | }
101 |
102 | // Footer (for actions)
103 | .modal-footer {
104 | padding: $modal-inner-padding;
105 | text-align: right; // right align buttons
106 | border-top: 1px solid $modal-footer-border-color;
107 | @include clearfix; // clear it in case folks use .pull-* classes on buttons
108 |
109 | // Properly space out buttons
110 | .btn + .btn {
111 | margin-left: 5px;
112 | margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
113 | }
114 | // but override that for button groups
115 | .btn-group .btn + .btn {
116 | margin-left: -1px;
117 | }
118 | // and override it for block buttons as well
119 | .btn-block + .btn-block {
120 | margin-left: 0;
121 | }
122 | }
123 |
124 | // Measure scrollbar width for padding body during modal show/hide
125 | .modal-scrollbar-measure {
126 | position: absolute;
127 | top: -9999px;
128 | width: 50px;
129 | height: 50px;
130 | overflow: scroll;
131 | }
132 |
133 | // Scale up the modal
134 | @media (min-width: $screen-sm-min) {
135 | // Automatically set modal's width for larger viewports
136 | .modal-dialog {
137 | width: $modal-md;
138 | margin: 30px auto;
139 | }
140 | .modal-content {
141 | @include box-shadow(0 5px 15px rgba(0,0,0,.5));
142 | }
143 |
144 | // Modal sizes
145 | .modal-sm { width: $modal-sm; }
146 | }
147 |
148 | @media (min-width: $screen-md-min) {
149 | .modal-lg { width: $modal-lg; }
150 | }
151 |
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_navs.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Navs
3 | // --------------------------------------------------
4 | // Base class
5 | // --------------------------------------------------
6 | .nav {
7 | margin-bottom: 0;
8 | padding-left: 0; // Override default ul/ol
9 | list-style: none;
10 | @include clearfix;
11 | > li {
12 | position: relative;
13 | display: block;
14 | > a {
15 | position: relative;
16 | display: block;
17 | padding: $nav-link-padding;
18 | /* the-framework &:hover, */
19 | &:focus {
20 | text-decoration: none;
21 | background-color: $nav-link-hover-bg;
22 | }
23 | }
24 | // Disabled state sets text to gray and nukes hover/tab effects
25 | &.disabled > a {
26 | color: $nav-disabled-link-color;
27 | /* the-framework &:hover, */
28 | &:focus {
29 | color: $nav-disabled-link-hover-color;
30 | text-decoration: none;
31 | background-color: transparent;
32 | cursor: $cursor-disabled;
33 | }
34 | }
35 | }
36 | // Open dropdowns
37 | .open > a {
38 | &,
39 | /* the-framework &:hover, */
40 | &:focus {
41 | background-color: $nav-link-hover-bg;
42 | border-color: $link-color;
43 | }
44 | }
45 | // Nav dividers (deprecated with v3.0.1)
46 | //
47 | // This should have been removed in v3 with the dropping of `.nav-list`, but
48 | // we missed it. We don't currently support this anywhere, but in the interest
49 | // of maintaining backward compatibility in case you use it, it's deprecated.
50 | .nav-divider {
51 | @include nav-divider;
52 | }
53 | // Prevent IE8 from misplacing imgs
54 | //
55 | // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
56 | > li > a > img {
57 | max-width: none;
58 | }
59 | }
60 |
61 | // Tabs
62 | // -------------------------
63 | // Give the tabs something to sit on
64 | .nav-tabs {
65 | border-bottom: 1px solid $nav-tabs-border-color;
66 | > li {
67 | float: left;
68 | // Make the list-items overlay the bottom border
69 | margin-bottom: -1px;
70 | // Actual tabs (as links)
71 | > a {
72 | margin-right: 2px;
73 | line-height: $line-height-base;
74 | border: 1px solid transparent;
75 | border-radius: $border-radius-base $border-radius-base 0 0;
76 | /* the framework &:hover {
77 | border-color: $nav-tabs-link-hover-border-color $nav-tabs-link-hover-border-color $nav-tabs-border-color;
78 | }*/
79 | }
80 | // Active state, and its :hover to override normal :hover
81 | &.active > a {
82 | &,
83 | /* the-framework &:hover, */
84 | &:focus {
85 | color: $nav-tabs-active-link-hover-color;
86 | background-color: $nav-tabs-active-link-hover-bg;
87 | border: 1px solid $nav-tabs-active-link-hover-border-color;
88 | border-bottom-color: transparent;
89 | cursor: default;
90 | }
91 | }
92 | }
93 | // pulling this in mainly for less shorthand
94 | &.nav-justified {
95 | @extend .nav-justified;
96 | @extend .nav-tabs-justified;
97 | }
98 | }
99 |
100 | // Pills
101 | // -------------------------
102 | .nav-pills {
103 | > li {
104 | float: left;
105 | // Links rendered as pills
106 | > a {
107 | border-radius: $nav-pills-border-radius;
108 | }
109 | + li {
110 | margin-left: 2px;
111 | }
112 | // Active state
113 | &.active > a {
114 | &,
115 | /* the-framework &:hover, */
116 | &:focus {
117 | color: $nav-pills-active-link-hover-color;
118 | background-color: $nav-pills-active-link-hover-bg;
119 | }
120 | }
121 | }
122 | }
123 |
124 | // Stacked pills
125 | .nav-stacked {
126 | > li {
127 | float: none;
128 | + li {
129 | margin-top: 2px;
130 | margin-left: 0; // no need for this gap between nav items
131 | }
132 | }
133 | }
134 |
135 | // Nav variations
136 | // --------------------------------------------------
137 | // Justified nav links
138 | // -------------------------
139 | .nav-justified {
140 | width: 100%;
141 | > li {
142 | float: none;
143 | > a {
144 | text-align: center;
145 | margin-bottom: 5px;
146 | }
147 | }
148 | > .dropdown .dropdown-menu {
149 | top: auto;
150 | left: auto;
151 | }
152 | @media (min-width: $screen-sm-min) {
153 | > li {
154 | display: table-cell;
155 | width: 1%;
156 | > a {
157 | margin-bottom: 0;
158 | }
159 | }
160 | }
161 | }
162 |
163 | // Move borders to anchors instead of bottom of list
164 | //
165 | // Mixin for adding on top the shared `.nav-justified` styles for our tabs
166 | .nav-tabs-justified {
167 | border-bottom: 0;
168 | > li > a {
169 | // Override margin from .nav-tabs
170 | margin-right: 0;
171 | border-radius: $border-radius-base;
172 | }
173 | > .active > a,
174 | /* the framework > .active > a:hover, */
175 | > .active > a:focus {
176 | border: 1px solid $nav-tabs-justified-link-border-color;
177 | }
178 | @media (min-width: $screen-sm-min) {
179 | > li > a {
180 | border-bottom: 1px solid $nav-tabs-justified-link-border-color;
181 | border-radius: $border-radius-base $border-radius-base 0 0;
182 | }
183 | > .active > a,
184 | /* the framework > .active > a:hover, */
185 | > .active > a:focus {
186 | border-bottom-color: $nav-tabs-justified-active-link-border-color;
187 | }
188 | }
189 | }
190 |
191 | // Tabbable tabs
192 | // -------------------------
193 | // Hide tabbable panes to start, show them when `.active`
194 | .tab-content {
195 | > .tab-pane {
196 | display: none;
197 | }
198 | > .active {
199 | display: block;
200 | }
201 | }
202 |
203 | // Dropdowns
204 | // -------------------------
205 | // Specific dropdowns
206 | .nav-tabs .dropdown-menu {
207 | // make dropdown border overlap tab border
208 | margin-top: -1px;
209 | // Remove the top rounded corners here since there is a hard edge above the menu
210 | @include border-top-radius(0);
211 | }
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_pager.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Pager pagination
3 | // --------------------------------------------------
4 | .pager {
5 | padding-left: 0;
6 | margin: $line-height-computed 0;
7 | list-style: none;
8 | text-align: center;
9 | @include clearfix;
10 | li {
11 | display: inline;
12 | > a,
13 | > span {
14 | display: inline-block;
15 | padding: 5px 14px;
16 | background-color: $pager-bg;
17 | border: 1px solid $pager-border;
18 | border-radius: $pager-border-radius;
19 | }
20 | /* the framework > a:hover, */
21 | > a:focus {
22 | text-decoration: none;
23 | background-color: $pager-hover-bg;
24 | }
25 | }
26 | .next {
27 | > a,
28 | > span {
29 | float: right;
30 | }
31 | }
32 | .previous {
33 | > a,
34 | > span {
35 | float: left;
36 | }
37 | }
38 | .disabled {
39 | > a,
40 | > a:hover,
41 | > a:focus,
42 | > span {
43 | color: $pager-disabled-color;
44 | background-color: $pager-bg;
45 | cursor: $cursor-disabled;
46 | }
47 | }
48 | }
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_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 | > li {
10 | display: inline; // Remove list-style and block-level defaults
11 | > a,
12 | > span {
13 | position: relative;
14 | float: left; // Collapse white-space
15 | padding: $padding-base-vertical $padding-base-horizontal;
16 | line-height: $line-height-base;
17 | text-decoration: none;
18 | color: $pagination-color;
19 | background-color: $pagination-bg;
20 | border: 1px solid $pagination-border;
21 | margin-left: -1px;
22 | }
23 | &:first-child {
24 | > a,
25 | > span {
26 | margin-left: 0;
27 | @include border-left-radius($border-radius-base);
28 | }
29 | }
30 | &:last-child {
31 | > a,
32 | > span {
33 | @include border-right-radius($border-radius-base);
34 | }
35 | }
36 | }
37 | > li > a,
38 | > li > span {
39 | /* the-framework &:hover, */
40 | &:focus {
41 | z-index: 2;
42 | color: $pagination-hover-color;
43 | background-color: $pagination-hover-bg;
44 | border-color: $pagination-hover-border;
45 | }
46 | }
47 | > .active > a,
48 | > .active > span {
49 | &,
50 | &:hover,
51 | &:focus {
52 | z-index: 3;
53 | color: $pagination-active-color;
54 | background-color: $pagination-active-bg;
55 | border-color: $pagination-active-border;
56 | cursor: default;
57 | }
58 | }
59 | > .disabled {
60 | > span,
61 | > span:hover,
62 | > span:focus,
63 | > a,
64 | > a:hover,
65 | > a:focus {
66 | color: $pagination-disabled-color;
67 | background-color: $pagination-disabled-bg;
68 | border-color: $pagination-disabled-border;
69 | cursor: $cursor-disabled;
70 | }
71 | }
72 | }
73 |
74 | // Sizing
75 | // --------------------------------------------------
76 | // Large
77 | .pagination-lg {
78 | @include pagination-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large);
79 | }
80 |
81 | // Small
82 | .pagination-sm {
83 | @include pagination-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small);
84 | }
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_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 | > small,
41 | > .small,
42 | > small > a,
43 | > .small > a {
44 | color: inherit;
45 | }
46 | }
47 |
48 | // Optional footer (stays gray in every modifier class)
49 | .panel-footer {
50 | padding: $panel-footer-padding;
51 | background-color: $panel-footer-bg;
52 | border-top: 1px solid $panel-inner-border;
53 | @include border-bottom-radius(($panel-border-radius - 1));
54 | }
55 |
56 |
57 | // List groups in panels
58 | //
59 | // By default, space out list group content from panel headings to account for
60 | // any kind of custom content between the two.
61 |
62 | .panel {
63 | > .list-group,
64 | > .panel-collapse > .list-group {
65 | margin-bottom: 0;
66 |
67 | .list-group-item {
68 | border-width: 1px 0;
69 | border-radius: 0;
70 | }
71 |
72 | // Add border top radius for first one
73 | &:first-child {
74 | .list-group-item:first-child {
75 | border-top: 0;
76 | @include border-top-radius(($panel-border-radius - 1));
77 | }
78 | }
79 |
80 | // Add border bottom radius for last one
81 | &:last-child {
82 | .list-group-item:last-child {
83 | border-bottom: 0;
84 | @include border-bottom-radius(($panel-border-radius - 1));
85 | }
86 | }
87 | }
88 | > .panel-heading + .panel-collapse > .list-group {
89 | .list-group-item:first-child {
90 | @include border-top-radius(0);
91 | }
92 | }
93 | }
94 | // Collapse space between when there's no additional content.
95 | .panel-heading + .list-group {
96 | .list-group-item:first-child {
97 | border-top-width: 0;
98 | }
99 | }
100 | .list-group + .panel-footer {
101 | border-top-width: 0;
102 | }
103 |
104 | // Tables in panels
105 | //
106 | // Place a non-bordered `.table` within a panel (not within a `.panel-body`) and
107 | // watch it go full width.
108 |
109 | .panel {
110 | > .table,
111 | > .table-responsive > .table,
112 | > .panel-collapse > .table {
113 | margin-bottom: 0;
114 |
115 | caption {
116 | padding-left: $panel-body-padding;
117 | padding-right: $panel-body-padding;
118 | }
119 | }
120 | // Add border top radius for first one
121 | > .table:first-child,
122 | > .table-responsive:first-child > .table:first-child {
123 | @include border-top-radius(($panel-border-radius - 1));
124 |
125 | > thead:first-child,
126 | > tbody:first-child {
127 | > tr:first-child {
128 | border-top-left-radius: ($panel-border-radius - 1);
129 | border-top-right-radius: ($panel-border-radius - 1);
130 |
131 | td:first-child,
132 | th:first-child {
133 | border-top-left-radius: ($panel-border-radius - 1);
134 | }
135 | td:last-child,
136 | th:last-child {
137 | border-top-right-radius: ($panel-border-radius - 1);
138 | }
139 | }
140 | }
141 | }
142 | // Add border bottom radius for last one
143 | > .table:last-child,
144 | > .table-responsive:last-child > .table:last-child {
145 | @include border-bottom-radius(($panel-border-radius - 1));
146 |
147 | > tbody:last-child,
148 | > tfoot:last-child {
149 | > tr:last-child {
150 | border-bottom-left-radius: ($panel-border-radius - 1);
151 | border-bottom-right-radius: ($panel-border-radius - 1);
152 |
153 | td:first-child,
154 | th:first-child {
155 | border-bottom-left-radius: ($panel-border-radius - 1);
156 | }
157 | td:last-child,
158 | th:last-child {
159 | border-bottom-right-radius: ($panel-border-radius - 1);
160 | }
161 | }
162 | }
163 | }
164 | > .panel-body + .table,
165 | > .panel-body + .table-responsive,
166 | > .table + .panel-body,
167 | > .table-responsive + .panel-body {
168 | border-top: 1px solid $table-border-color;
169 | }
170 | > .table > tbody:first-child > tr:first-child th,
171 | > .table > tbody:first-child > tr:first-child td {
172 | border-top: 0;
173 | }
174 | > .table-bordered,
175 | > .table-responsive > .table-bordered {
176 | border: 0;
177 | > thead,
178 | > tbody,
179 | > tfoot {
180 | > tr {
181 | > th:first-child,
182 | > td:first-child {
183 | border-left: 0;
184 | }
185 | > th:last-child,
186 | > td:last-child {
187 | border-right: 0;
188 | }
189 | }
190 | }
191 | > thead,
192 | > tbody {
193 | > tr:first-child {
194 | > td,
195 | > th {
196 | border-bottom: 0;
197 | }
198 | }
199 | }
200 | > tbody,
201 | > tfoot {
202 | > tr:last-child {
203 | > td,
204 | > th {
205 | border-bottom: 0;
206 | }
207 | }
208 | }
209 | }
210 | > .table-responsive {
211 | border: 0;
212 | margin-bottom: 0;
213 | }
214 | }
215 |
216 |
217 | // Collapsible panels (aka, accordion)
218 | //
219 | // Wrap a series of panels in `.panel-group` to turn them into an accordion with
220 | // the help of our collapse JavaScript plugin.
221 |
222 | .panel-group {
223 | margin-bottom: $line-height-computed;
224 |
225 | // Tighten up margin so it's only between panels
226 | .panel {
227 | margin-bottom: 0;
228 | border-radius: $panel-border-radius;
229 |
230 | + .panel {
231 | margin-top: 5px;
232 | }
233 | }
234 |
235 | .panel-heading {
236 | border-bottom: 0;
237 |
238 | + .panel-collapse > .panel-body,
239 | + .panel-collapse > .list-group {
240 | border-top: 1px solid $panel-inner-border;
241 | }
242 | }
243 |
244 | .panel-footer {
245 | border-top: 0;
246 | + .panel-collapse .panel-body {
247 | border-bottom: 1px solid $panel-inner-border;
248 | }
249 | }
250 | }
251 |
252 |
253 | // Contextual variations
254 | .panel-default {
255 | @include panel-variant($panel-default-border, $panel-default-text, $panel-default-heading-bg, $panel-default-border);
256 | }
257 | .panel-primary {
258 | @include panel-variant($panel-primary-border, $panel-primary-text, $panel-primary-heading-bg, $panel-primary-border);
259 | }
260 | .panel-success {
261 | @include panel-variant($panel-success-border, $panel-success-text, $panel-success-heading-bg, $panel-success-border);
262 | }
263 | .panel-info {
264 | @include panel-variant($panel-info-border, $panel-info-text, $panel-info-heading-bg, $panel-info-border);
265 | }
266 | .panel-warning {
267 | @include panel-variant($panel-warning-border, $panel-warning-text, $panel-warning-heading-bg, $panel-warning-border);
268 | }
269 | .panel-danger {
270 | @include panel-variant($panel-danger-border, $panel-danger-text, $panel-danger-heading-bg, $panel-danger-border);
271 | }
272 |
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_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 | // Our parent element can be arbitrary since popovers are by default inserted as a sibling of their target element.
15 | // So reset our font and text properties to avoid inheriting weird values.
16 | @include reset-text;
17 | font-size: $font-size-base;
18 |
19 | background-color: $popover-bg;
20 | background-clip: padding-box;
21 | border: 1px solid $popover-fallback-border-color;
22 | border: 1px solid $popover-border-color;
23 | border-radius: $border-radius-large;
24 | @include box-shadow(0 5px 10px rgba(0,0,0,.2));
25 |
26 | // Offset the popover to account for the popover arrow
27 | &.top { margin-top: -$popover-arrow-width; }
28 | &.right { margin-left: $popover-arrow-width; }
29 | &.bottom { margin-top: $popover-arrow-width; }
30 | &.left { margin-left: -$popover-arrow-width; }
31 | }
32 |
33 | .popover-title {
34 | margin: 0; // reset heading margin
35 | padding: 8px 14px;
36 | font-size: $font-size-base;
37 | background-color: $popover-title-bg;
38 | border-bottom: 1px solid darken($popover-title-bg, 5%);
39 | border-radius: ($border-radius-large - 1) ($border-radius-large - 1) 0 0;
40 | }
41 |
42 | .popover-content {
43 | padding: 9px 14px;
44 | }
45 |
46 | // Arrows
47 | //
48 | // .arrow is outer, .arrow:after is inner
49 |
50 | .popover > .arrow {
51 | &,
52 | &:after {
53 | position: absolute;
54 | display: block;
55 | width: 0;
56 | height: 0;
57 | border-color: transparent;
58 | border-style: solid;
59 | }
60 | }
61 | .popover > .arrow {
62 | border-width: $popover-arrow-outer-width;
63 | }
64 | .popover > .arrow:after {
65 | border-width: $popover-arrow-width;
66 | content: "";
67 | }
68 |
69 | .popover {
70 | &.top > .arrow {
71 | left: 50%;
72 | margin-left: -$popover-arrow-outer-width;
73 | border-bottom-width: 0;
74 | border-top-color: $popover-arrow-outer-fallback-color; // IE8 fallback
75 | border-top-color: $popover-arrow-outer-color;
76 | bottom: -$popover-arrow-outer-width;
77 | &:after {
78 | content: " ";
79 | bottom: 1px;
80 | margin-left: -$popover-arrow-width;
81 | border-bottom-width: 0;
82 | border-top-color: $popover-arrow-color;
83 | }
84 | }
85 | &.right > .arrow {
86 | top: 50%;
87 | left: -$popover-arrow-outer-width;
88 | margin-top: -$popover-arrow-outer-width;
89 | border-left-width: 0;
90 | border-right-color: $popover-arrow-outer-fallback-color; // IE8 fallback
91 | border-right-color: $popover-arrow-outer-color;
92 | &:after {
93 | content: " ";
94 | left: 1px;
95 | bottom: -$popover-arrow-width;
96 | border-left-width: 0;
97 | border-right-color: $popover-arrow-color;
98 | }
99 | }
100 | &.bottom > .arrow {
101 | left: 50%;
102 | margin-left: -$popover-arrow-outer-width;
103 | border-top-width: 0;
104 | border-bottom-color: $popover-arrow-outer-fallback-color; // IE8 fallback
105 | border-bottom-color: $popover-arrow-outer-color;
106 | top: -$popover-arrow-outer-width;
107 | &:after {
108 | content: " ";
109 | top: 1px;
110 | margin-left: -$popover-arrow-width;
111 | border-top-width: 0;
112 | border-bottom-color: $popover-arrow-color;
113 | }
114 | }
115 |
116 | &.left > .arrow {
117 | top: 50%;
118 | right: -$popover-arrow-outer-width;
119 | margin-top: -$popover-arrow-outer-width;
120 | border-right-width: 0;
121 | border-left-color: $popover-arrow-outer-fallback-color; // IE8 fallback
122 | border-left-color: $popover-arrow-outer-color;
123 | &:after {
124 | content: " ";
125 | right: 1px;
126 | border-right-width: 0;
127 | border-left-color: $popover-arrow-color;
128 | bottom: -$popover-arrow-width;
129 | }
130 | }
131 | }
132 |
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_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 | // Bootstrap components
72 | .navbar {
73 | display: none;
74 | }
75 | .btn,
76 | .dropup > .btn {
77 | > .caret {
78 | border-top-color: #000 !important;
79 | }
80 | }
81 | .label {
82 | border: 1px solid #000;
83 | }
84 |
85 | .table {
86 | border-collapse: collapse !important;
87 |
88 | td,
89 | th {
90 | background-color: #fff !important;
91 | }
92 | }
93 | .table-bordered {
94 | th,
95 | td {
96 | border: 1px solid #ddd !important;
97 | }
98 | }
99 |
100 | // Bootstrap specific changes end
101 | }
102 |
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_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-modified/_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 |
27 | // Modifier class for 16:9 aspect ratio
28 | .embed-responsive-16by9 {
29 | padding-bottom: 56.25%;
30 | }
31 |
32 | // Modifier class for 4:3 aspect ratio
33 | .embed-responsive-4by3 {
34 | padding-bottom: 75%;
35 | }
36 |
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_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 | @at-root {
22 | @-ms-viewport {
23 | width: device-width;
24 | }
25 | }
26 |
27 |
28 | // Visibility utilities
29 | // Note: Deprecated .visible-xs, .visible-sm, .visible-md, and .visible-lg as of v3.2.0
30 |
31 | @include responsive-invisibility('.visible-xs');
32 | @include responsive-invisibility('.visible-sm');
33 | @include responsive-invisibility('.visible-md');
34 | @include responsive-invisibility('.visible-lg');
35 |
36 | .visible-xs-block,
37 | .visible-xs-inline,
38 | .visible-xs-inline-block,
39 | .visible-sm-block,
40 | .visible-sm-inline,
41 | .visible-sm-inline-block,
42 | .visible-md-block,
43 | .visible-md-inline,
44 | .visible-md-inline-block,
45 | .visible-lg-block,
46 | .visible-lg-inline,
47 | .visible-lg-inline-block {
48 | display: none !important;
49 | }
50 |
51 | @media (max-width: $screen-xs-max) {
52 | @include responsive-visibility('.visible-xs');
53 | }
54 | .visible-xs-block {
55 | @media (max-width: $screen-xs-max) {
56 | display: block !important;
57 | }
58 | }
59 | .visible-xs-inline {
60 | @media (max-width: $screen-xs-max) {
61 | display: inline !important;
62 | }
63 | }
64 | .visible-xs-inline-block {
65 | @media (max-width: $screen-xs-max) {
66 | display: inline-block !important;
67 | }
68 | }
69 |
70 | @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
71 | @include responsive-visibility('.visible-sm');
72 | }
73 | .visible-sm-block {
74 | @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
75 | display: block !important;
76 | }
77 | }
78 | .visible-sm-inline {
79 | @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
80 | display: inline !important;
81 | }
82 | }
83 | .visible-sm-inline-block {
84 | @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
85 | display: inline-block !important;
86 | }
87 | }
88 |
89 | @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
90 | @include responsive-visibility('.visible-md');
91 | }
92 | .visible-md-block {
93 | @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
94 | display: block !important;
95 | }
96 | }
97 | .visible-md-inline {
98 | @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
99 | display: inline !important;
100 | }
101 | }
102 | .visible-md-inline-block {
103 | @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
104 | display: inline-block !important;
105 | }
106 | }
107 |
108 | @media (min-width: $screen-lg-min) {
109 | @include responsive-visibility('.visible-lg');
110 | }
111 | .visible-lg-block {
112 | @media (min-width: $screen-lg-min) {
113 | display: block !important;
114 | }
115 | }
116 | .visible-lg-inline {
117 | @media (min-width: $screen-lg-min) {
118 | display: inline !important;
119 | }
120 | }
121 | .visible-lg-inline-block {
122 | @media (min-width: $screen-lg-min) {
123 | display: inline-block !important;
124 | }
125 | }
126 |
127 | @media (max-width: $screen-xs-max) {
128 | @include responsive-invisibility('.hidden-xs');
129 | }
130 |
131 | @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
132 | @include responsive-invisibility('.hidden-sm');
133 | }
134 |
135 | @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
136 | @include responsive-invisibility('.hidden-md');
137 | }
138 |
139 | @media (min-width: $screen-lg-min) {
140 | @include responsive-invisibility('.hidden-lg');
141 | }
142 |
143 |
144 | // Print utilities
145 | //
146 | // Media queries are placed on the inside to be mixin-friendly.
147 |
148 | // Note: Deprecated .visible-print as of v3.2.0
149 |
150 | @include responsive-invisibility('.visible-print');
151 |
152 | @media print {
153 | @include responsive-visibility('.visible-print');
154 | }
155 | .visible-print-block {
156 | display: none !important;
157 |
158 | @media print {
159 | display: block !important;
160 | }
161 | }
162 | .visible-print-inline {
163 | display: none !important;
164 |
165 | @media print {
166 | display: inline !important;
167 | }
168 | }
169 | .visible-print-inline-block {
170 | display: none !important;
171 |
172 | @media print {
173 | display: inline-block !important;
174 | }
175 | }
176 |
177 | @media print {
178 | @include responsive-invisibility('.hidden-print');
179 | }
180 |
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_scaffolding.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Scaffolding
3 | // --------------------------------------------------
4 | // Reset the box-sizing
5 | //
6 | // Heads up! This reset may cause conflicts with some third-party widgets.
7 | // For recommendations on resolving such conflicts, see
8 | // http://getbootstrap.com/getting-started/#third-box-sizing
9 | * {
10 | @include box-sizing(border-box);
11 | }
12 |
13 | *:before,
14 | *:after {
15 | @include box-sizing(border-box);
16 | }
17 |
18 | // Body reset
19 | html {
20 | font-size: 10px;
21 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
22 | }
23 |
24 | body {
25 | font-family: $font-family-base;
26 | font-size: $font-size-base;
27 | line-height: $line-height-base;
28 | color: $text-color;
29 | background-color: $body-bg;
30 | }
31 |
32 | // Reset fonts for relevant elements
33 | input,
34 | button,
35 | select,
36 | textarea {
37 | font-family: inherit;
38 | font-size: inherit;
39 | line-height: inherit;
40 | }
41 |
42 | // Links
43 | a {
44 | color: $link-color;
45 | text-decoration: none;
46 | /* the-framework &:hover, */
47 | &:focus {
48 | color: $link-hover-color;
49 | text-decoration: $link-hover-decoration;
50 | }
51 | &:focus {
52 | @include tab-focus;
53 | }
54 | }
55 |
56 | // Figures
57 | //
58 | // We reset this here because previously Normalize had no `figure` margins. This
59 | // ensures we don't break anyone's use of the element.
60 | figure {
61 | margin: 0;
62 | }
63 |
64 | // Images
65 | img {
66 | vertical-align: middle;
67 | }
68 |
69 | // Responsive images (ensure images don't scale beyond their parents)
70 | .img-responsive {
71 | @include img-responsive;
72 | }
73 |
74 | // Rounded corners
75 | .img-rounded {
76 | border-radius: $border-radius-large;
77 | }
78 |
79 | // Image thumbnails
80 | //
81 | // Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`.
82 | .img-thumbnail {
83 | padding: $thumbnail-padding;
84 | line-height: $line-height-base;
85 | background-color: $thumbnail-bg;
86 | border: 1px solid $thumbnail-border;
87 | border-radius: $thumbnail-border-radius;
88 | @include transition(all .2s ease-in-out);
89 | // Keep them at most 100% wide
90 | @include img-responsive(inline-block);
91 | }
92 |
93 | // Perfect circle
94 | .img-circle {
95 | border-radius: 50%; // set radius in percents
96 | }
97 |
98 | // Horizontal rules
99 | hr {
100 | margin-top: $line-height-computed;
101 | margin-bottom: $line-height-computed;
102 | border: 0;
103 | border-top: 1px solid $hr-border;
104 | }
105 |
106 | // Only display content to screen readers
107 | //
108 | // See: http://a11yproject.com/posts/how-to-hide-content
109 | .sr-only {
110 | position: absolute;
111 | width: 1px;
112 | height: 1px;
113 | margin: -1px;
114 | padding: 0;
115 | overflow: hidden;
116 | clip: rect(0, 0, 0, 0);
117 | border: 0;
118 | }
119 |
120 | // Use in conjunction with .sr-only to only display content when it's focused.
121 | // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
122 | // Credit: HTML5 Boilerplate
123 | .sr-only-focusable {
124 | &:active,
125 | &:focus {
126 | position: static;
127 | width: auto;
128 | height: auto;
129 | margin: 0;
130 | overflow: visible;
131 | clip: auto;
132 | }
133 | }
134 |
135 | // iOS "clickable elements" fix for role="button"
136 | //
137 | // Fixes "clickability" issue (and more generally, the firing of events such as focus as well)
138 | // for traditionally non-focusable elements with role="button"
139 | // see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
140 | [role="button"] {
141 | cursor: pointer;
142 | }
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_tables.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Tables
3 | // --------------------------------------------------
4 | table {
5 | background-color: $table-bg;
6 | }
7 |
8 | caption {
9 | padding-top: $table-cell-padding;
10 | padding-bottom: $table-cell-padding;
11 | color: $text-muted;
12 | text-align: left;
13 | }
14 |
15 | th {
16 | text-align: left;
17 | }
18 |
19 | // Baseline styles
20 | .table {
21 | width: 100%;
22 | max-width: 100%;
23 | margin-bottom: $line-height-computed;
24 | // Cells
25 | > thead,
26 | > tbody,
27 | > tfoot {
28 | > tr {
29 | > th,
30 | > td {
31 | padding: $table-cell-padding;
32 | line-height: $line-height-base;
33 | vertical-align: top;
34 | border-top: 1px solid $table-border-color;
35 | }
36 | }
37 | }
38 | // Bottom align for column headings
39 | > thead > tr > th {
40 | vertical-align: bottom;
41 | border-bottom: 2px solid $table-border-color;
42 | }
43 | // Remove top border from thead by default
44 | > caption + thead,
45 | > colgroup + thead,
46 | > thead:first-child {
47 | > tr:first-child {
48 | > th,
49 | > td {
50 | border-top: 0;
51 | }
52 | }
53 | }
54 | // Account for multiple tbody instances
55 | > tbody + tbody {
56 | border-top: 2px solid $table-border-color;
57 | }
58 | // Nesting
59 | .table {
60 | background-color: $body-bg;
61 | }
62 | }
63 |
64 | // Condensed table w/ half padding
65 | .table-condensed {
66 | > thead,
67 | > tbody,
68 | > tfoot {
69 | > tr {
70 | > th,
71 | > td {
72 | padding: $table-condensed-cell-padding;
73 | }
74 | }
75 | }
76 | }
77 |
78 | // Bordered version
79 | //
80 | // Add borders all around the table and between all the columns.
81 | .table-bordered {
82 | border: 1px solid $table-border-color;
83 | > thead,
84 | > tbody,
85 | > tfoot {
86 | > tr {
87 | > th,
88 | > td {
89 | border: 1px solid $table-border-color;
90 | }
91 | }
92 | }
93 | > thead > tr {
94 | > th,
95 | > td {
96 | border-bottom-width: 2px;
97 | }
98 | }
99 | }
100 |
101 | // Zebra-striping
102 | //
103 | // Default zebra-stripe styles (alternating gray and transparent backgrounds)
104 | .table-striped {
105 | > tbody > tr:nth-of-type(odd) {
106 | background-color: $table-bg-accent;
107 | }
108 | }
109 |
110 | // Hover effect
111 | //
112 | // Placed here since it has to come after the potential zebra striping
113 |
114 | /* the framework .table-hover {
115 | > tbody > tr:hover {
116 | background-color: $table-bg-hover;
117 | }
118 | }*/
119 |
120 | // Table cell sizing
121 | //
122 | // Reset default table behavior
123 | table col[class*="col-"] {
124 | position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
125 | float: none;
126 | display: table-column;
127 | }
128 |
129 | table {
130 | td,
131 | th {
132 | &[class*="col-"] {
133 | position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
134 | float: none;
135 | display: table-cell;
136 | }
137 | }
138 | }
139 |
140 | // Table backgrounds
141 | //
142 | // Exact selectors below required to override `.table-striped` and prevent
143 | // inheritance to nested tables.
144 | // Generate the contextual variants
145 | @include table-row-variant('active', $table-bg-active);
146 | @include table-row-variant('success', $state-success-bg);
147 | @include table-row-variant('info', $state-info-bg);
148 | @include table-row-variant('warning', $state-warning-bg);
149 | @include table-row-variant('danger', $state-danger-bg);
150 | // Responsive tables
151 | //
152 | // Wrap your tables in `.table-responsive` and we'll make them mobile friendly
153 | // by enabling horizontal scrolling. Only applies <768px. Everything above that
154 | // will display normally.
155 | .table-responsive {
156 | overflow-x: auto;
157 | min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)
158 | @media screen and (max-width: $screen-xs-max) {
159 | width: 100%;
160 | margin-bottom: ($line-height-computed * 0.75);
161 | overflow-y: hidden;
162 | -ms-overflow-style: -ms-autohiding-scrollbar;
163 | border: 1px solid $table-border-color;
164 | // Tighten up spacing
165 | > .table {
166 | margin-bottom: 0;
167 | // Ensure the content doesn't wrap
168 | > thead,
169 | > tbody,
170 | > tfoot {
171 | > tr {
172 | > th,
173 | > td {
174 | white-space: nowrap;
175 | }
176 | }
177 | }
178 | }
179 | // Special overrides for the bordered tables
180 | > .table-bordered {
181 | border: 0;
182 | // Nuke the appropriate borders so that the parent can handle them
183 | > thead,
184 | > tbody,
185 | > tfoot {
186 | > tr {
187 | > th:first-child,
188 | > td:first-child {
189 | border-left: 0;
190 | }
191 | > th:last-child,
192 | > td:last-child {
193 | border-right: 0;
194 | }
195 | }
196 | }
197 | // Only nuke the last row's bottom-border in `tbody` and `tfoot` since
198 | // chances are there will be only one `tr` in a `thead` and that would
199 | // remove the border altogether.
200 | > tbody,
201 | > tfoot {
202 | > tr:last-child {
203 | > th,
204 | > td {
205 | border-bottom: 0;
206 | }
207 | }
208 | }
209 | }
210 | }
211 | }
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_thumbnails.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Thumbnails
3 | // --------------------------------------------------
4 | // Mixin and adjust the regular image class
5 | .thumbnail {
6 | display: block;
7 | padding: $thumbnail-padding;
8 | margin-bottom: $line-height-computed;
9 | line-height: $line-height-base;
10 | background-color: $thumbnail-bg;
11 | border: 1px solid $thumbnail-border;
12 | border-radius: $thumbnail-border-radius;
13 | @include transition(border .2s ease-in-out);
14 | > img,
15 | a > img {
16 | @include img-responsive;
17 | margin-left: auto;
18 | margin-right: auto;
19 | }
20 | // [converter] extracted a&:hover, a&:focus, a&.active to a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active
21 | // Image captions
22 | .caption {
23 | padding: $thumbnail-caption-padding;
24 | color: $thumbnail-caption-color;
25 | }
26 | }
27 |
28 | // Add a hover state for linked versions only
29 |
30 | /* the framework a.thumbnail:hover,*/
31 |
32 | a.thumbnail:focus,
33 | a.thumbnail.active {
34 | border-color: $link-color;
35 | }
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_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 | // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
12 | // So reset our font and text properties to avoid inheriting weird values.
13 | @include reset-text;
14 | font-size: $font-size-small;
15 |
16 | @include opacity(0);
17 |
18 | &.in { @include opacity($tooltip-opacity); }
19 | &.top { margin-top: -3px; padding: $tooltip-arrow-width 0; }
20 | &.right { margin-left: 3px; padding: 0 $tooltip-arrow-width; }
21 | &.bottom { margin-top: 3px; padding: $tooltip-arrow-width 0; }
22 | &.left { margin-left: -3px; padding: 0 $tooltip-arrow-width; }
23 | }
24 |
25 | // Wrapper for the tooltip content
26 | .tooltip-inner {
27 | max-width: $tooltip-max-width;
28 | padding: 3px 8px;
29 | color: $tooltip-color;
30 | text-align: center;
31 | background-color: $tooltip-bg;
32 | border-radius: $border-radius-base;
33 | }
34 |
35 | // Arrows
36 | .tooltip-arrow {
37 | position: absolute;
38 | width: 0;
39 | height: 0;
40 | border-color: transparent;
41 | border-style: solid;
42 | }
43 | // Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
44 | .tooltip {
45 | &.top .tooltip-arrow {
46 | bottom: 0;
47 | left: 50%;
48 | margin-left: -$tooltip-arrow-width;
49 | border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
50 | border-top-color: $tooltip-arrow-color;
51 | }
52 | &.top-left .tooltip-arrow {
53 | bottom: 0;
54 | right: $tooltip-arrow-width;
55 | margin-bottom: -$tooltip-arrow-width;
56 | border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
57 | border-top-color: $tooltip-arrow-color;
58 | }
59 | &.top-right .tooltip-arrow {
60 | bottom: 0;
61 | left: $tooltip-arrow-width;
62 | margin-bottom: -$tooltip-arrow-width;
63 | border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
64 | border-top-color: $tooltip-arrow-color;
65 | }
66 | &.right .tooltip-arrow {
67 | top: 50%;
68 | left: 0;
69 | margin-top: -$tooltip-arrow-width;
70 | border-width: $tooltip-arrow-width $tooltip-arrow-width $tooltip-arrow-width 0;
71 | border-right-color: $tooltip-arrow-color;
72 | }
73 | &.left .tooltip-arrow {
74 | top: 50%;
75 | right: 0;
76 | margin-top: -$tooltip-arrow-width;
77 | border-width: $tooltip-arrow-width 0 $tooltip-arrow-width $tooltip-arrow-width;
78 | border-left-color: $tooltip-arrow-color;
79 | }
80 | &.bottom .tooltip-arrow {
81 | top: 0;
82 | left: 50%;
83 | margin-left: -$tooltip-arrow-width;
84 | border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
85 | border-bottom-color: $tooltip-arrow-color;
86 | }
87 | &.bottom-left .tooltip-arrow {
88 | top: 0;
89 | right: $tooltip-arrow-width;
90 | margin-top: -$tooltip-arrow-width;
91 | border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
92 | border-bottom-color: $tooltip-arrow-color;
93 | }
94 | &.bottom-right .tooltip-arrow {
95 | top: 0;
96 | left: $tooltip-arrow-width;
97 | margin-top: -$tooltip-arrow-width;
98 | border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
99 | border-bottom-color: $tooltip-arrow-color;
100 | }
101 | }
102 |
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_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: $dl-horizontal-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 | @extend .text-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-modified/_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 | }
48 |
49 |
50 | // For Affix plugin
51 | // -------------------------
52 |
53 | .affix {
54 | position: fixed;
55 | }
56 |
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/_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-modified/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-modified/mixins/_background-variant.scss:
--------------------------------------------------------------------------------
1 | // Contextual backgrounds
2 | // [converter] $parent hack
3 | @mixin bg-variant($parent, $color) {
4 | #{$parent} {
5 | background-color: $color;
6 | }
7 | /* the framework a#{$parent}:hover, */
8 | a#{$parent}:focus {
9 | background-color: darken($color, 10%);
10 | }
11 | }
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/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-modified/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 | @mixin button-variant($color, $background, $border) {
6 | color: $color;
7 | background-color: $background;
8 | border-color: $border;
9 | /* the framework &:focus,
10 | &.focus {
11 | color: $color;
12 | background-color: darken($background, 10%);
13 | border-color: darken($border, 25%);
14 | } */
15 | /* the framework &:hover {
16 | color: $color;
17 | background-color: darken($background, 10%);
18 | border-color: darken($border, 12%);
19 | }*/
20 | &:active,
21 | &.active,
22 | .open > &.dropdown-toggle {
23 | color: $color;
24 | background-color: lighten($background, 5%);
25 | border-color: lighten($border, 5%);
26 | /* the-framework &:hover,
27 | &:focus,
28 | &.focus {
29 | color: $color;
30 | background-color: darken($background, 17%);
31 | border-color: darken($border, 25%);
32 | } */
33 | }
34 | &:active,
35 | &.active,
36 | .open > &.dropdown-toggle {
37 | background-image: none;
38 | }
39 | &.disabled,
40 | &[disabled],
41 | fieldset[disabled] & {
42 | /* the-framework &:hover,
43 | &:focus,
44 | &.focus {
45 | background-color: $background;
46 | border-color: $border;
47 | } */
48 | }
49 | .badge {
50 | color: $background;
51 | background-color: $color;
52 | }
53 | }
54 |
55 | // Button sizes
56 | @mixin button-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
57 | padding: $padding-vertical $padding-horizontal;
58 | font-size: $font-size;
59 | line-height: $line-height;
60 | border-radius: $border-radius;
61 | }
--------------------------------------------------------------------------------
/sass/bootstrap-sass-modified/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-modified/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-modified/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 | @mixin form-control-validation($text-color: #555, $border-color: #ccc, $background-color: #f5f5f5) {
6 | // Color the label and help text
7 | .help-block,
8 | .control-label,
9 | .radio,
10 | .checkbox,
11 | .radio-inline,
12 | .checkbox-inline,
13 | &.radio label,
14 | &.checkbox label,
15 | &.radio-inline label,
16 | &.checkbox-inline label {
17 | color: $text-color;
18 | }
19 | // Set the border and box shadow on specific inputs to match
20 | .form-control {
21 | border-color: $border-color;
22 | @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, .075)); // Redeclare so transitions work
23 | &:focus {
24 | border-color: darken($border-color, 10%);
25 | $shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px lighten($border-color, 20%);
26 | @include box-shadow($shadow);
27 | }
28 | }
29 | // Set validation states also for addons
30 | .input-group-addon {
31 | color: $text-color;
32 | border-color: $border-color;
33 | background-color: $background-color;
34 | }
35 | // Optional feedback icon
36 | .form-control-feedback {
37 | color: $text-color;
38 | }
39 | }
40 |
41 | // Form control focus state
42 | //
43 | // Generate a customized focus state and for any input with the specified color,
44 | // which defaults to the `$input-border-focus` variable.
45 | //
46 | // We highly encourage you to not customize the default value, but instead use
47 | // this to tweak colors on an as-needed basis. This aesthetic change is based on
48 | // WebKit's default styles, but applicable to a wider range of browsers. Its
49 | // usability and accessibility should be taken into account with any change.
50 | //
51 | // Example usage: change the default blue border and shadow to white for better
52 | // contrast against a dark gray background.
53 | @mixin form-control-focus($color: $input-border-focus) {
54 | $color-rgba: rgba(red($color), green($color), blue($color), .6);
55 | &:focus,
56 | &.focus {
57 | border-color: $color;
58 | $shadow: 0 1px 0 $color;
59 | @include box-shadow($shadow);
60 | outline: 0;
61 | //@include box-shadow(inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px $color-rgba);
62 | }
63 | }
64 |
65 | // Form control sizing
66 | //
67 | // Relative text size, padding, and border-radii changes for form controls. For
68 | // horizontal sizing, wrap controls in the predefined grid classes. `