magic_stylez 0.0.0.44 → 0.0.0.45
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/magic_stylez/version.rb +1 -1
- data/vendor/assets/stylesheets/magic/content/_notice.scss +28 -15
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2e95832a24971ec4038d58c501913bdbeb14fb5
|
4
|
+
data.tar.gz: 9cc18b7a91a11d20e71c939eeaa15b4e3e68b01b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 566075cdae4788c7a1ab9e480ca55ea9e43dd6312bda324402e01eddd5fa0799b9848c19fbd728c9f633b2f859ce733552522c265735b9a3be2aef4a781ecbba
|
7
|
+
data.tar.gz: 941d153f615592015be4287272846bb1b78b594775e567d3bb5bbecf7eb7747425e8316a283488ea116adfc1b28bc087ddc7d17ff907ab9cc98e0a57ef9caa1c
|
data/lib/magic_stylez/version.rb
CHANGED
@@ -35,6 +35,15 @@
|
|
35
35
|
z-index: $zindex-application-notice;
|
36
36
|
}
|
37
37
|
|
38
|
+
@mixin calculate_notice_top( $that-header-height: 50px ) {
|
39
|
+
padding-top: $important-notice-height + $that-header-height;
|
40
|
+
.application_notice { top: $application-notice-top + $important-notice-height + $that-header-height; }
|
41
|
+
&.fixed-sub-nav {
|
42
|
+
padding-top: $important-notice-height + $that-header-height + $subnav-height;
|
43
|
+
.application_notice { top: $application-notice-top + $important-notice-height + $that-header-height + $subnav-height; }
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
38
47
|
|
39
48
|
body, #body, #container, .main-content, .main_content {
|
40
49
|
|
@@ -50,25 +59,29 @@ body, #body, #container, .main-content, .main_content {
|
|
50
59
|
|
51
60
|
.application_notice { top: $application-notice-top + $important-notice-height; }
|
52
61
|
|
53
|
-
&.fixed-nav-xs {
|
54
|
-
padding-top: $important-notice-height + $navbar-height-xs;
|
55
|
-
.application_notice { top: $application-notice-top + $important-notice-height + $navbar-height-xs; }
|
62
|
+
&.fixed-nav-xs { @include calculate_notice_top( $navbar-height-xs );
|
63
|
+
// padding-top: $important-notice-height + $navbar-height-xs;
|
64
|
+
// .application_notice { top: $application-notice-top + $important-notice-height + $navbar-height-xs; }
|
65
|
+
// &.fixed-sub-nav {
|
66
|
+
// padding-top: $important-notice-height + $navbar-height-xs;
|
67
|
+
// .application_notice { top: $application-notice-top + $important-notice-height + $navbar-height-xs; }
|
68
|
+
// }
|
56
69
|
}
|
57
|
-
&.fixed-nav-sm {
|
58
|
-
padding-top: $important-notice-height + $navbar-height-sm;
|
59
|
-
.application_notice { top: $application-notice-top + $important-notice-height + $navbar-height-sm; }
|
70
|
+
&.fixed-nav-sm { @include calculate_notice_top( $navbar-height-sm );
|
71
|
+
// padding-top: $important-notice-height + $navbar-height-sm;
|
72
|
+
// .application_notice { top: $application-notice-top + $important-notice-height + $navbar-height-sm; }
|
60
73
|
}
|
61
|
-
&.fixed-nav {
|
62
|
-
padding-top: $important-notice-height + $navbar-height;
|
63
|
-
.application_notice { top: $application-notice-top + $important-notice-height + $navbar-height; }
|
74
|
+
&.fixed-nav { @include calculate_notice_top( $navbar-height );
|
75
|
+
// padding-top: $important-notice-height + $navbar-height;
|
76
|
+
// .application_notice { top: $application-notice-top + $important-notice-height + $navbar-height; }
|
64
77
|
}
|
65
|
-
&.fixed-nav-lg {
|
66
|
-
padding-top: $important-notice-height + $navbar-height-lg;
|
67
|
-
.application_notice { top: $application-notice-top + $important-notice-height + $navbar-height-lg; }
|
78
|
+
&.fixed-nav-lg { @include calculate_notice_top( $navbar-height-lg );
|
79
|
+
// padding-top: $important-notice-height + $navbar-height-lg;
|
80
|
+
// .application_notice { top: $application-notice-top + $important-notice-height + $navbar-height-lg; }
|
68
81
|
}
|
69
|
-
&.fixed-nav-xl {
|
70
|
-
padding-top: $important-notice-height + $navbar-height-xl;
|
71
|
-
.application_notice { top: $application-notice-top + $important-notice-height + $navbar-height-xl; }
|
82
|
+
&.fixed-nav-xl { @include calculate_notice_top( $navbar-height-xl );
|
83
|
+
// padding-top: $important-notice-height + $navbar-height-xl;
|
84
|
+
// .application_notice { top: $application-notice-top + $important-notice-height + $navbar-height-xl; }
|
72
85
|
}
|
73
86
|
|
74
87
|
.fixed-top, .navbar-fixed-top { top: $important-notice-height; }
|