mno-enterprise-frontend 3.2.1 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/mno_enterprise/loader-32x32-bg-inverse.gif +0 -0
  3. data/app/assets/stylesheets/mno_enterprise/custom/utility/progress-bar.less +3 -3
  4. data/app/assets/stylesheets/mno_enterprise/custom/utility/text.less +0 -20
  5. data/app/assets/stylesheets/mno_enterprise/custom/views/pages/confirmation_lounge.less +3 -3
  6. data/app/assets/stylesheets/mno_enterprise/custom/views/registration.less +21 -10
  7. data/app/assets/stylesheets/mno_enterprise/custom/views/templates/notification-widget.less +5 -5
  8. data/app/assets/stylesheets/mno_enterprise/custom/views/templates/password-strength.less +4 -4
  9. data/app/assets/stylesheets/mno_enterprise/main.less +0 -6
  10. data/app/assets/stylesheets/mno_enterprise/variables.less +189 -77
  11. data/app/views/mno_enterprise/pages/app_access_unauthorized.html.haml +1 -1
  12. data/app/views/mno_enterprise/pages/app_logout.html.haml +1 -1
  13. data/app/views/mno_enterprise/pages/billing_details_required.html.haml +19 -17
  14. data/lib/mno_enterprise/frontend/locales_generator.rb +2 -1
  15. data/lib/tasks/mnoe_admin_tasks.rake +124 -28
  16. data/lib/tasks/mnoe_frontend_tasks.rake +2 -2
  17. data/lib/tasks/mnoe_locales.rake +16 -0
  18. data/lib/tasks/templates-admin/font-faces.less +2 -0
  19. data/lib/tasks/templates/package.json +3 -0
  20. data/spec/lib/tasks/mnoe_locales_rake_spec.rb +33 -0
  21. metadata +7 -12
  22. data/app/assets/stylesheets/mno_enterprise/custom/button.less +0 -84
  23. data/app/assets/stylesheets/mno_enterprise/custom/header.less +0 -281
  24. data/app/assets/stylesheets/mno_enterprise/custom/modal.less +0 -183
  25. data/app/assets/stylesheets/mno_enterprise/custom/utilities.less +0 -729
  26. data/app/assets/stylesheets/mno_enterprise/custom/utility/tabset.less +0 -87
  27. data/app/assets/stylesheets/mno_enterprise/custom/xeditable.less +0 -40
@@ -1,281 +0,0 @@
1
- //--------------------------------------------------------------
2
- // Header used for public/external pages
3
- //--------------------------------------------------------------
4
- .public-page-header {
5
- z-index: 1;
6
- display: block;
7
- // margin-bottom: 60px;
8
- // position: absolute;
9
- width: 100%;
10
- background-color: @public-page-header-bg-color;
11
- padding: @public-page-header-padding inherit;
12
- }
13
-
14
- .public-page-header .brand-logo {
15
- min-width: 170px;
16
- min-height: 80px;
17
- background-repeat: no-repeat;
18
- background-image: asset-url(@public-page-header-logo-img);
19
- background-size: 100%;
20
-
21
- @public-page-header-logo();
22
- }
23
-
24
- //--------------------------------------------------------------
25
- // Navbar
26
- //--------------------------------------------------------------
27
- .lock-login-link {
28
- float: right;
29
- margin: 12px 18px 0px 0px;
30
- font-size: 27px;
31
- color: white;
32
- }
33
-
34
- .navbar {
35
- ul.nav.large-margin {
36
- li {
37
- margin-left: 50px;
38
- }
39
- }
40
- }
41
-
42
- .navbar.navbar-inverse ul.nav.navbar-nav.navbar-right a.my-apps {
43
- width:100%;
44
- .border-radius(5px);
45
- background-color:@bg-inverse-color;
46
- .font(14px,700,@brand-primary);
47
-
48
- .label-myapps {
49
- display:inline;
50
- }
51
-
52
- img {
53
- margin-top:-3px;
54
- }
55
-
56
- &:hover {
57
- color:@brand-primary;
58
- }
59
- }
60
-
61
- .navbar-submenu-padding {
62
- margin-top:163px;
63
- }
64
- .navbar {
65
- &.navbar-dashboard {
66
- top:0px;
67
- .container-fluid {
68
-
69
- .navbar-brand {
70
- position:absolute;
71
- margin-top:-44px;
72
- }
73
- }
74
- }
75
-
76
- .navbar-submenu {
77
- background-color:@elem-cozy-color;
78
- padding:15px;
79
- margin-top:34px;
80
- margin-bottom:-1px;
81
- width:100%;
82
-
83
- ul {
84
- margin:auto;
85
- list-style-type: none;
86
- li {
87
- display:inline;
88
- margin:0px 13px;
89
- a {
90
- color:white;
91
- font-size:14px;
92
- font-weight:300;
93
- &.active {
94
- color:@bg-inverse-color;
95
- font-weight:300;
96
- }
97
- }
98
- }
99
- }
100
- }
101
-
102
-
103
- .navbar-nav {
104
- &.navbar-right:last-child {
105
- margin-right:10px;
106
- }
107
-
108
- li.active {
109
- .navbar-arrow {
110
- position:absolute;
111
- margin-top:60px;
112
- width: 0;
113
- height: 0;
114
- border-left: 27px solid transparent;
115
- border-right: 27px solid transparent;
116
- margin-left:50%-27px;
117
- border-bottom: 20px solid @elem-cozy-color;
118
- }
119
- }
120
- }
121
-
122
- .container-fluid {
123
- .navbar-brand {
124
- margin-left:20px;
125
- margin-top:-17px;
126
- }
127
- }
128
-
129
- &.navbar-inverse {
130
- font-weight:300;
131
- letter-spacing:1px;
132
-
133
- ul.nav.navbar-nav {
134
- text-transform:uppercase;
135
- a {
136
- font-size:@normal;
137
- }
138
- }
139
-
140
- ul.nav.navbar-nav.navbar-right {
141
- button {
142
- margin-top: ((@navbar-height - @line-height-computed) / 2) - 18;
143
- }
144
-
145
- a {
146
- text-transform:none;
147
- }
148
- }
149
- }
150
- }
151
-
152
- .padding-navbar {
153
- margin-top:@navbar-height;
154
- }
155
-
156
- .navbar-background-fixed {
157
- background-color: @navbar-inverse-bg;
158
- position:fixed;
159
- left:0;
160
- right:0;
161
- top:0;
162
- height:@navbar-height;
163
- z-index: @zindex-navbar-fixed - 1;
164
- }
165
-
166
- // Reduce the height of the navbar if on mobile device
167
- @media(min-width: 720px)
168
- {
169
- .navbar-fixed-top {
170
- top:(@navbar-desktop-height - @navbar-height) / 2;
171
- }
172
-
173
- .padding-navbar {
174
- margin-top:@navbar-desktop-height;
175
- }
176
-
177
- .navbar-background-fixed {
178
- height:@navbar-desktop-height;
179
- }
180
- }
181
-
182
- @media(max-width: 720px)
183
- {
184
- .navbar {
185
-
186
- .container-fluid > .navbar-collapse {
187
- margin-right: -30px;
188
- margin-left: -30px;
189
- }
190
-
191
- &.navbar-inverse {
192
- font-weight:300;
193
- letter-spacing:1px;
194
-
195
- ul.nav.navbar-nav {
196
- padding:0px;
197
- text-transform:uppercase;
198
- a {
199
- font-size:@normal;
200
- text-align:center;
201
- background-color:#111c21;
202
- border-bottom: solid 1px @bg-inverse-color;
203
- padding:22px 0px;
204
- }
205
-
206
- ul.dropdown-menu {
207
- padding:0px;
208
- a {
209
- background-color:@bg-inverse-color;
210
- border-bottom: solid 1px #111c21;
211
- padding:13px 0px;
212
- }
213
- }
214
- }
215
-
216
- }
217
-
218
- .navbar-nav {
219
- margin:0px;
220
- &.navbar-right {
221
- button {
222
- width:90%;
223
- }
224
- }
225
- &.navbar-right:last-child {
226
- margin-right:0px;
227
- }
228
- }
229
-
230
- .menu-sign {
231
- position:absolute;
232
- right:25px;
233
- font-weight:300;
234
- &.menu-close {
235
- font-size:50px;
236
- }
237
- &.menu-open {
238
- font-size:65px;
239
- }
240
- }
241
-
242
- li.dropdown.open {
243
- .menu-sign.menu-close {
244
- display:none;
245
- }
246
- .menu-sign.menu-open {
247
- display:block;
248
- margin-top:-6px;
249
- }
250
- }
251
- li.dropdown {
252
- .menu-sign.menu-open {
253
- display:none;
254
- }
255
- }
256
-
257
- }
258
-
259
- }
260
-
261
- .navbar-nav {
262
- ul.dropdown-menu {
263
- background-color: @bg-inverse-color;
264
-
265
- li a {
266
- .font(16px, 300, @bg-main-color);
267
- background-color: @bg-inverse-color;
268
- }
269
-
270
- li a:hover, li a:focus {
271
- .font(16px, 300, @decorator-inverse-color);
272
- }
273
- }
274
- }
275
-
276
- //-----------------------------------
277
- // Email lounge
278
- //-----------------------------------
279
- .navbar .navbar-nav .greetings {
280
- color: @elem-positive-color;
281
- }
@@ -1,183 +0,0 @@
1
- .modal.inverse {
2
- color: @text-inverse-color;
3
-
4
- h1,h2,h3,h4,h5,h6 {
5
- color: @text-inverse-color;
6
- }
7
-
8
- .modal-header {
9
- border-bottom: transparent;
10
- }
11
-
12
-
13
- .alert {
14
- border: solid 1px @decorator-inverse-color;
15
- .border-radius(3px);
16
- }
17
-
18
- .alert .close {
19
- margin-top: -13px;
20
- margin-right: -8px;
21
- }
22
-
23
- .close {
24
- text-align: center;
25
- width: 19px;
26
- height: 19px;
27
- font-weight: 400;
28
- background-color: darken(@bg-inverse-intense-color,5%);
29
- color: lighten(@decorator-inverse-color,10%);
30
- .border-radius(20px);
31
- line-height: 19px;
32
-
33
- opacity: .8;
34
- text-shadow: none;
35
-
36
- &:hover {
37
- color: @brand-danger;
38
- opacity: 1;
39
- }
40
- }
41
-
42
- .modal-content {
43
- background-color: @bg-inverse-color;
44
- }
45
-
46
- .modal-footer {
47
- border-top: transparent;
48
- }
49
- }
50
-
51
- .modal {
52
- .modal-header {
53
- border:0px;
54
- img {
55
- .border-radius(5px);
56
- .square(65px);
57
- }
58
-
59
- .media-body {
60
- h4.media-heading {
61
- .font(20px,700,@bg-inverse-color);
62
- text-align:left;
63
- }
64
- text-align:left;
65
- .font(16px,300,@text-inverse-color);
66
- }
67
- }
68
- .modal-body {
69
- text-align:left;
70
- ul {
71
- list-style-type: none;
72
- .font(16px,300,@text-inverse-color);
73
- .fa {
74
- color:@elem-positive-color;
75
- }
76
-
77
- .media-heading {
78
- margin:0 0 5px 13px;
79
- }
80
- }
81
-
82
- .screenshots {
83
- .carousel-control {
84
- opacity:1;
85
- text-shadow:none;
86
- }
87
- .carousel {
88
- width:474px;
89
- margin:auto;
90
- }
91
- a {
92
- .fa {
93
- color:@bg-main-color;
94
- }
95
- }
96
-
97
- // Regular
98
- .carousel .carousel-inner .item { height: 300px; }
99
- .carousel .carousel-inner .item img { max-height: 300px; width: auto; }
100
-
101
- // Mobiles
102
- @media(max-width: @screen-xs-max) {
103
- .carousel .carousel-inner .item { height: 200px; }
104
- .carousel .carousel-inner .item img { max-height: 200px; width: 66%; margin-left: 0; }
105
- }
106
- }
107
- }
108
- }
109
-
110
- .modal {
111
- .dark {
112
- background-color: @bg-inverse-color;
113
- color:@bg-main-color;
114
-
115
- .modal-header {
116
- border:0px;
117
- img {
118
- .border-radius(5px);
119
- .square(65px);
120
- }
121
-
122
- .media-body {
123
- h4.media-heading {
124
- .font(20px,700,@bg-inverse-color);
125
- text-align:left;
126
- }
127
- text-align:left;
128
- .font(16px,300,@text-inverse-color);
129
- }
130
- }
131
- .modal-body {
132
- text-align:left;
133
- ul {
134
- list-style-type: none;
135
- .font(16px,300,@text-inverse-color);
136
- .fa {
137
- color:@elem-positive-color;
138
- }
139
-
140
- .media-heading {
141
- margin:0 0 5px 13px;
142
- }
143
- }
144
-
145
- .screenshots {
146
- .carousel-control {
147
- opacity:1;
148
- text-shadow:none;
149
- }
150
- .carousel {
151
- width:474px;
152
- margin:auto;
153
- }
154
- a {
155
- .fa {
156
- color:@bg-main-color;
157
- }
158
- }
159
- img {
160
- margin:auto;
161
- width: 350px;
162
- }
163
- }
164
- }
165
- .close {
166
- text-align: center;
167
- width: 21px;
168
- height: 21px;
169
- font-weight: 400;
170
- background-color: darken(@bg-inverse-intense-color,5%);
171
- color: @decorator-inverse-color;
172
- .border-radius(8px);
173
- line-height: 19px;
174
-
175
- opacity: .5;
176
- text-shadow: none;
177
-
178
- &:hover {
179
- opacity: .8;
180
- }
181
- }
182
- }
183
- }