spiderfw 0.6.39 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG +2 -0
- data/Rakefile +4 -3
- data/VERSION +1 -1
- data/apps/core/admin/public/css/sass/admin.css +61 -12
- data/apps/core/admin/public/sass/admin.scss +51 -0
- data/apps/core/admin/views/login.layout.shtml +1 -1
- data/apps/core/components/assets.rb +34 -2
- data/apps/core/components/po/it/spider_components.po +2 -2
- data/apps/core/components/public/bootstrap/scss/_aggiunte_bootstrap_3.scss +54 -0
- data/apps/core/components/public/bootstrap/scss/_pagination.scss +1 -1
- data/apps/core/components/public/bootstrap/scss/_variables.scss +2 -0
- data/apps/core/components/public/bootstrap/scss/bootstrap.css +48 -2
- data/apps/core/components/public/bootstrap/scss/bootstrap.scss +4 -1
- data/apps/core/components/public/bootstrap_3/img/glyphicons-halflings-regular.eot +0 -0
- data/apps/core/components/public/bootstrap_3/img/glyphicons-halflings-regular.svg +272 -213
- data/apps/core/components/public/bootstrap_3/img/glyphicons-halflings-regular.ttf +0 -0
- data/apps/core/components/public/bootstrap_3/img/glyphicons-halflings-regular.woff +0 -0
- data/apps/core/components/public/bootstrap_3/img/glyphicons-halflings-regular.woff2 +0 -0
- data/apps/core/components/public/bootstrap_3/js/affix.js +48 -26
- data/apps/core/components/public/bootstrap_3/js/alert.js +8 -6
- data/apps/core/components/public/bootstrap_3/js/button.js +27 -17
- data/apps/core/components/public/bootstrap_3/js/carousel.js +66 -39
- data/apps/core/components/public/bootstrap_3/js/collapse.js +73 -42
- data/apps/core/components/public/bootstrap_3/js/dropdown.js +54 -40
- data/apps/core/components/public/bootstrap_3/js/modal.js +102 -42
- data/apps/core/components/public/bootstrap_3/js/popover.js +6 -11
- data/apps/core/components/public/bootstrap_3/js/scrollspy.js +47 -33
- data/apps/core/components/public/bootstrap_3/js/tab.js +48 -21
- data/apps/core/components/public/bootstrap_3/js/tooltip.js +118 -60
- data/apps/core/components/public/bootstrap_3/js/transition.js +15 -4
- data/apps/core/components/public/bootstrap_3/scss/_alerts.scss +8 -2
- data/apps/core/components/public/bootstrap_3/scss/_badges.scss +14 -3
- data/apps/core/components/public/bootstrap_3/scss/_button-groups.scss +23 -19
- data/apps/core/components/public/bootstrap_3/scss/_buttons.scss +22 -13
- data/apps/core/components/public/bootstrap_3/scss/_carousel.scss +28 -2
- data/apps/core/components/public/bootstrap_3/scss/_close.scss +1 -0
- data/apps/core/components/public/bootstrap_3/scss/_code.scss +7 -0
- data/apps/core/components/public/bootstrap_3/scss/_component-animations.scss +3 -1
- data/apps/core/components/public/bootstrap_3/scss/_dropdowns.scss +11 -9
- data/apps/core/components/public/bootstrap_3/scss/_forms.scss +190 -68
- data/apps/core/components/public/bootstrap_3/scss/_glyphicons.scss +83 -13
- data/apps/core/components/public/bootstrap_3/scss/_grid.scss +4 -4
- data/apps/core/components/public/bootstrap_3/scss/_input-groups.scss +1 -0
- data/apps/core/components/public/bootstrap_3/scss/_jumbotron.scss +8 -4
- data/apps/core/components/public/bootstrap_3/scss/_list-group.scss +13 -12
- data/apps/core/components/public/bootstrap_3/scss/_media.scss +40 -30
- data/apps/core/components/public/bootstrap_3/scss/_mixins.scss +1 -0
- data/apps/core/components/public/bootstrap_3/scss/_modals.scss +7 -4
- data/apps/core/components/public/bootstrap_3/scss/_navbar.scss +36 -32
- data/apps/core/components/public/bootstrap_3/scss/_navs.scss +3 -3
- data/apps/core/components/public/bootstrap_3/scss/_normalize.scss +12 -13
- data/apps/core/components/public/bootstrap_3/scss/_pager.scss +2 -3
- data/apps/core/components/public/bootstrap_3/scss/_pagination.scss +4 -3
- data/apps/core/components/public/bootstrap_3/scss/_panels.scss +38 -7
- data/apps/core/components/public/bootstrap_3/scss/_popovers.scss +5 -7
- data/apps/core/components/public/bootstrap_3/scss/_print.scss +96 -96
- data/apps/core/components/public/bootstrap_3/scss/_progress-bars.scss +20 -22
- data/apps/core/components/public/bootstrap_3/scss/_responsive-embed.scss +10 -9
- data/apps/core/components/public/bootstrap_3/scss/_responsive-utilities.scss +8 -3
- data/apps/core/components/public/bootstrap_3/scss/_scaffolding.scss +15 -4
- data/apps/core/components/public/bootstrap_3/scss/_tables.scss +15 -14
- data/apps/core/components/public/bootstrap_3/scss/_theme.scss +57 -13
- data/apps/core/components/public/bootstrap_3/scss/_thumbnails.scss +2 -2
- data/apps/core/components/public/bootstrap_3/scss/_tooltip.scss +13 -7
- data/apps/core/components/public/bootstrap_3/scss/_type.scss +21 -21
- data/apps/core/components/public/bootstrap_3/scss/_utilities.scss +3 -4
- data/apps/core/components/public/bootstrap_3/scss/_variables.scss +54 -32
- data/apps/core/components/public/bootstrap_3/scss/bootstrap.css +8772 -0
- data/apps/core/components/public/bootstrap_3/scss/bootstrap.scss +6 -0
- data/apps/core/components/public/bootstrap_3/scss/mixins/_background-variant.scss +2 -1
- data/apps/core/components/public/bootstrap_3/scss/mixins/_buttons.scss +19 -1
- data/apps/core/components/public/bootstrap_3/scss/mixins/_forms.scss +5 -1
- data/apps/core/components/public/bootstrap_3/scss/mixins/_gradients.scss +1 -1
- data/apps/core/components/public/bootstrap_3/scss/mixins/_grid-framework.scss +4 -10
- data/apps/core/components/public/bootstrap_3/scss/mixins/_grid.scss +7 -7
- data/apps/core/components/public/bootstrap_3/scss/mixins/_hide-text.scss +3 -3
- data/apps/core/components/public/bootstrap_3/scss/mixins/_labels.scss +1 -1
- data/apps/core/components/public/bootstrap_3/scss/mixins/_list-group.scss +3 -2
- data/apps/core/components/public/bootstrap_3/scss/mixins/_opacity.scss +1 -1
- data/apps/core/components/public/bootstrap_3/scss/mixins/_pagination.scss +2 -1
- data/apps/core/components/public/bootstrap_3/scss/mixins/_panels.scss +4 -0
- data/apps/core/components/public/bootstrap_3/scss/mixins/_progress-bar.scss +3 -1
- data/apps/core/components/public/bootstrap_3/scss/mixins/_reset-text.scss +18 -0
- data/apps/core/components/public/bootstrap_3/scss/mixins/_responsive-visibility.scss +1 -1
- data/apps/core/components/public/bootstrap_3/scss/mixins/_text-emphasis.scss +2 -1
- data/apps/core/components/public/bootstrap_3/scss/mixins/_vendor-prefixes.scss +11 -13
- data/apps/core/components/public/css/table_base.css +46 -1
- data/apps/core/components/public/fontawesome_4/fonts/font-awesome/fontawesome-webfont.eot +0 -0
- data/apps/core/components/public/fontawesome_4/fonts/font-awesome/fontawesome-webfont.svg +565 -0
- data/apps/core/components/public/fontawesome_4/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
- data/apps/core/components/public/fontawesome_4/fonts/font-awesome/fontawesome-webfont.woff +0 -0
- data/apps/core/components/public/fontawesome_4/fonts/font-awesome/fontawesome-webfont.woff2 +0 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome.css +2893 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_animated.scss +34 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_bordered-pulled.scss +16 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_core.scss +12 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_extras.scss +44 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_fixed-width.scss +6 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_icons.scss +596 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_larger.scss +13 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_list.scss +19 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_mixins.scss +26 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_path.scss +14 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_rotated-flipped.scss +20 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_stacked.scss +20 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font-awesome/_variables.scss +608 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font_awesome.css +2893 -0
- data/apps/core/components/public/fontawesome_4/stylesheets/font_awesome.scss +17 -0
- data/apps/core/components/public/js/paginatore.js +307 -0
- data/apps/core/components/public/js/spin.js +399 -0
- data/apps/core/components/public/mmenu/js/jquery.mmenu.js +133 -0
- data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.borderstyle.scss +33 -0
- data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.effects.scss +199 -0
- data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.fullscreen.scss +24 -0
- data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.iconbar.scss +26 -0
- data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.multiline.scss +15 -0
- data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.pagedim.scss +36 -0
- data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.pageshadow.scss +36 -0
- data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.positioning.scss +87 -0
- data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.themes.scss +76 -0
- data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.tileview.scss +98 -0
- data/apps/core/components/public/mmenu/scss/extensions/_jquery.mmenu.widescreen.scss +61 -0
- data/apps/core/components/public/mmenu/scss/inc/_colors.scss +175 -0
- data/apps/core/components/public/mmenu/scss/inc/_mixins.scss +135 -0
- data/apps/core/components/public/mmenu/scss/inc/_sizing.scss +86 -0
- data/apps/core/components/public/mmenu/scss/inc/_variables.scss +61 -0
- data/apps/core/components/public/mmenu/scss/jquery.mmenu.scss +478 -0
- data/apps/core/components/widgets/table/table.rb +7 -0
- data/apps/core/components/widgets/table/table.shtml +50 -17
- data/apps/core/forms/tags/row.erb +1 -1
- data/lib/spiderfw/cmd/cmd.rb +2 -0
- data/lib/spiderfw/cmd/commands/assets.rb +12 -0
- data/lib/spiderfw/controller/mixins/visual.rb +1 -0
- data/lib/spiderfw/create.rb +0 -1
- data/lib/spiderfw/i18n/gettext.rb +33 -0
- data/lib/spiderfw/i18n/javascript_parser.rb +2 -2
- data/lib/spiderfw/i18n/shtml_parser.rb +2 -2
- data/lib/spiderfw/model/model.rb +2 -1
- data/lib/spiderfw/setup/app_manager.rb +8 -0
- data/lib/spiderfw/spider.rb +9 -1
- data/lib/spiderfw/templates/layout.rb +47 -39
- data/lib/spiderfw/templates/template.rb +12 -4
- metadata +46 -1
@@ -0,0 +1,36 @@
|
|
1
|
+
/*
|
2
|
+
jQuery.mmenu pageshadow extension CSS
|
3
|
+
*/
|
4
|
+
|
5
|
+
@import "../inc/variables";
|
6
|
+
|
7
|
+
|
8
|
+
.mm-menu.mm-pageshadow
|
9
|
+
{
|
10
|
+
&:after
|
11
|
+
{
|
12
|
+
content: "";
|
13
|
+
display: block;
|
14
|
+
width: 20px;
|
15
|
+
height: 120%;
|
16
|
+
position: absolute;
|
17
|
+
left: 100%;
|
18
|
+
top: -10%;
|
19
|
+
z-index: 99;
|
20
|
+
}
|
21
|
+
|
22
|
+
&.mm-right:after
|
23
|
+
{
|
24
|
+
left: auto;
|
25
|
+
right: 100%;
|
26
|
+
}
|
27
|
+
|
28
|
+
&.mm-next:after,
|
29
|
+
&.mm-front:after
|
30
|
+
{
|
31
|
+
content: none;
|
32
|
+
display: none;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
@include mm_colors_pageshadow();
|
@@ -0,0 +1,87 @@
|
|
1
|
+
/*
|
2
|
+
jQuery.mmenu position extension CSS
|
3
|
+
*/
|
4
|
+
|
5
|
+
@import "../inc/variables";
|
6
|
+
|
7
|
+
|
8
|
+
.mm-menu.mm-top,
|
9
|
+
.mm-menu.mm-bottom
|
10
|
+
{
|
11
|
+
width: 100%;
|
12
|
+
min-width: 100%;
|
13
|
+
max-width: 100%;
|
14
|
+
}
|
15
|
+
|
16
|
+
.mm-menu.mm-right
|
17
|
+
{
|
18
|
+
left: auto;
|
19
|
+
right: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
.mm-menu.mm-bottom
|
23
|
+
{
|
24
|
+
top: auto;
|
25
|
+
bottom: 0;
|
26
|
+
}
|
27
|
+
|
28
|
+
@include mm_sizing_right;
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
/*
|
33
|
+
jQuery.mmenu z-position extension CSS
|
34
|
+
*/
|
35
|
+
|
36
|
+
// reset defaults
|
37
|
+
html.mm-front
|
38
|
+
{
|
39
|
+
.mm-slideout
|
40
|
+
{
|
41
|
+
@include mm-webkit-prefix( 'transform', none !important );
|
42
|
+
z-index: 0 !important;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
// styling
|
47
|
+
.mm-menu.mm-front
|
48
|
+
{
|
49
|
+
z-index: 1;
|
50
|
+
}
|
51
|
+
|
52
|
+
// animations
|
53
|
+
.mm-menu
|
54
|
+
{
|
55
|
+
&.mm-front,
|
56
|
+
&.mm-next
|
57
|
+
{
|
58
|
+
-webkit-transition: -webkit-transform $mm_transitionDuration $mm_transitionFunction;
|
59
|
+
-ms-transition: -ms-transform $mm_transitionDuration $mm_transitionFunction;
|
60
|
+
transition: transform $mm_transitionDuration $mm_transitionFunction;
|
61
|
+
|
62
|
+
@include mm-webkit-prefix( 'transform', translate3d( -100%, 0, 0 ) );
|
63
|
+
|
64
|
+
&.mm-right
|
65
|
+
{
|
66
|
+
@include mm-webkit-prefix( 'transform', translate3d( 100%, 0, 0 ) );
|
67
|
+
}
|
68
|
+
}
|
69
|
+
&.mm-top
|
70
|
+
{
|
71
|
+
@include mm-webkit-prefix( 'transform', translate3d( 0, -100%, 0 ) );
|
72
|
+
}
|
73
|
+
&.mm-bottom
|
74
|
+
{
|
75
|
+
@include mm-webkit-prefix( 'transform', translate3d( 0, 100%, 0 ) );
|
76
|
+
}
|
77
|
+
}
|
78
|
+
html.mm-opening .mm-menu
|
79
|
+
{
|
80
|
+
&.mm-front,
|
81
|
+
&.mm-next
|
82
|
+
{
|
83
|
+
@include mm-webkit-prefix( 'transform', translate3d( 0, 0, 0 ) );
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
@include mm_sizing_zposition;
|
@@ -0,0 +1,76 @@
|
|
1
|
+
/*
|
2
|
+
jQuery.mmenu themes extension CSS
|
3
|
+
*/
|
4
|
+
|
5
|
+
@import "../inc/variables";
|
6
|
+
|
7
|
+
@mixin mm_apply_theme()
|
8
|
+
{
|
9
|
+
@include mm_colors( $mm_t_cls,
|
10
|
+
$mm_t_backgroundColor,
|
11
|
+
$mm_t_textColor, $mm_t_dimmedTextColor,
|
12
|
+
$mm_t_emphasizedBackgroundColor, $mm_t_highlightedBackgroundColor,
|
13
|
+
$mm_t_borderColor );
|
14
|
+
|
15
|
+
@include mm_colors_checks( $mm_t_cls,
|
16
|
+
$mm_t_textColor );
|
17
|
+
|
18
|
+
@include mm_colors_counters( $mm_t_cls,
|
19
|
+
$mm_t_dimmedTextColor );
|
20
|
+
|
21
|
+
@include mm_colors_dividers( $mm_t_cls,
|
22
|
+
$mm_t_highlightedBackgroundColor );
|
23
|
+
|
24
|
+
@include mm_colors_pageshadow( $mm_t_cls,
|
25
|
+
$mm_t_pageShadow );
|
26
|
+
|
27
|
+
@include mm_colors_searchfield( $mm_t_cls,
|
28
|
+
$mm_t_inputBackgroundColor, $mm_t_textColor,
|
29
|
+
$mm_t_dimmedTextColor );
|
30
|
+
|
31
|
+
@include mm_colors_sectionindexer( $mm_t_cls,
|
32
|
+
$mm_t_dimmedTextColor );
|
33
|
+
|
34
|
+
@include mm_colors_toggles( $mm_t_cls,
|
35
|
+
$mm_t_backgroundColor,
|
36
|
+
$mm_t_borderColor );
|
37
|
+
}
|
38
|
+
|
39
|
+
|
40
|
+
// Dark
|
41
|
+
$mm_t_cls : ".mm-theme-dark";
|
42
|
+
$mm_t_borderColor : rgba( #000, 0.15 );
|
43
|
+
$mm_t_backgroundColor : #333;
|
44
|
+
$mm_t_emphasizedBackgroundColor : rgba( #000, 0.1 );
|
45
|
+
$mm_t_highlightedBackgroundColor: rgba( #fff, 0.05 );
|
46
|
+
$mm_t_textColor : rgba( #fff, 0.8 );
|
47
|
+
$mm_t_dimmedTextColor : rgba( #fff, 0.4 );
|
48
|
+
$mm_t_inputBackgroundColor : rgba( #fff, 0.3 );
|
49
|
+
$mm_t_pageShadow : 0 0 20px rgba( #000, 0.5 );
|
50
|
+
@include mm_apply_theme;
|
51
|
+
|
52
|
+
|
53
|
+
// White
|
54
|
+
$mm_t_cls : ".mm-theme-white";
|
55
|
+
$mm_t_borderColor : rgba( #000, 0.1 );
|
56
|
+
$mm_t_backgroundColor : #fff;
|
57
|
+
$mm_t_emphasizedBackgroundColor : rgba( #000, 0.05 );
|
58
|
+
$mm_t_highlightedBackgroundColor: rgba( #000, 0.03 );
|
59
|
+
$mm_t_textColor : rgba( #000, 0.6 );
|
60
|
+
$mm_t_dimmedTextColor : rgba( #000, 0.3 );
|
61
|
+
$mm_t_inputBackgroundColor : rgba( #000, 0.05 );
|
62
|
+
$mm_t_pageShadow : 0 0 10px rgba( #000, 0.2 );
|
63
|
+
@include mm_apply_theme;
|
64
|
+
|
65
|
+
|
66
|
+
// Black
|
67
|
+
$mm_t_cls : ".mm-theme-black";
|
68
|
+
$mm_t_borderColor : rgba( #fff, 0.2 );
|
69
|
+
$mm_t_backgroundColor : #000;
|
70
|
+
$mm_t_emphasizedBackgroundColor : rgba( #fff, 0.3 );
|
71
|
+
$mm_t_highlightedBackgroundColor: rgba( #fff, 0.2 );
|
72
|
+
$mm_t_textColor : rgba( #fff, 0.6 );
|
73
|
+
$mm_t_dimmedTextColor : rgba( #fff, 0.4 );
|
74
|
+
$mm_t_inputBackgroundColor : rgba( #fff, 0.3 );
|
75
|
+
$mm_t_pageShadow : false;
|
76
|
+
@include mm_apply_theme;
|
@@ -0,0 +1,98 @@
|
|
1
|
+
/*
|
2
|
+
jQuery.mmenu tileview extension CSS
|
3
|
+
*/
|
4
|
+
|
5
|
+
@import "../inc/variables";
|
6
|
+
|
7
|
+
|
8
|
+
.mm-menu
|
9
|
+
{
|
10
|
+
&.mm-tileview .mm-listview,
|
11
|
+
.mm-tileview.mm-listview
|
12
|
+
{
|
13
|
+
@include mm_clearfix;
|
14
|
+
|
15
|
+
> li
|
16
|
+
{
|
17
|
+
width: 50%;
|
18
|
+
height: 0;
|
19
|
+
padding: 50% 0 0 0;
|
20
|
+
float: left;
|
21
|
+
position: relative;
|
22
|
+
|
23
|
+
&:after
|
24
|
+
{
|
25
|
+
left: 0;
|
26
|
+
top: 0;
|
27
|
+
border-right-width: 1px;
|
28
|
+
border-right-style: solid;
|
29
|
+
z-index: -1;
|
30
|
+
}
|
31
|
+
|
32
|
+
&.mm-tile-xs
|
33
|
+
{
|
34
|
+
width: 12.5%;
|
35
|
+
padding-top: 12.5%;
|
36
|
+
}
|
37
|
+
&.mm-tile-s
|
38
|
+
{
|
39
|
+
width: 25%;
|
40
|
+
padding-top: 25%;
|
41
|
+
}
|
42
|
+
&.mm-tile-l
|
43
|
+
{
|
44
|
+
width: 75%;
|
45
|
+
padding-top: 75%;
|
46
|
+
}
|
47
|
+
&.mm-tile-xl
|
48
|
+
{
|
49
|
+
width: 100%;
|
50
|
+
padding-top: 100%;
|
51
|
+
}
|
52
|
+
|
53
|
+
> a,
|
54
|
+
> span
|
55
|
+
{
|
56
|
+
line-height: 1px;
|
57
|
+
text-align: center;
|
58
|
+
padding: 50% $mm_padding 0 $mm_padding;
|
59
|
+
margin: 0;
|
60
|
+
position: absolute;
|
61
|
+
top: 0;
|
62
|
+
right: 1px;
|
63
|
+
bottom: 1px;
|
64
|
+
left: 0;
|
65
|
+
}
|
66
|
+
> .mm-next
|
67
|
+
{
|
68
|
+
width: auto;
|
69
|
+
|
70
|
+
&:before,
|
71
|
+
&:after
|
72
|
+
{
|
73
|
+
content: none;
|
74
|
+
display: none;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
&.mm-tileview
|
81
|
+
{
|
82
|
+
.mm-panel
|
83
|
+
{
|
84
|
+
padding-left: 0;
|
85
|
+
padding-right: 0;
|
86
|
+
|
87
|
+
&:after
|
88
|
+
{
|
89
|
+
content: none;
|
90
|
+
display: none;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
.mm-listview
|
94
|
+
{
|
95
|
+
margin: 0;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
/*
|
2
|
+
jQuery.mmenu widescreen extension CSS
|
3
|
+
|
4
|
+
To use on widescreens only, include it using a mediaquery:
|
5
|
+
<link type="text/css" href="mmenu-widescreen.css" media="all and (min-width: 900px)"/>
|
6
|
+
*/
|
7
|
+
|
8
|
+
@import "../inc/variables";
|
9
|
+
|
10
|
+
|
11
|
+
$mm_ws_menuWidth: 30% !default;
|
12
|
+
|
13
|
+
|
14
|
+
// Positioning and sizing
|
15
|
+
html,
|
16
|
+
body
|
17
|
+
{
|
18
|
+
overflow: auto !important;
|
19
|
+
}
|
20
|
+
body
|
21
|
+
{
|
22
|
+
position: relative;
|
23
|
+
}
|
24
|
+
#mm-blocker
|
25
|
+
{
|
26
|
+
display: none !important;
|
27
|
+
}
|
28
|
+
.mm-slideout
|
29
|
+
{
|
30
|
+
@include mm-webkit-prefix( 'transform', none !important );
|
31
|
+
width: 100 - $mm_ws_menuWidth !important;
|
32
|
+
margin-left: $mm_ws_menuWidth !important;
|
33
|
+
}
|
34
|
+
.mm-page
|
35
|
+
{
|
36
|
+
background: inherit;
|
37
|
+
box-sizing: border-box;
|
38
|
+
}
|
39
|
+
|
40
|
+
.mm-menu.mm-widescreen
|
41
|
+
{
|
42
|
+
display: block;
|
43
|
+
width: $mm_ws_menuWidth !important;
|
44
|
+
min-width: none !important;
|
45
|
+
max-width: none !important;
|
46
|
+
|
47
|
+
top: 0 !important;
|
48
|
+
right: auto !important;
|
49
|
+
bottom: 0 !important;
|
50
|
+
left: 0 !important;
|
51
|
+
z-index: 0 !important;
|
52
|
+
|
53
|
+
border-right-width: 1px;
|
54
|
+
border-right-style: solid;
|
55
|
+
|
56
|
+
&.mm-pageshadow:after
|
57
|
+
{
|
58
|
+
content: none;
|
59
|
+
display: none;
|
60
|
+
}
|
61
|
+
}
|
@@ -0,0 +1,175 @@
|
|
1
|
+
@mixin mm_colors( $cls: "",
|
2
|
+
$baseBg: $mm_backgroundColor,
|
3
|
+
$color: $mm_textColor, $dimmedColor: $mm_dimmedTextColor,
|
4
|
+
$emphasizedBg: $mm_emphasizedBackgroundColor, $highlightedBg: $mm_highlightedBackgroundColor,
|
5
|
+
$borderColor: $mm_borderColor
|
6
|
+
) {
|
7
|
+
.mm-menu#{$cls}
|
8
|
+
{
|
9
|
+
background: $baseBg;
|
10
|
+
border-color: $borderColor;
|
11
|
+
color: $color;
|
12
|
+
|
13
|
+
.mm-navbar
|
14
|
+
{
|
15
|
+
> *,
|
16
|
+
a
|
17
|
+
{
|
18
|
+
color: $dimmedColor;
|
19
|
+
}
|
20
|
+
|
21
|
+
.mm-btn
|
22
|
+
{
|
23
|
+
&:before,
|
24
|
+
&:after
|
25
|
+
{
|
26
|
+
border-color: $dimmedColor;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
.mm-listview
|
32
|
+
{
|
33
|
+
border-color: $borderColor;
|
34
|
+
|
35
|
+
> li
|
36
|
+
{
|
37
|
+
.mm-next:after,
|
38
|
+
.mm-arrow:after
|
39
|
+
{
|
40
|
+
border-color: $dimmedColor;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
> li
|
44
|
+
{
|
45
|
+
a:not(.mm-next)
|
46
|
+
{
|
47
|
+
-webkit-tap-highlight-color: $emphasizedBg;
|
48
|
+
tap-highlight-color: $emphasizedBg;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
> li.mm-selected
|
52
|
+
{
|
53
|
+
> a:not(.mm-next),
|
54
|
+
> span
|
55
|
+
{
|
56
|
+
background: $emphasizedBg;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
&.mm-vertical .mm-listview > li.mm-opened,
|
62
|
+
.mm-listview > li.mm-opened.mm-vertical
|
63
|
+
{
|
64
|
+
> a.mm-next,
|
65
|
+
> .mm-panel
|
66
|
+
{
|
67
|
+
background: $highlightedBg;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
.mm-divider
|
72
|
+
{
|
73
|
+
background: $highlightedBg;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
@mixin mm_colors_checks( $cls: "",
|
79
|
+
$color: $mm_textColor
|
80
|
+
) {
|
81
|
+
.mm-menu#{$cls} label.mm-check:before
|
82
|
+
{
|
83
|
+
border-color: $color;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
@mixin mm_colors_counters( $cls: "",
|
88
|
+
$dimmedColor: $mm_dimmedTextColor
|
89
|
+
) {
|
90
|
+
.mm-menu#{$cls} em.mm-counter
|
91
|
+
{
|
92
|
+
color: $dimmedColor;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
@mixin mm_colors_dividers( $cls: "",
|
97
|
+
$highlightedBg: $mm_highlightedBackgroundColor
|
98
|
+
) {
|
99
|
+
.mm-menu#{$cls}
|
100
|
+
{
|
101
|
+
.mm-fixeddivider span
|
102
|
+
{
|
103
|
+
background: $highlightedBg;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
@mixin mm_colors_pageshadow( $cls: "",
|
109
|
+
$pageShadow: $mm_pageShadow
|
110
|
+
) {
|
111
|
+
.mm-menu.mm-pageshadow#{$cls}
|
112
|
+
{
|
113
|
+
&:after
|
114
|
+
{
|
115
|
+
@if ( $pageShadow )
|
116
|
+
{
|
117
|
+
box-shadow: $pageShadow;
|
118
|
+
}
|
119
|
+
@else
|
120
|
+
{
|
121
|
+
content: none;
|
122
|
+
display: none;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
@mixin mm_colors_searchfield( $cls: "",
|
129
|
+
$inputBg: $mm_inputBackgroundColor, $color: $mm_textColor,
|
130
|
+
$dimmedColor: $mm_dimmedTextColor
|
131
|
+
) {
|
132
|
+
.mm-menu#{$cls}
|
133
|
+
{
|
134
|
+
.mm-search input
|
135
|
+
{
|
136
|
+
background: $inputBg;
|
137
|
+
color: $color;
|
138
|
+
}
|
139
|
+
.mm-noresultsmsg
|
140
|
+
{
|
141
|
+
color: $dimmedColor;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
@mixin mm_colors_sectionindexer( $cls: "",
|
147
|
+
$color: $mm_dimmedTextColor
|
148
|
+
) {
|
149
|
+
.mm-menu#{$cls} .mm-indexer a
|
150
|
+
{
|
151
|
+
color: $color;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
@mixin mm_colors_toggles( $cls: "",
|
156
|
+
$buttonBg: $mm_backgroundColor,
|
157
|
+
$offBg: $mm_borderColor, $onBg: $mm_toggleCheckedColor
|
158
|
+
) {
|
159
|
+
.mm-menu#{$cls}
|
160
|
+
{
|
161
|
+
label.mm-toggle
|
162
|
+
{
|
163
|
+
background: $offBg;
|
164
|
+
|
165
|
+
&:before
|
166
|
+
{
|
167
|
+
background: $buttonBg;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
input.mm-toggle:checked ~ label.mm-toggle
|
171
|
+
{
|
172
|
+
background: $onBg;
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}
|