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,191 @@
|
|
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
|
+
}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$TABLES
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Basic table structural styling.
|
6
|
+
*
|
7
|
+
* Designed and built @kurenn
|
8
|
+
*/
|
9
|
+
|
10
|
+
//Base tables
|
11
|
+
table {
|
12
|
+
max-width: 100%;
|
13
|
+
background-color: transparent;
|
14
|
+
border-collapse: collapse;
|
15
|
+
border-spacing: 0;
|
16
|
+
border: none;
|
17
|
+
}
|
18
|
+
|
19
|
+
.table {
|
20
|
+
width: 100%;
|
21
|
+
margin-bottom: $base-line-height;
|
22
|
+
|
23
|
+
/*Cells */
|
24
|
+
th, td {
|
25
|
+
padding: 10px;
|
26
|
+
line-height: $base-line-height;
|
27
|
+
text-align: left;
|
28
|
+
vertical-align: top;
|
29
|
+
border-top: 1px solid $table-border-color;
|
30
|
+
}
|
31
|
+
|
32
|
+
th {
|
33
|
+
font-weight: bold;
|
34
|
+
border-bottom: 1px solid $table-border-color;
|
35
|
+
}
|
36
|
+
|
37
|
+
thead th {
|
38
|
+
vertical-align: bottom;
|
39
|
+
}
|
40
|
+
|
41
|
+
//Remove border top from thead
|
42
|
+
caption + thead tr:first-child th,
|
43
|
+
caption + thead tr:first-child td,
|
44
|
+
colgroup + thead tr:first-child th,
|
45
|
+
colgroup + thead tr:first-child td,
|
46
|
+
thead:first-child tr:first-child th,
|
47
|
+
thead:first-child tr:first-child td {
|
48
|
+
border-top: 0;
|
49
|
+
}
|
50
|
+
|
51
|
+
//Adjacents tbody support
|
52
|
+
tbody + tbody {
|
53
|
+
border-top: 2px solid $table-border-color;
|
54
|
+
}
|
55
|
+
|
56
|
+
//Table backgrounds
|
57
|
+
@each $color in $colors {
|
58
|
+
.tr-#{nth($color, 1)} {
|
59
|
+
background-color: lighten(nth($color, 3), 0.9);
|
60
|
+
color: #FFF;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
//Condensed table
|
66
|
+
.table-condensed {
|
67
|
+
th, td {
|
68
|
+
padding: 4px 5px;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
//Striped
|
73
|
+
.table-striped {
|
74
|
+
tbody {
|
75
|
+
> tr:nth-child(odd) > td,
|
76
|
+
> tr:nth-child(odd) > th {
|
77
|
+
background-color: $table-striped-color;
|
78
|
+
}
|
79
|
+
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
//Table bordered
|
84
|
+
.table-bordered {
|
85
|
+
border: 1px solid $table-border-color;
|
86
|
+
|
87
|
+
th, td {
|
88
|
+
border: 1px solid $table-border-color;
|
89
|
+
}
|
90
|
+
}
|
@@ -0,0 +1,107 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$TAGS
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Basic tags structural styling based on XOXCO plugin
|
6
|
+
* http://xoxco.com/projects/code/tagsinput/
|
7
|
+
*
|
8
|
+
* Designed and built @kurenn
|
9
|
+
*/
|
10
|
+
|
11
|
+
.tagsinput {
|
12
|
+
background: white;
|
13
|
+
border: 1px solid #CCC;
|
14
|
+
padding: 4px 1px 0px 4px;
|
15
|
+
overflow-y: auto;
|
16
|
+
text-align: left;
|
17
|
+
.tag {
|
18
|
+
@include border-radius(2px);
|
19
|
+
background: $dark-blue;
|
20
|
+
color: lighten($inverse, 90%);
|
21
|
+
cursor: pointer;
|
22
|
+
margin-right: 5px;
|
23
|
+
margin-bottom: 5px;
|
24
|
+
overflow: hidden;
|
25
|
+
padding: 6px 13px 6px 19px;
|
26
|
+
position: relative;
|
27
|
+
vertical-align: middle;
|
28
|
+
@include inline-block;
|
29
|
+
@include transition(0.14s linear);
|
30
|
+
&:hover {
|
31
|
+
background-color: scale-color($dark-blue, $lightness: -15%);
|
32
|
+
padding-left: 12px;
|
33
|
+
padding-right: 20px;
|
34
|
+
.tagsinput-remove-link {
|
35
|
+
color: $inverse;
|
36
|
+
@include opacity(1);
|
37
|
+
// Opacity fallback for IE
|
38
|
+
display: block\9;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
input {
|
43
|
+
background: transparent;
|
44
|
+
border: none;
|
45
|
+
color: $inverse;
|
46
|
+
font-size: $base-font-size;
|
47
|
+
margin: 0px;
|
48
|
+
padding: 0 0 0 5px;
|
49
|
+
outline: 0;
|
50
|
+
margin-right: 5px;
|
51
|
+
margin-bottom: 5px;
|
52
|
+
width: auto;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.tagsinput-remove-link {
|
57
|
+
bottom: 0;
|
58
|
+
color: $inverse;
|
59
|
+
cursor: pointer;
|
60
|
+
font-size: 12px;
|
61
|
+
opacity: 0;
|
62
|
+
padding: 9px 7px 3px 0;
|
63
|
+
position: absolute;
|
64
|
+
right: 0;
|
65
|
+
text-align: right;
|
66
|
+
text-decoration: none;
|
67
|
+
top: 0;
|
68
|
+
width: 100%;
|
69
|
+
z-index: 2;
|
70
|
+
// Opacity fallback for IE
|
71
|
+
display: none\9;
|
72
|
+
&:before {
|
73
|
+
color: $inverse;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
.tagsinput-add-container {
|
78
|
+
vertical-align: middle;
|
79
|
+
@include inline-block;
|
80
|
+
}
|
81
|
+
|
82
|
+
.tagsinput-add {
|
83
|
+
background-color: scale-color(desaturate($inverse, 15%), $lightness: 67%);
|
84
|
+
@include border-radius(2px);
|
85
|
+
color: $inverse;
|
86
|
+
cursor: pointer;
|
87
|
+
margin-bottom: 5px;
|
88
|
+
padding: 6px 9px;
|
89
|
+
@include inline-block;
|
90
|
+
@include transition(0.25s);
|
91
|
+
|
92
|
+
&:hover {
|
93
|
+
background-color: $dark-blue;
|
94
|
+
color: #FFF;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
.tags_clear {
|
99
|
+
clear: both;
|
100
|
+
width: 100%;
|
101
|
+
height: 0px;
|
102
|
+
}
|
103
|
+
|
104
|
+
.not_valid {
|
105
|
+
background: #fbd8db !important;
|
106
|
+
color: #90111a !important;
|
107
|
+
}
|
@@ -0,0 +1,116 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$TOOLBARS
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Basic toolbars structural styling
|
6
|
+
* http://paulkinzett.github.com/toolbar/
|
7
|
+
*
|
8
|
+
* Designed and built @kurenn
|
9
|
+
*/
|
10
|
+
|
11
|
+
.tool-container {
|
12
|
+
background-color: $toolbar-bg-color;
|
13
|
+
position: absolute;
|
14
|
+
@include border-radius(3px);
|
15
|
+
}
|
16
|
+
|
17
|
+
.tool-container.tool-top, .tool-container.tool-bottom {
|
18
|
+
height: 34px;
|
19
|
+
}
|
20
|
+
|
21
|
+
.tool-items {
|
22
|
+
height: 100%;
|
23
|
+
}
|
24
|
+
|
25
|
+
.tool-top .tool-item, .tool-bottom .tool-item {
|
26
|
+
float: left;
|
27
|
+
}
|
28
|
+
|
29
|
+
.tool-left .tool-item, .tool-right .tool-item {
|
30
|
+
height: 34px;
|
31
|
+
}
|
32
|
+
|
33
|
+
|
34
|
+
.tool-item {
|
35
|
+
height: 100%;
|
36
|
+
display: block;
|
37
|
+
width: 44px;
|
38
|
+
text-align: center;
|
39
|
+
|
40
|
+
i {
|
41
|
+
line-height: 34px;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.tool-item:first-child {
|
46
|
+
border-left: none;
|
47
|
+
}
|
48
|
+
|
49
|
+
.tool-left .tool-item:first-child, .tool-right .tool-item:first-child {
|
50
|
+
border-top: 1px solid transparent;
|
51
|
+
}
|
52
|
+
|
53
|
+
.tool-item:last-child {
|
54
|
+
border-right: none;
|
55
|
+
border-bottom: none;
|
56
|
+
}
|
57
|
+
|
58
|
+
.tool-item.selected, .tool-item:hover {
|
59
|
+
background: darken($toolbar-bg-color, 5%);
|
60
|
+
}
|
61
|
+
|
62
|
+
.tool-top .tool-item:last-child:hover, .tool-bottom .tool-item:last-child:hover {
|
63
|
+
@include border-top-right-radius(4px);
|
64
|
+
@include border-bottom-right-radius(4px);
|
65
|
+
}
|
66
|
+
|
67
|
+
.tool-top .tool-item:first-child:hover, .tool-bottom .tool-item:first-child:hover {
|
68
|
+
@include border-top-left-radius(4px);
|
69
|
+
@include border-bottom-left-radius(4px);
|
70
|
+
}
|
71
|
+
|
72
|
+
.tool-left .tool-item:last-child:hover, .tool-right .tool-item:last-child:hover {
|
73
|
+
@include border-bottom-right-radius(4px);
|
74
|
+
@include border-bottom-left-radius(4px);
|
75
|
+
}
|
76
|
+
|
77
|
+
.tool-left .tool-item:first-child:hover, .tool-right .tool-item:first-child:hover {
|
78
|
+
@include border-top-right-radius(4px);
|
79
|
+
@include border-top-left-radius(4px);
|
80
|
+
}
|
81
|
+
|
82
|
+
.tool-container .arrow {
|
83
|
+
width:0;
|
84
|
+
height:0;
|
85
|
+
position: absolute;
|
86
|
+
border-width:7px;
|
87
|
+
border-style:solid;
|
88
|
+
}
|
89
|
+
|
90
|
+
.tool-container.tool-top .arrow {
|
91
|
+
border-color: $toolbar-bg-color transparent transparent;
|
92
|
+
left: 50%;
|
93
|
+
bottom: -14px;
|
94
|
+
margin-left: -7px;
|
95
|
+
}
|
96
|
+
|
97
|
+
.tool-container.tool-bottom .arrow {
|
98
|
+
border-color: transparent transparent $toolbar-bg-color;
|
99
|
+
left: 50%;
|
100
|
+
top: -14px;
|
101
|
+
margin-left: -7px;
|
102
|
+
}
|
103
|
+
|
104
|
+
.tool-container.tool-left .arrow {
|
105
|
+
border-color: transparent transparent transparent $toolbar-bg-color;
|
106
|
+
top: 50%;
|
107
|
+
right: -14px;
|
108
|
+
margin-top: -7px;
|
109
|
+
}
|
110
|
+
|
111
|
+
.tool-container.tool-right .arrow {
|
112
|
+
border-color: transparent $toolbar-bg-color transparent transparent;
|
113
|
+
top: 50%;
|
114
|
+
left: -14px;
|
115
|
+
margin-top: -7px;
|
116
|
+
}
|