spiderfw 0.6.39 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +8 -8
  2. data/CHANGELOG +2 -0
  3. data/Rakefile +4 -3
  4. data/VERSION +1 -1
  5. data/apps/core/admin/public/css/sass/admin.css +61 -12
  6. data/apps/core/admin/public/sass/admin.scss +51 -0
  7. data/apps/core/admin/views/login.layout.shtml +1 -1
  8. data/apps/core/components/assets.rb +34 -2
  9. data/apps/core/components/po/it/spider_components.po +2 -2
  10. data/apps/core/components/public/bootstrap/scss/_aggiunte_bootstrap_3.scss +54 -0
  11. data/apps/core/components/public/bootstrap/scss/_pagination.scss +1 -1
  12. data/apps/core/components/public/bootstrap/scss/_variables.scss +2 -0
  13. data/apps/core/components/public/bootstrap/scss/bootstrap.css +48 -2
  14. data/apps/core/components/public/bootstrap/scss/bootstrap.scss +4 -1
  15. data/apps/core/components/public/bootstrap_3/img/glyphicons-halflings-regular.eot +0 -0
  16. data/apps/core/components/public/bootstrap_3/img/glyphicons-halflings-regular.svg +272 -213
  17. data/apps/core/components/public/bootstrap_3/img/glyphicons-halflings-regular.ttf +0 -0
  18. data/apps/core/components/public/bootstrap_3/img/glyphicons-halflings-regular.woff +0 -0
  19. data/apps/core/components/public/bootstrap_3/img/glyphicons-halflings-regular.woff2 +0 -0
  20. data/apps/core/components/public/bootstrap_3/js/affix.js +48 -26
  21. data/apps/core/components/public/bootstrap_3/js/alert.js +8 -6
  22. data/apps/core/components/public/bootstrap_3/js/button.js +27 -17
  23. data/apps/core/components/public/bootstrap_3/js/carousel.js +66 -39
  24. data/apps/core/components/public/bootstrap_3/js/collapse.js +73 -42
  25. data/apps/core/components/public/bootstrap_3/js/dropdown.js +54 -40
  26. data/apps/core/components/public/bootstrap_3/js/modal.js +102 -42
  27. data/apps/core/components/public/bootstrap_3/js/popover.js +6 -11
  28. data/apps/core/components/public/bootstrap_3/js/scrollspy.js +47 -33
  29. data/apps/core/components/public/bootstrap_3/js/tab.js +48 -21
  30. data/apps/core/components/public/bootstrap_3/js/tooltip.js +118 -60
  31. data/apps/core/components/public/bootstrap_3/js/transition.js +15 -4
  32. data/apps/core/components/public/bootstrap_3/scss/_alerts.scss +8 -2
  33. data/apps/core/components/public/bootstrap_3/scss/_badges.scss +14 -3
  34. data/apps/core/components/public/bootstrap_3/scss/_button-groups.scss +23 -19
  35. data/apps/core/components/public/bootstrap_3/scss/_buttons.scss +22 -13
  36. data/apps/core/components/public/bootstrap_3/scss/_carousel.scss +28 -2
  37. data/apps/core/components/public/bootstrap_3/scss/_close.scss +1 -0
  38. data/apps/core/components/public/bootstrap_3/scss/_code.scss +7 -0
  39. data/apps/core/components/public/bootstrap_3/scss/_component-animations.scss +3 -1
  40. data/apps/core/components/public/bootstrap_3/scss/_dropdowns.scss +11 -9
  41. data/apps/core/components/public/bootstrap_3/scss/_forms.scss +190 -68
  42. data/apps/core/components/public/bootstrap_3/scss/_glyphicons.scss +83 -13
  43. data/apps/core/components/public/bootstrap_3/scss/_grid.scss +4 -4
  44. data/apps/core/components/public/bootstrap_3/scss/_input-groups.scss +1 -0
  45. data/apps/core/components/public/bootstrap_3/scss/_jumbotron.scss +8 -4
  46. data/apps/core/components/public/bootstrap_3/scss/_list-group.scss +13 -12
  47. data/apps/core/components/public/bootstrap_3/scss/_media.scss +40 -30
  48. data/apps/core/components/public/bootstrap_3/scss/_mixins.scss +1 -0
  49. data/apps/core/components/public/bootstrap_3/scss/_modals.scss +7 -4
  50. data/apps/core/components/public/bootstrap_3/scss/_navbar.scss +36 -32
  51. data/apps/core/components/public/bootstrap_3/scss/_navs.scss +3 -3
  52. data/apps/core/components/public/bootstrap_3/scss/_normalize.scss +12 -13
  53. data/apps/core/components/public/bootstrap_3/scss/_pager.scss +2 -3
  54. data/apps/core/components/public/bootstrap_3/scss/_pagination.scss +4 -3
  55. data/apps/core/components/public/bootstrap_3/scss/_panels.scss +38 -7
  56. data/apps/core/components/public/bootstrap_3/scss/_popovers.scss +5 -7
  57. data/apps/core/components/public/bootstrap_3/scss/_print.scss +96 -96
  58. data/apps/core/components/public/bootstrap_3/scss/_progress-bars.scss +20 -22
  59. data/apps/core/components/public/bootstrap_3/scss/_responsive-embed.scss +10 -9
  60. data/apps/core/components/public/bootstrap_3/scss/_responsive-utilities.scss +8 -3
  61. data/apps/core/components/public/bootstrap_3/scss/_scaffolding.scss +15 -4
  62. data/apps/core/components/public/bootstrap_3/scss/_tables.scss +15 -14
  63. data/apps/core/components/public/bootstrap_3/scss/_theme.scss +57 -13
  64. data/apps/core/components/public/bootstrap_3/scss/_thumbnails.scss +2 -2
  65. data/apps/core/components/public/bootstrap_3/scss/_tooltip.scss +13 -7
  66. data/apps/core/components/public/bootstrap_3/scss/_type.scss +21 -21
  67. data/apps/core/components/public/bootstrap_3/scss/_utilities.scss +3 -4
  68. data/apps/core/components/public/bootstrap_3/scss/_variables.scss +54 -32
  69. data/apps/core/components/public/bootstrap_3/scss/bootstrap.css +8772 -0
  70. data/apps/core/components/public/bootstrap_3/scss/bootstrap.scss +6 -0
  71. data/apps/core/components/public/bootstrap_3/scss/mixins/_background-variant.scss +2 -1
  72. data/apps/core/components/public/bootstrap_3/scss/mixins/_buttons.scss +19 -1
  73. data/apps/core/components/public/bootstrap_3/scss/mixins/_forms.scss +5 -1
  74. data/apps/core/components/public/bootstrap_3/scss/mixins/_gradients.scss +1 -1
  75. data/apps/core/components/public/bootstrap_3/scss/mixins/_grid-framework.scss +4 -10
  76. data/apps/core/components/public/bootstrap_3/scss/mixins/_grid.scss +7 -7
  77. data/apps/core/components/public/bootstrap_3/scss/mixins/_hide-text.scss +3 -3
  78. data/apps/core/components/public/bootstrap_3/scss/mixins/_labels.scss +1 -1
  79. data/apps/core/components/public/bootstrap_3/scss/mixins/_list-group.scss +3 -2
  80. data/apps/core/components/public/bootstrap_3/scss/mixins/_opacity.scss +1 -1
  81. data/apps/core/components/public/bootstrap_3/scss/mixins/_pagination.scss +2 -1
  82. data/apps/core/components/public/bootstrap_3/scss/mixins/_panels.scss +4 -0
  83. data/apps/core/components/public/bootstrap_3/scss/mixins/_progress-bar.scss +3 -1
  84. data/apps/core/components/public/bootstrap_3/scss/mixins/_reset-text.scss +18 -0
  85. data/apps/core/components/public/bootstrap_3/scss/mixins/_responsive-visibility.scss +1 -1
  86. data/apps/core/components/public/bootstrap_3/scss/mixins/_text-emphasis.scss +2 -1
  87. data/apps/core/components/public/bootstrap_3/scss/mixins/_vendor-prefixes.scss +11 -13
  88. data/apps/core/components/public/css/table_base.css +46 -1
  89. data/apps/core/components/public/fontawesome_4/fonts/font-awesome/fontawesome-webfont.eot +0 -0
  90. data/apps/core/components/public/fontawesome_4/fonts/font-awesome/fontawesome-webfont.svg +565 -0
  91. data/apps/core/components/public/fontawesome_4/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
  92. data/apps/core/components/public/fontawesome_4/fonts/font-awesome/fontawesome-webfont.woff +0 -0
  93. data/apps/core/components/public/fontawesome_4/fonts/font-awesome/fontawesome-webfont.woff2 +0 -0
  94. data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome.css +2893 -0
  95. data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_animated.scss +34 -0
  96. data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_bordered-pulled.scss +16 -0
  97. data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_core.scss +12 -0
  98. data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_extras.scss +44 -0
  99. data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_fixed-width.scss +6 -0
  100. data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_icons.scss +596 -0
  101. data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_larger.scss +13 -0
  102. data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_list.scss +19 -0
  103. data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_mixins.scss +26 -0
  104. data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_path.scss +14 -0
  105. data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_rotated-flipped.scss +20 -0
  106. data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_stacked.scss +20 -0
  107. data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_variables.scss +608 -0
  108. data/apps/core/components/public/fontawesome_4/stylesheets/font_awesome.css +2893 -0
  109. data/apps/core/components/public/fontawesome_4/stylesheets/font_awesome.scss +17 -0
  110. data/apps/core/components/public/js/paginatore.js +307 -0
  111. data/apps/core/components/public/js/spin.js +399 -0
  112. data/apps/core/components/public/mmenu/js/jquery.mmenu.js +133 -0
  113. data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.borderstyle.scss +33 -0
  114. data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.effects.scss +199 -0
  115. data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.fullscreen.scss +24 -0
  116. data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.iconbar.scss +26 -0
  117. data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.multiline.scss +15 -0
  118. data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.pagedim.scss +36 -0
  119. data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.pageshadow.scss +36 -0
  120. data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.positioning.scss +87 -0
  121. data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.themes.scss +76 -0
  122. data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.tileview.scss +98 -0
  123. data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.widescreen.scss +61 -0
  124. data/apps/core/components/public/mmenu/scss/inc/_colors.scss +175 -0
  125. data/apps/core/components/public/mmenu/scss/inc/_mixins.scss +135 -0
  126. data/apps/core/components/public/mmenu/scss/inc/_sizing.scss +86 -0
  127. data/apps/core/components/public/mmenu/scss/inc/_variables.scss +61 -0
  128. data/apps/core/components/public/mmenu/scss/jquery.mmenu.scss +478 -0
  129. data/apps/core/components/widgets/table/table.rb +7 -0
  130. data/apps/core/components/widgets/table/table.shtml +50 -17
  131. data/apps/core/forms/tags/row.erb +1 -1
  132. data/lib/spiderfw/cmd/cmd.rb +2 -0
  133. data/lib/spiderfw/cmd/commands/assets.rb +12 -0
  134. data/lib/spiderfw/controller/mixins/visual.rb +1 -0
  135. data/lib/spiderfw/create.rb +0 -1
  136. data/lib/spiderfw/i18n/gettext.rb +33 -0
  137. data/lib/spiderfw/i18n/javascript_parser.rb +2 -2
  138. data/lib/spiderfw/i18n/shtml_parser.rb +2 -2
  139. data/lib/spiderfw/model/model.rb +2 -1
  140. data/lib/spiderfw/setup/app_manager.rb +8 -0
  141. data/lib/spiderfw/spider.rb +9 -1
  142. data/lib/spiderfw/templates/layout.rb +47 -39
  143. data/lib/spiderfw/templates/template.rb +12 -4
  144. metadata +46 -1
@@ -0,0 +1,135 @@
1
+ // Arrows
2
+ @mixin mm_arrow
3
+ {
4
+ content: '';
5
+ border: 2px solid transparent;
6
+ display: inline-block;
7
+ width: 8px;
8
+ height: 8px;
9
+ margin: auto;
10
+ position: absolute;
11
+ top: 0;
12
+ bottom: 0;
13
+
14
+ @include mm_webkit_prefix( "transform", rotate( -45deg ) );
15
+ }
16
+ @mixin mm_arrow_prev
17
+ {
18
+ border-right: none;
19
+ border-bottom: none;
20
+ left: $mm_listitemIndent + 3;
21
+ }
22
+ @mixin mm_arrow_next
23
+ {
24
+ border-top: none;
25
+ border-left: none;
26
+ right: $mm_listitemIndent + 3;
27
+ }
28
+
29
+
30
+ // Borders
31
+ @mixin mm_border( $border, $pseudo, $pos1, $pos2, $pos3 )
32
+ {
33
+ &:#{$pseudo}
34
+ {
35
+ content: '';
36
+ border-#{$border}-width: 1px;
37
+ border-#{$border}-style: solid;
38
+ display: block;
39
+ position: absolute;
40
+ #{$pos1}: 0;
41
+ #{$pos2}: 0;
42
+ #{$pos3}: 0;
43
+ }
44
+ }
45
+ @mixin mm_border_top
46
+ {
47
+ @include mm_border( "top", "before", "left", "right", "top" );
48
+ }
49
+ @mixin mm_border_right
50
+ {
51
+ @include mm_border( "right", "after", "top", "bottom", "right" );
52
+ }
53
+ @mixin mm_border_bottom
54
+ {
55
+ @include mm_border( "bottom", "after", "left", "right", "bottom" );
56
+ }
57
+ @mixin mm_border_left
58
+ {
59
+ @include mm_border( "left", "before", "top", "bottom", "left" );
60
+ }
61
+
62
+
63
+ // Navbars
64
+ @mixin mm_navbar_positioning( $pos, $nr )
65
+ {
66
+ .mm-navbar-#{$pos}-#{$nr}
67
+ {
68
+ #{$pos}: $mm_navbarHeight * ( $nr - 1 );
69
+ }
70
+
71
+ .mm-hasnavbar-#{$pos}-#{$nr}
72
+ {
73
+ .mm-panels
74
+ {
75
+ #{$pos}: $mm_navbarHeight * $nr;
76
+ }
77
+ }
78
+ }
79
+ @mixin mm_navbar_sizing( $nr )
80
+ {
81
+ .mm-navbar-size-#{$nr}
82
+ {
83
+ height: $mm_navbarHeight * $nr;
84
+ }
85
+ }
86
+ @mixin mm_navbar_content( $nr )
87
+ {
88
+ .mm-navbar-content-#{$nr} > *
89
+ {
90
+ width: round( 100% / $nr * 100 ) / 100;
91
+ }
92
+ }
93
+
94
+
95
+ // Iconpanels
96
+ @mixin mm_iconpanel_positioning( $nr )
97
+ {
98
+ .mm-iconpanel .mm-panel.mm-iconpanel-#{$nr}
99
+ {
100
+ left: $mm_iconpanelWidth * $nr;
101
+ }
102
+ }
103
+
104
+
105
+ // Misc
106
+ @mixin mm_vendor_prefix( $prop, $val )
107
+ {
108
+ -webkit-#{$prop}: $val;
109
+ -moz-#{$prop}: $val;
110
+ -ms-#{$prop}: $val;
111
+ -o-#{$prop}: $val;
112
+ #{$prop}: $val;
113
+ }
114
+ @mixin mm_webkit_prefix( $prop, $val )
115
+ {
116
+ // we're not yet ready to drop vendor prefixes due to IE9 and older versions of FF
117
+ @include mm_vendor_prefix( $prop, $val );
118
+ // -webkit-#{$prop}: $val;
119
+ // #{$prop}: $val;
120
+ }
121
+ @mixin mm_ellipsis()
122
+ {
123
+ text-overflow: ellipsis;
124
+ white-space: nowrap;
125
+ overflow: hidden;
126
+ }
127
+ @mixin mm_clearfix()
128
+ {
129
+ &:after
130
+ {
131
+ content: '';
132
+ display: block;
133
+ clear: both;
134
+ }
135
+ }
@@ -0,0 +1,86 @@
1
+ // Sizing left (default)
2
+ @mixin mm_sizing( $cls: "",
3
+ $width: $mm_menuWidth, $minWidth: $mm_menuMinWidth, $maxWidth: $mm_menuMaxWidth
4
+ ) {
5
+ .mm-menu#{$cls}
6
+ {
7
+ width: percentage( $width );
8
+ min-width: $minWidth;
9
+ max-width: $maxWidth;
10
+ }
11
+ html.mm-opening#{$cls}
12
+ {
13
+ .mm-slideout
14
+ {
15
+ @include mm-webkit-prefix( 'transform', translate( percentage( $width ), 0 ) );
16
+ }
17
+ }
18
+ @media all and (max-width: $minWidth / $width ) {
19
+ html.mm-opening#{$cls}
20
+ {
21
+ .mm-slideout
22
+ {
23
+ @include mm-webkit-prefix( 'transform', translate( $minWidth, 0 ) );
24
+ }
25
+ }
26
+ }
27
+ @media all and (min-width: $maxWidth / $width ) {
28
+ html.mm-opening#{$cls}
29
+ {
30
+ .mm-slideout
31
+ {
32
+ @include mm-webkit-prefix( 'transform', translate( $maxWidth, 0 ) );
33
+ }
34
+ }
35
+ }
36
+ }
37
+
38
+ // Sizing right
39
+ @mixin mm_sizing_right( $cls: "",
40
+ $width: $mm_menuWidth, $minWidth: $mm_menuMinWidth, $maxWidth: $mm_menuMaxWidth
41
+ ) {
42
+ html.mm-right.mm-opening#{$cls}
43
+ {
44
+ .mm-slideout
45
+ {
46
+ @include mm-webkit-prefix( 'transform', translate( -( percentage( $width ) ), 0 ) );
47
+ }
48
+ }
49
+ @media all and ( max-width: $minWidth / $width ) {
50
+ html.mm-right.mm-opening#{$cls}
51
+ {
52
+ .mm-slideout
53
+ {
54
+ @include mm-webkit-prefix( 'transform', translate( -$minWidth, 0 ) );
55
+ }
56
+ }
57
+ }
58
+ @media all and ( min-width: $maxWidth / $width ) {
59
+ html.mm-right.mm-opening#{$cls}
60
+ {
61
+ .mm-slideout
62
+ {
63
+ @include mm-webkit-prefix( 'transform', translate( -$maxWidth, 0 ) );
64
+ }
65
+ }
66
+ }
67
+ }
68
+
69
+ // Sizing z-position
70
+ @mixin mm_sizing_zposition( $cls: "",
71
+ $height: $mm_menuHeight, $minHeight: $mm_menuMinHeight, $maxHeight: $mm_menuMaxHeight
72
+ ) {
73
+
74
+ // top
75
+ // bottom
76
+ .mm-menu#{$cls}
77
+ {
78
+ &.mm-top,
79
+ &.mm-bottom
80
+ {
81
+ height: percentage( $height );
82
+ min-height: $minHeight;
83
+ max-height: $maxHeight;
84
+ }
85
+ }
86
+ }
@@ -0,0 +1,61 @@
1
+ // Animations
2
+ $mm_transitionDuration: 0.4s !default;
3
+ $mm_transitionFunction: ease !default;
4
+
5
+ // Colors
6
+ $mm_backgroundColor : #f3f3f3 !default;
7
+ $mm_borderColor : rgba( #000, 0.1 ) !default;
8
+ $mm_dimmedTextColor : rgba( #000, 0.3 ) !default;
9
+ $mm_emphasizedBackgroundColor : rgba( #fff, 0.5 ) !default;
10
+ $mm_highlightedBackgroundColor : rgba( #000, 0.05 ) !default;
11
+ $mm_textColor : rgba( #000, 0.7 ) !default;
12
+
13
+ // Sizes
14
+ $mm_padding : 10px !default;
15
+
16
+ $mm_btnSize : 40px !default;
17
+ $mm_fontSize : 14px !default;
18
+ $mm_listitemIndent : $mm_padding * 2 !default;
19
+ $mm_listitemPadding : $mm_padding !default;
20
+ $mm_panelPadding : $mm_padding * 2 !default;
21
+ $mm_subopenWidth : $mm_btnSize + $mm_padding !default;
22
+ $mm_subpanelOffset : 30% !default;
23
+
24
+
25
+ // Addon/Extension colors
26
+ $mm_toggleCheckedColor : #4bd963 !default;
27
+ $mm_inputBackgroundColor : rgba( #000, 0.05 ) !default;
28
+ $mm_pageShadow : 0 0 10px rgba( #000, 0.3 ) !default;
29
+ $mm_panelShadow : $mm_pageShadow !default;
30
+
31
+
32
+ // Addon/Extension sizes
33
+ $mm_menuWidth : 0.8 !default;
34
+ $mm_menuMinWidth : 140px !default;
35
+ $mm_menuMaxWidth : 440px !default;
36
+
37
+ $mm_menuHeight : 0.8 !default;
38
+ $mm_menuMinHeight : 140px !default;
39
+ $mm_menuMaxHeight : 880px !default;
40
+
41
+ $mm_checkHeight : $mm_btnSize - $mm_padding !default;
42
+ $mm_checkWidth : $mm_btnSize - $mm_padding !default;
43
+
44
+ $mm_counterWidth : $mm_btnSize !default;
45
+
46
+ $mm_dividerFontSize : 10px !default;
47
+ $mm_dividerHeight : ( $mm_btnSize / 2 ) + ( $mm_padding / 2 ) !default;
48
+
49
+ $mm_navbarHeight : $mm_btnSize !default;
50
+ $mm_breadcrumbPadding : round( $mm_padding / 4 ) !default;
51
+
52
+ $mm_iconbarWidth : $mm_btnSize + ( $mm_padding * 2 ) !default;
53
+ $mm_iconpanelWidth : $mm_btnSize !default;
54
+
55
+ $mm_sectionIndexerWidth : $mm_padding * 2 !default;
56
+
57
+ $mm_toggleHeight : $mm_btnSize - $mm_padding !default;
58
+ $mm_toggleWidth : ( $mm_toggleHeight * 2 ) - $mm_padding !default;
59
+
60
+ $mm_zoomScaleDown : 0.7 !default;
61
+ $mm_zoomScaleUp : 1.5 !default;
@@ -0,0 +1,478 @@
1
+ /*
2
+ jQuery.mmenu oncanvas CSS
3
+ */
4
+ @import "inc/variables";
5
+ @import "inc/mixins";
6
+ @import "inc/sizing";
7
+ @import "inc/colors";
8
+
9
+
10
+ // Generic classes
11
+ .mm-hidden
12
+ {
13
+ display: none !important;
14
+ }
15
+
16
+
17
+ // Container
18
+ .mm-wrapper
19
+ {
20
+ overflow-x: hidden;
21
+ position: relative;
22
+ }
23
+
24
+
25
+ // Menu
26
+ .mm-menu,
27
+ .mm-panels,
28
+ .mm-panels > .mm-panel
29
+ {
30
+ margin: 0;
31
+ position: absolute;
32
+ left: 0;
33
+ right: 0;
34
+ top: 0;
35
+ bottom: 0;
36
+ z-index: 0;
37
+ }
38
+ .mm-menu
39
+ {
40
+ box-sizing: border-box;
41
+ background: inherit;
42
+ display: block;
43
+ overflow: hidden;
44
+ padding: 0;
45
+ }
46
+
47
+
48
+ // Panels
49
+ .mm-panel
50
+ {
51
+ -webkit-transition: -webkit-transform $mm_transitionDuration $mm_transitionFunction;
52
+ -moz-transition: -moz-transform $mm_transitionDuration $mm_transitionFunction;
53
+ -ms-transition: -ms-transform $mm_transitionDuration $mm_transitionFunction;
54
+ -o-transition: -o-transform $mm_transitionDuration $mm_transitionFunction;
55
+ transition: transform $mm_transitionDuration $mm_transitionFunction;
56
+
57
+ @include mm_webkit_prefix( 'transform', translate3d( 100%, 0, 0 ) );
58
+
59
+ &.mm-opened
60
+ {
61
+ @include mm_webkit_prefix( 'transform', translate3d( 0%, 0, 0 ) );
62
+ }
63
+ &.mm-subopened
64
+ {
65
+ @include mm_webkit_prefix( 'transform', translate3d( -$mm_subpanelOffset, 0, 0 ) );
66
+ }
67
+ &.mm-highest
68
+ {
69
+ z-index: 1;
70
+ }
71
+ }
72
+
73
+ .mm-panels,
74
+ .mm-panels > .mm-panel
75
+ {
76
+ background: inherit;
77
+ border-color: inherit;
78
+ }
79
+ .mm-panels > .mm-panel
80
+ {
81
+ background: inherit;
82
+ border-color: inherit;
83
+
84
+ -webkit-overflow-scrolling: touch;
85
+ overflow: scroll;
86
+ overflow-x: hidden;
87
+ overflow-y: auto;
88
+
89
+ box-sizing: border-box;
90
+ padding: 0 $mm_panelPadding;
91
+
92
+ &.mm-hasnavbar
93
+ {
94
+ padding-top: $mm_navbarHeight;
95
+ }
96
+
97
+ // Because padding-bottom in some browsers is ignored when a DIV is scrollable
98
+ &:before,
99
+ &:after
100
+ {
101
+ content: '';
102
+ display: block;
103
+ height: $mm_panelPadding;
104
+ }
105
+ }
106
+
107
+
108
+ // Vertical
109
+ .mm-vertical .mm-panel
110
+ {
111
+ @include mm_webkit_prefix( 'transform', none !important );
112
+ }
113
+
114
+ .mm-vertical .mm-listview,
115
+ .mm-listview .mm-vertical
116
+ {
117
+ .mm-panel
118
+ {
119
+ display: none;
120
+ padding: $mm_padding 0 $mm_padding $mm_padding;
121
+
122
+ .mm-listview > li:last-child:after
123
+ {
124
+ border-color: transparent;
125
+ }
126
+ }
127
+ }
128
+ .mm-vertical li.mm-opened,
129
+ li.mm-vertical.mm-opened
130
+ {
131
+ > .mm-panel
132
+ {
133
+ display: block;
134
+ }
135
+ }
136
+ .mm-vertical .mm-listview > li,
137
+ .mm-listview > li.mm-vertical
138
+ {
139
+ > .mm-next
140
+ {
141
+ height: $mm_btnSize;
142
+ bottom: auto;
143
+
144
+ &:after
145
+ {
146
+ top: ( $mm_btnSize / 2 ) - 4;
147
+ bottom: auto;
148
+ }
149
+ }
150
+ &.mm-opened
151
+ {
152
+ > .mm-next:after
153
+ {
154
+ @include mm_webkit_prefix( "transform", rotate( 45deg ) );
155
+ }
156
+ }
157
+ }
158
+
159
+ .mm-navbar
160
+ {
161
+ border-bottom: 1px solid;
162
+ border-color: inherit;
163
+ text-align: center;
164
+ line-height: $mm_btnSize / 2;
165
+
166
+ height: $mm_navbarHeight;
167
+ padding: 0 $mm_btnSize;
168
+
169
+ margin: 0;
170
+ position: absolute;
171
+ top: 0;
172
+ left: 0;
173
+ right: 0;
174
+
175
+ > *
176
+ {
177
+ display: block;
178
+ padding: ( $mm_btnSize / 4 ) 0;
179
+ }
180
+ a,
181
+ a:hover
182
+ {
183
+ text-decoration: none;
184
+ }
185
+ .mm-title
186
+ {
187
+ @include mm_ellipsis;
188
+ }
189
+ .mm-btn
190
+ {
191
+ box-sizing: border-box;
192
+ width: $mm_btnSize;
193
+ height: $mm_btnSize;
194
+ position: absolute;
195
+ top: 0;
196
+ z-index: 1;
197
+
198
+ &:first-child
199
+ {
200
+ padding-left: $mm_panelPadding;
201
+ left: 0;
202
+ }
203
+ &:last-child
204
+ {
205
+ text-align: right;
206
+ padding-right: $mm_panelPadding;
207
+ right: 0;
208
+ }
209
+ }
210
+ }
211
+ .mm-panel
212
+ {
213
+ .mm-navbar
214
+ {
215
+ display: none;
216
+ }
217
+ &.mm-hasnavbar .mm-navbar
218
+ {
219
+ display: block;
220
+ }
221
+ }
222
+
223
+
224
+ // Listviews
225
+ .mm-listview,
226
+ .mm-listview > li
227
+ {
228
+ list-style: none;
229
+ display: block;
230
+ padding: 0;
231
+ margin: 0;
232
+ }
233
+ .mm-listview
234
+ {
235
+ font: inherit;
236
+ font-size: $mm_fontSize;
237
+ line-height: $mm_btnSize - ( $mm_padding * 2 );
238
+
239
+ a,
240
+ a:hover
241
+ {
242
+ text-decoration: none;
243
+ }
244
+
245
+ > li
246
+ {
247
+ position: relative;
248
+
249
+ &,
250
+ &:after,
251
+ .mm-next,
252
+ .mm-next:before
253
+ {
254
+ border-color: inherit;
255
+ }
256
+
257
+ > a,
258
+ > span
259
+ {
260
+ @include mm_ellipsis;
261
+
262
+ color: inherit;
263
+ display: block;
264
+ padding: $mm_listitemPadding $mm_listitemPadding $mm_listitemPadding $mm_listitemIndent;
265
+ margin: 0;
266
+
267
+ &.mm-arrow
268
+ {
269
+ padding-right: $mm_subopenWidth;
270
+ }
271
+ }
272
+
273
+ &:not(.mm-divider)
274
+ {
275
+ @include mm_border_bottom;
276
+
277
+ &:after
278
+ {
279
+ left: $mm_listitemIndent;
280
+ }
281
+ }
282
+ }
283
+
284
+ // subopen
285
+ .mm-next
286
+ {
287
+ @include mm_border_left;
288
+
289
+ background: rgba( 3, 2, 1, 0 );
290
+ width: $mm_subopenWidth;
291
+ padding: 0;
292
+ position: absolute;
293
+ right: 0;
294
+ top: 0;
295
+ bottom: 0;
296
+ z-index: 2;
297
+
298
+ + a,
299
+ + span
300
+ {
301
+ margin-right: $mm_subopenWidth;
302
+ }
303
+
304
+ &.mm-fullsubopen
305
+ {
306
+ width: 100%;
307
+
308
+ &:before
309
+ {
310
+ border-left: none;
311
+ }
312
+
313
+ + a,
314
+ + span
315
+ {
316
+ padding-right: $mm_subopenWidth;
317
+ margin-right: 0;
318
+ }
319
+ }
320
+ }
321
+ }
322
+ .mm-panels > .mm-panel
323
+ {
324
+ > .mm-listview
325
+ {
326
+ margin: $mm_panelPadding ( -$mm_panelPadding );
327
+ }
328
+ > .mm-listview:first-child,
329
+ > .mm-navbar + .mm-listview
330
+ {
331
+ margin-top: -$mm_panelPadding;
332
+ }
333
+ }
334
+
335
+
336
+ // Inset lists
337
+ .mm-listview .mm-inset,
338
+ {
339
+ list-style: inside disc;
340
+ padding: 0 $mm_listitemPadding ( $mm_listitemPadding * 1.5 ) ( $mm_listitemIndent * 2 );
341
+ margin: 0;
342
+
343
+ > li
344
+ {
345
+ padding: ( $mm_listitemPadding / 2 ) 0;
346
+ }
347
+ }
348
+
349
+
350
+ // Dividers
351
+ .mm-listview .mm-divider
352
+ {
353
+ @include mm_ellipsis;
354
+
355
+ font-size: $mm_dividerFontSize;
356
+ text-transform: uppercase;
357
+ text-indent: $mm_listitemIndent;
358
+ line-height: $mm_dividerHeight;
359
+ }
360
+
361
+
362
+ // Spacers
363
+ .mm-listview .mm-spacer
364
+ {
365
+ padding-top: $mm_btnSize;
366
+
367
+ > .mm-next
368
+ {
369
+ top: $mm_btnSize;
370
+ }
371
+
372
+ &.mm-divider
373
+ {
374
+ padding-top: $mm_dividerHeight;
375
+ }
376
+ }
377
+
378
+
379
+ // Arrows
380
+ .mm-prev:before,
381
+ .mm-next:after,
382
+ .mm-arrow:after
383
+ {
384
+ @include mm_arrow;
385
+ }
386
+ .mm-prev:before
387
+ {
388
+ @include mm_arrow_prev;
389
+ }
390
+ .mm-next:after,
391
+ .mm-arrow:after
392
+ {
393
+ @include mm_arrow_next;
394
+ }
395
+
396
+
397
+ @include mm_colors;
398
+
399
+ /*
400
+ jQuery.mmenu offcanvas addon CSS
401
+ */
402
+
403
+ // Animations
404
+ .mm-page
405
+ {
406
+ box-sizing: border-box;
407
+ position: relative;
408
+ }
409
+ .mm-slideout
410
+ {
411
+ -webkit-transition: -webkit-transform $mm_transitionDuration $mm_transitionFunction;
412
+ -ms-transition: -ms-transform $mm_transitionDuration $mm_transitionFunction;
413
+ transition: transform $mm_transitionDuration $mm_transitionFunction;
414
+ }
415
+
416
+ // Container, Page, Blocker
417
+ html.mm-opened
418
+ {
419
+ overflow-x: hidden;
420
+ position: relative;
421
+ }
422
+ html.mm-blocking
423
+ {
424
+ overflow: hidden;
425
+
426
+ body
427
+ {
428
+ overflow: hidden;
429
+ }
430
+ }
431
+
432
+ html.mm-background .mm-page
433
+ {
434
+ background: inherit;
435
+ }
436
+ #mm-blocker
437
+ {
438
+ background: rgba( 3, 2, 1, 0 );
439
+ display: none;
440
+ width: 100%;
441
+ height: 100%;
442
+ position: fixed;
443
+ top: 0;
444
+ left: 0;
445
+ z-index: 999999;
446
+ }
447
+ html.mm-blocking #mm-blocker
448
+ {
449
+ display: block;
450
+ }
451
+
452
+ // Menu
453
+ .mm-menu
454
+ {
455
+ &.mm-offcanvas
456
+ {
457
+ display: none;
458
+ position: fixed;
459
+ }
460
+ &.mm-current
461
+ {
462
+ display: block;
463
+ }
464
+ }
465
+
466
+
467
+ @include mm_sizing;
468
+
469
+
470
+ @import "extensions/jquery.mmenu.borderstyle";
471
+ @import "extensions/jquery.mmenu.effects";
472
+ @import "extensions/jquery.mmenu.fullscreen";
473
+ @import "extensions/jquery.mmenu.multiline";
474
+ @import "extensions/jquery.mmenu.pagedim";
475
+ @import "extensions/jquery.mmenu.pageshadow";
476
+ @import "extensions/jquery.mmenu.positioning";
477
+ @import "extensions/jquery.mmenu.themes";
478
+ @import "extensions/jquery.mmenu.tileview";