apx-docs-theme 0.1.7 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/footer.html +8 -9
  3. data/_includes/head.html +20 -9
  4. data/_includes/js_files.html +21 -3
  5. data/_includes/navbar.html +28 -0
  6. data/_includes/sidebar.html +43 -0
  7. data/_layouts/default.html +10 -10
  8. data/_layouts/docs.html +12 -20
  9. data/_sass/bootstrap/_alert.scss +51 -0
  10. data/_sass/bootstrap/_badge.scss +53 -0
  11. data/_sass/bootstrap/_breadcrumb.scss +41 -0
  12. data/_sass/bootstrap/_button-group.scss +163 -0
  13. data/_sass/bootstrap/_buttons.scss +73 -101
  14. data/_sass/bootstrap/_card.scss +310 -0
  15. data/_sass/bootstrap/_carousel.scss +130 -202
  16. data/_sass/bootstrap/_close.scss +23 -15
  17. data/_sass/bootstrap/_code.scss +15 -36
  18. data/_sass/bootstrap/_custom-forms.scss +507 -0
  19. data/_sass/bootstrap/_dropdown.scss +191 -0
  20. data/_sass/bootstrap/_forms.scss +215 -498
  21. data/_sass/bootstrap/_functions.scss +86 -0
  22. data/_sass/bootstrap/_grid.scss +29 -61
  23. data/_sass/bootstrap/_images.scss +42 -0
  24. data/_sass/bootstrap/_input-group.scss +193 -0
  25. data/_sass/bootstrap/_jumbotron.scss +9 -47
  26. data/_sass/bootstrap/_list-group.scss +70 -79
  27. data/_sass/bootstrap/_media.scss +3 -61
  28. data/_sass/bootstrap/_mixins.scss +19 -18
  29. data/_sass/bootstrap/_modal.scss +186 -0
  30. data/_sass/bootstrap/_nav.scss +120 -0
  31. data/_sass/bootstrap/_navbar.scss +192 -555
  32. data/_sass/bootstrap/_pagination.scss +59 -70
  33. data/_sass/bootstrap/_popover.scss +183 -0
  34. data/_sass/bootstrap/_print.scss +89 -49
  35. data/_sass/bootstrap/_progress.scss +34 -0
  36. data/_sass/bootstrap/_reboot.scss +462 -0
  37. data/_sass/bootstrap/_root.scss +19 -0
  38. data/_sass/bootstrap/_spinners.scss +53 -0
  39. data/_sass/bootstrap/_tables.scss +119 -166
  40. data/_sass/bootstrap/_toasts.scss +43 -0
  41. data/_sass/bootstrap/_tooltip.scss +93 -79
  42. data/_sass/bootstrap/_transitions.scss +22 -0
  43. data/_sass/bootstrap/_type.scss +66 -239
  44. data/_sass/bootstrap/_utilities.scss +16 -55
  45. data/_sass/bootstrap/_variables.scss +926 -709
  46. data/_sass/bootstrap/bootstrap-grid.scss +29 -0
  47. data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
  48. data/_sass/bootstrap/bootstrap.scss +44 -0
  49. data/_sass/bootstrap/mixins/_alert.scss +13 -0
  50. data/_sass/bootstrap/mixins/_background-variant.scss +14 -5
  51. data/_sass/bootstrap/mixins/_badge.scss +11 -0
  52. data/_sass/bootstrap/mixins/_border-radius.scss +25 -8
  53. data/_sass/bootstrap/mixins/_box-shadow.scss +5 -0
  54. data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
  55. data/_sass/bootstrap/mixins/_buttons.scss +86 -40
  56. data/_sass/bootstrap/mixins/_caret.scss +62 -0
  57. data/_sass/bootstrap/mixins/_clearfix.scss +3 -18
  58. data/_sass/bootstrap/mixins/_float.scss +11 -0
  59. data/_sass/bootstrap/mixins/_forms.scss +176 -66
  60. data/_sass/bootstrap/mixins/_gradients.scss +17 -30
  61. data/_sass/bootstrap/mixins/_grid-framework.scss +51 -66
  62. data/_sass/bootstrap/mixins/_grid.scss +34 -105
  63. data/_sass/bootstrap/mixins/_hover.scss +37 -0
  64. data/_sass/bootstrap/mixins/_image.scss +18 -15
  65. data/_sass/bootstrap/mixins/_list-group.scss +10 -21
  66. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  67. data/_sass/bootstrap/mixins/_nav-divider.scss +4 -4
  68. data/_sass/bootstrap/mixins/_pagination.scss +10 -12
  69. data/_sass/bootstrap/mixins/_reset-text.scss +7 -8
  70. data/_sass/bootstrap/mixins/_resize.scss +1 -1
  71. data/_sass/bootstrap/mixins/_screen-reader.scss +33 -0
  72. data/_sass/bootstrap/mixins/_size.scss +1 -5
  73. data/_sass/bootstrap/mixins/_table-row.scss +26 -15
  74. data/_sass/bootstrap/mixins/_text-emphasis.scss +7 -5
  75. data/_sass/bootstrap/mixins/_text-hide.scss +13 -0
  76. data/_sass/bootstrap/mixins/{_text-overflow.scss → _text-truncate.scss} +2 -2
  77. data/_sass/bootstrap/mixins/_transition.scss +16 -0
  78. data/_sass/bootstrap/mixins/_visibility.scss +7 -0
  79. data/_sass/bootstrap/utilities/_align.scss +8 -0
  80. data/_sass/bootstrap/utilities/_background.scss +19 -0
  81. data/_sass/bootstrap/utilities/_borders.scss +63 -0
  82. data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
  83. data/_sass/bootstrap/utilities/_display.scss +38 -0
  84. data/_sass/bootstrap/utilities/_embed.scss +39 -0
  85. data/_sass/bootstrap/utilities/_flex.scss +51 -0
  86. data/_sass/bootstrap/utilities/_float.scss +9 -0
  87. data/_sass/bootstrap/utilities/_overflow.scss +5 -0
  88. data/_sass/bootstrap/utilities/_position.scss +32 -0
  89. data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
  90. data/_sass/bootstrap/utilities/_shadows.scss +6 -0
  91. data/_sass/bootstrap/utilities/_sizing.scss +20 -0
  92. data/_sass/bootstrap/utilities/_spacing.scss +73 -0
  93. data/_sass/bootstrap/utilities/_text.scss +67 -0
  94. data/_sass/bootstrap/utilities/_visibility.scss +11 -0
  95. data/_sass/markdown/code.scss +65 -0
  96. data/_sass/markdown/color-system.scss +114 -0
  97. data/_sass/markdown/images.scss +119 -0
  98. data/_sass/markdown/markdown-body.scss +103 -0
  99. data/_sass/markdown/markdown.scss +15 -0
  100. data/_sass/rouge.scss +209 -0
  101. data/_sass/theme.scss +35 -0
  102. data/_sass/{_typeahead.scss → typeahead.scss} +0 -0
  103. data/assets/css/main.scss +1 -90
  104. data/assets/img/{bg.jpg → jumbotron.jpg} +0 -0
  105. data/assets/js/bootstrap.min.js +6 -6
  106. data/assets/js/jquery-3.3.1.min.js +2 -0
  107. data/assets/js/main.js +2 -1
  108. data/assets/js/search.json +11 -0
  109. data/assets/js/typeahead.bundle.js +2621 -0
  110. data/assets/js/typeahead.bundle.min.js +4 -4
  111. metadata +81 -50
  112. data/_includes/pages_nav.html +0 -40
  113. data/_includes/topnav.html +0 -37
  114. data/_sass/_bootstrap.scss +0 -56
  115. data/_sass/_syntax-highlighting.scss +0 -71
  116. data/_sass/bootstrap/_alerts.scss +0 -73
  117. data/_sass/bootstrap/_badges.scss +0 -68
  118. data/_sass/bootstrap/_breadcrumbs.scss +0 -28
  119. data/_sass/bootstrap/_button-groups.scss +0 -244
  120. data/_sass/bootstrap/_component-animations.scss +0 -37
  121. data/_sass/bootstrap/_dropdowns.scss +0 -216
  122. data/_sass/bootstrap/_glyphicons.scss +0 -307
  123. data/_sass/bootstrap/_input-groups.scss +0 -171
  124. data/_sass/bootstrap/_labels.scss +0 -66
  125. data/_sass/bootstrap/_modals.scss +0 -150
  126. data/_sass/bootstrap/_navs.scss +0 -242
  127. data/_sass/bootstrap/_normalize.scss +0 -424
  128. data/_sass/bootstrap/_pager.scss +0 -54
  129. data/_sass/bootstrap/_panels.scss +0 -271
  130. data/_sass/bootstrap/_popovers.scss +0 -131
  131. data/_sass/bootstrap/_progress-bars.scss +0 -87
  132. data/_sass/bootstrap/_responsive-embed.scss +0 -35
  133. data/_sass/bootstrap/_responsive-utilities.scss +0 -179
  134. data/_sass/bootstrap/_scaffolding.scss +0 -161
  135. data/_sass/bootstrap/_theme.scss +0 -291
  136. data/_sass/bootstrap/_thumbnails.scss +0 -38
  137. data/_sass/bootstrap/_wells.scss +0 -29
  138. data/_sass/bootstrap/mixins/_alerts.scss +0 -14
  139. data/_sass/bootstrap/mixins/_center-block.scss +0 -7
  140. data/_sass/bootstrap/mixins/_hide-text.scss +0 -21
  141. data/_sass/bootstrap/mixins/_labels.scss +0 -12
  142. data/_sass/bootstrap/mixins/_nav-vertical-align.scss +0 -9
  143. data/_sass/bootstrap/mixins/_opacity.scss +0 -8
  144. data/_sass/bootstrap/mixins/_panels.scss +0 -24
  145. data/_sass/bootstrap/mixins/_progress-bar.scss +0 -10
  146. data/_sass/bootstrap/mixins/_reset-filter.scss +0 -8
  147. data/_sass/bootstrap/mixins/_responsive-visibility.scss +0 -21
  148. data/_sass/bootstrap/mixins/_tab-focus.scss +0 -9
  149. data/_sass/bootstrap/mixins/_vendor-prefixes.scss +0 -222
  150. data/assets/css/font-awesome.min.css +0 -4
  151. data/assets/fonts/FontAwesome.otf +0 -0
  152. data/assets/fonts/fontawesome-webfont.eot +0 -0
  153. data/assets/fonts/fontawesome-webfont.svg +0 -2671
  154. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  155. data/assets/fonts/fontawesome-webfont.woff +0 -0
  156. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
@@ -1,35 +0,0 @@
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
- }
@@ -1,179 +0,0 @@
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
- }
@@ -1,161 +0,0 @@
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
-
152
-
153
- // iOS "clickable elements" fix for role="button"
154
- //
155
- // Fixes "clickability" issue (and more generally, the firing of events such as focus as well)
156
- // for traditionally non-focusable elements with role="button"
157
- // see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
158
-
159
- [role="button"] {
160
- cursor: pointer;
161
- }
@@ -1,291 +0,0 @@
1
- /*!
2
- * Bootstrap v3.3.7 (http://getbootstrap.com)
3
- * Copyright 2011-2016 Twitter, Inc.
4
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
- */
6
-
7
- //
8
- // Load core variables and mixins
9
- // --------------------------------------------------
10
-
11
- @import "variables";
12
- @import "mixins";
13
-
14
-
15
- //
16
- // Buttons
17
- // --------------------------------------------------
18
-
19
- // Common styles
20
- .btn-default,
21
- .btn-primary,
22
- .btn-success,
23
- .btn-info,
24
- .btn-warning,
25
- .btn-danger {
26
- text-shadow: 0 -1px 0 rgba(0,0,0,.2);
27
- $shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
28
- @include box-shadow($shadow);
29
-
30
- // Reset the shadow
31
- &:active,
32
- &.active {
33
- @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
34
- }
35
-
36
- &.disabled,
37
- &[disabled],
38
- fieldset[disabled] & {
39
- @include box-shadow(none);
40
- }
41
-
42
- .badge {
43
- text-shadow: none;
44
- }
45
- }
46
-
47
- // Mixin for generating new styles
48
- @mixin btn-styles($btn-color: #555) {
49
- @include gradient-vertical($start-color: $btn-color, $end-color: darken($btn-color, 12%));
50
- @include reset-filter; // Disable gradients for IE9 because filter bleeds through rounded corners; see https://github.com/twbs/bootstrap/issues/10620
51
- background-repeat: repeat-x;
52
- border-color: darken($btn-color, 14%);
53
-
54
- &:hover,
55
- &:focus {
56
- background-color: darken($btn-color, 12%);
57
- background-position: 0 -15px;
58
- }
59
-
60
- &:active,
61
- &.active {
62
- background-color: darken($btn-color, 12%);
63
- border-color: darken($btn-color, 14%);
64
- }
65
-
66
- &.disabled,
67
- &[disabled],
68
- fieldset[disabled] & {
69
- &,
70
- &:hover,
71
- &:focus,
72
- &.focus,
73
- &:active,
74
- &.active {
75
- background-color: darken($btn-color, 12%);
76
- background-image: none;
77
- }
78
- }
79
- }
80
-
81
- // Common styles
82
- .btn {
83
- // Remove the gradient for the pressed/active state
84
- &:active,
85
- &.active {
86
- background-image: none;
87
- }
88
- }
89
-
90
- // Apply the mixin to the buttons
91
- .btn-default { @include btn-styles($btn-default-bg); text-shadow: 0 1px 0 #fff; border-color: #ccc; }
92
- .btn-primary { @include btn-styles($btn-primary-bg); }
93
- .btn-success { @include btn-styles($btn-success-bg); }
94
- .btn-info { @include btn-styles($btn-info-bg); }
95
- .btn-warning { @include btn-styles($btn-warning-bg); }
96
- .btn-danger { @include btn-styles($btn-danger-bg); }
97
-
98
-
99
- //
100
- // Images
101
- // --------------------------------------------------
102
-
103
- .thumbnail,
104
- .img-thumbnail {
105
- @include box-shadow(0 1px 2px rgba(0,0,0,.075));
106
- }
107
-
108
-
109
- //
110
- // Dropdowns
111
- // --------------------------------------------------
112
-
113
- .dropdown-menu > li > a:hover,
114
- .dropdown-menu > li > a:focus {
115
- @include gradient-vertical($start-color: $dropdown-link-hover-bg, $end-color: darken($dropdown-link-hover-bg, 5%));
116
- background-color: darken($dropdown-link-hover-bg, 5%);
117
- }
118
- .dropdown-menu > .active > a,
119
- .dropdown-menu > .active > a:hover,
120
- .dropdown-menu > .active > a:focus {
121
- @include gradient-vertical($start-color: $dropdown-link-active-bg, $end-color: darken($dropdown-link-active-bg, 5%));
122
- background-color: darken($dropdown-link-active-bg, 5%);
123
- }
124
-
125
-
126
- //
127
- // Navbar
128
- // --------------------------------------------------
129
-
130
- // Default navbar
131
- .navbar-default {
132
- @include gradient-vertical($start-color: lighten($navbar-default-bg, 10%), $end-color: $navbar-default-bg);
133
- @include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
134
- border-radius: $navbar-border-radius;
135
- $shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
136
- @include box-shadow($shadow);
137
-
138
- .navbar-nav > .open > a,
139
- .navbar-nav > .active > a {
140
- @include gradient-vertical($start-color: darken($navbar-default-link-active-bg, 5%), $end-color: darken($navbar-default-link-active-bg, 2%));
141
- @include box-shadow(inset 0 3px 9px rgba(0,0,0,.075));
142
- }
143
- }
144
- .navbar-brand,
145
- .navbar-nav > li > a {
146
- text-shadow: 0 1px 0 rgba(255,255,255,.25);
147
- }
148
-
149
- // Inverted navbar
150
- .navbar-inverse {
151
- @include gradient-vertical($start-color: lighten($navbar-inverse-bg, 10%), $end-color: $navbar-inverse-bg);
152
- @include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered; see https://github.com/twbs/bootstrap/issues/10257
153
- border-radius: $navbar-border-radius;
154
- .navbar-nav > .open > a,
155
- .navbar-nav > .active > a {
156
- @include gradient-vertical($start-color: $navbar-inverse-link-active-bg, $end-color: lighten($navbar-inverse-link-active-bg, 2.5%));
157
- @include box-shadow(inset 0 3px 9px rgba(0,0,0,.25));
158
- }
159
-
160
- .navbar-brand,
161
- .navbar-nav > li > a {
162
- text-shadow: 0 -1px 0 rgba(0,0,0,.25);
163
- }
164
- }
165
-
166
- // Undo rounded corners in static and fixed navbars
167
- .navbar-static-top,
168
- .navbar-fixed-top,
169
- .navbar-fixed-bottom {
170
- border-radius: 0;
171
- }
172
-
173
- // Fix active state of dropdown items in collapsed mode
174
- @media (max-width: $grid-float-breakpoint-max) {
175
- .navbar .navbar-nav .open .dropdown-menu > .active > a {
176
- &,
177
- &:hover,
178
- &:focus {
179
- color: #fff;
180
- @include gradient-vertical($start-color: $dropdown-link-active-bg, $end-color: darken($dropdown-link-active-bg, 5%));
181
- }
182
- }
183
- }
184
-
185
-
186
- //
187
- // Alerts
188
- // --------------------------------------------------
189
-
190
- // Common styles
191
- .alert {
192
- text-shadow: 0 1px 0 rgba(255,255,255,.2);
193
- $shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05);
194
- @include box-shadow($shadow);
195
- }
196
-
197
- // Mixin for generating new styles
198
- @mixin alert-styles($color) {
199
- @include gradient-vertical($start-color: $color, $end-color: darken($color, 7.5%));
200
- border-color: darken($color, 15%);
201
- }
202
-
203
- // Apply the mixin to the alerts
204
- .alert-success { @include alert-styles($alert-success-bg); }
205
- .alert-info { @include alert-styles($alert-info-bg); }
206
- .alert-warning { @include alert-styles($alert-warning-bg); }
207
- .alert-danger { @include alert-styles($alert-danger-bg); }
208
-
209
-
210
- //
211
- // Progress bars
212
- // --------------------------------------------------
213
-
214
- // Give the progress background some depth
215
- .progress {
216
- @include gradient-vertical($start-color: darken($progress-bg, 4%), $end-color: $progress-bg)
217
- }
218
-
219
- // Mixin for generating new styles
220
- @mixin progress-bar-styles($color) {
221
- @include gradient-vertical($start-color: $color, $end-color: darken($color, 10%));
222
- }
223
-
224
- // Apply the mixin to the progress bars
225
- .progress-bar { @include progress-bar-styles($progress-bar-bg); }
226
- .progress-bar-success { @include progress-bar-styles($progress-bar-success-bg); }
227
- .progress-bar-info { @include progress-bar-styles($progress-bar-info-bg); }
228
- .progress-bar-warning { @include progress-bar-styles($progress-bar-warning-bg); }
229
- .progress-bar-danger { @include progress-bar-styles($progress-bar-danger-bg); }
230
-
231
- // Reset the striped class because our mixins don't do multiple gradients and
232
- // the above custom styles override the new `.progress-bar-striped` in v3.2.0.
233
- .progress-bar-striped {
234
- @include gradient-striped;
235
- }
236
-
237
-
238
- //
239
- // List groups
240
- // --------------------------------------------------
241
-
242
- .list-group {
243
- border-radius: $border-radius-base;
244
- @include box-shadow(0 1px 2px rgba(0,0,0,.075));
245
- }
246
- .list-group-item.active,
247
- .list-group-item.active:hover,
248
- .list-group-item.active:focus {
249
- text-shadow: 0 -1px 0 darken($list-group-active-bg, 10%);
250
- @include gradient-vertical($start-color: $list-group-active-bg, $end-color: darken($list-group-active-bg, 7.5%));
251
- border-color: darken($list-group-active-border, 7.5%);
252
-
253
- .badge {
254
- text-shadow: none;
255
- }
256
- }
257
-
258
-
259
- //
260
- // Panels
261
- // --------------------------------------------------
262
-
263
- // Common styles
264
- .panel {
265
- @include box-shadow(0 1px 2px rgba(0,0,0,.05));
266
- }
267
-
268
- // Mixin for generating new styles
269
- @mixin panel-heading-styles($color) {
270
- @include gradient-vertical($start-color: $color, $end-color: darken($color, 5%));
271
- }
272
-
273
- // Apply the mixin to the panel headings only
274
- .panel-default > .panel-heading { @include panel-heading-styles($panel-default-heading-bg); }
275
- .panel-primary > .panel-heading { @include panel-heading-styles($panel-primary-heading-bg); }
276
- .panel-success > .panel-heading { @include panel-heading-styles($panel-success-heading-bg); }
277
- .panel-info > .panel-heading { @include panel-heading-styles($panel-info-heading-bg); }
278
- .panel-warning > .panel-heading { @include panel-heading-styles($panel-warning-heading-bg); }
279
- .panel-danger > .panel-heading { @include panel-heading-styles($panel-danger-heading-bg); }
280
-
281
-
282
- //
283
- // Wells
284
- // --------------------------------------------------
285
-
286
- .well {
287
- @include gradient-vertical($start-color: darken($well-bg, 5%), $end-color: $well-bg);
288
- border-color: darken($well-bg, 10%);
289
- $shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);
290
- @include box-shadow($shadow);
291
- }