api_taster 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/api_taster.gemspec +3 -3
- data/lib/api_taster.rb +1 -1
- data/lib/api_taster/engine.rb +2 -0
- data/lib/api_taster/version.rb +1 -1
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/bootstrap-affix.js +117 -0
- data/vendor/assets/javascripts/bootstrap-alert.js +99 -0
- data/vendor/assets/javascripts/bootstrap-button.js +105 -0
- data/vendor/assets/javascripts/bootstrap-carousel.js +207 -0
- data/vendor/assets/javascripts/bootstrap-collapse.js +167 -0
- data/vendor/assets/javascripts/bootstrap-dropdown.js +169 -0
- data/vendor/assets/javascripts/bootstrap-modal.js +247 -0
- data/vendor/assets/javascripts/bootstrap-popover.js +114 -0
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +162 -0
- data/vendor/assets/javascripts/bootstrap-tab.js +144 -0
- data/vendor/assets/javascripts/bootstrap-tooltip.js +361 -0
- data/vendor/assets/javascripts/bootstrap-transition.js +60 -0
- data/vendor/assets/javascripts/bootstrap-typeahead.js +335 -0
- data/vendor/assets/javascripts/bootstrap.js +13 -0
- data/vendor/assets/stylesheets/bootstrap-responsive.scss +1 -0
- data/vendor/assets/stylesheets/bootstrap.scss +1 -0
- data/vendor/assets/stylesheets/bootstrap/_accordion.scss +34 -0
- data/vendor/assets/stylesheets/bootstrap/_alerts.scss +79 -0
- data/vendor/assets/stylesheets/bootstrap/_breadcrumbs.scss +24 -0
- data/vendor/assets/stylesheets/bootstrap/_button-groups.scss +229 -0
- data/vendor/assets/stylesheets/bootstrap/_buttons.scss +228 -0
- data/vendor/assets/stylesheets/bootstrap/_carousel.scss +158 -0
- data/vendor/assets/stylesheets/bootstrap/_close.scss +32 -0
- data/vendor/assets/stylesheets/bootstrap/_code.scss +61 -0
- data/vendor/assets/stylesheets/bootstrap/_component-animations.scss +22 -0
- data/vendor/assets/stylesheets/bootstrap/_dropdowns.scss +248 -0
- data/vendor/assets/stylesheets/bootstrap/_forms.scss +689 -0
- data/vendor/assets/stylesheets/bootstrap/_grid.scss +21 -0
- data/vendor/assets/stylesheets/bootstrap/_hero-unit.scss +25 -0
- data/vendor/assets/stylesheets/bootstrap/_labels-badges.scss +83 -0
- data/vendor/assets/stylesheets/bootstrap/_layouts.scss +16 -0
- data/vendor/assets/stylesheets/bootstrap/_media.scss +55 -0
- data/vendor/assets/stylesheets/bootstrap/_mixins.scss +696 -0
- data/vendor/assets/stylesheets/bootstrap/_modals.scss +95 -0
- data/vendor/assets/stylesheets/bootstrap/_navbar.scss +497 -0
- data/vendor/assets/stylesheets/bootstrap/_navs.scss +409 -0
- data/vendor/assets/stylesheets/bootstrap/_pager.scss +43 -0
- data/vendor/assets/stylesheets/bootstrap/_pagination.scss +123 -0
- data/vendor/assets/stylesheets/bootstrap/_popovers.scss +133 -0
- data/vendor/assets/stylesheets/bootstrap/_progress-bars.scss +122 -0
- data/vendor/assets/stylesheets/bootstrap/_reset.scss +216 -0
- data/vendor/assets/stylesheets/bootstrap/_responsive-1200px-min.scss +28 -0
- data/vendor/assets/stylesheets/bootstrap/_responsive-767px-max.scss +193 -0
- data/vendor/assets/stylesheets/bootstrap/_responsive-768px-979px.scss +19 -0
- data/vendor/assets/stylesheets/bootstrap/_responsive-navbar.scss +189 -0
- data/vendor/assets/stylesheets/bootstrap/_responsive-utilities.scss +74 -0
- data/vendor/assets/stylesheets/bootstrap/_scaffolding.scss +53 -0
- data/vendor/assets/stylesheets/bootstrap/_sprites.scss +197 -0
- data/vendor/assets/stylesheets/bootstrap/_tables.scss +235 -0
- data/vendor/assets/stylesheets/bootstrap/_thumbnails.scss +53 -0
- data/vendor/assets/stylesheets/bootstrap/_tooltip.scss +70 -0
- data/vendor/assets/stylesheets/bootstrap/_type.scss +247 -0
- data/vendor/assets/stylesheets/bootstrap/_utilities.scss +45 -0
- data/vendor/assets/stylesheets/bootstrap/_variables.scss +301 -0
- data/vendor/assets/stylesheets/bootstrap/_wells.scss +29 -0
- data/vendor/assets/stylesheets/bootstrap/bootstrap.scss +63 -0
- data/vendor/assets/stylesheets/bootstrap/responsive.scss +48 -0
- metadata +63 -16
@@ -0,0 +1,158 @@
|
|
1
|
+
//
|
2
|
+
// Carousel
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.carousel {
|
7
|
+
position: relative;
|
8
|
+
margin-bottom: $baseLineHeight;
|
9
|
+
line-height: 1;
|
10
|
+
}
|
11
|
+
|
12
|
+
.carousel-inner {
|
13
|
+
overflow: hidden;
|
14
|
+
width: 100%;
|
15
|
+
position: relative;
|
16
|
+
}
|
17
|
+
|
18
|
+
.carousel-inner {
|
19
|
+
|
20
|
+
> .item {
|
21
|
+
display: none;
|
22
|
+
position: relative;
|
23
|
+
@include transition(.6s ease-in-out left);
|
24
|
+
|
25
|
+
// Account for jankitude on images
|
26
|
+
> img,
|
27
|
+
> a > img {
|
28
|
+
display: block;
|
29
|
+
line-height: 1;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
> .active,
|
34
|
+
> .next,
|
35
|
+
> .prev { display: block; }
|
36
|
+
|
37
|
+
> .active {
|
38
|
+
left: 0;
|
39
|
+
}
|
40
|
+
|
41
|
+
> .next,
|
42
|
+
> .prev {
|
43
|
+
position: absolute;
|
44
|
+
top: 0;
|
45
|
+
width: 100%;
|
46
|
+
}
|
47
|
+
|
48
|
+
> .next {
|
49
|
+
left: 100%;
|
50
|
+
}
|
51
|
+
> .prev {
|
52
|
+
left: -100%;
|
53
|
+
}
|
54
|
+
> .next.left,
|
55
|
+
> .prev.right {
|
56
|
+
left: 0;
|
57
|
+
}
|
58
|
+
|
59
|
+
> .active.left {
|
60
|
+
left: -100%;
|
61
|
+
}
|
62
|
+
> .active.right {
|
63
|
+
left: 100%;
|
64
|
+
}
|
65
|
+
|
66
|
+
}
|
67
|
+
|
68
|
+
// Left/right controls for nav
|
69
|
+
// ---------------------------
|
70
|
+
|
71
|
+
.carousel-control {
|
72
|
+
position: absolute;
|
73
|
+
top: 40%;
|
74
|
+
left: 15px;
|
75
|
+
width: 40px;
|
76
|
+
height: 40px;
|
77
|
+
margin-top: -20px;
|
78
|
+
font-size: 60px;
|
79
|
+
font-weight: 100;
|
80
|
+
line-height: 30px;
|
81
|
+
color: $white;
|
82
|
+
text-align: center;
|
83
|
+
background: $grayDarker;
|
84
|
+
border: 3px solid $white;
|
85
|
+
@include border-radius(23px);
|
86
|
+
@include opacity(50);
|
87
|
+
|
88
|
+
// we can't have this transition here
|
89
|
+
// because webkit cancels the carousel
|
90
|
+
// animation if you trip this while
|
91
|
+
// in the middle of another animation
|
92
|
+
// ;_;
|
93
|
+
// .transition(opacity .2s linear);
|
94
|
+
|
95
|
+
// Reposition the right one
|
96
|
+
&.right {
|
97
|
+
left: auto;
|
98
|
+
right: 15px;
|
99
|
+
}
|
100
|
+
|
101
|
+
// Hover/focus state
|
102
|
+
&:hover,
|
103
|
+
&:focus {
|
104
|
+
color: $white;
|
105
|
+
text-decoration: none;
|
106
|
+
@include opacity(90);
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
// Carousel indicator pips
|
111
|
+
// -----------------------------
|
112
|
+
.carousel-indicators {
|
113
|
+
position: absolute;
|
114
|
+
top: 15px;
|
115
|
+
right: 15px;
|
116
|
+
z-index: 5;
|
117
|
+
margin: 0;
|
118
|
+
list-style: none;
|
119
|
+
|
120
|
+
li {
|
121
|
+
display: block;
|
122
|
+
float: left;
|
123
|
+
width: 10px;
|
124
|
+
height: 10px;
|
125
|
+
margin-left: 5px;
|
126
|
+
text-indent: -999px;
|
127
|
+
background-color: #ccc;
|
128
|
+
background-color: rgba(255,255,255,.25);
|
129
|
+
border-radius: 5px;
|
130
|
+
}
|
131
|
+
.active {
|
132
|
+
background-color: #fff;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
// Caption for text below images
|
137
|
+
// -----------------------------
|
138
|
+
|
139
|
+
.carousel-caption {
|
140
|
+
position: absolute;
|
141
|
+
left: 0;
|
142
|
+
right: 0;
|
143
|
+
bottom: 0;
|
144
|
+
padding: 15px;
|
145
|
+
background: $grayDark;
|
146
|
+
background: rgba(0,0,0,.75);
|
147
|
+
}
|
148
|
+
.carousel-caption h4,
|
149
|
+
.carousel-caption p {
|
150
|
+
color: $white;
|
151
|
+
line-height: $baseLineHeight;
|
152
|
+
}
|
153
|
+
.carousel-caption h4 {
|
154
|
+
margin: 0 0 5px;
|
155
|
+
}
|
156
|
+
.carousel-caption p {
|
157
|
+
margin-bottom: 0;
|
158
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
//
|
2
|
+
// Close icons
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.close {
|
7
|
+
float: right;
|
8
|
+
font-size: 20px;
|
9
|
+
font-weight: bold;
|
10
|
+
line-height: $baseLineHeight;
|
11
|
+
color: $black;
|
12
|
+
text-shadow: 0 1px 0 rgba(255,255,255,1);
|
13
|
+
@include opacity(20);
|
14
|
+
&:hover,
|
15
|
+
&:focus {
|
16
|
+
color: $black;
|
17
|
+
text-decoration: none;
|
18
|
+
cursor: pointer;
|
19
|
+
@include opacity(40);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
// Additional properties for button version
|
24
|
+
// iOS requires the button element instead of an anchor tag.
|
25
|
+
// If you want the anchor version, it requires `href="#"`.
|
26
|
+
button.close {
|
27
|
+
padding: 0;
|
28
|
+
cursor: pointer;
|
29
|
+
background: transparent;
|
30
|
+
border: 0;
|
31
|
+
-webkit-appearance: none;
|
32
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
//
|
2
|
+
// Code (inline and blocK)
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Inline and block code styles
|
7
|
+
code,
|
8
|
+
pre {
|
9
|
+
padding: 0 3px 2px;
|
10
|
+
@include font-family-monospace;
|
11
|
+
font-size: $baseFontSize - 2;
|
12
|
+
color: $grayDark;
|
13
|
+
@include border-radius(3px);
|
14
|
+
}
|
15
|
+
|
16
|
+
// Inline code
|
17
|
+
code {
|
18
|
+
padding: 2px 4px;
|
19
|
+
color: #d14;
|
20
|
+
background-color: #f7f7f9;
|
21
|
+
border: 1px solid #e1e1e8;
|
22
|
+
white-space: nowrap;
|
23
|
+
}
|
24
|
+
|
25
|
+
// Blocks of code
|
26
|
+
pre {
|
27
|
+
display: block;
|
28
|
+
padding: ($baseLineHeight - 1) / 2;
|
29
|
+
margin: 0 0 $baseLineHeight / 2;
|
30
|
+
font-size: $baseFontSize - 1; // 14px to 13px
|
31
|
+
line-height: $baseLineHeight;
|
32
|
+
word-break: break-all;
|
33
|
+
word-wrap: break-word;
|
34
|
+
white-space: pre;
|
35
|
+
white-space: pre-wrap;
|
36
|
+
background-color: #f5f5f5;
|
37
|
+
border: 1px solid #ccc; // fallback for IE7-8
|
38
|
+
border: 1px solid rgba(0,0,0,.15);
|
39
|
+
@include border-radius($baseBorderRadius);
|
40
|
+
|
41
|
+
// Make prettyprint styles more spaced out for readability
|
42
|
+
&.prettyprint {
|
43
|
+
margin-bottom: $baseLineHeight;
|
44
|
+
}
|
45
|
+
|
46
|
+
// Account for some code outputs that place code tags in pre tags
|
47
|
+
code {
|
48
|
+
padding: 0;
|
49
|
+
color: inherit;
|
50
|
+
white-space: pre;
|
51
|
+
white-space: pre-wrap;
|
52
|
+
background-color: transparent;
|
53
|
+
border: 0;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
// Enable scrollable blocks of code
|
58
|
+
.pre-scrollable {
|
59
|
+
max-height: 340px;
|
60
|
+
overflow-y: scroll;
|
61
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
//
|
2
|
+
// Component animations
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.fade {
|
7
|
+
opacity: 0;
|
8
|
+
@include transition(opacity .15s linear);
|
9
|
+
&.in {
|
10
|
+
opacity: 1;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
.collapse {
|
15
|
+
position: relative;
|
16
|
+
height: 0;
|
17
|
+
overflow: hidden;
|
18
|
+
@include transition(height .35s ease);
|
19
|
+
&.in {
|
20
|
+
height: auto;
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,248 @@
|
|
1
|
+
//
|
2
|
+
// Dropdown menus
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Use the .menu class on any <li> element within the topbar or ul.tabs and you'll get some superfancy dropdowns
|
7
|
+
.dropup,
|
8
|
+
.dropdown {
|
9
|
+
position: relative;
|
10
|
+
}
|
11
|
+
.dropdown-toggle {
|
12
|
+
// The caret makes the toggle a bit too tall in IE7
|
13
|
+
*margin-bottom: -3px;
|
14
|
+
}
|
15
|
+
.dropdown-toggle:active,
|
16
|
+
.open .dropdown-toggle {
|
17
|
+
outline: 0;
|
18
|
+
}
|
19
|
+
|
20
|
+
// Dropdown arrow/caret
|
21
|
+
// --------------------
|
22
|
+
.caret {
|
23
|
+
display: inline-block;
|
24
|
+
width: 0;
|
25
|
+
height: 0;
|
26
|
+
vertical-align: top;
|
27
|
+
border-top: 4px solid $black;
|
28
|
+
border-right: 4px solid transparent;
|
29
|
+
border-left: 4px solid transparent;
|
30
|
+
content: "";
|
31
|
+
}
|
32
|
+
|
33
|
+
// Place the caret
|
34
|
+
.dropdown .caret {
|
35
|
+
margin-top: 8px;
|
36
|
+
margin-left: 2px;
|
37
|
+
}
|
38
|
+
|
39
|
+
// The dropdown menu (ul)
|
40
|
+
// ----------------------
|
41
|
+
.dropdown-menu {
|
42
|
+
position: absolute;
|
43
|
+
top: 100%;
|
44
|
+
left: 0;
|
45
|
+
z-index: $zindexDropdown;
|
46
|
+
display: none; // none by default, but block on "open" of the menu
|
47
|
+
float: left;
|
48
|
+
min-width: 160px;
|
49
|
+
padding: 5px 0;
|
50
|
+
margin: 2px 0 0; // override default ul
|
51
|
+
list-style: none;
|
52
|
+
background-color: $dropdownBackground;
|
53
|
+
border: 1px solid #ccc; // Fallback for IE7-8
|
54
|
+
border: 1px solid $dropdownBorder;
|
55
|
+
*border-right-width: 2px;
|
56
|
+
*border-bottom-width: 2px;
|
57
|
+
@include border-radius(6px);
|
58
|
+
@include box-shadow(0 5px 10px rgba(0,0,0,.2));
|
59
|
+
-webkit-background-clip: padding-box;
|
60
|
+
-moz-background-clip: padding;
|
61
|
+
background-clip: padding-box;
|
62
|
+
|
63
|
+
// Aligns the dropdown menu to right
|
64
|
+
&.pull-right {
|
65
|
+
right: 0;
|
66
|
+
left: auto;
|
67
|
+
}
|
68
|
+
|
69
|
+
// Dividers (basically an hr) within the dropdown
|
70
|
+
.divider {
|
71
|
+
@include nav-divider($dropdownDividerTop, $dropdownDividerBottom);
|
72
|
+
}
|
73
|
+
|
74
|
+
// Links within the dropdown menu
|
75
|
+
> li > a {
|
76
|
+
display: block;
|
77
|
+
padding: 3px 20px;
|
78
|
+
clear: both;
|
79
|
+
font-weight: normal;
|
80
|
+
line-height: $baseLineHeight;
|
81
|
+
color: $dropdownLinkColor;
|
82
|
+
white-space: nowrap;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
// Hover/Focus state
|
87
|
+
// -----------
|
88
|
+
.dropdown-menu > li > a:hover,
|
89
|
+
.dropdown-menu > li > a:focus,
|
90
|
+
.dropdown-submenu:hover > a,
|
91
|
+
.dropdown-submenu:focus > a {
|
92
|
+
text-decoration: none;
|
93
|
+
color: $dropdownLinkColorHover;
|
94
|
+
@include gradient-vertical($dropdownLinkBackgroundHover, darken($dropdownLinkBackgroundHover, 5%));
|
95
|
+
}
|
96
|
+
|
97
|
+
// Active state
|
98
|
+
// ------------
|
99
|
+
.dropdown-menu > .active > a,
|
100
|
+
.dropdown-menu > .active > a:hover,
|
101
|
+
.dropdown-menu > .active > a:focus {
|
102
|
+
color: $dropdownLinkColorActive;
|
103
|
+
text-decoration: none;
|
104
|
+
outline: 0;
|
105
|
+
@include gradient-vertical($dropdownLinkBackgroundActive, darken($dropdownLinkBackgroundActive, 5%));
|
106
|
+
}
|
107
|
+
|
108
|
+
// Disabled state
|
109
|
+
// --------------
|
110
|
+
// Gray out text and ensure the hover/focus state remains gray
|
111
|
+
.dropdown-menu > .disabled > a,
|
112
|
+
.dropdown-menu > .disabled > a:hover,
|
113
|
+
.dropdown-menu > .disabled > a:focus {
|
114
|
+
color: $grayLight;
|
115
|
+
}
|
116
|
+
// Nuke hover/focus effects
|
117
|
+
.dropdown-menu > .disabled > a:hover,
|
118
|
+
.dropdown-menu > .disabled > a:focus {
|
119
|
+
text-decoration: none;
|
120
|
+
background-color: transparent;
|
121
|
+
background-image: none; // Remove CSS gradient
|
122
|
+
@include reset-filter();
|
123
|
+
cursor: default;
|
124
|
+
}
|
125
|
+
|
126
|
+
// Open state for the dropdown
|
127
|
+
// ---------------------------
|
128
|
+
.open {
|
129
|
+
// IE7's z-index only goes to the nearest positioned ancestor, which would
|
130
|
+
// make the menu appear below buttons that appeared later on the page
|
131
|
+
*z-index: $zindexDropdown;
|
132
|
+
|
133
|
+
& > .dropdown-menu {
|
134
|
+
display: block;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
|
138
|
+
// Backdrop to catch body clicks on mobile, etc.
|
139
|
+
// ---------------------------
|
140
|
+
.dropdown-backdrop {
|
141
|
+
position: fixed;
|
142
|
+
left: 0;
|
143
|
+
right: 0;
|
144
|
+
bottom: 0;
|
145
|
+
top: 0;
|
146
|
+
z-index: $zindexDropdown - 10;
|
147
|
+
}
|
148
|
+
|
149
|
+
// Right aligned dropdowns
|
150
|
+
// ---------------------------
|
151
|
+
.pull-right > .dropdown-menu {
|
152
|
+
right: 0;
|
153
|
+
left: auto;
|
154
|
+
}
|
155
|
+
|
156
|
+
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
157
|
+
// ------------------------------------------------------
|
158
|
+
// Just add .dropup after the standard .dropdown class and you're set, bro.
|
159
|
+
// TODO: abstract this so that the navbar fixed styles are not placed here?
|
160
|
+
.dropup,
|
161
|
+
.navbar-fixed-bottom .dropdown {
|
162
|
+
// Reverse the caret
|
163
|
+
.caret {
|
164
|
+
border-top: 0;
|
165
|
+
border-bottom: 4px solid $black;
|
166
|
+
content: "";
|
167
|
+
}
|
168
|
+
// Different positioning for bottom up menu
|
169
|
+
.dropdown-menu {
|
170
|
+
top: auto;
|
171
|
+
bottom: 100%;
|
172
|
+
margin-bottom: 1px;
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
// Sub menus
|
177
|
+
// ---------------------------
|
178
|
+
.dropdown-submenu {
|
179
|
+
position: relative;
|
180
|
+
}
|
181
|
+
// Default dropdowns
|
182
|
+
.dropdown-submenu > .dropdown-menu {
|
183
|
+
top: 0;
|
184
|
+
left: 100%;
|
185
|
+
margin-top: -6px;
|
186
|
+
margin-left: -1px;
|
187
|
+
@include border-radius(0 6px 6px 6px);
|
188
|
+
}
|
189
|
+
.dropdown-submenu:hover > .dropdown-menu {
|
190
|
+
display: block;
|
191
|
+
}
|
192
|
+
|
193
|
+
// Dropups
|
194
|
+
.dropup .dropdown-submenu > .dropdown-menu {
|
195
|
+
top: auto;
|
196
|
+
bottom: 0;
|
197
|
+
margin-top: 0;
|
198
|
+
margin-bottom: -2px;
|
199
|
+
@include border-radius(5px 5px 5px 0);
|
200
|
+
}
|
201
|
+
|
202
|
+
// Caret to indicate there is a submenu
|
203
|
+
.dropdown-submenu > a:after {
|
204
|
+
display: block;
|
205
|
+
content: " ";
|
206
|
+
float: right;
|
207
|
+
width: 0;
|
208
|
+
height: 0;
|
209
|
+
border-color: transparent;
|
210
|
+
border-style: solid;
|
211
|
+
border-width: 5px 0 5px 5px;
|
212
|
+
border-left-color: darken($dropdownBackground, 20%);
|
213
|
+
margin-top: 5px;
|
214
|
+
margin-right: -10px;
|
215
|
+
}
|
216
|
+
.dropdown-submenu:hover > a:after {
|
217
|
+
border-left-color: $dropdownLinkColorHover;
|
218
|
+
}
|
219
|
+
|
220
|
+
// Left aligned submenus
|
221
|
+
.dropdown-submenu.pull-left {
|
222
|
+
// Undo the float
|
223
|
+
// Yes, this is awkward since .pull-left adds a float, but it sticks to our conventions elsewhere.
|
224
|
+
float: none;
|
225
|
+
|
226
|
+
// Positioning the submenu
|
227
|
+
> .dropdown-menu {
|
228
|
+
left: -100%;
|
229
|
+
margin-left: 10px;
|
230
|
+
@include border-radius(6px 0 6px 6px);
|
231
|
+
}
|
232
|
+
}
|
233
|
+
|
234
|
+
// Tweak nav headers
|
235
|
+
// -----------------
|
236
|
+
// Increase padding from 15px to 20px on sides
|
237
|
+
.dropdown .dropdown-menu .nav-header {
|
238
|
+
padding-left: 20px;
|
239
|
+
padding-right: 20px;
|
240
|
+
}
|
241
|
+
|
242
|
+
// Typeahead
|
243
|
+
// ---------
|
244
|
+
.typeahead {
|
245
|
+
z-index: 1051;
|
246
|
+
margin-top: 2px; // give it some space to breathe
|
247
|
+
@include border-radius($baseBorderRadius);
|
248
|
+
}
|