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.
- checksums.yaml +4 -4
- data/_includes/footer.html +8 -9
- data/_includes/head.html +20 -9
- data/_includes/js_files.html +21 -3
- data/_includes/navbar.html +28 -0
- data/_includes/sidebar.html +43 -0
- data/_layouts/default.html +10 -10
- data/_layouts/docs.html +12 -20
- data/_sass/bootstrap/_alert.scss +51 -0
- data/_sass/bootstrap/_badge.scss +53 -0
- data/_sass/bootstrap/_breadcrumb.scss +41 -0
- data/_sass/bootstrap/_button-group.scss +163 -0
- data/_sass/bootstrap/_buttons.scss +73 -101
- data/_sass/bootstrap/_card.scss +310 -0
- data/_sass/bootstrap/_carousel.scss +130 -202
- data/_sass/bootstrap/_close.scss +23 -15
- data/_sass/bootstrap/_code.scss +15 -36
- data/_sass/bootstrap/_custom-forms.scss +507 -0
- data/_sass/bootstrap/_dropdown.scss +191 -0
- data/_sass/bootstrap/_forms.scss +215 -498
- data/_sass/bootstrap/_functions.scss +86 -0
- data/_sass/bootstrap/_grid.scss +29 -61
- data/_sass/bootstrap/_images.scss +42 -0
- data/_sass/bootstrap/_input-group.scss +193 -0
- data/_sass/bootstrap/_jumbotron.scss +9 -47
- data/_sass/bootstrap/_list-group.scss +70 -79
- data/_sass/bootstrap/_media.scss +3 -61
- data/_sass/bootstrap/_mixins.scss +19 -18
- data/_sass/bootstrap/_modal.scss +186 -0
- data/_sass/bootstrap/_nav.scss +120 -0
- data/_sass/bootstrap/_navbar.scss +192 -555
- data/_sass/bootstrap/_pagination.scss +59 -70
- data/_sass/bootstrap/_popover.scss +183 -0
- data/_sass/bootstrap/_print.scss +89 -49
- data/_sass/bootstrap/_progress.scss +34 -0
- data/_sass/bootstrap/_reboot.scss +462 -0
- data/_sass/bootstrap/_root.scss +19 -0
- data/_sass/bootstrap/_spinners.scss +53 -0
- data/_sass/bootstrap/_tables.scss +119 -166
- data/_sass/bootstrap/_toasts.scss +43 -0
- data/_sass/bootstrap/_tooltip.scss +93 -79
- data/_sass/bootstrap/_transitions.scss +22 -0
- data/_sass/bootstrap/_type.scss +66 -239
- data/_sass/bootstrap/_utilities.scss +16 -55
- data/_sass/bootstrap/_variables.scss +926 -709
- data/_sass/bootstrap/bootstrap-grid.scss +29 -0
- data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
- data/_sass/bootstrap/bootstrap.scss +44 -0
- data/_sass/bootstrap/mixins/_alert.scss +13 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +14 -5
- data/_sass/bootstrap/mixins/_badge.scss +11 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +25 -8
- data/_sass/bootstrap/mixins/_box-shadow.scss +5 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
- data/_sass/bootstrap/mixins/_buttons.scss +86 -40
- data/_sass/bootstrap/mixins/_caret.scss +62 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +3 -18
- data/_sass/bootstrap/mixins/_float.scss +11 -0
- data/_sass/bootstrap/mixins/_forms.scss +176 -66
- data/_sass/bootstrap/mixins/_gradients.scss +17 -30
- data/_sass/bootstrap/mixins/_grid-framework.scss +51 -66
- data/_sass/bootstrap/mixins/_grid.scss +34 -105
- data/_sass/bootstrap/mixins/_hover.scss +37 -0
- data/_sass/bootstrap/mixins/_image.scss +18 -15
- data/_sass/bootstrap/mixins/_list-group.scss +10 -21
- data/_sass/bootstrap/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/mixins/_nav-divider.scss +4 -4
- data/_sass/bootstrap/mixins/_pagination.scss +10 -12
- data/_sass/bootstrap/mixins/_reset-text.scss +7 -8
- data/_sass/bootstrap/mixins/_resize.scss +1 -1
- data/_sass/bootstrap/mixins/_screen-reader.scss +33 -0
- data/_sass/bootstrap/mixins/_size.scss +1 -5
- data/_sass/bootstrap/mixins/_table-row.scss +26 -15
- data/_sass/bootstrap/mixins/_text-emphasis.scss +7 -5
- data/_sass/bootstrap/mixins/_text-hide.scss +13 -0
- data/_sass/bootstrap/mixins/{_text-overflow.scss → _text-truncate.scss} +2 -2
- data/_sass/bootstrap/mixins/_transition.scss +16 -0
- data/_sass/bootstrap/mixins/_visibility.scss +7 -0
- data/_sass/bootstrap/utilities/_align.scss +8 -0
- data/_sass/bootstrap/utilities/_background.scss +19 -0
- data/_sass/bootstrap/utilities/_borders.scss +63 -0
- data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
- data/_sass/bootstrap/utilities/_display.scss +38 -0
- data/_sass/bootstrap/utilities/_embed.scss +39 -0
- data/_sass/bootstrap/utilities/_flex.scss +51 -0
- data/_sass/bootstrap/utilities/_float.scss +9 -0
- data/_sass/bootstrap/utilities/_overflow.scss +5 -0
- data/_sass/bootstrap/utilities/_position.scss +32 -0
- data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
- data/_sass/bootstrap/utilities/_shadows.scss +6 -0
- data/_sass/bootstrap/utilities/_sizing.scss +20 -0
- data/_sass/bootstrap/utilities/_spacing.scss +73 -0
- data/_sass/bootstrap/utilities/_text.scss +67 -0
- data/_sass/bootstrap/utilities/_visibility.scss +11 -0
- data/_sass/markdown/code.scss +65 -0
- data/_sass/markdown/color-system.scss +114 -0
- data/_sass/markdown/images.scss +119 -0
- data/_sass/markdown/markdown-body.scss +103 -0
- data/_sass/markdown/markdown.scss +15 -0
- data/_sass/rouge.scss +209 -0
- data/_sass/theme.scss +35 -0
- data/_sass/{_typeahead.scss → typeahead.scss} +0 -0
- data/assets/css/main.scss +1 -90
- data/assets/img/{bg.jpg → jumbotron.jpg} +0 -0
- data/assets/js/bootstrap.min.js +6 -6
- data/assets/js/jquery-3.3.1.min.js +2 -0
- data/assets/js/main.js +2 -1
- data/assets/js/search.json +11 -0
- data/assets/js/typeahead.bundle.js +2621 -0
- data/assets/js/typeahead.bundle.min.js +4 -4
- metadata +81 -50
- data/_includes/pages_nav.html +0 -40
- data/_includes/topnav.html +0 -37
- data/_sass/_bootstrap.scss +0 -56
- data/_sass/_syntax-highlighting.scss +0 -71
- data/_sass/bootstrap/_alerts.scss +0 -73
- data/_sass/bootstrap/_badges.scss +0 -68
- data/_sass/bootstrap/_breadcrumbs.scss +0 -28
- data/_sass/bootstrap/_button-groups.scss +0 -244
- data/_sass/bootstrap/_component-animations.scss +0 -37
- data/_sass/bootstrap/_dropdowns.scss +0 -216
- data/_sass/bootstrap/_glyphicons.scss +0 -307
- data/_sass/bootstrap/_input-groups.scss +0 -171
- data/_sass/bootstrap/_labels.scss +0 -66
- data/_sass/bootstrap/_modals.scss +0 -150
- data/_sass/bootstrap/_navs.scss +0 -242
- data/_sass/bootstrap/_normalize.scss +0 -424
- data/_sass/bootstrap/_pager.scss +0 -54
- data/_sass/bootstrap/_panels.scss +0 -271
- data/_sass/bootstrap/_popovers.scss +0 -131
- data/_sass/bootstrap/_progress-bars.scss +0 -87
- data/_sass/bootstrap/_responsive-embed.scss +0 -35
- data/_sass/bootstrap/_responsive-utilities.scss +0 -179
- data/_sass/bootstrap/_scaffolding.scss +0 -161
- data/_sass/bootstrap/_theme.scss +0 -291
- data/_sass/bootstrap/_thumbnails.scss +0 -38
- data/_sass/bootstrap/_wells.scss +0 -29
- data/_sass/bootstrap/mixins/_alerts.scss +0 -14
- data/_sass/bootstrap/mixins/_center-block.scss +0 -7
- data/_sass/bootstrap/mixins/_hide-text.scss +0 -21
- data/_sass/bootstrap/mixins/_labels.scss +0 -12
- data/_sass/bootstrap/mixins/_nav-vertical-align.scss +0 -9
- data/_sass/bootstrap/mixins/_opacity.scss +0 -8
- data/_sass/bootstrap/mixins/_panels.scss +0 -24
- data/_sass/bootstrap/mixins/_progress-bar.scss +0 -10
- data/_sass/bootstrap/mixins/_reset-filter.scss +0 -8
- data/_sass/bootstrap/mixins/_responsive-visibility.scss +0 -21
- data/_sass/bootstrap/mixins/_tab-focus.scss +0 -9
- data/_sass/bootstrap/mixins/_vendor-prefixes.scss +0 -222
- data/assets/css/font-awesome.min.css +0 -4
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +0 -2671
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Labels
|
|
3
|
-
// --------------------------------------------------
|
|
4
|
-
|
|
5
|
-
.label {
|
|
6
|
-
display: inline;
|
|
7
|
-
padding: .2em .6em .3em;
|
|
8
|
-
font-size: 75%;
|
|
9
|
-
font-weight: bold;
|
|
10
|
-
line-height: 1;
|
|
11
|
-
color: $label-color;
|
|
12
|
-
text-align: center;
|
|
13
|
-
white-space: nowrap;
|
|
14
|
-
vertical-align: baseline;
|
|
15
|
-
border-radius: .25em;
|
|
16
|
-
|
|
17
|
-
// [converter] extracted a& to a.label
|
|
18
|
-
|
|
19
|
-
// Empty labels collapse automatically (not available in IE8)
|
|
20
|
-
&:empty {
|
|
21
|
-
display: none;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// Quick fix for labels in buttons
|
|
25
|
-
.btn & {
|
|
26
|
-
position: relative;
|
|
27
|
-
top: -1px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// Add hover effects, but only for links
|
|
32
|
-
a.label {
|
|
33
|
-
&:hover,
|
|
34
|
-
&:focus {
|
|
35
|
-
color: $label-link-hover-color;
|
|
36
|
-
text-decoration: none;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// Colors
|
|
42
|
-
// Contextual variations (linked labels get darker on :hover)
|
|
43
|
-
|
|
44
|
-
.label-default {
|
|
45
|
-
@include label-variant($label-default-bg);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.label-primary {
|
|
49
|
-
@include label-variant($label-primary-bg);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.label-success {
|
|
53
|
-
@include label-variant($label-success-bg);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.label-info {
|
|
57
|
-
@include label-variant($label-info-bg);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.label-warning {
|
|
61
|
-
@include label-variant($label-warning-bg);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.label-danger {
|
|
65
|
-
@include label-variant($label-danger-bg);
|
|
66
|
-
}
|
|
@@ -1,150 +0,0 @@
|
|
|
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
|
-
}
|
data/_sass/bootstrap/_navs.scss
DELETED
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Navs
|
|
3
|
-
// --------------------------------------------------
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// Base class
|
|
7
|
-
// --------------------------------------------------
|
|
8
|
-
|
|
9
|
-
.nav {
|
|
10
|
-
margin-bottom: 0;
|
|
11
|
-
padding-left: 0; // Override default ul/ol
|
|
12
|
-
list-style: none;
|
|
13
|
-
@include clearfix;
|
|
14
|
-
|
|
15
|
-
> li {
|
|
16
|
-
position: relative;
|
|
17
|
-
display: block;
|
|
18
|
-
|
|
19
|
-
> a {
|
|
20
|
-
position: relative;
|
|
21
|
-
display: block;
|
|
22
|
-
padding: $nav-link-padding;
|
|
23
|
-
&:hover,
|
|
24
|
-
&:focus {
|
|
25
|
-
text-decoration: none;
|
|
26
|
-
background-color: $nav-link-hover-bg;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// Disabled state sets text to gray and nukes hover/tab effects
|
|
31
|
-
&.disabled > a {
|
|
32
|
-
color: $nav-disabled-link-color;
|
|
33
|
-
|
|
34
|
-
&:hover,
|
|
35
|
-
&:focus {
|
|
36
|
-
color: $nav-disabled-link-hover-color;
|
|
37
|
-
text-decoration: none;
|
|
38
|
-
background-color: transparent;
|
|
39
|
-
cursor: $cursor-disabled;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// Open dropdowns
|
|
45
|
-
.open > a {
|
|
46
|
-
&,
|
|
47
|
-
&:hover,
|
|
48
|
-
&:focus {
|
|
49
|
-
background-color: $nav-link-hover-bg;
|
|
50
|
-
border-color: $link-color;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// Nav dividers (deprecated with v3.0.1)
|
|
55
|
-
//
|
|
56
|
-
// This should have been removed in v3 with the dropping of `.nav-list`, but
|
|
57
|
-
// we missed it. We don't currently support this anywhere, but in the interest
|
|
58
|
-
// of maintaining backward compatibility in case you use it, it's deprecated.
|
|
59
|
-
.nav-divider {
|
|
60
|
-
@include nav-divider;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Prevent IE8 from misplacing imgs
|
|
64
|
-
//
|
|
65
|
-
// See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
|
|
66
|
-
> li > a > img {
|
|
67
|
-
max-width: none;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
// Tabs
|
|
73
|
-
// -------------------------
|
|
74
|
-
|
|
75
|
-
// Give the tabs something to sit on
|
|
76
|
-
.nav-tabs {
|
|
77
|
-
border-bottom: 1px solid $nav-tabs-border-color;
|
|
78
|
-
> li {
|
|
79
|
-
float: left;
|
|
80
|
-
// Make the list-items overlay the bottom border
|
|
81
|
-
margin-bottom: -1px;
|
|
82
|
-
|
|
83
|
-
// Actual tabs (as links)
|
|
84
|
-
> a {
|
|
85
|
-
margin-right: 2px;
|
|
86
|
-
line-height: $line-height-base;
|
|
87
|
-
border: 1px solid transparent;
|
|
88
|
-
border-radius: $border-radius-base $border-radius-base 0 0;
|
|
89
|
-
&:hover {
|
|
90
|
-
border-color: $nav-tabs-link-hover-border-color $nav-tabs-link-hover-border-color $nav-tabs-border-color;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Active state, and its :hover to override normal :hover
|
|
95
|
-
&.active > a {
|
|
96
|
-
&,
|
|
97
|
-
&:hover,
|
|
98
|
-
&:focus {
|
|
99
|
-
color: $nav-tabs-active-link-hover-color;
|
|
100
|
-
background-color: $nav-tabs-active-link-hover-bg;
|
|
101
|
-
border: 1px solid $nav-tabs-active-link-hover-border-color;
|
|
102
|
-
border-bottom-color: transparent;
|
|
103
|
-
cursor: default;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
// pulling this in mainly for less shorthand
|
|
108
|
-
&.nav-justified {
|
|
109
|
-
@extend .nav-justified;
|
|
110
|
-
@extend .nav-tabs-justified;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
// Pills
|
|
116
|
-
// -------------------------
|
|
117
|
-
.nav-pills {
|
|
118
|
-
> li {
|
|
119
|
-
float: left;
|
|
120
|
-
|
|
121
|
-
// Links rendered as pills
|
|
122
|
-
> a {
|
|
123
|
-
border-radius: $nav-pills-border-radius;
|
|
124
|
-
}
|
|
125
|
-
+ li {
|
|
126
|
-
margin-left: 2px;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
// Active state
|
|
130
|
-
&.active > a {
|
|
131
|
-
&,
|
|
132
|
-
&:hover,
|
|
133
|
-
&:focus {
|
|
134
|
-
color: $nav-pills-active-link-hover-color;
|
|
135
|
-
background-color: $nav-pills-active-link-hover-bg;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
// Stacked pills
|
|
143
|
-
.nav-stacked {
|
|
144
|
-
> li {
|
|
145
|
-
float: none;
|
|
146
|
-
+ li {
|
|
147
|
-
margin-top: 2px;
|
|
148
|
-
margin-left: 0; // no need for this gap between nav items
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
// Nav variations
|
|
155
|
-
// --------------------------------------------------
|
|
156
|
-
|
|
157
|
-
// Justified nav links
|
|
158
|
-
// -------------------------
|
|
159
|
-
|
|
160
|
-
.nav-justified {
|
|
161
|
-
width: 100%;
|
|
162
|
-
|
|
163
|
-
> li {
|
|
164
|
-
float: none;
|
|
165
|
-
> a {
|
|
166
|
-
text-align: center;
|
|
167
|
-
margin-bottom: 5px;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
> .dropdown .dropdown-menu {
|
|
172
|
-
top: auto;
|
|
173
|
-
left: auto;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
@media (min-width: $screen-sm-min) {
|
|
177
|
-
> li {
|
|
178
|
-
display: table-cell;
|
|
179
|
-
width: 1%;
|
|
180
|
-
> a {
|
|
181
|
-
margin-bottom: 0;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
// Move borders to anchors instead of bottom of list
|
|
188
|
-
//
|
|
189
|
-
// Mixin for adding on top the shared `.nav-justified` styles for our tabs
|
|
190
|
-
.nav-tabs-justified {
|
|
191
|
-
border-bottom: 0;
|
|
192
|
-
|
|
193
|
-
> li > a {
|
|
194
|
-
// Override margin from .nav-tabs
|
|
195
|
-
margin-right: 0;
|
|
196
|
-
border-radius: $border-radius-base;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
> .active > a,
|
|
200
|
-
> .active > a:hover,
|
|
201
|
-
> .active > a:focus {
|
|
202
|
-
border: 1px solid $nav-tabs-justified-link-border-color;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
@media (min-width: $screen-sm-min) {
|
|
206
|
-
> li > a {
|
|
207
|
-
border-bottom: 1px solid $nav-tabs-justified-link-border-color;
|
|
208
|
-
border-radius: $border-radius-base $border-radius-base 0 0;
|
|
209
|
-
}
|
|
210
|
-
> .active > a,
|
|
211
|
-
> .active > a:hover,
|
|
212
|
-
> .active > a:focus {
|
|
213
|
-
border-bottom-color: $nav-tabs-justified-active-link-border-color;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
// Tabbable tabs
|
|
220
|
-
// -------------------------
|
|
221
|
-
|
|
222
|
-
// Hide tabbable panes to start, show them when `.active`
|
|
223
|
-
.tab-content {
|
|
224
|
-
> .tab-pane {
|
|
225
|
-
display: none;
|
|
226
|
-
}
|
|
227
|
-
> .active {
|
|
228
|
-
display: block;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
// Dropdowns
|
|
234
|
-
// -------------------------
|
|
235
|
-
|
|
236
|
-
// Specific dropdowns
|
|
237
|
-
.nav-tabs .dropdown-menu {
|
|
238
|
-
// make dropdown border overlap tab border
|
|
239
|
-
margin-top: -1px;
|
|
240
|
-
// Remove the top rounded corners here since there is a hard edge above the menu
|
|
241
|
-
@include border-top-radius(0);
|
|
242
|
-
}
|