furatto 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. data/.gitignore +18 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +29 -0
  5. data/Rakefile +1 -0
  6. data/furatto.gemspec +21 -0
  7. data/lib/furatto.rb +16 -0
  8. data/lib/furatto/engine.rb +6 -0
  9. data/lib/furatto/version.rb +3 -0
  10. data/vendor/assets/fonts/fontawesome/FontAwesome.otf +0 -0
  11. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
  12. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svg +399 -0
  13. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
  14. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
  15. data/vendor/assets/fonts/meteocons-webfont.eot +0 -0
  16. data/vendor/assets/fonts/meteocons-webfont.svg +81 -0
  17. data/vendor/assets/fonts/meteocons-webfont.ttf +0 -0
  18. data/vendor/assets/fonts/meteocons-webfont.woff +0 -0
  19. data/vendor/assets/images/icheck/aero.png +0 -0
  20. data/vendor/assets/images/icheck/aero@2x.png +0 -0
  21. data/vendor/assets/images/icheck/blue.png +0 -0
  22. data/vendor/assets/images/icheck/blue@2x.png +0 -0
  23. data/vendor/assets/images/icheck/flat.png +0 -0
  24. data/vendor/assets/images/icheck/flat@2x.png +0 -0
  25. data/vendor/assets/images/icheck/green.png +0 -0
  26. data/vendor/assets/images/icheck/green@2x.png +0 -0
  27. data/vendor/assets/images/icheck/grey.png +0 -0
  28. data/vendor/assets/images/icheck/grey@2x.png +0 -0
  29. data/vendor/assets/images/icheck/orange.png +0 -0
  30. data/vendor/assets/images/icheck/orange@2x.png +0 -0
  31. data/vendor/assets/images/icheck/pink.png +0 -0
  32. data/vendor/assets/images/icheck/pink@2x.png +0 -0
  33. data/vendor/assets/images/icheck/purple.png +0 -0
  34. data/vendor/assets/images/icheck/purple@2x.png +0 -0
  35. data/vendor/assets/images/icheck/red.png +0 -0
  36. data/vendor/assets/images/icheck/red@2x.png +0 -0
  37. data/vendor/assets/images/icheck/yellow.png +0 -0
  38. data/vendor/assets/images/icheck/yellow@2x.png +0 -0
  39. data/vendor/assets/images/icons/customize-icon150.png +0 -0
  40. data/vendor/assets/images/icons/flexible-icon.png +0 -0
  41. data/vendor/assets/images/icons/github-128-black.png +0 -0
  42. data/vendor/assets/images/icons/iphone-icon150.png +0 -0
  43. data/vendor/assets/images/icons/lock-icon128.png +0 -0
  44. data/vendor/assets/images/icons/rocket-icon128.png +0 -0
  45. data/vendor/assets/images/icons/rocket-icon150.png +0 -0
  46. data/vendor/assets/images/icons/screen-icon.png +0 -0
  47. data/vendor/assets/images/icons/screens-icon.png +0 -0
  48. data/vendor/assets/images/icons/screens2-icon.png +0 -0
  49. data/vendor/assets/images/next.png +0 -0
  50. data/vendor/assets/images/previous.png +0 -0
  51. data/vendor/assets/images/themes.gif +0 -0
  52. data/vendor/assets/images/toggle.png +0 -0
  53. data/vendor/assets/javascripts/dropdown.js +169 -0
  54. data/vendor/assets/javascripts/furatto.js +15 -0
  55. data/vendor/assets/javascripts/jpanel.js +547 -0
  56. data/vendor/assets/javascripts/jquery.avgrund.js +127 -0
  57. data/vendor/assets/javascripts/jquery.dropkick-1.0.0.js +400 -0
  58. data/vendor/assets/javascripts/jquery.icheck.js +462 -0
  59. data/vendor/assets/javascripts/jquery.tagsinput.js +354 -0
  60. data/vendor/assets/javascripts/jquery.toolbar.js +242 -0
  61. data/vendor/assets/javascripts/legacy.js +140 -0
  62. data/vendor/assets/javascripts/picker.date.js +957 -0
  63. data/vendor/assets/javascripts/picker.js +785 -0
  64. data/vendor/assets/javascripts/picker.time.js +651 -0
  65. data/vendor/assets/javascripts/rainbow-custom.min.js +13 -0
  66. data/vendor/assets/javascripts/responsive-tables.js +67 -0
  67. data/vendor/assets/javascripts/responsiveslides.js +391 -0
  68. data/vendor/assets/javascripts/tooltip.js +353 -0
  69. data/vendor/assets/stylesheets/furatto.scss +101 -0
  70. data/vendor/assets/stylesheets/furatto/_alerts.scss +81 -0
  71. data/vendor/assets/stylesheets/furatto/_base.scss +187 -0
  72. data/vendor/assets/stylesheets/furatto/_buttons.scss +100 -0
  73. data/vendor/assets/stylesheets/furatto/_code.scss +66 -0
  74. data/vendor/assets/stylesheets/furatto/_date_picker.date.scss +266 -0
  75. data/vendor/assets/stylesheets/furatto/_date_picker.scss +158 -0
  76. data/vendor/assets/stylesheets/furatto/_date_picker.time.scss +122 -0
  77. data/vendor/assets/stylesheets/furatto/_dropdown.scss +261 -0
  78. data/vendor/assets/stylesheets/furatto/_font-awesome-ie7.scss +1953 -0
  79. data/vendor/assets/stylesheets/furatto/_fonts.scss +614 -0
  80. data/vendor/assets/stylesheets/furatto/_footer.scss +44 -0
  81. data/vendor/assets/stylesheets/furatto/_forms.scss +290 -0
  82. data/vendor/assets/stylesheets/furatto/_grid.scss +56 -0
  83. data/vendor/assets/stylesheets/furatto/_images.scss +44 -0
  84. data/vendor/assets/stylesheets/furatto/_labels.scss +43 -0
  85. data/vendor/assets/stylesheets/furatto/_layout.scss +0 -0
  86. data/vendor/assets/stylesheets/furatto/_left_navbar.scss +100 -0
  87. data/vendor/assets/stylesheets/furatto/_mixins.scss +283 -0
  88. data/vendor/assets/stylesheets/furatto/_modal.scss +103 -0
  89. data/vendor/assets/stylesheets/furatto/_nav.scss +106 -0
  90. data/vendor/assets/stylesheets/furatto/_navbar.scss +187 -0
  91. data/vendor/assets/stylesheets/furatto/_pagination.scss +158 -0
  92. data/vendor/assets/stylesheets/furatto/_responsive-1200px-min.scss +21 -0
  93. data/vendor/assets/stylesheets/furatto/_responsive-767px-max.scss +82 -0
  94. data/vendor/assets/stylesheets/furatto/_responsive-768px-979px.scss +23 -0
  95. data/vendor/assets/stylesheets/furatto/_responsive_navbar.scss +184 -0
  96. data/vendor/assets/stylesheets/furatto/_responsive_tables.scss +28 -0
  97. data/vendor/assets/stylesheets/furatto/_responsiveslides.scss +202 -0
  98. data/vendor/assets/stylesheets/furatto/_select.scss +191 -0
  99. data/vendor/assets/stylesheets/furatto/_tables.scss +90 -0
  100. data/vendor/assets/stylesheets/furatto/_tags.scss +107 -0
  101. data/vendor/assets/stylesheets/furatto/_toolbars.scss +116 -0
  102. data/vendor/assets/stylesheets/furatto/_tooltips.scss +143 -0
  103. data/vendor/assets/stylesheets/furatto/_typography.scss +266 -0
  104. data/vendor/assets/stylesheets/furatto/_variables.scss +628 -0
  105. data/vendor/assets/stylesheets/furatto/_vrt_navbar.scss +61 -0
  106. data/vendor/assets/stylesheets/furatto/icheck/_aero.scss +64 -0
  107. data/vendor/assets/stylesheets/furatto/icheck/_all.scss +20 -0
  108. data/vendor/assets/stylesheets/furatto/icheck/_blue.scss +64 -0
  109. data/vendor/assets/stylesheets/furatto/icheck/_flat.scss +64 -0
  110. data/vendor/assets/stylesheets/furatto/icheck/_green.scss +64 -0
  111. data/vendor/assets/stylesheets/furatto/icheck/_grey.scss +64 -0
  112. data/vendor/assets/stylesheets/furatto/icheck/_orange.scss +64 -0
  113. data/vendor/assets/stylesheets/furatto/icheck/_pink.scss +64 -0
  114. data/vendor/assets/stylesheets/furatto/icheck/_purple.scss +64 -0
  115. data/vendor/assets/stylesheets/furatto/icheck/_red.scss +64 -0
  116. data/vendor/assets/stylesheets/furatto/icheck/_yellow.scss +64 -0
  117. data/vendor/assets/stylesheets/normalize.scss +403 -0
  118. metadata +162 -0
@@ -0,0 +1,158 @@
1
+ /*------------------------------------*\
2
+ $DATEPICKER BASE
3
+ \*------------------------------------*/
4
+ /**
5
+ * Base date picker structural styling.
6
+ *
7
+ * Designed and built @kurenn based on picakdate.js jquery plugin
8
+ * http://amsul.ca/pickadate.js/
9
+ */
10
+
11
+ /**
12
+ * Note: the root picker element should __NOT__ be styled
13
+ * more than what’s here. Style the `.picker__holder` instead.
14
+ */
15
+ .picker {
16
+ font-size: 16px;
17
+ text-align: left;
18
+ line-height: 1.2;
19
+ color: #000000;
20
+ position: absolute;
21
+ z-index: 10000;
22
+ }
23
+ /**
24
+ * The picker input element.
25
+ */
26
+ .picker__input {
27
+ cursor: default;
28
+ }
29
+ /**
30
+ * When the picker is opened, the input element is “activated”.
31
+ */
32
+ .picker__input.picker__input--active {
33
+ border-color: $calendar-highlighted-color;
34
+ }
35
+ /**
36
+ * The holder is the only “scrollable” top-level container element.
37
+ */
38
+ .picker__holder {
39
+ width: 100%;
40
+ overflow-y: auto;
41
+ -webkit-overflow-scrolling: touch;
42
+ }
43
+
44
+ .picker__holder,
45
+ .picker__frame {
46
+ bottom: 0;
47
+ left: 0;
48
+ right: 0;
49
+ top: 100%;
50
+ }
51
+ /**
52
+ * The holder should overlay the entire screen.
53
+ */
54
+ .picker__holder {
55
+ position: fixed;
56
+ @include transition(background 0.15s ease-out, top 0s 0.15s);
57
+ }
58
+ /**
59
+ * The frame that bounds the box contents of the picker.
60
+ */
61
+ .picker__frame {
62
+ position: absolute;
63
+ margin: 0 auto;
64
+ min-width: 256px;
65
+ max-width: 666px;
66
+ width: 100%;
67
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
68
+ filter: alpha(opacity=0);
69
+ -moz-opacity: 0;
70
+ opacity: 0;
71
+ @include transition(all 0.15s ease-out);
72
+ }
73
+ @media (min-height: 33.875em) {
74
+ .picker__frame {
75
+ overflow: visible;
76
+ top: auto;
77
+ bottom: -100%;
78
+ max-height: 80%;
79
+ }
80
+ }
81
+ @media (min-height: 40.125em) {
82
+ .picker__frame {
83
+ margin-bottom: 7.5%;
84
+ }
85
+ }
86
+ /**
87
+ * The wrapper sets the stage to vertically align the box contents.
88
+ */
89
+ .picker__wrap {
90
+ display: table;
91
+ width: 100%;
92
+ height: 100%;
93
+ }
94
+ @media (min-height: 33.875em) {
95
+ .picker__wrap {
96
+ display: block;
97
+ }
98
+ }
99
+ /**
100
+ * The box contains all the picker contents.
101
+ */
102
+ .picker__box {
103
+ background: $white;
104
+ display: table-cell;
105
+ vertical-align: middle;
106
+ }
107
+
108
+ /**
109
+ *
110
+ * Media queries for responsive
111
+ */
112
+ @media (min-height: 26.5em) {
113
+ .picker__box {
114
+ font-size: 1.25em;
115
+ }
116
+ }
117
+ @media (min-height: 33.875em) {
118
+ .picker__box {
119
+ display: block;
120
+ font-size: 1.33em;
121
+ border: 1px solid #777777;
122
+ border-top-color: #898989;
123
+ border-bottom-width: 0;
124
+ @include border-radius(5px 5px 0 0);
125
+ @include box-shadow(0 12px 36px 16px rgba(0, 0, 0, 0.24));
126
+ }
127
+ }
128
+ @media (min-height: 40.125em) {
129
+ .picker__box {
130
+ font-size: 1.5em;
131
+ border-bottom-width: 1px;
132
+ @include border-radius(5px);
133
+ }
134
+ }
135
+ /**
136
+ * When the picker opens...
137
+ */
138
+ .picker--opened .picker__holder {
139
+ top: 0;
140
+ background: transparent;
141
+ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#1E000000,endColorstr=#1E000000)";
142
+ zoom: 1;
143
+ background: rgba(0, 0, 0, 0.32);
144
+ @include transition(background 0.15s ease-out)
145
+ }
146
+ .picker--opened .picker__frame {
147
+ top: 0;
148
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
149
+ filter: alpha(opacity=100);
150
+ -moz-opacity: 1;
151
+ opacity: 1;
152
+ }
153
+ @media (min-height: 33.875em) {
154
+ .picker--opened .picker__frame {
155
+ top: auto;
156
+ bottom: 0;
157
+ }
158
+ }
@@ -0,0 +1,122 @@
1
+ /*------------------------------------*\
2
+ $DATEPICKER TIME
3
+ \*------------------------------------*/
4
+ /**
5
+ * Base date picker structural styling.
6
+ *
7
+ * Designed and built @kurenn based on picakdate.js jquery plugin
8
+ * http://amsul.ca/pickadate.js/
9
+ */
10
+
11
+ /**
12
+ * The list of times.
13
+ */
14
+ .picker__list {
15
+ list-style: none;
16
+ padding: 0.75em 0 4.2em;
17
+ margin: 0;
18
+ }
19
+ /**
20
+ * The times on the clock.
21
+ */
22
+ .picker__list-item {
23
+ border-bottom: 1px solid #dddddd;
24
+ border-top: 1px solid #dddddd;
25
+ margin-bottom: -1px;
26
+ position: relative;
27
+ background: $white;
28
+ padding: .75em 1.25em;
29
+ }
30
+ @media (min-height: 46.75em) {
31
+ .picker__list-item {
32
+ padding: .5em 1em;
33
+ }
34
+ }
35
+ /* Hovered time */
36
+ .picker__list-item:hover {
37
+ cursor: pointer;
38
+ color: #000000;
39
+ background: $calendar-highlight-color;
40
+ border-color: $calendar-highlighted-color;
41
+ z-index: 10;
42
+ }
43
+ /* Selected time */
44
+ .picker__list-item--selected,
45
+ .picker__list-item--selected:hover {
46
+ border-color: $calendar-highlighted-color;
47
+ z-index: 10;
48
+ }
49
+ /* Highlighted time */
50
+ .picker__list-item--highlighted {
51
+ background: $calendar-highlight-color;
52
+ }
53
+ /* Highlighted and hovered/focused time */
54
+ .picker__list-item--highlighted:hover,
55
+ .picker--focused .picker__list-item--highlighted {
56
+ background: $calendar-highlighted-color;
57
+ color: $white;
58
+ }
59
+ /* Disabled time */
60
+ .picker__list-item--disabled,
61
+ .picker__list-item--disabled:hover {
62
+ background: #f5f5f5;
63
+ border-color: #f5f5f5;
64
+ color: #dddddd;
65
+ cursor: default;
66
+ border-color: #dddddd;
67
+ z-index: auto;
68
+ }
69
+ /**
70
+ * The clear button
71
+ */
72
+ .picker--time .picker__button--clear {
73
+ display: block;
74
+ width: 80%;
75
+ margin: 1em auto 0;
76
+ padding: 1em 1.25em;
77
+ background: none;
78
+ border: 0;
79
+ font-weight: 500;
80
+ font-size: .67em;
81
+ text-align: center;
82
+ text-transform: uppercase;
83
+ color: #666;
84
+ }
85
+ .picker--time .picker__button--clear:hover,
86
+ .picker--time .picker__button--clear:focus {
87
+ color: #000000;
88
+ background: $calendar-highlight-color;
89
+ background: #ee2200;
90
+ border-color: #ee2200;
91
+ cursor: pointer;
92
+ color: #ffffff;
93
+ outline: none;
94
+ }
95
+ .picker--time .picker__button--clear:before {
96
+ top: -0.25em;
97
+ color: #666;
98
+ font-size: 1.25em;
99
+ font-weight: bold;
100
+ }
101
+ .picker--time .picker__button--clear:hover:before,
102
+ .picker--time .picker__button--clear:focus:before {
103
+ color: $white;
104
+ }
105
+
106
+ .picker--time .picker__frame {
107
+ min-width: 256px;
108
+ max-width: 320px;
109
+ }
110
+ /**
111
+ * The picker box.
112
+ */
113
+ .picker--time .picker__box {
114
+ font-size: 1em;
115
+ background: #f2f2f2;
116
+ padding: 0;
117
+ }
118
+ @media (min-height: 40.125em) {
119
+ .picker--time .picker__box {
120
+ margin-bottom: 5em;
121
+ }
122
+ }
@@ -0,0 +1,261 @@
1
+ /*------------------------------------*\
2
+ $DROPDOWN
3
+ \*------------------------------------*/
4
+ /**
5
+ * Basic dropdown structural styling.
6
+ *
7
+ * Designed and built @kurenn, based on http://twitter.github.io/bootstrap/javascript.html#dropdowns
8
+ */
9
+
10
+ // Use the .menu class on any <li> element within the topbar or ul.tabs and you'll get some superfancy dropdowns
11
+ .dropdown {
12
+ position: relative;
13
+ }
14
+ .dropdown-toggle {
15
+ // The caret makes the toggle a bit too tall in IE7
16
+ *margin-bottom: -3px;
17
+ }
18
+ .dropdown-toggle:active,
19
+ .open .dropdown-toggle {
20
+ outline: 0;
21
+ }
22
+
23
+ // Dropdown arrow/caret
24
+ // --------------------
25
+ .caret {
26
+ display: inline-block;
27
+ width: 0;
28
+ height: 0;
29
+ vertical-align: top;
30
+ border-top: 4px solid $white;
31
+ border-right: 4px solid transparent;
32
+ border-left: 4px solid transparent;
33
+ content: "";
34
+ }
35
+
36
+ // Place the caret
37
+ .dropdown .caret {
38
+ margin-top: 8px;
39
+ margin-left: 2px;
40
+ }
41
+
42
+ // The dropdown menu (ul)
43
+ // ----------------------
44
+ .dropdown-menu {
45
+ position: absolute;
46
+ top: 100%;
47
+ left: 0;
48
+ z-index: $zindex-dropdown;
49
+ display: none; // none by default, but block on "open" of the menu
50
+ float: left;
51
+ min-width: 160px;
52
+ padding: 5px 0;
53
+ margin: 2px 0 0; // override default ul
54
+ list-style: none;
55
+ background-color: $dropdown-bg;
56
+ border: 1px solid #ccc; // Fallback for IE7-8
57
+ border: 1px solid $dropdown-border;
58
+ *border-right-width: 2px;
59
+ *border-bottom-width: 2px;
60
+ @include box-shadow(0 5px 10px rgba(0,0,0,.2));
61
+ -webkit-background-clip: padding-box;
62
+ -moz-background-clip: padding;
63
+ background-clip: padding-box;
64
+
65
+ // Aligns the dropdown menu to right
66
+ &.pull-right {
67
+ right: 0;
68
+ left: auto;
69
+ }
70
+
71
+ // Dividers (basically an hr) within the dropdown
72
+ .divider {
73
+ *width: 100%;
74
+ height: 1px;
75
+ margin: (($base-line-height/ 2) - 1) 1px; // 8px 1px
76
+ *margin: -5px 0 5px;
77
+ overflow: hidden;
78
+ padding: 0 5px;
79
+ border-bottom: 1px dashed #e5e5e5;
80
+ }
81
+
82
+ // Links within the dropdown menu
83
+ > li > a {
84
+ display: block;
85
+ padding: 3px 20px;
86
+ clear: both;
87
+ font-weight: normal;
88
+ line-height: $base-line-height;
89
+ color: $dropdown-link-color;
90
+ white-space: nowrap;
91
+ }
92
+ }
93
+
94
+ // Hover/Focus state
95
+ // -----------
96
+ .dropdown-menu > li > a:hover,
97
+ .dropdown-menu > li > a:focus,
98
+ .dropdown-submenu:hover > a,
99
+ .dropdown-submenu:focus > a {
100
+ text-decoration: none;
101
+ color: $dropdown-link-color-hover;
102
+ background: $dropdown-link-color-hover-bg;
103
+ }
104
+
105
+ // Active state
106
+ // ------------
107
+ .dropdown-menu > .active > a,
108
+ .dropdown-menu > .active > a:hover,
109
+ .dropdown-menu > .active > a:focus {
110
+ text-decoration: none;
111
+ outline: 0;
112
+ }
113
+
114
+ // Disabled state
115
+ // --------------
116
+ // Gray out text and ensure the hover/focus state remains gray
117
+ .dropdown-menu > .disabled > a,
118
+ .dropdown-menu > .disabled > a:hover,
119
+ .dropdown-menu > .disabled > a:focus {
120
+ color: $light-gray;
121
+ }
122
+ // Nuke hover/focus effects
123
+ .dropdown-menu > .disabled > a:hover,
124
+ .dropdown-menu > .disabled > a:focus {
125
+ text-decoration: none;
126
+ background-color: transparent;
127
+ background-image: none; // Remove CSS gradient
128
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
129
+ cursor: default;
130
+ }
131
+
132
+ // Open state for the dropdown
133
+ // ---------------------------
134
+ .open {
135
+ // IE7's z-index only goes to the nearest positioned ancestor, which would
136
+ // make the menu appear below buttons that appeared later on the page
137
+ *z-index: $zindex-dropdown;
138
+
139
+ & > .dropdown-menu {
140
+ display: block;
141
+ }
142
+ }
143
+
144
+ // Backdrop to catch body clicks on mobile, etc.
145
+ // ---------------------------
146
+ .dropdown-backdrop {
147
+ position: fixed;
148
+ left: 0;
149
+ right: 0;
150
+ bottom: 0;
151
+ top: 0;
152
+ z-index: $zindex-dropdown - 10;
153
+ }
154
+
155
+ // Right aligned dropdowns
156
+ // ---------------------------
157
+ .pull-right > .dropdown-menu {
158
+ right: 0;
159
+ left: auto;
160
+ }
161
+
162
+ // Allow for dropdowns to go bottom up (aka, dropup-menu)
163
+ // ------------------------------------------------------
164
+ // Just add .dropup after the standard .dropdown class and you're set, bro.
165
+ // TODO: abstract this so that the navbar fixed styles are not placed here?
166
+ .dropup,
167
+ .navbar-fixed-bottom .dropdown {
168
+ // Reverse the caret
169
+ .caret {
170
+ border-top: 0;
171
+ border-bottom: 4px solid $black;
172
+ content: "";
173
+ }
174
+ // Different positioning for bottom up menu
175
+ .dropdown-menu {
176
+ top: auto;
177
+ bottom: 100%;
178
+ margin-bottom: 1px;
179
+ }
180
+ }
181
+
182
+ // Sub menus
183
+ // ---------------------------
184
+ .dropdown-submenu {
185
+ position: relative;
186
+ }
187
+ // Default dropdowns
188
+ .dropdown-submenu > .dropdown-menu {
189
+ top: 0;
190
+ left: 100%;
191
+ margin-top: -6px;
192
+ margin-left: -1px;
193
+ /*@include border-radius(0 6px 6px 6px);*/
194
+ }
195
+ .dropdown-submenu:hover > .dropdown-menu {
196
+ display: block;
197
+ }
198
+
199
+ // Dropups
200
+ .dropup .dropdown-submenu > .dropdown-menu {
201
+ top: auto;
202
+ bottom: 0;
203
+ margin-top: 0;
204
+ margin-bottom: -2px;
205
+ /*@include border-radius(5px 5px 5px 0);*/
206
+ }
207
+
208
+ // Caret to indicate there is a submenu
209
+ .dropdown-submenu > a:after {
210
+ display: block;
211
+ content: " ";
212
+ float: right;
213
+ width: 0;
214
+ height: 0;
215
+ border-color: transparent;
216
+ border-style: solid;
217
+ border-width: 5px 0 5px 5px;
218
+ border-left-color: darken($dropdown-bg, 20%);
219
+ margin-top: 5px;
220
+ margin-right: -10px;
221
+ }
222
+ .dropdown-submenu:hover > a:after {
223
+ border-left-color: $dropdown-link-color-hover;
224
+ }
225
+
226
+ // Left aligned submenus
227
+ .dropdown-submenu.pull-left {
228
+ // Undo the float
229
+ // Yes, this is awkward since .pull-left adds a float, but it sticks to our conventions elsewhere.
230
+ float: none;
231
+
232
+ // Positioning the submenu
233
+ > .dropdown-menu {
234
+ left: -100%;
235
+ margin-left: 10px;
236
+ /*@include border-radius(6px 0 6px 6px);*/
237
+ }
238
+ }
239
+
240
+ // Tweak nav headers
241
+ // -----------------
242
+ // Increase padding from 15px to 20px on sides
243
+ .dropdown .dropdown-menu .nav-header {
244
+ padding-left: 20px;
245
+ padding-right: 20px;
246
+ }
247
+
248
+
249
+ //Navbar specific
250
+ .navbar {
251
+ .dropdown-menu:after {
252
+ content: '';
253
+ display: inline-block;
254
+ border-left: 6px solid transparent;
255
+ border-right: 6px solid transparent;
256
+ border-bottom: 6px solid $white;
257
+ position: absolute;
258
+ top: -6px;
259
+ right: 10px;
260
+ }
261
+ }