furatto 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +102 -17
- data/furatto.gemspec +1 -0
- data/lib/furatto/version.rb +1 -1
- data/vendor/assets/javascripts/furatto.js +5978 -15
- data/vendor/assets/javascripts/furatto.min.js +3 -0
- data/vendor/assets/stylesheets/font-awesome.scss +2495 -0
- data/vendor/assets/stylesheets/furatto.scss +15 -30
- data/vendor/assets/stylesheets/furatto/_alerts.scss +5 -6
- data/vendor/assets/stylesheets/furatto/_base.scss +33 -121
- data/vendor/assets/stylesheets/furatto/_buttons.scss +36 -11
- data/vendor/assets/stylesheets/furatto/_code.scss +7 -6
- data/vendor/assets/stylesheets/furatto/_dashboard.scss +36 -0
- data/vendor/assets/stylesheets/furatto/_dropdown.scss +29 -31
- data/vendor/assets/stylesheets/furatto/_fonts.scss +0 -588
- data/vendor/assets/stylesheets/furatto/_footer.scss +8 -25
- data/vendor/assets/stylesheets/furatto/_forms.scss +80 -63
- data/vendor/assets/stylesheets/furatto/_grid.scss +34 -30
- data/vendor/assets/stylesheets/furatto/_images.scss +28 -8
- data/vendor/assets/stylesheets/furatto/_labels.scss +3 -2
- data/vendor/assets/stylesheets/furatto/_mixins.scss +81 -164
- data/vendor/assets/stylesheets/furatto/_modal.scss +339 -77
- data/vendor/assets/stylesheets/furatto/_nav.scss +43 -45
- data/vendor/assets/stylesheets/furatto/_navbar.scss +60 -31
- data/vendor/assets/stylesheets/furatto/_panel.scss +277 -0
- data/vendor/assets/stylesheets/furatto/_responsive_navbar.scss +37 -26
- data/vendor/assets/stylesheets/furatto/_responsive_tables.scss +1 -1
- data/vendor/assets/stylesheets/furatto/_responsive_utilities.scss +182 -0
- data/vendor/assets/stylesheets/furatto/_responsiveslides.scss +157 -174
- data/vendor/assets/stylesheets/furatto/_tooltips.scss +2 -14
- data/vendor/assets/stylesheets/furatto/_typography.scss +41 -83
- data/vendor/assets/stylesheets/furatto/_variables.scss +241 -244
- metadata +14 -81
- data/vendor/assets/images/icheck/aero.png +0 -0
- data/vendor/assets/images/icheck/aero@2x.png +0 -0
- data/vendor/assets/images/icheck/blue.png +0 -0
- data/vendor/assets/images/icheck/blue@2x.png +0 -0
- data/vendor/assets/images/icheck/flat.png +0 -0
- data/vendor/assets/images/icheck/flat@2x.png +0 -0
- data/vendor/assets/images/icheck/green.png +0 -0
- data/vendor/assets/images/icheck/green@2x.png +0 -0
- data/vendor/assets/images/icheck/grey.png +0 -0
- data/vendor/assets/images/icheck/grey@2x.png +0 -0
- data/vendor/assets/images/icheck/orange.png +0 -0
- data/vendor/assets/images/icheck/orange@2x.png +0 -0
- data/vendor/assets/images/icheck/pink.png +0 -0
- data/vendor/assets/images/icheck/pink@2x.png +0 -0
- data/vendor/assets/images/icheck/purple.png +0 -0
- data/vendor/assets/images/icheck/purple@2x.png +0 -0
- data/vendor/assets/images/icheck/red.png +0 -0
- data/vendor/assets/images/icheck/red@2x.png +0 -0
- data/vendor/assets/images/icheck/yellow.png +0 -0
- data/vendor/assets/images/icheck/yellow@2x.png +0 -0
- data/vendor/assets/images/icons/customize-icon150.png +0 -0
- data/vendor/assets/images/icons/flexible-icon.png +0 -0
- data/vendor/assets/images/icons/github-128-black.png +0 -0
- data/vendor/assets/images/icons/iphone-icon150.png +0 -0
- data/vendor/assets/images/icons/lock-icon128.png +0 -0
- data/vendor/assets/images/icons/rocket-icon128.png +0 -0
- data/vendor/assets/images/icons/rocket-icon150.png +0 -0
- data/vendor/assets/images/icons/screen-icon.png +0 -0
- data/vendor/assets/images/icons/screens-icon.png +0 -0
- data/vendor/assets/images/icons/screens2-icon.png +0 -0
- data/vendor/assets/images/next.png +0 -0
- data/vendor/assets/images/previous.png +0 -0
- data/vendor/assets/images/themes.gif +0 -0
- data/vendor/assets/images/toggle.png +0 -0
- data/vendor/assets/javascripts/dropdown.js +0 -169
- data/vendor/assets/javascripts/jpanel.js +0 -547
- data/vendor/assets/javascripts/jquery.avgrund.js +0 -127
- data/vendor/assets/javascripts/jquery.dropkick-1.0.0.js +0 -400
- data/vendor/assets/javascripts/jquery.icheck.js +0 -462
- data/vendor/assets/javascripts/jquery.tagsinput.js +0 -354
- data/vendor/assets/javascripts/jquery.toolbar.js +0 -242
- data/vendor/assets/javascripts/legacy.js +0 -140
- data/vendor/assets/javascripts/picker.date.js +0 -957
- data/vendor/assets/javascripts/picker.js +0 -785
- data/vendor/assets/javascripts/picker.time.js +0 -651
- data/vendor/assets/javascripts/rainbow-custom.min.js +0 -13
- data/vendor/assets/javascripts/responsive-tables.js +0 -67
- data/vendor/assets/javascripts/responsiveslides.js +0 -391
- data/vendor/assets/javascripts/tooltip.js +0 -353
- data/vendor/assets/stylesheets/furatto/_date_picker.time.scss +0 -122
- data/vendor/assets/stylesheets/furatto/_font-awesome-ie7.scss +0 -1953
- data/vendor/assets/stylesheets/furatto/_layout.scss +0 -0
- data/vendor/assets/stylesheets/furatto/_left_navbar.scss +0 -100
- data/vendor/assets/stylesheets/furatto/_pagination.scss +0 -158
- data/vendor/assets/stylesheets/furatto/_responsive-1200px-min.scss +0 -21
- data/vendor/assets/stylesheets/furatto/_responsive-767px-max.scss +0 -82
- data/vendor/assets/stylesheets/furatto/_responsive-768px-979px.scss +0 -23
- data/vendor/assets/stylesheets/furatto/_select.scss +0 -191
- data/vendor/assets/stylesheets/furatto/_tags.scss +0 -107
- data/vendor/assets/stylesheets/furatto/_vrt_navbar.scss +0 -61
- data/vendor/assets/stylesheets/furatto/icheck/_aero.scss +0 -64
- data/vendor/assets/stylesheets/furatto/icheck/_all.scss +0 -20
- data/vendor/assets/stylesheets/furatto/icheck/_blue.scss +0 -64
- data/vendor/assets/stylesheets/furatto/icheck/_flat.scss +0 -64
- data/vendor/assets/stylesheets/furatto/icheck/_green.scss +0 -64
- data/vendor/assets/stylesheets/furatto/icheck/_grey.scss +0 -64
- data/vendor/assets/stylesheets/furatto/icheck/_orange.scss +0 -64
- data/vendor/assets/stylesheets/furatto/icheck/_pink.scss +0 -64
- data/vendor/assets/stylesheets/furatto/icheck/_purple.scss +0 -64
- data/vendor/assets/stylesheets/furatto/icheck/_red.scss +0 -64
- data/vendor/assets/stylesheets/furatto/icheck/_yellow.scss +0 -64
File without changes
|
@@ -1,100 +0,0 @@
|
|
1
|
-
/*------------------------------------*\
|
2
|
-
$LEFT NAVBAR
|
3
|
-
\*------------------------------------*/
|
4
|
-
/**
|
5
|
-
* Basic button structural styling.
|
6
|
-
*
|
7
|
-
* Designed and built @kurenn
|
8
|
-
*/
|
9
|
-
|
10
|
-
#jPanelMenu-menu {
|
11
|
-
|
12
|
-
background-color: $navbar-bg-color;
|
13
|
-
|
14
|
-
// Nav style
|
15
|
-
.nav {
|
16
|
-
overflow: hidden;
|
17
|
-
padding-left: 0;
|
18
|
-
color: $navbar-text;
|
19
|
-
font-size: $base-font-size;
|
20
|
-
margin-top: 0px;
|
21
|
-
float: none;
|
22
|
-
|
23
|
-
[class^="icon_"], [class*=" icon_"] {
|
24
|
-
margin-right: 5px;
|
25
|
-
}
|
26
|
-
|
27
|
-
.dropdown-menu {
|
28
|
-
position: static;
|
29
|
-
/*display: block;*/
|
30
|
-
background: none;
|
31
|
-
border: none;
|
32
|
-
@include box-shadow(0 0px 0px $navbar-bg-color);
|
33
|
-
* {
|
34
|
-
color: #eaeaea;
|
35
|
-
}
|
36
|
-
|
37
|
-
li.divider {
|
38
|
-
border-bottom: 1px solid #CCC;
|
39
|
-
}
|
40
|
-
|
41
|
-
li {
|
42
|
-
a {
|
43
|
-
&:hover {
|
44
|
-
background: none;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
}
|
48
|
-
}
|
49
|
-
}
|
50
|
-
|
51
|
-
|
52
|
-
//list items
|
53
|
-
.nav > li {
|
54
|
-
padding: 9px 10px;
|
55
|
-
}
|
56
|
-
|
57
|
-
// Active nav items
|
58
|
-
.nav > .active,
|
59
|
-
.nav > .active,
|
60
|
-
.nav > .active {
|
61
|
-
color: $navbar-link-color-active;
|
62
|
-
text-decoration: none;
|
63
|
-
border-left: 2px solid $green;
|
64
|
-
padding-left: 7px;
|
65
|
-
|
66
|
-
&:before {
|
67
|
-
content: ' ';
|
68
|
-
position: relative;
|
69
|
-
width: 0;
|
70
|
-
height: 0px;
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
//Links
|
75
|
-
.nav > li > a {
|
76
|
-
text-decoration: none;
|
77
|
-
color: $navbar-text;
|
78
|
-
}
|
79
|
-
|
80
|
-
//Brand
|
81
|
-
.nav > li > a.brand {
|
82
|
-
font-size: 20px;
|
83
|
-
}
|
84
|
-
|
85
|
-
//Give a bigger separation for navbar
|
86
|
-
.nav > li:first-child {
|
87
|
-
border-bottom: 10px solid $navbar-border;
|
88
|
-
}
|
89
|
-
|
90
|
-
//Divider
|
91
|
-
.nav > li.divider-vertical {
|
92
|
-
height: 1px;
|
93
|
-
width: 100%;
|
94
|
-
border-bottom: 1px solid $navbar-border;
|
95
|
-
border-left: none;
|
96
|
-
margin: 0;
|
97
|
-
padding: 0;
|
98
|
-
}
|
99
|
-
|
100
|
-
}
|
@@ -1,158 +0,0 @@
|
|
1
|
-
/*------------------------------------*\
|
2
|
-
$PAGINATION
|
3
|
-
\*------------------------------------*/
|
4
|
-
/**
|
5
|
-
* Basic pagination structural styling based Flat UI Master.
|
6
|
-
* https://github.com/tomastrusik/Flat-UI-master
|
7
|
-
*
|
8
|
-
* Designed and built @kurenn
|
9
|
-
*/
|
10
|
-
|
11
|
-
.pagination {
|
12
|
-
margin: 20px 0;
|
13
|
-
}
|
14
|
-
|
15
|
-
.pagination ul {
|
16
|
-
display: inline-block;
|
17
|
-
*display: inline;
|
18
|
-
margin-bottom: 0;
|
19
|
-
margin-left: 0;
|
20
|
-
@include border-radius(4px);
|
21
|
-
*zoom: 1;
|
22
|
-
@include box-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
|
23
|
-
}
|
24
|
-
|
25
|
-
.pagination ul > li {
|
26
|
-
display: inline;
|
27
|
-
}
|
28
|
-
|
29
|
-
.pagination ul > li > a,
|
30
|
-
.pagination ul > li > span {
|
31
|
-
float: left;
|
32
|
-
padding: 4px 12px;
|
33
|
-
line-height: 20px;
|
34
|
-
text-decoration: none;
|
35
|
-
background-color: #ffffff;
|
36
|
-
border: 1px solid #dddddd;
|
37
|
-
border-left-width: 0;
|
38
|
-
}
|
39
|
-
|
40
|
-
.pagination ul > li > a:hover,
|
41
|
-
.pagination ul > .active > a,
|
42
|
-
.pagination ul > .active > span {
|
43
|
-
background-color: #f5f5f5;
|
44
|
-
}
|
45
|
-
|
46
|
-
.pagination ul > .active > a,
|
47
|
-
.pagination ul > .active > span {
|
48
|
-
color: #999999;
|
49
|
-
cursor: default;
|
50
|
-
}
|
51
|
-
|
52
|
-
.pagination ul > .disabled > span,
|
53
|
-
.pagination ul > .disabled > a,
|
54
|
-
.pagination ul > .disabled > a:hover {
|
55
|
-
color: #999999;
|
56
|
-
cursor: default;
|
57
|
-
background-color: transparent;
|
58
|
-
}
|
59
|
-
|
60
|
-
.pagination ul > li:first-child > a,
|
61
|
-
.pagination ul > li:first-child > span {
|
62
|
-
border-left-width: 1px;
|
63
|
-
@include border-bottom-left-radius(4px);
|
64
|
-
@include border-top-left-radius(4px);
|
65
|
-
}
|
66
|
-
|
67
|
-
.pagination ul > li:last-child > a,
|
68
|
-
.pagination ul > li:last-child > span {
|
69
|
-
@include border-top-right-radius(4px);
|
70
|
-
@include border-bottom-right-radius(4px);
|
71
|
-
}
|
72
|
-
|
73
|
-
.pagination-centered {
|
74
|
-
text-align: center;
|
75
|
-
}
|
76
|
-
|
77
|
-
.pagination-right {
|
78
|
-
text-align: right;
|
79
|
-
}
|
80
|
-
|
81
|
-
.pagination {
|
82
|
-
ul {
|
83
|
-
background: $pagination-color;
|
84
|
-
@include border-radius(6px);
|
85
|
-
@include box-shadow(none);
|
86
|
-
> li {
|
87
|
-
&:first-child {
|
88
|
-
@include border-radius(6px 0 0 6px);
|
89
|
-
}
|
90
|
-
&:last-child {
|
91
|
-
@include border-radius(0 6px 6px 0);
|
92
|
-
}
|
93
|
-
&.previous,
|
94
|
-
&.next {
|
95
|
-
> a, > span {
|
96
|
-
background: transparent;
|
97
|
-
border: none;
|
98
|
-
border-right: 2px solid $white !important;
|
99
|
-
margin: 0 9px 0 0;
|
100
|
-
padding: 11px 17px 12px 17px;
|
101
|
-
@include border-radius(6px 0 0 6px);
|
102
|
-
@include box-shadow(none !important);
|
103
|
-
}
|
104
|
-
}
|
105
|
-
&.next {
|
106
|
-
> a, > span {
|
107
|
-
border-left: 2px solid $white !important;
|
108
|
-
margin-left: 9px;
|
109
|
-
margin-right: 0;
|
110
|
-
@include border-radius(0 6px 6px 0);
|
111
|
-
}
|
112
|
-
}
|
113
|
-
&.active {
|
114
|
-
> a, > span {
|
115
|
-
background-color: $dark-blue;
|
116
|
-
border-color: $dark-blue;
|
117
|
-
border-width: 2px;
|
118
|
-
color: $white;
|
119
|
-
margin: 10px 5px 9px;
|
120
|
-
padding: 0 4px;
|
121
|
-
&:hover, &:focus {
|
122
|
-
background-color: $dark-blue;
|
123
|
-
border-color: $dark-blue;
|
124
|
-
color: $white;
|
125
|
-
@include box-shadow(none);
|
126
|
-
}
|
127
|
-
}
|
128
|
-
}
|
129
|
-
> a, > span {
|
130
|
-
background: $white;
|
131
|
-
border: 5px solid $pagination-color;
|
132
|
-
border-radius: 50px;
|
133
|
-
color: $white;
|
134
|
-
line-height: 16px;
|
135
|
-
margin: 7px 2px 6px;
|
136
|
-
padding: 0 4px;
|
137
|
-
@include transition((background 0.2s ease-out, border-color 0s ease-out, color 0.2s ease-out));
|
138
|
-
&:hover, :focus {
|
139
|
-
background-color: $dark-blue;
|
140
|
-
border-color: $dark-blue;
|
141
|
-
color: $white;
|
142
|
-
@include transition((background 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out));
|
143
|
-
}
|
144
|
-
&:active {
|
145
|
-
background-color: scale-color($dark-blue, $lightness: -15%);
|
146
|
-
border-color: scale-color($dark-blue, $lightness: -15%);
|
147
|
-
}
|
148
|
-
}
|
149
|
-
}
|
150
|
-
img {
|
151
|
-
// For retina 2x image that is scaled down to 14px for all common screens
|
152
|
-
height: 14px;
|
153
|
-
margin-top: -1px;
|
154
|
-
vertical-align: middle;
|
155
|
-
width: 13px;
|
156
|
-
}
|
157
|
-
}
|
158
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
/*------------------------------------*\
|
2
|
-
$RESPONSIVE - 1200
|
3
|
-
\*------------------------------------*/
|
4
|
-
/**
|
5
|
-
* Responsive structural styling based on bootstrap.
|
6
|
-
* http://twitter.github.io/bootstrap/
|
7
|
-
*
|
8
|
-
* Designed and built @kurenn
|
9
|
-
*/
|
10
|
-
|
11
|
-
@media (min-width: 1200px) {
|
12
|
-
|
13
|
-
// Fixed grid
|
14
|
-
@include grid-core($gridColumnWidth1200, $gridGutterWidth1200);
|
15
|
-
|
16
|
-
// Fluid grid
|
17
|
-
@include grid-fluid($fluidGridColumnWidth1200, $fluidGridGutterWidth1200);
|
18
|
-
|
19
|
-
// Input grid
|
20
|
-
@include grid-input($gridColumnWidth1200, $gridGutterWidth1200);
|
21
|
-
}
|
@@ -1,82 +0,0 @@
|
|
1
|
-
/*------------------------------------*\
|
2
|
-
$RESPONSIVE - 767
|
3
|
-
\*------------------------------------*/
|
4
|
-
/**
|
5
|
-
* Responsive structural styling based on bootstrap.
|
6
|
-
* http://twitter.github.io/bootstrap/
|
7
|
-
*
|
8
|
-
* Designed and built @kurenn
|
9
|
-
*/
|
10
|
-
|
11
|
-
@media (max-width: 767px) {
|
12
|
-
|
13
|
-
// Padding to set content in a bit
|
14
|
-
body {
|
15
|
-
padding-left: 20px;
|
16
|
-
padding-right: 20px;
|
17
|
-
}
|
18
|
-
// Negative indent the now static "fixed" navbar
|
19
|
-
.navbar-fixed-top,
|
20
|
-
.navbar-fixed-bottom,
|
21
|
-
.navbar-static-top {
|
22
|
-
/*margin-left: -20px;*/
|
23
|
-
margin-right: -20px;
|
24
|
-
}
|
25
|
-
// Remove padding on container given explicit padding set on body
|
26
|
-
.container-fluid {
|
27
|
-
padding: 0;
|
28
|
-
}
|
29
|
-
|
30
|
-
// TYPOGRAPHY
|
31
|
-
// ----------
|
32
|
-
// Reset horizontal dl
|
33
|
-
.dl-horizontal {
|
34
|
-
dt {
|
35
|
-
float: none;
|
36
|
-
clear: none;
|
37
|
-
width: auto;
|
38
|
-
text-align: left;
|
39
|
-
}
|
40
|
-
dd {
|
41
|
-
margin-left: 0;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
|
45
|
-
// GRID & CONTAINERS
|
46
|
-
// -----------------
|
47
|
-
// Remove width from containers
|
48
|
-
.container {
|
49
|
-
width: auto;
|
50
|
-
}
|
51
|
-
// Fluid rows
|
52
|
-
.row-fluid {
|
53
|
-
width: 100%;
|
54
|
-
}
|
55
|
-
// Undo negative margin on rows and thumbnails
|
56
|
-
.row,
|
57
|
-
.thumbnails {
|
58
|
-
margin-left: 0;
|
59
|
-
}
|
60
|
-
.thumbnails > li {
|
61
|
-
float: none;
|
62
|
-
margin-left: 0; // Reset the default margin for all li elements when no .span* classes are present
|
63
|
-
}
|
64
|
-
// Make all grid-sized elements block level again
|
65
|
-
[class*="span"],
|
66
|
-
.uneditable-input[class*="span"], // Makes uneditable inputs full-width when using grid sizing
|
67
|
-
.row-fluid [class*="span"] {
|
68
|
-
float: none;
|
69
|
-
display: block;
|
70
|
-
width: 100%;
|
71
|
-
margin-left: 0;
|
72
|
-
@include box-sizing(border-box);
|
73
|
-
}
|
74
|
-
.span12,
|
75
|
-
.row-fluid .span12 {
|
76
|
-
width: 100%;
|
77
|
-
@include box-sizing(border-box);
|
78
|
-
}
|
79
|
-
.row-fluid [class*="offset"]:first-child {
|
80
|
-
margin-left: 0;
|
81
|
-
}
|
82
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
/*------------------------------------*\
|
2
|
-
$RESPONSIVE - 767/979
|
3
|
-
\*------------------------------------*/
|
4
|
-
/**
|
5
|
-
* Responsive structural styling based on bootstrap.
|
6
|
-
* http://twitter.github.io/bootstrap/
|
7
|
-
*
|
8
|
-
* Designed and built @kurenn
|
9
|
-
*/
|
10
|
-
|
11
|
-
@media (min-width: 768px) and (max-width: 979px) {
|
12
|
-
|
13
|
-
// Fixed grid
|
14
|
-
@include grid-core($gridColumnWidth768, $gridGutterWidth768);
|
15
|
-
|
16
|
-
// Fluid grid
|
17
|
-
@include grid-fluid($fluidGridColumnWidth768, $fluidGridGutterWidth768);
|
18
|
-
|
19
|
-
// Input grid
|
20
|
-
@include grid-input($gridColumnWidth768, $gridGutterWidth768);
|
21
|
-
|
22
|
-
// No need to reset .thumbnails here since it's the same $gridGutterWidth
|
23
|
-
}
|
@@ -1,191 +0,0 @@
|
|
1
|
-
/*------------------------------------*\
|
2
|
-
$SELECT
|
3
|
-
\*------------------------------------*/
|
4
|
-
/**
|
5
|
-
* Basic select structural styling.
|
6
|
-
* http://robdel12.github.io/DropKick/
|
7
|
-
*
|
8
|
-
* Designed and built @kurenn
|
9
|
-
*/
|
10
|
-
|
11
|
-
// One container to bind them
|
12
|
-
.dk_container {
|
13
|
-
cursor: pointer;
|
14
|
-
font-size: 14px;
|
15
|
-
margin-bottom: 10px;
|
16
|
-
outline: none;
|
17
|
-
width: 220px;
|
18
|
-
margin-left: 0;
|
19
|
-
}
|
20
|
-
|
21
|
-
// Opens the dropdown and holds the menu label
|
22
|
-
.dk_toggle {
|
23
|
-
background-color: $select-bg;
|
24
|
-
color: $select-text-color;
|
25
|
-
@include border-radius(6px);
|
26
|
-
overflow: hidden;
|
27
|
-
padding: 11px 45px 11px 13px;
|
28
|
-
text-decoration: none;
|
29
|
-
white-space: nowrap;
|
30
|
-
@include transition(0.25s);
|
31
|
-
&:hover,
|
32
|
-
&:focus,
|
33
|
-
.dk_focus & {
|
34
|
-
background-color: scale-color($select-bg, $lightness: 4%);
|
35
|
-
color: $select-text-color;
|
36
|
-
outline: none;
|
37
|
-
}
|
38
|
-
&:active {
|
39
|
-
background-color: scale-color($select-bg, $lightness: -4%);
|
40
|
-
outline: none;
|
41
|
-
.select-icon {
|
42
|
-
border-left-color: transparent;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
// Dropdown icon (arrow by default)
|
48
|
-
.select-icon {
|
49
|
-
background: $select-bg url(/assets/toggle.png) no-repeat right center;
|
50
|
-
border-left: 2px solid rgba($select-options-bg, 0.15);
|
51
|
-
border-radius: 0 6px 6px 0;
|
52
|
-
height: 100%;
|
53
|
-
position: absolute;
|
54
|
-
right: 0;
|
55
|
-
top: 0;
|
56
|
-
width: 42px;
|
57
|
-
@include transition(0.25s);
|
58
|
-
}
|
59
|
-
|
60
|
-
// Applied whenever the dropdown is open
|
61
|
-
.dk_open {
|
62
|
-
// Dropdown menu is covered by something. Try setting this value higher
|
63
|
-
z-index: 10;
|
64
|
-
.dk_toggle {
|
65
|
-
background-color: $select-bg;
|
66
|
-
.select-icon {
|
67
|
-
background-color: scale-color($select-bg, $lightness: -4%);
|
68
|
-
border-left-color: transparent;
|
69
|
-
}
|
70
|
-
}
|
71
|
-
}
|
72
|
-
|
73
|
-
// The outer container of the options
|
74
|
-
.dk_options {
|
75
|
-
padding-top: 14px;
|
76
|
-
// Dropdown triangle ear
|
77
|
-
@include dropdown-arrow;
|
78
|
-
&:before {
|
79
|
-
left: auto;
|
80
|
-
right: 12px;
|
81
|
-
}
|
82
|
-
li {
|
83
|
-
padding-bottom: 3px;
|
84
|
-
}
|
85
|
-
a {
|
86
|
-
@include border-radius(3px);
|
87
|
-
color: $select-text-color;
|
88
|
-
display: block;
|
89
|
-
padding: 5px 9px;
|
90
|
-
text-decoration: none;
|
91
|
-
&:hover {
|
92
|
-
background-color: $select-bg;
|
93
|
-
}
|
94
|
-
}
|
95
|
-
}
|
96
|
-
|
97
|
-
.dk_option_current a {
|
98
|
-
background-color: $select-bg;
|
99
|
-
}
|
100
|
-
|
101
|
-
// Inner container for options, this is what makes the scrollbar possible.
|
102
|
-
.dk_options_inner {
|
103
|
-
background-color: $select-options-bg;
|
104
|
-
@include border-radius(5px);
|
105
|
-
margin: 0;
|
106
|
-
max-height: 244px;
|
107
|
-
padding: 3px 3px 0;
|
108
|
-
}
|
109
|
-
|
110
|
-
// Set a max-height on the options inner
|
111
|
-
.dk_touch .dk_options {
|
112
|
-
max-height: 250px;
|
113
|
-
}
|
114
|
-
|
115
|
-
//------- End Theme --------
|
116
|
-
|
117
|
-
//------- Critical to the continued enjoyment of working dropdowns --------
|
118
|
-
.dk_container {
|
119
|
-
display: none;
|
120
|
-
position: relative;
|
121
|
-
vertical-align: middle;
|
122
|
-
&.dk_shown {
|
123
|
-
@include inline-block;
|
124
|
-
}
|
125
|
-
}
|
126
|
-
|
127
|
-
.dk_toggle {
|
128
|
-
display: block;
|
129
|
-
position: relative;
|
130
|
-
}
|
131
|
-
|
132
|
-
.dk_open {
|
133
|
-
position: relative;
|
134
|
-
.dk_options {
|
135
|
-
margin-top: -1px;
|
136
|
-
opacity: 1;
|
137
|
-
z-index: 10;
|
138
|
-
// Opacity fallback for IE
|
139
|
-
display: block\9;
|
140
|
-
}
|
141
|
-
.dk_label {
|
142
|
-
color: inherit;
|
143
|
-
}
|
144
|
-
}
|
145
|
-
|
146
|
-
.dk_options {
|
147
|
-
margin-top: -21px;
|
148
|
-
position: absolute;
|
149
|
-
left: 0;
|
150
|
-
opacity: 0;
|
151
|
-
width: 220px;
|
152
|
-
z-index: -100;
|
153
|
-
// Opacity fallback for IE
|
154
|
-
display: none\9;
|
155
|
-
@include transition(0.3s ease-out);
|
156
|
-
// Align by right
|
157
|
-
.select-right & {
|
158
|
-
left: auto;
|
159
|
-
right: 0;
|
160
|
-
}
|
161
|
-
a {
|
162
|
-
display: block;
|
163
|
-
}
|
164
|
-
}
|
165
|
-
|
166
|
-
.dk_options_inner {
|
167
|
-
overflow: auto;
|
168
|
-
outline: none;
|
169
|
-
position: relative;
|
170
|
-
}
|
171
|
-
|
172
|
-
.dk_touch {
|
173
|
-
.dk_options {
|
174
|
-
overflow: hidden;
|
175
|
-
}
|
176
|
-
.dk_options_inner {
|
177
|
-
max-height: none;
|
178
|
-
overflow: visible;
|
179
|
-
}
|
180
|
-
}
|
181
|
-
|
182
|
-
.dk_fouc select[data-furatto='select'] {
|
183
|
-
position: relative;
|
184
|
-
top: -99999em;
|
185
|
-
visibility: hidden;
|
186
|
-
}
|
187
|
-
|
188
|
-
//
|
189
|
-
select {
|
190
|
-
margin-bottom: 8px;
|
191
|
-
}
|