furatto 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/furatto.gemspec +21 -0
- data/lib/furatto.rb +16 -0
- data/lib/furatto/engine.rb +6 -0
- data/lib/furatto/version.rb +3 -0
- data/vendor/assets/fonts/fontawesome/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svg +399 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/meteocons-webfont.eot +0 -0
- data/vendor/assets/fonts/meteocons-webfont.svg +81 -0
- data/vendor/assets/fonts/meteocons-webfont.ttf +0 -0
- data/vendor/assets/fonts/meteocons-webfont.woff +0 -0
- 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 +169 -0
- data/vendor/assets/javascripts/furatto.js +15 -0
- data/vendor/assets/javascripts/jpanel.js +547 -0
- data/vendor/assets/javascripts/jquery.avgrund.js +127 -0
- data/vendor/assets/javascripts/jquery.dropkick-1.0.0.js +400 -0
- data/vendor/assets/javascripts/jquery.icheck.js +462 -0
- data/vendor/assets/javascripts/jquery.tagsinput.js +354 -0
- data/vendor/assets/javascripts/jquery.toolbar.js +242 -0
- data/vendor/assets/javascripts/legacy.js +140 -0
- data/vendor/assets/javascripts/picker.date.js +957 -0
- data/vendor/assets/javascripts/picker.js +785 -0
- data/vendor/assets/javascripts/picker.time.js +651 -0
- data/vendor/assets/javascripts/rainbow-custom.min.js +13 -0
- data/vendor/assets/javascripts/responsive-tables.js +67 -0
- data/vendor/assets/javascripts/responsiveslides.js +391 -0
- data/vendor/assets/javascripts/tooltip.js +353 -0
- data/vendor/assets/stylesheets/furatto.scss +101 -0
- data/vendor/assets/stylesheets/furatto/_alerts.scss +81 -0
- data/vendor/assets/stylesheets/furatto/_base.scss +187 -0
- data/vendor/assets/stylesheets/furatto/_buttons.scss +100 -0
- data/vendor/assets/stylesheets/furatto/_code.scss +66 -0
- data/vendor/assets/stylesheets/furatto/_date_picker.date.scss +266 -0
- data/vendor/assets/stylesheets/furatto/_date_picker.scss +158 -0
- data/vendor/assets/stylesheets/furatto/_date_picker.time.scss +122 -0
- data/vendor/assets/stylesheets/furatto/_dropdown.scss +261 -0
- data/vendor/assets/stylesheets/furatto/_font-awesome-ie7.scss +1953 -0
- data/vendor/assets/stylesheets/furatto/_fonts.scss +614 -0
- data/vendor/assets/stylesheets/furatto/_footer.scss +44 -0
- data/vendor/assets/stylesheets/furatto/_forms.scss +290 -0
- data/vendor/assets/stylesheets/furatto/_grid.scss +56 -0
- data/vendor/assets/stylesheets/furatto/_images.scss +44 -0
- data/vendor/assets/stylesheets/furatto/_labels.scss +43 -0
- data/vendor/assets/stylesheets/furatto/_layout.scss +0 -0
- data/vendor/assets/stylesheets/furatto/_left_navbar.scss +100 -0
- data/vendor/assets/stylesheets/furatto/_mixins.scss +283 -0
- data/vendor/assets/stylesheets/furatto/_modal.scss +103 -0
- data/vendor/assets/stylesheets/furatto/_nav.scss +106 -0
- data/vendor/assets/stylesheets/furatto/_navbar.scss +187 -0
- data/vendor/assets/stylesheets/furatto/_pagination.scss +158 -0
- data/vendor/assets/stylesheets/furatto/_responsive-1200px-min.scss +21 -0
- data/vendor/assets/stylesheets/furatto/_responsive-767px-max.scss +82 -0
- data/vendor/assets/stylesheets/furatto/_responsive-768px-979px.scss +23 -0
- data/vendor/assets/stylesheets/furatto/_responsive_navbar.scss +184 -0
- data/vendor/assets/stylesheets/furatto/_responsive_tables.scss +28 -0
- data/vendor/assets/stylesheets/furatto/_responsiveslides.scss +202 -0
- data/vendor/assets/stylesheets/furatto/_select.scss +191 -0
- data/vendor/assets/stylesheets/furatto/_tables.scss +90 -0
- data/vendor/assets/stylesheets/furatto/_tags.scss +107 -0
- data/vendor/assets/stylesheets/furatto/_toolbars.scss +116 -0
- data/vendor/assets/stylesheets/furatto/_tooltips.scss +143 -0
- data/vendor/assets/stylesheets/furatto/_typography.scss +266 -0
- data/vendor/assets/stylesheets/furatto/_variables.scss +628 -0
- data/vendor/assets/stylesheets/furatto/_vrt_navbar.scss +61 -0
- data/vendor/assets/stylesheets/furatto/icheck/_aero.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_all.scss +20 -0
- data/vendor/assets/stylesheets/furatto/icheck/_blue.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_flat.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_green.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_grey.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_orange.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_pink.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_purple.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_red.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_yellow.scss +64 -0
- data/vendor/assets/stylesheets/normalize.scss +403 -0
- metadata +162 -0
@@ -0,0 +1,81 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$ALERTS
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Basic alert structural styling.
|
6
|
+
*
|
7
|
+
* Designed and built @kurenn
|
8
|
+
*/
|
9
|
+
|
10
|
+
.alert {
|
11
|
+
padding: 8px 35px 8px 14px;
|
12
|
+
margin-bottom: $base-line-height;
|
13
|
+
background-color: $orange;
|
14
|
+
@include border-radius($base-radius);
|
15
|
+
color: $warning-alert-color;
|
16
|
+
font-size: $base-font-size;
|
17
|
+
text-shadow: 0 1px 0 rgba(255,255,255,.3);
|
18
|
+
|
19
|
+
.header, strong {
|
20
|
+
color: $warning-header-color;
|
21
|
+
font-weight: 600;
|
22
|
+
font-size: $base-font-size;
|
23
|
+
}
|
24
|
+
|
25
|
+
.header {
|
26
|
+
margin: 0;
|
27
|
+
}
|
28
|
+
|
29
|
+
.close {
|
30
|
+
position: relative;
|
31
|
+
top: -2px;
|
32
|
+
right: -21px;
|
33
|
+
line-height: $base-line-height;
|
34
|
+
color: $dark-orange;
|
35
|
+
float: right;
|
36
|
+
border: none;
|
37
|
+
background: none;
|
38
|
+
font-size: 20px;
|
39
|
+
cursor: pointer;
|
40
|
+
font-weight: 600;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.alert-success {
|
45
|
+
background-color: $green;
|
46
|
+
color: $success-alert-color;
|
47
|
+
|
48
|
+
.header {
|
49
|
+
color: $success-header-color;
|
50
|
+
}
|
51
|
+
|
52
|
+
.close {
|
53
|
+
color: $dark-green;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
.alert-info {
|
58
|
+
background-color: $blue;
|
59
|
+
color: $info-alert-color;
|
60
|
+
|
61
|
+
.header, strong {
|
62
|
+
color: $info-header-color;
|
63
|
+
}
|
64
|
+
|
65
|
+
.close {
|
66
|
+
color: $dark-blue;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
.alert-danger {
|
71
|
+
background-color: $red;
|
72
|
+
color: $danger-alert-color;
|
73
|
+
|
74
|
+
.header, strong {
|
75
|
+
color: $danger-header-color;
|
76
|
+
}
|
77
|
+
|
78
|
+
.close {
|
79
|
+
color: $dark-red;
|
80
|
+
}
|
81
|
+
}
|
@@ -0,0 +1,187 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$BASE
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Basic site structural styling.
|
6
|
+
*
|
7
|
+
* Designed and built @kurenn
|
8
|
+
*/
|
9
|
+
|
10
|
+
html {
|
11
|
+
font-family: $font-family;
|
12
|
+
}
|
13
|
+
|
14
|
+
h1, h2, h3, h4, h5, h6 {
|
15
|
+
font-weight: $base-font-weight;
|
16
|
+
}
|
17
|
+
|
18
|
+
a {
|
19
|
+
text-decoration: none;
|
20
|
+
color: $link-color;
|
21
|
+
}
|
22
|
+
|
23
|
+
html, body {
|
24
|
+
background-color: $bg-color;
|
25
|
+
}
|
26
|
+
|
27
|
+
body {
|
28
|
+
padding-top: $navbar-height;
|
29
|
+
}
|
30
|
+
|
31
|
+
.with-left-navbar {
|
32
|
+
padding-left: $vrt-navbar-width + 2em;
|
33
|
+
}
|
34
|
+
|
35
|
+
/* Jumbo Header */
|
36
|
+
/*--------------------------------------*/
|
37
|
+
.furatto-jumbo-header {
|
38
|
+
min-height: 300px;
|
39
|
+
width: 100%;
|
40
|
+
display: block;
|
41
|
+
text-align: center;
|
42
|
+
color: $dark-black;
|
43
|
+
padding-bottom: 15px;
|
44
|
+
padding-top: 15px;
|
45
|
+
|
46
|
+
.furatto-jumbo-container {
|
47
|
+
width: 80%;
|
48
|
+
margin: 0 auto;
|
49
|
+
}
|
50
|
+
|
51
|
+
.jumbo-header {
|
52
|
+
font-size: 100px;
|
53
|
+
text-align: center;
|
54
|
+
margin-bottom: 40px;
|
55
|
+
font-weight: 200;
|
56
|
+
}
|
57
|
+
|
58
|
+
.motto {
|
59
|
+
font-size: 40px;
|
60
|
+
font-weight: lighter;
|
61
|
+
margin: 0 0 15px 0;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
/* Layouts */
|
66
|
+
/*---------------------------------*/
|
67
|
+
|
68
|
+
/* Container (centered, fixed-width layouts) */
|
69
|
+
/*-----------------------------*/
|
70
|
+
.container {
|
71
|
+
@include container-fixed();
|
72
|
+
}
|
73
|
+
|
74
|
+
/* Fluid layouts (left aligned, with sidebar, min- & max-width content) */
|
75
|
+
/*-----------------------------*/
|
76
|
+
.container-fluid {
|
77
|
+
padding-right: $gridGutterWidth;
|
78
|
+
padding-left: $gridGutterWidth;
|
79
|
+
@include clearfix();
|
80
|
+
}
|
81
|
+
|
82
|
+
/* Steps for definining furatto */
|
83
|
+
/*-----------------------------*/
|
84
|
+
.furatto-steps {
|
85
|
+
text-align: center;
|
86
|
+
width: 80%;
|
87
|
+
margin: 0 auto;
|
88
|
+
|
89
|
+
.furatto-steps-header {
|
90
|
+
color: #232323;
|
91
|
+
font-size: 50px;
|
92
|
+
font-weight: lighter;
|
93
|
+
}
|
94
|
+
|
95
|
+
.step-header {
|
96
|
+
color: #666;
|
97
|
+
}
|
98
|
+
|
99
|
+
.step-desc {
|
100
|
+
color: #5a5a5a;
|
101
|
+
width: 80%;
|
102
|
+
margin: 0 auto;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
hr {
|
107
|
+
width: 100%;
|
108
|
+
border-top: 0px;
|
109
|
+
border-bottom: 1px solid #CCC;
|
110
|
+
}
|
111
|
+
|
112
|
+
.link {
|
113
|
+
color: $link-color !important;
|
114
|
+
}
|
115
|
+
|
116
|
+
.block {
|
117
|
+
display: block;
|
118
|
+
}
|
119
|
+
|
120
|
+
/* Furatto Headers */
|
121
|
+
/*-------------------------*/
|
122
|
+
.furatto-large-header {
|
123
|
+
width: 100%;
|
124
|
+
display: block;
|
125
|
+
text-align: center;
|
126
|
+
color: #232323;
|
127
|
+
padding-bottom: 15px;
|
128
|
+
padding-top: 15px;
|
129
|
+
|
130
|
+
.furatto-large-container {
|
131
|
+
width: 100%;
|
132
|
+
margin: 0 auto;
|
133
|
+
}
|
134
|
+
|
135
|
+
.large-header {
|
136
|
+
font-size: 3em;
|
137
|
+
text-align: center;
|
138
|
+
margin: 0;
|
139
|
+
margin-bottom: 10px;
|
140
|
+
color: #4b4b4b;
|
141
|
+
}
|
142
|
+
|
143
|
+
.motto {
|
144
|
+
font-size: 1.5em;
|
145
|
+
font-weight: lighter;
|
146
|
+
margin: 0 0 15px 0;
|
147
|
+
color: #ccc;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
.container-center {
|
152
|
+
width: 80%;
|
153
|
+
margin: 0 auto;
|
154
|
+
}
|
155
|
+
|
156
|
+
/* Blockquote */
|
157
|
+
/*----------------------------*/
|
158
|
+
.content-quote {
|
159
|
+
color: #666;
|
160
|
+
font-style: italic;
|
161
|
+
line-height: 1.8em;
|
162
|
+
border-left: 5px solid #ddd;
|
163
|
+
padding-left: 1.5em
|
164
|
+
}
|
165
|
+
|
166
|
+
/* Helper classes */
|
167
|
+
/*----------------------------*/
|
168
|
+
.clearfix {
|
169
|
+
@include clearfix;
|
170
|
+
}
|
171
|
+
|
172
|
+
.hide {
|
173
|
+
display: none;
|
174
|
+
}
|
175
|
+
|
176
|
+
.furatto-block {
|
177
|
+
@include clearfix;
|
178
|
+
}
|
179
|
+
|
180
|
+
//Floats
|
181
|
+
.pull-right {
|
182
|
+
float: right;
|
183
|
+
}
|
184
|
+
|
185
|
+
.pull-left {
|
186
|
+
float: left;
|
187
|
+
}
|
@@ -0,0 +1,100 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$BUTTONS
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Basic button structural styling.
|
6
|
+
*
|
7
|
+
* Designed and built @kurenn
|
8
|
+
*/
|
9
|
+
|
10
|
+
.btn {
|
11
|
+
display: inline-block;
|
12
|
+
*display: inline;
|
13
|
+
padding: 4px 12px;
|
14
|
+
line-height: 20px;
|
15
|
+
font-size: $base-font-size;
|
16
|
+
color: #FFF;
|
17
|
+
background-color: $dark-gray;
|
18
|
+
cursor: pointer;
|
19
|
+
text-align: center;
|
20
|
+
vertical-align: middle;
|
21
|
+
border: none;
|
22
|
+
margin: 0;
|
23
|
+
@include single-transition(opacity, 0.2s, ease-in-out);
|
24
|
+
@include border-radius($base-radius);
|
25
|
+
margin-bottom: 5px;
|
26
|
+
|
27
|
+
&:hover, &:focus {
|
28
|
+
zoom: 1;
|
29
|
+
text-decoration: none;
|
30
|
+
background: $gray;
|
31
|
+
}
|
32
|
+
|
33
|
+
&.disabled, &[disabled] {
|
34
|
+
cursor: no-drop;
|
35
|
+
background-color: $dark-gray;
|
36
|
+
@include opacity(0.65);
|
37
|
+
}
|
38
|
+
|
39
|
+
&.active, &:active {
|
40
|
+
outline: 0;
|
41
|
+
}
|
42
|
+
|
43
|
+
[class^="icon-"], [class*=" icon-"] {
|
44
|
+
margin-right: 5px;
|
45
|
+
}
|
46
|
+
|
47
|
+
}
|
48
|
+
|
49
|
+
/* Button colors definition */
|
50
|
+
/*---------------------------*/
|
51
|
+
@each $color in $colors {
|
52
|
+
.btn-#{nth($color, 1)} {
|
53
|
+
background-color: nth($color, 2);
|
54
|
+
|
55
|
+
&:hover, &:focus {
|
56
|
+
background-color: nth($color, 3);
|
57
|
+
}
|
58
|
+
|
59
|
+
&.disabled, &[disabled] {
|
60
|
+
background-color: nth($color, 2);
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
/* Button sizes */
|
66
|
+
/*-----------------------------*/
|
67
|
+
|
68
|
+
.btn-large {
|
69
|
+
padding: $padding-large;
|
70
|
+
font-size: $font-size-large;
|
71
|
+
}
|
72
|
+
|
73
|
+
.btn-xlarge {
|
74
|
+
padding: $padding-xlarge;
|
75
|
+
font-size: $font-size-xlarge;
|
76
|
+
}
|
77
|
+
|
78
|
+
.btn-small {
|
79
|
+
padding: $padding-small;
|
80
|
+
font-size: $font-size-small;
|
81
|
+
}
|
82
|
+
|
83
|
+
.btn-mini {
|
84
|
+
padding: $padding-mini;
|
85
|
+
font-size: $font-size-mini;
|
86
|
+
}
|
87
|
+
|
88
|
+
.btn-block {
|
89
|
+
display: block;
|
90
|
+
width: 100%;
|
91
|
+
padding-left: 0px;
|
92
|
+
padding-right: 0px;
|
93
|
+
}
|
94
|
+
|
95
|
+
/* Vertical separation */
|
96
|
+
/*----------------------*/
|
97
|
+
.btn-block + .btn-block {
|
98
|
+
margin-top: 5px;
|
99
|
+
}
|
100
|
+
|
@@ -0,0 +1,66 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$CODE
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Basic code structural styling.
|
6
|
+
*
|
7
|
+
* Designed and built @kurenn based on the Baby Blue them for RainbowJS by tilomitra
|
8
|
+
*/
|
9
|
+
|
10
|
+
pre {
|
11
|
+
word-wrap: break-word;
|
12
|
+
padding: 6px 10;
|
13
|
+
line-height: 1.3em;
|
14
|
+
margin-bottom: 20;
|
15
|
+
border: 1px solid #eee;
|
16
|
+
}
|
17
|
+
|
18
|
+
code {
|
19
|
+
border: none;
|
20
|
+
margin: 0 2px;
|
21
|
+
font-size: $code-font-size;
|
22
|
+
white-space: nowrap;
|
23
|
+
}
|
24
|
+
|
25
|
+
pre code {
|
26
|
+
padding: 0;
|
27
|
+
margin: 0;
|
28
|
+
font-size: 0.95em;
|
29
|
+
white-space: pre-wrap;
|
30
|
+
}
|
31
|
+
|
32
|
+
pre, code {
|
33
|
+
font-family: Consolas, 'Liberation Mono', Courier, monospace;
|
34
|
+
color: #333;
|
35
|
+
background: $code-bg;
|
36
|
+
}
|
37
|
+
|
38
|
+
pre .comment {
|
39
|
+
color: #999;
|
40
|
+
}
|
41
|
+
|
42
|
+
pre .tag, pre .tag-name, pre .support.tag-name {
|
43
|
+
color: rgb(85, 85, 85);
|
44
|
+
}
|
45
|
+
|
46
|
+
pre .keyword, pre .css-property, pre .vendor-prefix, pre .sass, pre .class, pre .id, pre .css-value, pre .entity.function, pre .storage.function {
|
47
|
+
font-weight: bold;
|
48
|
+
}
|
49
|
+
|
50
|
+
pre .css-property, pre .css-value, pre .vendor-prefix, pre .support.namespace {
|
51
|
+
color: #333;
|
52
|
+
}
|
53
|
+
|
54
|
+
pre .constant.numeric, pre .keyword.unit, pre .hex-color {
|
55
|
+
font-weight: normal;
|
56
|
+
color: #099;
|
57
|
+
}
|
58
|
+
|
59
|
+
pre .attribute, pre .variable, pre .support {
|
60
|
+
color: #757575; /* skinbuilder block-page-text-normal with #1f8dd6 as primary */
|
61
|
+
}
|
62
|
+
|
63
|
+
pre .string, pre .support.value {
|
64
|
+
font-weight: normal;
|
65
|
+
color: $dark-blue; /* skinbuilder block-mine-text-low with #1f8dd6 as primary */
|
66
|
+
}
|
@@ -0,0 +1,266 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$DATEPICKER
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Basic 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 picker box.
|
13
|
+
*/
|
14
|
+
.picker__box {
|
15
|
+
padding: 0 1em;
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* The header containing the month and year stuff.
|
19
|
+
*/
|
20
|
+
.picker__header {
|
21
|
+
text-align: center;
|
22
|
+
position: relative;
|
23
|
+
margin-top: .75em;
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
* The month and year labels.
|
27
|
+
*/
|
28
|
+
.picker__month,
|
29
|
+
.picker__year {
|
30
|
+
font-weight: 500;
|
31
|
+
display: inline-block;
|
32
|
+
margin-left: .25em;
|
33
|
+
margin-right: .25em;
|
34
|
+
}
|
35
|
+
.picker__year {
|
36
|
+
color: #999999;
|
37
|
+
font-size: .8em;
|
38
|
+
font-style: italic;
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* The month and year selectors.
|
42
|
+
*/
|
43
|
+
.picker__select--month,
|
44
|
+
.picker__select--year {
|
45
|
+
font-size: .8em;
|
46
|
+
border: 1px solid #b7b7b7;
|
47
|
+
height: 2.5em;
|
48
|
+
padding: .66em .25em;
|
49
|
+
margin-left: .25em;
|
50
|
+
margin-right: .25em;
|
51
|
+
margin-top: -0.5em;
|
52
|
+
}
|
53
|
+
.picker__select--month {
|
54
|
+
width: 35%;
|
55
|
+
}
|
56
|
+
.picker__select--year {
|
57
|
+
width: 22.5%;
|
58
|
+
}
|
59
|
+
.picker__select--month:focus,
|
60
|
+
.picker__select--year:focus {
|
61
|
+
border-color: #0089ec;
|
62
|
+
}
|
63
|
+
/**
|
64
|
+
* The month navigation buttons.
|
65
|
+
*/
|
66
|
+
.picker__nav--prev,
|
67
|
+
.picker__nav--next {
|
68
|
+
position: absolute;
|
69
|
+
top: -0.33em;
|
70
|
+
padding: .5em 1.33em;
|
71
|
+
width: 1em;
|
72
|
+
height: 1em;
|
73
|
+
}
|
74
|
+
.picker__nav--prev {
|
75
|
+
left: -1em;
|
76
|
+
padding-right: 1.5em;
|
77
|
+
}
|
78
|
+
.picker__nav--next {
|
79
|
+
right: -1em;
|
80
|
+
padding-left: 1.5em;
|
81
|
+
}
|
82
|
+
.picker__nav--prev:before,
|
83
|
+
.picker__nav--next:before {
|
84
|
+
content: " ";
|
85
|
+
border-top: .5em solid transparent;
|
86
|
+
border-bottom: .5em solid transparent;
|
87
|
+
border-right: 0.75em solid $dark-black;
|
88
|
+
width: 0;
|
89
|
+
height: 0;
|
90
|
+
display: block;
|
91
|
+
margin: 0 auto;
|
92
|
+
}
|
93
|
+
.picker__nav--next:before {
|
94
|
+
border-right: 0;
|
95
|
+
border-left: 0.75em solid $dark-black;
|
96
|
+
}
|
97
|
+
.picker__nav--prev:hover,
|
98
|
+
.picker__nav--next:hover {
|
99
|
+
cursor: pointer;
|
100
|
+
color: #000000;
|
101
|
+
background: #b1dcfb;
|
102
|
+
}
|
103
|
+
.picker__nav--disabled,
|
104
|
+
.picker__nav--disabled:hover,
|
105
|
+
.picker__nav--disabled:before,
|
106
|
+
.picker__nav--disabled:before:hover {
|
107
|
+
cursor: default;
|
108
|
+
background: none;
|
109
|
+
border-right-color: #f5f5f5;
|
110
|
+
border-left-color: #f5f5f5;
|
111
|
+
}
|
112
|
+
/**
|
113
|
+
* The calendar table of dates
|
114
|
+
*/
|
115
|
+
.picker__table {
|
116
|
+
text-align: center;
|
117
|
+
border-collapse: collapse;
|
118
|
+
border-spacing: 0;
|
119
|
+
table-layout: fixed;
|
120
|
+
font-size: inherit;
|
121
|
+
width: 100%;
|
122
|
+
margin-top: .75em;
|
123
|
+
margin-bottom: .5em;
|
124
|
+
}
|
125
|
+
/* Responsive calendar styling */
|
126
|
+
/*-----------------------------*/
|
127
|
+
@media (min-height: 33.875em) {
|
128
|
+
.picker__table {
|
129
|
+
margin-bottom: .75em;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
.picker__table td {
|
133
|
+
margin: 0;
|
134
|
+
padding: 0;
|
135
|
+
}
|
136
|
+
/**
|
137
|
+
* The weekday labels
|
138
|
+
*/
|
139
|
+
.picker__weekday {
|
140
|
+
width: 14.285714286%;
|
141
|
+
font-size: .75em;
|
142
|
+
padding-bottom: .25em;
|
143
|
+
color: #999999;
|
144
|
+
font-weight: 500;
|
145
|
+
/* Increase the spacing a tad */
|
146
|
+
|
147
|
+
}
|
148
|
+
@media (min-height: 33.875em) {
|
149
|
+
.picker__weekday {
|
150
|
+
padding-bottom: .5em;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
/**
|
155
|
+
* The days on the calendar
|
156
|
+
*/
|
157
|
+
.picker__day {
|
158
|
+
padding: .3125em 0;
|
159
|
+
font-weight: 200;
|
160
|
+
border: 1px solid transparent;
|
161
|
+
}
|
162
|
+
.picker__day--today {
|
163
|
+
color: #0089ec;
|
164
|
+
position: relative;
|
165
|
+
}
|
166
|
+
.picker__day--today:before {
|
167
|
+
content: " ";
|
168
|
+
position: absolute;
|
169
|
+
top: 2px;
|
170
|
+
right: 2px;
|
171
|
+
width: 0;
|
172
|
+
height: 0;
|
173
|
+
border-top: 0.5em solid #0059bc;
|
174
|
+
border-left: .5em solid transparent;
|
175
|
+
}
|
176
|
+
.picker__day--selected,
|
177
|
+
.picker__day--selected:hover {
|
178
|
+
border-color: #0089ec;
|
179
|
+
}
|
180
|
+
.picker__day--highlighted {
|
181
|
+
background: $calendar-highlight-color;
|
182
|
+
}
|
183
|
+
.picker__day--disabled:before {
|
184
|
+
border-top-color: #aaaaaa;
|
185
|
+
}
|
186
|
+
.picker__day--outfocus {
|
187
|
+
color: #dddddd;
|
188
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=66)";
|
189
|
+
filter: alpha(opacity=66);
|
190
|
+
-moz-opacity: 0.66;
|
191
|
+
opacity: 0.66;
|
192
|
+
}
|
193
|
+
.picker__day--infocus:hover,
|
194
|
+
.picker__day--outfocus:hover {
|
195
|
+
cursor: pointer;
|
196
|
+
color: #000000;
|
197
|
+
background: $calendar-highlight-color;
|
198
|
+
}
|
199
|
+
.picker__day--highlighted:hover,
|
200
|
+
.picker--focused .picker__day--highlighted {
|
201
|
+
background: $calendar-highlighted-color;
|
202
|
+
color: $white;
|
203
|
+
}
|
204
|
+
.picker__day--disabled,
|
205
|
+
.picker__day--disabled:hover {
|
206
|
+
background: #f5f5f5;
|
207
|
+
border-color: #f5f5f5;
|
208
|
+
color: #dddddd;
|
209
|
+
cursor: default;
|
210
|
+
}
|
211
|
+
.picker__day--highlighted.picker__day--disabled,
|
212
|
+
.picker__day--highlighted.picker__day--disabled:hover {
|
213
|
+
background: #bbbbbb;
|
214
|
+
}
|
215
|
+
/**
|
216
|
+
* The footer containing the "today" and "clear" buttons.
|
217
|
+
*/
|
218
|
+
.picker__footer {
|
219
|
+
text-align: center;
|
220
|
+
}
|
221
|
+
.picker__button--today,
|
222
|
+
.picker__button--clear {
|
223
|
+
border: 1px solid $white;
|
224
|
+
background: $white;
|
225
|
+
font-size: .8em;
|
226
|
+
padding: .66em 0;
|
227
|
+
font-weight: bold;
|
228
|
+
width: 50%;
|
229
|
+
display: inline-block;
|
230
|
+
vertical-align: bottom;
|
231
|
+
}
|
232
|
+
.picker__button--today:hover,
|
233
|
+
.picker__button--clear:hover {
|
234
|
+
cursor: pointer;
|
235
|
+
color: #000000;
|
236
|
+
background: $calendar-highlight-color;
|
237
|
+
border-bottom-color: $calendar-highlight-color;
|
238
|
+
}
|
239
|
+
.picker__button--today:focus,
|
240
|
+
.picker__button--clear:focus {
|
241
|
+
background: $calendar-highlight-color;
|
242
|
+
border-color: $calendar-highlighted-color;
|
243
|
+
outline: none;
|
244
|
+
}
|
245
|
+
.picker__button--today:before,
|
246
|
+
.picker__button--clear:before {
|
247
|
+
position: relative;
|
248
|
+
display: inline-block;
|
249
|
+
height: 0;
|
250
|
+
}
|
251
|
+
.picker__button--today:before {
|
252
|
+
content: " ";
|
253
|
+
margin-right: .45em;
|
254
|
+
top: -0.05em;
|
255
|
+
width: 0;
|
256
|
+
border-top: 0.66em solid #0059bc;
|
257
|
+
border-left: .66em solid transparent;
|
258
|
+
}
|
259
|
+
.picker__button--clear:before {
|
260
|
+
content: "\D7";
|
261
|
+
margin-right: .35em;
|
262
|
+
top: -0.1em;
|
263
|
+
color: #ee2200;
|
264
|
+
vertical-align: top;
|
265
|
+
font-size: 1.1em;
|
266
|
+
}
|