maxmertkit-rails 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. data/.gitignore +17 -0
  2. data/Gemfile +7 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +65 -0
  5. data/Rakefile +1 -0
  6. data/lib/maxmertkit-rails/engine.rb +9 -0
  7. data/lib/maxmertkit-rails/version.rb +5 -0
  8. data/lib/maxmertkit-rails.rb +8 -0
  9. data/maxmertkit-rails.gemspec +19 -0
  10. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
  11. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svg +255 -0
  12. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
  13. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
  14. data/vendor/assets/fonts/zocial/zocial-regular-webfont.eot +0 -0
  15. data/vendor/assets/fonts/zocial/zocial-regular-webfont.svg +151 -0
  16. data/vendor/assets/fonts/zocial/zocial-regular-webfont.ttf +0 -0
  17. data/vendor/assets/fonts/zocial/zocial-regular-webfont.woff +0 -0
  18. data/vendor/assets/javascript/libs/easing.js +205 -0
  19. data/vendor/assets/javascript/libs/html5shiv.js +298 -0
  20. data/vendor/assets/javascript/libs/imagesLoaded.js +3 -0
  21. data/vendor/assets/javascript/libs/modernizr.js +4 -0
  22. data/vendor/assets/javascript/maxmertkit.affix.js +85 -0
  23. data/vendor/assets/javascript/maxmertkit.button.js +182 -0
  24. data/vendor/assets/javascript/maxmertkit.carousel.js +688 -0
  25. data/vendor/assets/javascript/maxmertkit.js +112 -0
  26. data/vendor/assets/javascript/maxmertkit.modal.js +301 -0
  27. data/vendor/assets/javascript/maxmertkit.notify.js +186 -0
  28. data/vendor/assets/javascript/maxmertkit.popup.js +396 -0
  29. data/vendor/assets/javascript/maxmertkit.scrollspy.js +107 -0
  30. data/vendor/assets/javascript/maxmertkit.tabs.js +228 -0
  31. data/vendor/assets/stylesheet/_init.scss +240 -0
  32. data/vendor/assets/stylesheet/_mixins.scss +218 -0
  33. data/vendor/assets/stylesheet/animations/_keyframes.scss +2914 -0
  34. data/vendor/assets/stylesheet/classes/_object.scss +14 -0
  35. data/vendor/assets/stylesheet/maxmertkit-animation.scss +146 -0
  36. data/vendor/assets/stylesheet/maxmertkit-components.scss +25 -0
  37. data/vendor/assets/stylesheet/maxmertkit.scss +14 -0
  38. data/vendor/assets/stylesheet/modificators/__methods.scss +116 -0
  39. data/vendor/assets/stylesheet/modificators/_size.scss +208 -0
  40. data/vendor/assets/stylesheet/modificators/_status.scss +195 -0
  41. data/vendor/assets/stylesheet/themes/_basic.scss +330 -0
  42. data/vendor/assets/stylesheet/widgets/_arrow.scss +74 -0
  43. data/vendor/assets/stylesheet/widgets/_badge.scss +15 -0
  44. data/vendor/assets/stylesheet/widgets/_button.scss +131 -0
  45. data/vendor/assets/stylesheet/widgets/_caret.scss +34 -0
  46. data/vendor/assets/stylesheet/widgets/_carousel.scss +146 -0
  47. data/vendor/assets/stylesheet/widgets/_dropdown.scss +116 -0
  48. data/vendor/assets/stylesheet/widgets/_form.scss +327 -0
  49. data/vendor/assets/stylesheet/widgets/_group.scss +245 -0
  50. data/vendor/assets/stylesheet/widgets/_icon.scss +92 -0
  51. data/vendor/assets/stylesheet/widgets/_label.scss +4 -0
  52. data/vendor/assets/stylesheet/widgets/_menu.scss +283 -0
  53. data/vendor/assets/stylesheet/widgets/_modal.scss +172 -0
  54. data/vendor/assets/stylesheet/widgets/_notify.scss +190 -0
  55. data/vendor/assets/stylesheet/widgets/_progressbar.scss +70 -0
  56. data/vendor/assets/stylesheet/widgets/_table.scss +270 -0
  57. data/vendor/assets/stylesheet/widgets/_tabs.scss +211 -0
  58. data/vendor/assets/stylesheet/widgets/_toolbar.scss +118 -0
  59. data/vendor/assets/stylesheet/widgets/_tooltip.scss +19 -0
  60. metadata +104 -0
@@ -0,0 +1,195 @@
1
+ @-webkit-keyframes stripes-animation {
2
+ from { background-position: 40px 0; }
3
+ to { background-position: 0 0; }
4
+ }
5
+
6
+ @-moz-keyframes stripes-animation {
7
+ from { background-position: 40px 0; }
8
+ to { background-position: 0 0; }
9
+ }
10
+
11
+ @-ms-keyframes stripes-animation {
12
+ from { background-position: 40px 0; }
13
+ to { background-position: 0 0; }
14
+ }
15
+
16
+ @-o-keyframes stripes-animation {
17
+ from { background-position: 0 0; }
18
+ to { background-position: 40px 0; }
19
+ }
20
+
21
+ @keyframes stripes-animation {
22
+ from { background-position: 40px 0; }
23
+ to { background-position: 0 0; }
24
+ }
25
+
26
+ @mixin init_modificator-status( $__inheritance: object ){
27
+
28
+ @each $status in $mod__status {
29
+ $num: index( $mod__status, $status );
30
+ $important: '';
31
+
32
+ @if $status == disabled {
33
+ $important: '!important';
34
+ }
35
+
36
+ %#{$__inheritance}-status-#{$status}-color {
37
+ color: nth($mod__status-color, $num)#{$important};
38
+ }
39
+
40
+ %#{$__inheritance}-status-#{$status}-color-darken {
41
+ color: nth($mod__status-color-darken, $num)#{$important};
42
+ }
43
+
44
+ %#{$__inheritance}-status-#{$status}-color-invert {
45
+ color: nth($mod__status-color-invert, $num)#{$important};
46
+ }
47
+
48
+ %#{$__inheritance}-status-#{$status}-text-shadow {
49
+ @include text-shadow( #{nth($mod__status-text-shadow, $num)}#{$important} );
50
+ }
51
+
52
+ %#{$__inheritance}-status-#{$status}-color-important {
53
+ color: nth($mod__status-color, $num)!important;
54
+ }
55
+
56
+ %#{$__inheritance}-status-#{$status}-color-invert-important {
57
+ color: nth($mod__status-color-invert, $num)!important;
58
+ }
59
+
60
+
61
+
62
+ %#{$__inheritance}-status-#{$status}-border-color {
63
+ border-color: nth($mod__status-border-color, $num)#{$important};
64
+ }
65
+
66
+ %#{$__inheritance}-status-#{$status}-border-color-darken {
67
+ border-color: nth($mod__status-border-color-darken, $num)#{$important};
68
+ }
69
+
70
+ %#{$__inheritance}-status-#{$status}-border-color-darkener {
71
+ border-color: nth($mod__status-border-color-darkener, $num)#{$important};
72
+ }
73
+
74
+ %#{$__inheritance}-status-#{$status}-border-color-lighten {
75
+ border-color: nth($mod__status-border-color-lighten, $num)#{$important};
76
+ }
77
+
78
+ %#{$__inheritance}-status-#{$status}-border-color-lightener {
79
+ border-color: nth($mod__status-border-color-lightener, $num)#{$important};
80
+ }
81
+
82
+ %#{$__inheritance}-status-#{$status}-border-color-important {
83
+ border-color: nth($mod__status-border-color, $num)#{'!important'};
84
+ }
85
+
86
+
87
+
88
+ %#{$__inheritance}-status-#{$status}-background-color {
89
+ background-color: nth($mod__status-background-color, $num)#{$important};
90
+ }
91
+
92
+ %#{$__inheritance}-status-#{$status}-background-color-lighten {
93
+ background-color: nth($mod__status-background-color-lighten, $num)#{$important};
94
+ }
95
+
96
+ %#{$__inheritance}-status-#{$status}-background-color-lightener {
97
+ background-color: nth($mod__status-background-color-lightener, $num)#{$important};
98
+ }
99
+
100
+ %#{$__inheritance}-status-#{$status}-background-color-darken {
101
+ background-color: nth($mod__status-background-color-darken, $num)#{$important};
102
+ }
103
+
104
+ %#{$__inheritance}-status-#{$status}-background-color-darkener {
105
+ background-color: nth($mod__status-background-color-darkener, $num)#{$important};
106
+ }
107
+
108
+
109
+
110
+ %#{$__inheritance}-status-#{$status}-gradient-vertical {
111
+ @if nth($mod__status-background-color, $num) != transparent and $status != disabled {
112
+ @include gradient-vertical( lighten(nth($mod__status-background-color, $num), 15%), nth($mod__status-background-color, $num) );
113
+ }
114
+ @else {
115
+ background: nth($mod__status-background-color, $num)#{$important};
116
+ }
117
+ // background-color: nth($mod__status-background-color, $num)#{$important};
118
+ }
119
+
120
+ %#{$__inheritance}-status-#{$status}-gradient-vertical-darken {
121
+ @if nth($mod__status-background-color, $num) != transparent and $status != disabled {
122
+ @include gradient-vertical( lighten(nth($mod__status-background-color, $num),5%), darken(nth($mod__status-background-color, $num), 5%) );
123
+ }
124
+ @else {
125
+ background: nth($mod__status-background-color, $num)#{$important};
126
+ }
127
+ }
128
+
129
+ %#{$__inheritance}-status-#{$status}-gradient-vertical-darkener {
130
+ @if nth($mod__status-background-color, $num) != transparent and $status != disabled {
131
+ @include gradient-vertical( darken(nth($mod__status-background-color, $num),5%), darken(nth($mod__status-background-color, $num), 15%) );
132
+ }
133
+ @else {
134
+ background: nth($mod__status-background-color, $num)#{$important};
135
+ }
136
+ }
137
+
138
+ %#{$__inheritance}-status-#{$status}-gradient-vertical-three {
139
+ @if nth($mod__status-background-color, $num) != transparent {
140
+ @include gradient-vertical-three-colors( rgba(nth($mod__status-background-color, $num), 0), nth($mod__status-background-color, $num), 50%, rgba(nth($mod__status-background-color, $num),0) );
141
+ }
142
+ @else {
143
+ background: nth($mod__status-background-color, $num)#{$important};
144
+ }
145
+ // background-color: nth($mod__status-background-color, $num)#{$important};
146
+ }
147
+
148
+ %#{$__inheritance}-status-#{$status}-gradient-horizontal-three {
149
+ @if nth($mod__status-background-color, $num) != transparent {
150
+ @include gradient-horizontal-three-colors( rgba(nth($mod__status-background-color, $num),0), nth($mod__status-background-color, $num), 50%, rgba(nth($mod__status-background-color, $num),0) );
151
+ }
152
+ @else {
153
+ background: nth($mod__status-background-color, $num)#{$important};
154
+ }
155
+ // background-color: nth($mod__status-background-color, $num)#{$important};
156
+ }
157
+
158
+ // %#{$__inheritance}-status-#{$status}-shadow {
159
+ // @include box-shadow(#{nth($mod__status-shadow, $num)});
160
+ // }
161
+
162
+ // %#{$__inheritance}-status-#{$status}-shadow-long {
163
+ // @include box-shadow(#{nth($mod__status-shadow-long, $num)});
164
+ // }
165
+
166
+ %#{$__inheritance}-status-#{$status}-shadow {
167
+ @include box-shadow( #{nth($mod__status-shadow, $num)}#{$important} );
168
+ }
169
+
170
+ %#{$__inheritance}-status-#{$status}-outline {
171
+ @if nth($mod__status-background-color, $num) != transparent and $status != disabled {
172
+ @include box-shadow(#{nth($mod__status-outline, $num)}#{$important});
173
+ } @else {
174
+ @include box-shadow(none!important);
175
+ }
176
+ }
177
+
178
+ %#{$__inheritance}-status-#{$status}-loading {
179
+
180
+ @include gradient-stripes( 45deg );
181
+ background-size: 40px 40px!important;
182
+ @include animation( stripes-animation 2s linear infinite );
183
+
184
+ }
185
+
186
+ %#{$__inheritance}-status-#{$status}-loading-dark {
187
+
188
+ @include gradient-stripes-dark( 45deg );
189
+ background-size: 40px 40px!important;
190
+ @include animation( stripes-animation 2s linear infinite );
191
+
192
+ }
193
+ }
194
+
195
+ }
@@ -0,0 +1,330 @@
1
+ // ======================================================================================================== \\
2
+ //
3
+ // ----------------------------------------------- %RULES% ---------------------------------------------- \\
4
+ //
5
+ // ======================================================================================================== \\
6
+ //
7
+ // Variable naming
8
+ // $type__object-modificator__(subobject-)cssrule
9
+ // $object__table__cell-padding
10
+ // $object__popover__content-background
11
+ // $theme__line-height
12
+ // $modificator__top
13
+ //
14
+ // ======================================================================================================== \\
15
+
16
+ $theme__font-size: 14px;
17
+ $theme__line-height: 16px;
18
+ $theme__color: #333;
19
+ $theme__background-color: #fff;
20
+ $theme__font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
21
+
22
+
23
+
24
+ // ======================================================================================================== \\
25
+ //
26
+ // ----------------------------------------------- %TYPOGRAPHY% ---------------------------------------------- \\
27
+ //
28
+ // ======================================================================================================== \\
29
+
30
+ $theme__header-font-family: 'Lucida Grande';
31
+
32
+ // --------------------- %blockquote% ---------------------
33
+ $theme__blockquote-padding: 10px;
34
+ $theme__blockquote-margin-bottom: 10px;
35
+ $theme__blockquote-border: 4px solid #eee;
36
+ $theme__blockquote__sign-color: #999;
37
+
38
+ // --------------------- %descriptions% ---------------------
39
+ $theme__description-margin: 0 0 15px 0;
40
+ $theme__description-line-height: $theme__line-height + 5px;
41
+ $theme__description__defenition-margin-left: 15px;
42
+ $theme__description__defenition__inline-width: 120px;
43
+
44
+ // --------------------- %lists% ---------------------
45
+ $theme__list-margin-left: 20px;
46
+ $theme__list-margin: 0 0 0 $theme__list-margin-left;
47
+ $theme__list-line-height: $theme__line-height + 5px;
48
+
49
+
50
+
51
+ // ======================================================================================================== \\
52
+ //
53
+ // ----------------------------------------------- %OBJECTS% ---------------------------------------------- \\
54
+ //
55
+ // ======================================================================================================== \\
56
+
57
+ // ------------ Section
58
+ $object__section: -section;
59
+ $object__section-margin-bottom: 15px;
60
+ $object__section-margin: 0 0 $object__section-margin-bottom 0;
61
+
62
+ // ------------ Article
63
+ $object__article: -article;
64
+ $object__article-margin-bottom: 35px;
65
+
66
+ // ------------ Container
67
+ $object__container: -container;
68
+
69
+ // ------------ Column
70
+ $object__column: -col;
71
+ $object__column-quantity: 12;
72
+ $object__column-width: 70px;
73
+ $object__column-offset: #{$object__column}-offset;
74
+ $object__column__gutter-width: 30px;
75
+
76
+ // ------------ Row
77
+ $object__row: -row;
78
+ $object__row-width: $object__column-quantity * $object__column-width + $object__column-quantity * $object__column__gutter-width;
79
+
80
+ $object__row-fluid: #{$object__row}-fluid;
81
+ $object__row-fluid-width: 100%;
82
+ $object__row-fluid__column-width: $object__column-width / $object__row-width * 100%;
83
+ $object__row-fluid__column__gutter-width: $object__column__gutter-width / $object__row-width * 100%;
84
+
85
+ // ------------ Form
86
+ $object__form: -form;
87
+ $object__form__row: #{$object__form}-row;
88
+ $object__form__group: #{$object__form}-group;
89
+ $object__form__field: #{$object__form}-field;
90
+ $object__form__field-border-width: 3px;
91
+ $object__form__field__placeholder: #{$object__form__field}-placeholder;
92
+ $object__form__field__help: #{$object__form__field}-help;
93
+ $object__form__field__help-color: #666;
94
+ $object__form__field__row: #{$object__form__field}-row;
95
+ $object__form__input-border-width: 1px;
96
+ $object__form__input-shadow: 0 0 ;
97
+
98
+ // ------------ Table
99
+ $object__table: -table;
100
+ $object__table-border-width: 1px;
101
+
102
+ // ------------ Button
103
+ $object__button: -btn;
104
+ // $object__button-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
105
+ $object__button-font-weight: 300;
106
+ $object__button-border-width: 0;
107
+ $object__button-border-radius: 3px;
108
+ $object__button-shadow: 0px 1px 2px rgba(0,0,0,.2), 0px 1px 2px rgba(0,0,0,.2), 0 4px 4px rgba(0,0,0,.05), 0 6px 6px rgba(0,0,0,.1), inset 0 -4px 4px rgba(0,0,0,.05);
109
+ $object__button-hover-shadow: 1px 1px 2px rgba(0,0,0,.2), -1px 1px 2px rgba(0,0,0,.2), 0 4px 4px rgba(0,0,0,.05), 0 6px 6px rgba(0,0,0,.1);
110
+ $object__button-active-shadow: 0 1px 2px rgba(0,0,0,.4), inset 0 -15px 15px rgba(0,0,0,.1);
111
+
112
+ // ------------ Group
113
+ $object__group: -group;
114
+ $object__group__appendix: #{$object__group}-appendix;
115
+ $object__group__appendix-border-width: 1px;
116
+
117
+ // ------------ Icon
118
+ $object__icon: -icon;
119
+
120
+ // ------------ Example if icon is sprite
121
+
122
+ // $object__icon-width: 14px;
123
+ // $object__icon-height: 14px;
124
+
125
+ // $object__icon-colors: default light;
126
+ // $object__icon-colors-paths: '../images/icons/glyphicons_halflings.png' '../images/icons/glyphicons_halflings_white.png';
127
+
128
+ // $object__icon-cols: 20;
129
+ // $object__icon-cols-delta: 24px;
130
+ // $object__icon-rows: 7;
131
+ // $object__icon-rows-delta: 24px;
132
+ // $object__icon-list: glass music search envelope heart star star-empty user film th-large th th-list ok remove zoom-in zoom-out off signal cog trash
133
+ // home file time road download-alt download upload inbox play-cycle repeat refresh list-alt lock flag headphones volume-off volume-down volume-up qr-code barcode
134
+ // tag tags book bookmark print camera font bold italic text-height text-width align-left align-center align-right align-justify list indent-left indent-right facetime-video picture
135
+ // pencil map-maker adjust tint edit share check move step-backward fast-backward backward play pause stop foward fast-foward step-foward eject chevron-left chevron-right
136
+ // plus-sign minus-sign remove-sign ok-sign question-sign info-sign screenshot remove-circle ok-circle ban-circle arrow-left arrow-right arrow-up arrow-down share-alt resize-full resize-small plus minus asterisk
137
+ // exclamation-sign gift leaf fire eye-open eye-close warning-sign plane calendar random comment magnet chevron-up chevron-down retweet shopping-cart folder-close folder-open resize-vertical resize-horizontal
138
+ // hdd bullhorn bell certificate thumbs-up thumbs-down hand-right hand-left hand-up hand-down circle-arrow-right circle-arrow-left circle-arrow-up circle-arrow-down globe wrench tasks filter briefcase fullscreen;
139
+
140
+ $font-path: '../fonts';
141
+
142
+ $object__icon__names: glass music search envelope heart star star-empty user film th-large th th-list ok remove zoom-in zoom-out off signal cog trash home file time road download-alt download upload inbox play-circle repeat refresh list-alt lock flag headphones volume-off volume-down volume-up qrcode barcode tag tags book bookmark print camera font bold italic text-height text-width align-left align-center align-right align-justify list indent-left indent-right facetime-video picture pencil map-marker adjust tint edit share check move step-backward fast-backward backward play pause stop forward fast-forward step-forward eject chevron-left chevron-right plus-sign minus-sign remove-sign ok-sign question-sign info-sign screenshot remove-circle ok-circle ban-circle arrow-left arrow-right arrow-up arrow-down share-alt resize-full resize-small plus minus asterisk exclamation-sign gift leaf fire eye-open eye-close warning-sign plane calendar random comment magnet chevron-up chevron-down retweet shopping-cart folder-close folder-open resize-vertical resize-horizontal bar-chart twitter-sign facebook-sign camera-retro key cogs comments thumbs-up thumbs-down star-half heart-empty signout linkedin-sign pushpin external-link signin trophy github-sign upload-alt lemon phone check-empty bookmark-empty phone-sign twitter facebook github unlock credit-card rss hdd bullhorn bell certificate hand-right hand-left hand-up hand-down circle-arrow-left circle-arrow-right circle-arrow-up circle-arrow-down globe wrench tasks filter briefcase fullscreen group link cloud beaker cut copy paper-clip save sign-blank reorder list-ul list-ol strikethrough underline table magic truck pinterest pinterest-sign google-plus-sign google-plus money caret-down caret-up caret-left caret-right columns sort sort-down sort-up envelope-alt linkedin undo legal dashboard comment-alt comments-alt bolt sitemap umbrella paste user-md;
143
+ $object__icon__content: "\f000" "\f001" "\f002" "\f003" "\f004" "\f005" "\f006" "\f007" "\f008" "\f009" "\f00a" "\f00b" "\f00c" "\f00d" "\f00e" "\f010" "\f011" "\f012" "\f013" "\f014" "\f015" "\f016" "\f017" "\f018" "\f019" "\f01a" "\f01b" "\f01c" "\f01d" "\f01e" "\f021" "\f022" "\f023" "\f024" "\f025" "\f026" "\f027" "\f028" "\f029" "\f02a" "\f02b" "\f02c" "\f02d" "\f02e" "\f02f" "\f030" "\f031" "\f032" "\f033" "\f034" "\f035" "\f036" "\f037" "\f038" "\f039" "\f03a" "\f03b" "\f03c" "\f03d" "\f03e" "\f040" "\f041" "\f042" "\f043" "\f044" "\f045" "\f046" "\f047" "\f048" "\f049" "\f04a" "\f04b" "\f04c" "\f04d" "\f04e" "\f050" "\f051" "\f052" "\f053" "\f054" "\f055" "\f056" "\f057" "\f058" "\f059" "\f05a" "\f05b" "\f05c" "\f05d" "\f05e" "\f060" "\f061" "\f062" "\f063" "\f064" "\f065" "\f066" "\f067" "\f068" "\f069" "\f06a" "\f06b" "\f06c" "\f06d" "\f06e" "\f070" "\f071" "\f072" "\f073" "\f074" "\f075" "\f076" "\f077" "\f078" "\f079" "\f07a" "\f07b" "\f07c" "\f07d" "\f07e" "\f080" "\f081" "\f082" "\f083" "\f084" "\f085" "\f086" "\f087" "\f088" "\f089" "\f08a" "\f08b" "\f08c" "\f08d" "\f08e" "\f090" "\f091" "\f092" "\f093" "\f094" "\f095" "\f096" "\f097" "\f098" "\f099" "\f09a" "\f09b" "\f09c" "\f09d" "\f09e" "\f0a0" "\f0a1" "\f0a2" "\f0a3" "\f0a4" "\f0a5" "\f0a6" "\f0a7" "\f0a8" "\f0a9" "\f0aa" "\f0ab" "\f0ac" "\f0ad" "\f0ae" "\f0b0" "\f0b1" "\f0b2" "\f0c0" "\f0c1" "\f0c2" "\f0c3" "\f0c4" "\f0c5" "\f0c6" "\f0c7" "\f0c8" "\f0c9" "\f0ca" "\f0cb" "\f0cc" "\f0cd" "\f0ce" "\f0d0" "\f0d1" "\f0d2" "\f0d3" "\f0d4" "\f0d5" "\f0d6" "\f0d7" "\f0d8" "\f0d9" "\f0da" "\f0db" "\f0dc" "\f0dd" "\f0de" "\f0e0" "\f0e1" "\f0e2" "\f0e3" "\f0e4" "\f0e5" "\f0e6" "\f0e7" "\f0e8" "\f0e9" "\f0ea" "\f200";
144
+
145
+ $object__icon__social: #{$object__icon}-social;
146
+ $object__icon__social-names: facebook googleplus twitter linkedin dropbox evernote forrst dribbble cloudapp github spotify readitlater soundcloud tumblr smashingmagazine itunes appstore macappstore androidmarket pinterest quora lanyrd paypal amazon skype lastfm yelp forsquare klout wikipedia disqus intensedebate google gmail vimeo scribd youtube wordpress songkick posterous eventbrite flattr plancast ceo iefive meetup openid htmlsix parents guest creativecommonlicence rss chrome eventasaurus weibo plurk grooveshark blogger viadeo podcast fivehundredpx bitcoin ninetyninedesigns pinboard stumble myspace windowslive eventful xing flickr delicious googleplay opentable digg reddit angellist instagram steam vkontakte appnet drupal identica saveforlater adobeacrobat bitbucket buffer lego login hackernews stackoverflow lkdto callphone sendmessage addtocalendar addtocart print stripe dwolla;
147
+ $object__icon__social-content: 'f' '+' 'T' 'L' 'd' 'E' ':' 'D' 'c' "è" '=' 'I' 's' 't' '*' 'i' 'A' '^' '&' '1' 'q' '-' '$' 'a' 'S' 'l' 'y' '4' 'K' ',' 'Q' '{' 'G' 'm' 'V' '}' 'U' 'w' 'k' '~' '|' '%' 'P' 'Y' '6' 'M' 'o' '5' '"' '?' 'C' 'R' '[' 'v' 'J' 'j' '8' 'B' 'H' '`' '0' '2' '9' 'n' '/' '_' 'W' "'" 'X' 'F' '#' 'h' 'Ç' ';' '>' 'Ö' 'Ü' 'b' 'N' 'á' 'ä' 'â' 'ç' 'ã' 'é' 'å' 'ê' 'ë' 'í' 'ì' 'î' '7' ']' '.' 'É' 'Ñ' '£' 'à';
148
+
149
+ // ------------ Caret
150
+ $object__caret: -caret;
151
+
152
+ // ------------ Tabs
153
+ $object__tabs: -tabs;
154
+ $object__tabs-border-width: 0;
155
+ $object__tabs-border-radius: 3px;
156
+
157
+ // ------------ Badges
158
+ $object__badge: -badge;
159
+ $object__badge-border-radius: 15px;
160
+
161
+ // ------------ Label < Badges
162
+ $object__label: -label;
163
+ $object__label-border-radius: 3px;
164
+
165
+ // ------------ Dropdown
166
+ $object__dropdown: -dropdown;
167
+ $object__dropdown-border-width: 0;
168
+ $object__dropdown-border-radius: 5px;
169
+ $object__dropdown-background-color: #fff;
170
+ $object__dropdown-min-width: 150px;
171
+ $object__dropdown-min-height: 100px;
172
+ $object__dropdown-max-width: 300px;
173
+ $object__dropdown-max-height: 1000px;
174
+ $object__dropdown-shadow: 0 4px 10px rgba(0,0,0,.2);
175
+ $object__dropdown__header: #{$object__dropdown}-header;
176
+ $object__dropdown__header-padding: 10px;
177
+ $object__dropdown__content: #{$object__dropdown}-content;
178
+ $object__dropdown__content-padding: 10px;
179
+
180
+ // ------------ Modal
181
+ $object__modal: -modal;
182
+ $object__modal-border-width: 0;
183
+ $object__modal-border-radius: 5px;
184
+ $object__modal-min-height: 300px;
185
+ $object__modal-min-width: 300px;
186
+ $object__modal-shadow: 0 4px 20px rgba(0,0,0,.1);
187
+ $object__modal__header: #{$object__modal}-header;
188
+ $object__modal__header-padding: 10px;
189
+ $object__modal__content: #{$object__modal}-content;
190
+ $object__modal__content-padding: 10px;
191
+ // ------------ Shader
192
+ $object__shader: -shader;
193
+ $object__shader-background: rgba(0,0,0,.7);
194
+ // ------------ Closer
195
+ $object__closer: -closer;
196
+ $object__closer-background: rgba(255,255,255,1);
197
+
198
+ // ------------ Arrow
199
+ $object__arrow: -arrow;
200
+ $object__arrow-size: 8px;
201
+
202
+ // ------------ Tooltip
203
+ $object__tooltip: -tooltip;
204
+ $object__tooltip-border-radius: 3px;
205
+ $object__tooltip__arrow-size: 4px;
206
+ $object__tooltip-shadow: 0 0 6px rgba(0,0,0,.2);
207
+
208
+ // ------------ Menu
209
+ $object__menu: -menu;
210
+ $object__menu__submenu: #{$object__menu}-sub;
211
+ $object__menu__help: #{$object__menu}-help;
212
+ $object__menu__separator: #{$object__menu}-separator;
213
+
214
+ // ------------ Toolbar
215
+ $object__toolbar: -toolbar;
216
+ $object__toolbar-border-width: 1px;
217
+
218
+ // ------------ Carousel
219
+ $object__carousel: -carousel;
220
+ $object__carousel-shadow: 0 2px 4px rgba(0,0,0,.3);
221
+ $object__carousel__item: #{$object__carousel}-item;
222
+ $object__carousel__arrow-left: #{$object__carousel}-arrow-left;
223
+ $object__carousel__arrow-right: #{$object__carousel}-arrow-right;
224
+ $object__carousel__caption: #{$object__carousel}-caption;
225
+ $object__carousel__caption__title: #{$object__carousel__caption}-title;
226
+ $object__carousel__caption__text: #{$object__carousel__caption}-text;
227
+ $object__carousel__navigation: #{$object__carousel}-nav;
228
+ $object__carousel__navigation-shadow: inset 0 2px 1px rgba(0,0,0,.2), inset 0 -2px 7px rgba(0,0,0,.1);
229
+ $object__carousel__navigation-size: 7px;
230
+
231
+ // ------------ Progressbar
232
+ $object__progressbar: -progress;
233
+ $object__progressbar-border-radius: 50px;
234
+ $object__progressbar-shadow: none;
235
+ $object__progressbar__bar: #{$object__progressbar}-bar;
236
+ $object__progressbar__bar-shadow: 0px 1px 2px rgba(0,0,0,.2), 0 4px 4px rgba(0,0,0,.05);
237
+ $object__progressbar__globalBar: #{$object__progressbar__bar}-global;
238
+ $object__progressbar__globalBar-shadow: $object__progressbar__bar-shadow;
239
+
240
+ // ------------ Notify
241
+ $object__notify: -notify;
242
+ $object__notify-font-size: 85%;
243
+ $object__notify-width: 300px;
244
+ $object__notify-border-radius: 0;
245
+ $object__notify-margin: 0;
246
+ $object__notify__header: #{$object__notify}-header;
247
+ $object__notify__header-padding: 7px 10px;
248
+ $object__notify__content: #{$object__notify}-content;
249
+ $object__notify__content-padding: 3px 10px 7px;
250
+ $object__notify__container: #{$object__notify}-container;
251
+
252
+
253
+
254
+ // ======================================================================================================== \\
255
+ //
256
+ // ----------------------------------------------- %MIXINS% ---------------------------------------------- \\
257
+ //
258
+ // ======================================================================================================== \\
259
+ $mixin__float-right: mx-pull-right;
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+ // ======================================================================================================== \\
274
+ //
275
+ // ----------------------------------------------- %MODIFICATORS% ---------------------------------------------- \\
276
+ //
277
+ // ======================================================================================================== \\
278
+
279
+ // ------------- Status
280
+ $mod__status__disabled: disabled; // Use it in a list below
281
+ $mod__status__unstyled: unstyled;
282
+
283
+ $mod__status: $mod__status__unstyled default error success info warning primary dark $mod__status__disabled;
284
+ $mod__status-color: $theme__color $theme__color red #3ec84c #64cfd9 #EDB723 #1b88d6 #6b6b6b #ccc; //color
285
+ $mod__status-color-darken: transparent darken(#d9d9d9, 10%) darken(#d96464, 10%) darken(#3ec84c, 10%) darken(#64cfd9, 10%) darken(#d9ab64, 10%) darken(#1b88d6, 10%) darken(#6b6b6b, 5%) darken(#d9d9d9, 10%); //border-color-darken
286
+ $mod__status-color-invert: $theme__color $theme__color #fff #fff #fff #fff #fff #fff #ccc; //color-invert
287
+ $mod__status-border-color: transparent #d9d9d9 #d96464 #3ec84c #64cfd9 #d9ab64 darken(#1b88d6, 5%) #6b6b6b #d9d9d9; //border-color
288
+ $mod__status-border-color-lighten: transparent lighten(#d9d9d9, 5%) lighten(#d96464, 20%) lighten(#3ec84c, 10%) lighten(#64cfd9, 10%) lighten(#d9ab64, 10%) lighten(#1b88d6, 10%) lighten(#6b6b6b, 20%) lighten(#d9d9d9, 10%); //border-color-lighten
289
+ $mod__status-border-color-lightener: transparent lighten(#d9d9d9, 13%) lighten(#d96464, 30%) lighten(#3ec84c, 20%) lighten(#64cfd9, 20%) lighten(#d9ab64, 20%) lighten(#1b88d6, 20%) lighten(#6b6b6b, 40%) lighten(#d9d9d9, 20%); //border-color-lightener
290
+ $mod__status-border-color-darken: transparent darken(#d9d9d9, 10%) darken(#d96464, 10%) darken(#3ec84c, 10%) darken(#64cfd9, 10%) darken(#d9ab64, 10%) darken(#1b88d6, 10%) darken(#6b6b6b, 5%) darken(#d9d9d9, 10%); //border-color-darken
291
+ $mod__status-border-color-darkener: transparent darken(#d9d9d9, 25%) darken(#d96464, 25%) darken(#3ec84c, 25%) darken(#64cfd9, 25%) darken(#d9ab64, 25%) darken(#1b88d6, 25%) darken(#6b6b6b, 10%) darken(#d9d9d9, 25%); //border-color-darkener
292
+ $mod__status-outline: none '0 0 10px rgba(100,207,217,1)' '0 0 10px rgba(217,100,100,1)' '0 0 10px rgba(100,217,134,1)' '0 0 10px rgba(100,207,217,1)' '0 0 10px rgba(217,171,100,1)' '0 0 10px rgba(26,120,217,1)' 0 0 10px rgba(0,0,0,1) none; //outline
293
+ $mod__status-background-color: transparent #fbfbfb #da4a39 #3ec84c #64cfd9 #EDB723 #1b88d6 #6b6b6b lighten(#d9d9d9, 10%); //background-color
294
+ $mod__status-background-color-lighten: transparent lighten(#fbfbfb, 2%) lighten(#da4a39, 10%) lighten(#3ec84c, 10%) lighten(#64cfd9, 10%) lighten(#EDB723, 10%) lighten(#1b88d6, 10%) lighten(#6b6b6b, 10%) lighten(#d9d9d9, 10%); //background-color-lighten
295
+ $mod__status-background-color-lightener:transparent lighten(#fbfbfb, 4%) lighten(#da4a39, 20%) lighten(#3ec84c, 20%) lighten(#64cfd9, 20%) lighten(#EDB723, 20%) lighten(#1b88d6, 20%) lighten(#6b6b6b, 20%) lighten(#d9d9d9, 10%); //background-color-lightener
296
+ $mod__status-background-color-darken: transparent darken(#fbfbfb, 5%) darken(#da4a39, 5%) darken(#3ec84c, 5%) darken(#64cfd9, 5%) darken(#EDB723, 5%) darken(#1b88d6, 5%) darken(#6b6b6b, 5%) lighten(#d9d9d9, 10%); //background-color-darken
297
+ $mod__status-background-color-darkener: transparent darken(#fbfbfb, 10%) darken(#da4a39, 10%) darken(#3ec84c, 10%) darken(#64cfd9, 10%) darken(#EDB723, 10%) darken(#1b88d6, 10%) darken(#6b6b6b, 10%) lighten(#d9d9d9, 10%); //background-color-darkener
298
+ $mod__status-text-shadow: none '0 1px 0 rgba(255,255,255,1)' '0 -1px rgba(0,0,0,.3)' '0 -1px rgba(0,0,0,.3)' '0 -1px rgba(0,0,0,.3)' '0 -1px rgba(0,0,0,.3)' '0 -1px rgba(0,0,0,.3)' '0 1px rgba(255,255,255,.1)'none; //text-shadow
299
+ $mod__status-shadow: none '0 4px 10px rgba(0,0,0,.3)' '0 4px 10px rgba(0,0,0,.3)' '0 4px 10px rgba(0,0,0,.3)' '0 4px 10px rgba(0,0,0,.3)' '0 4px 10px rgba(0,0,0,.3)' '0 4px 10px rgba(0,0,0,.3)' '0 4px 10px rgba(0,0,0,.3)' none; //shadow
300
+
301
+
302
+ // $mod__status-shadow: none '0 2px 2px rgba(0,0,0,.1)' none none none none none;
303
+ // $mod__status-shadow-long: none '0 6px 6px rgba(0,0,0,.05)' none none none none none;
304
+
305
+
306
+
307
+ // ------------- Status
308
+ $mod__size: tiny small default big huge;
309
+ $mod__size-delta: -4 -2 2 4 6;
310
+
311
+
312
+ $mod__active: _active_;
313
+ $mod__loading: _loading_;
314
+ $mod__vertical: _vertical_;
315
+ $mod__horizontal: _horizontal_;
316
+ $mod__striped: _striped_;
317
+ $mod__hovered: _hovered_;
318
+ $mod__bordered: _bordered_;
319
+ $mod__unclickable: _unclickable_;
320
+
321
+ $mod__side-top: _top_;
322
+ $mod__side-bottom: _bottom_;
323
+ $mod__side-left: _left_;
324
+ $mod__side-right: _right_;
325
+
326
+
327
+
328
+
329
+
330
+
@@ -0,0 +1,74 @@
1
+ // We will uset only with other elements
2
+
3
+ .#{$object__arrow} {
4
+ @extend %__object;
5
+
6
+ display: inline-block;
7
+ position: absolute;
8
+ width: 0;
9
+ height: 0;
10
+ border-style: solid;
11
+ }
12
+
13
+ $__inheritance: object;
14
+ $__before-object: '';
15
+ $__object: '.#{$object__dropdown}';
16
+ $__after-object: '.#{$object__arrow}';
17
+ @include set_modificator(exclude-items($mod__status, $mod__status__disabled), border-color);
18
+
19
+ $__inheritance: object;
20
+ $__before-object: '';
21
+ $__object: '.#{$object__tooltip}';
22
+ $__after-object: '.#{$object__arrow}';
23
+ @include set_modificator(exclude-items($mod__status, $mod__status__disabled), border-color-darkener);
24
+
25
+ @mixin _set-arrow-positions( $object, $arrow-size )
26
+ {
27
+ .#{$object} .#{$object__arrow} {
28
+ border-width: $arrow-size;
29
+ display: none;
30
+ }
31
+
32
+ .#{$object}.#{$mod__side-top} .#{$object__arrow}{
33
+ border-bottom-style: none;
34
+ border-left-color: transparent!important;
35
+ border-right-color: transparent!important;
36
+ bottom: -$arrow-size;
37
+ left: 50%;
38
+ margin-left: -$arrow-size;
39
+ display: block;
40
+ }
41
+
42
+ .#{$object}.#{$mod__side-bottom} .#{$object__arrow}{
43
+ border-top-style: none;
44
+ border-left-color: transparent!important;
45
+ border-right-color: transparent!important;
46
+ top: -$arrow-size;
47
+ left: 50%;
48
+ margin-left: -$arrow-size;
49
+ display: block;
50
+ }
51
+
52
+ .#{$object}.#{$mod__side-left} .#{$object__arrow}{
53
+ border-right-style: none;
54
+ border-top-color: transparent!important;
55
+ border-bottom-color: transparent!important;
56
+ right: -$arrow-size;
57
+ top: 50%;
58
+ margin-top: -$arrow-size;
59
+ display: block;
60
+ }
61
+
62
+ .#{$object}.#{$mod__side-right} .#{$object__arrow}{
63
+ border-left-style: none;
64
+ border-top-color: transparent!important;
65
+ border-bottom-color: transparent!important;
66
+ left: -$arrow-size;
67
+ top: 50%;
68
+ margin-top: -$arrow-size;
69
+ display: block;
70
+ }
71
+ }
72
+
73
+ @include _set-arrow-positions( $object__dropdown, $object__arrow-size );
74
+ @include _set-arrow-positions( $object__tooltip, $object__tooltip__arrow-size );
@@ -0,0 +1,15 @@
1
+ $__inheritance: object;
2
+ $__before-object: '';
3
+ $__object: this;
4
+ $__after-object: '';
5
+
6
+ .#{$object__badge} {
7
+ @extend %__object;
8
+
9
+ display: inline-block;
10
+ @include set_modificator(exclude-items($mod__size, small, tiny), padding-small, font-size-small, line-height-small);
11
+ $__inheritance: $object__tabs;
12
+ @include set_modificator($mod__status, background-color-darken, color-invert);
13
+
14
+ @include border-radius( $object__badge-border-radius );
15
+ }