power-compass 0.4.0.pre.alpha1 → 0.4.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79cc261de474e37d53594ea850750498056f0125a5014c98595868d87de0909f
4
- data.tar.gz: 4b0798d3fe907fb7a9094649855640b93761ca42c4e94e07c98bc62b58b0b884
3
+ metadata.gz: 92964d0bc95b3089f4e105800d24841f977eff9926bb711426139c5a41ef478b
4
+ data.tar.gz: b3035664afbd00d81063828910c177da1b0203110953401c493fc8660294561b
5
5
  SHA512:
6
- metadata.gz: 228b43ff992dbfdca3a58d1040f0ffaef7e9163ea28599f1e5b71e01c992a27d5ad853de21eafc01f04cd545c13a0611d5380c90ac1f9252df8806416a558dc8
7
- data.tar.gz: 9ddb0f82d5eb99ebae46163be256a1f6835e159ae3fd3ffdff9385dcfe22acb4634b5f2bee96a7e37ed65b04de244f6d6a353c9e534a7648054b9aa4171f8ad8
6
+ metadata.gz: 323ab2d69ef15f35515468721e9d96a9b86da4e0bb60e07f668b23d32088b5c6ef2f220ca1e6d02d8765fc67679fc93dd18b2e375078b815bc924d6c88c02678
7
+ data.tar.gz: 3cd5ecb57888a3323586d57f213095b4c256ba54fb6069ebd5197bb7313513b5b26d839d09a35fd477efad86a4a853cd97b2574f8637cb5011500e4c7327e7bc
@@ -75,35 +75,49 @@ $full-nav-height: 92px;
75
75
  }
76
76
  }
77
77
 
78
- @media only screen and (max-width: #{$screen-xs-max}) {
79
- .main-page-sidebar {
80
- position: fixed;
81
- top: 0;
82
- left: -420px;
83
- max-width: 420px;
84
- height: 100vh;
85
- z-index: 5000;
86
- padding-top: $full-nav-height;
87
-
88
- &.mobile-open {
89
- left: 0;
90
- width: 100%;
91
- }
92
- }
93
- .main-page-content {
94
- position: relative;
95
-
96
- &.mobile-open {
97
- &::after {
98
- content: "";
78
+ @mixin mobileDeviceMenu {
79
+ .page-container {
80
+ #main-view {
81
+ .main-page-sidebar {
99
82
  position: fixed;
100
83
  top: 0;
101
- left: 0;
102
- width: 100vw;
84
+ left: -420px;
85
+ max-width: 420px;
103
86
  height: 100vh;
104
- background: rgba($text_lt_default, $opacity_3);
105
- z-index: 4990;
87
+ z-index: 5000;
88
+ padding-top: $full-nav-height;
89
+
90
+ &-mobile {
91
+ min-height: $navigation-height;
92
+ display: flex;
93
+ color: white;
94
+ }
95
+
96
+ &.mobile-open {
97
+ left: 0;
98
+ width: 100%;
99
+ }
100
+ }
101
+ .main-page-content {
102
+ position: relative;
103
+
104
+ &.mobile-open {
105
+ &::after {
106
+ content: "";
107
+ position: fixed;
108
+ top: 0;
109
+ left: 0;
110
+ width: 100vw;
111
+ height: 100vh;
112
+ background: rgba($text_lt_default, $opacity_3);
113
+ z-index: 4990;
114
+ }
115
+ }
106
116
  }
107
117
  }
108
118
  }
109
119
  }
120
+
121
+ @media only screen and (max-width: #{$screen-xs-max}) {
122
+ @include mobileDeviceMenu;
123
+ }
@@ -1,3 +1,3 @@
1
1
  module Compass
2
- VERSION = "0.4.0-alpha1"
2
+ VERSION = "0.4.0"
3
3
  end
@@ -470,8 +470,8 @@ Background colors ------------------*/
470
470
  }
471
471
 
472
472
  @media only screen and (max-width: 574px) {
473
- /* line 79, ../../app/assets/stylesheets/compass/navigation/_sidebar.scss */
474
- .main-page-sidebar {
473
+ /* line 81, ../../app/assets/stylesheets/compass/navigation/_sidebar.scss */
474
+ .page-container #main-view .main-page-sidebar {
475
475
  position: fixed;
476
476
  top: 0;
477
477
  left: -420px;
@@ -480,17 +480,23 @@ Background colors ------------------*/
480
480
  z-index: 5000;
481
481
  padding-top: 92px;
482
482
  }
483
- /* line 88, ../../app/assets/stylesheets/compass/navigation/_sidebar.scss */
484
- .main-page-sidebar.mobile-open {
483
+ /* line 90, ../../app/assets/stylesheets/compass/navigation/_sidebar.scss */
484
+ .page-container #main-view .main-page-sidebar-mobile {
485
+ min-height: 60px;
486
+ display: flex;
487
+ color: white;
488
+ }
489
+ /* line 96, ../../app/assets/stylesheets/compass/navigation/_sidebar.scss */
490
+ .page-container #main-view .main-page-sidebar.mobile-open {
485
491
  left: 0;
486
492
  width: 100%;
487
493
  }
488
- /* line 93, ../../app/assets/stylesheets/compass/navigation/_sidebar.scss */
489
- .main-page-content {
494
+ /* line 101, ../../app/assets/stylesheets/compass/navigation/_sidebar.scss */
495
+ .page-container #main-view .main-page-content {
490
496
  position: relative;
491
497
  }
492
- /* line 97, ../../app/assets/stylesheets/compass/navigation/_sidebar.scss */
493
- .main-page-content.mobile-open::after {
498
+ /* line 105, ../../app/assets/stylesheets/compass/navigation/_sidebar.scss */
499
+ .page-container #main-view .main-page-content.mobile-open::after {
494
500
  content: "";
495
501
  position: fixed;
496
502
  top: 0;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: power-compass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.pre.alpha1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Palhares