jap_mag 0.0.4 → 1.3.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.
@@ -4,107 +4,8 @@
4
4
  -webkit-border-radius: $radius;
5
5
  }
6
6
 
7
- @mixin columns($count: 2, $gap: 60px) {
8
- -moz-column-count: $count;
9
- -webkit-column-count: $count;
10
- column-count: $count;
11
- -moz-column-gap: $gap;
12
- -webkit-column-gap: $gap;
13
- column-gap: $gap;
14
- }
15
-
16
- @mixin rotate($degrees) {
17
- -webkit-transform: rotate(#{$degrees}deg);
18
- -moz-transform: rotate(#{$degrees}deg);
19
- -ms-transform: rotate(#{$degrees}deg);
20
- -o-transform: rotate(#{$degrees}deg);
21
- transform: rotate(#{$degrees}deg);
22
-
23
- filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=#{cos($degrees)}, M12=-#{sin($degrees)}, M21=#{sin($degrees)}, M22=#{cos($degrees)});
24
- -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=#{cos($degrees)}, M12=-#{sin($degrees)}, M21=#{sin($degrees)}, M22=#{cos($degrees)})";
25
- zoom: 1;
26
- }
27
-
28
7
  @mixin box-shadow($effect: 1px 0px 5px black) {
29
8
  box-shadow: $effect;
30
9
  -moz-box-shadow: $effect;
31
10
  -webkit-box-shadow: $effect;
32
- }
33
-
34
- @mixin iphone_base {
35
- html {
36
- -webkit-text-size-adjust: none;
37
- }
38
-
39
- body {
40
- font-size: 14px;
41
- }
42
-
43
- #wrapper {
44
- padding: 0;
45
- }
46
-
47
- #body {
48
- .primary {
49
- margin: 0 0 10px 0;
50
- }
51
- }
52
-
53
- form.basic {
54
- input[type=text], input[type=email], input[type=password], textarea {
55
- width: 95%;
56
- }
57
- }
58
-
59
- #error_explanation {
60
- width: auto;
61
- }
62
- }
63
-
64
- @mixin set_width($base_width) {
65
- #wrapper {
66
- width: $base_width !important;
67
-
68
- .gutter {
69
- width: $base_width - 20px;
70
- }
71
- }
72
- }
73
-
74
- /* iPhone 2G, 3G, 3GS, 4, 4S, 5 Portrait */
75
- @mixin iphone_portrait {
76
- @media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait) {
77
- @include set_width(320px);
78
- @content;
79
- }
80
- }
81
-
82
- /* iPhone 2G, 3G, 3GS, 4, 4S Landscape */
83
- @mixin iphone_4s_landscape {
84
- @media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) {
85
- @include set_width(480px);
86
- @content;
87
- }
88
- }
89
-
90
- /* iPhone 5 Landscape */
91
- @mixin iphone_5_landscape {
92
- @media only screen and (width: 568px) and (orientation: landscape) {
93
- @include set_width(568px);
94
- @content;
95
- }
96
- }
97
-
98
- /* all iPhone */
99
- @mixin iphone_portrait_and_landscape {
100
- @include iphone_portrait {@content};
101
- @include iphone_4s_landscape {@content};
102
- @include iphone_5_landscape {@content};
103
- }
104
-
105
- /* Desktop, say, 960px width */
106
- @mixin desktop {
107
- @media only screen and (min-width: 768px) {
108
- @content;
109
- }
110
11
  }
@@ -1,17 +1,10 @@
1
- @import "mixins";
2
- @import "variables";
1
+ .hidden {
2
+ display: none;
3
+ }
3
4
 
4
5
  .widget {
5
6
  margin-bottom: 30px;
6
7
  overflow: hidden;
7
-
8
- li {
9
- margin: 10px 0;
10
- }
11
-
12
- .more {
13
- font-size: 14px;
14
- }
15
8
  }
16
9
 
17
10
  div.pagination {
@@ -30,7 +23,7 @@ div.pagination {
30
23
  }
31
24
  }
32
25
 
33
- #flash {
26
+ #flash {
34
27
  div {
35
28
  margin: 10px auto;
36
29
  color: white;
@@ -39,11 +32,11 @@ div.pagination {
39
32
  }
40
33
 
41
34
  .notice {
42
- background: $color_green;
35
+ background: #53a440;
43
36
  }
44
37
 
45
38
  .warning {
46
- background: $color_yellow;
39
+ background: fc9729;
47
40
  }
48
41
 
49
42
  .error {
@@ -66,417 +59,12 @@ div.pagination {
66
59
  }
67
60
  }
68
61
 
69
- table.basic {
70
- border: none;
71
- border-collapse: collapse;
72
- border-spacing: 0;
73
- margin: 0;
74
- padding: 0;
75
- width: 100%;
76
- word-break: break-all;
77
-
78
- td, & th {
79
- margin: 0;
80
- padding: 10px;
81
- }
82
-
83
- th {
84
- background-color: #eee;
85
- border-top: 2px solid #ccc;
86
- border-bottom: 1px solid #ccc;
87
- }
88
-
89
- td {
90
- border-top: 1px solid #ccc;
91
-
92
- &.actions a {
93
- margin-right: 10px;
94
- }
95
-
96
- &.field {
97
- background: #eee;
98
- }
99
- }
100
-
101
- tr:last-child {
102
- border-bottom: 1px solid #ccc;
103
- }
104
-
105
- .ok {
106
- background: $color_even_lighter_green;
107
- }
108
-
109
- .bad {
110
- background: $color_light_pink;
111
- }
112
- }
113
-
114
- /* call to action*/
115
- .cta {
116
- background: $color_blue;
117
- color: #fff;
118
- border: none;
119
- font-weight: bold;
120
- display: inline-block;
121
-
122
- span {
123
- padding: 5px 10px;
124
- display: block;
125
- }
126
-
127
- &:hover {
128
- background: $color_body;
129
- }
130
- }
131
-
132
- /* rating stars */
133
- .rating {
134
- background: url(data:image/gif;base64,R0lGODlhEAAwAOYAAKE3N8XFxemzG8yADefCWtSEhNBzc97e3uSvr8BgYOO4Q/fsvMVSUtbW1uK2NOS9Zvb29urLRtqpqe7u7t2oKfHcmt66uuzPea1GRvfp6ey8Iu3CMOnGQevNmc1sbPbhYvTf3/TZWvHOU+fn58daWtmdJc97e9eSkvfrtb9CQsJKSt+vMefEcuzHx+nHTO/FKe/VTPz47+a9QvLVWMxmZszMzPv12Pv15ua/OeiwJfHbot2qRfHcf71KStOPIqo/P+S7Su7DS+WtOO3Sq////9iMjNN8fPTWQOrJgfHNL/LQRfXeXemzIPnu7vLWVe3QWu7DQdGLGenHbu3Ly+/IT+W2OO3OSe+9Ke/OKeq1K961MclgYOu9RO+1QvLcV/DLOffenOi6uuvOh9uUlOy/SLRMTNaZK/LfsLhERPfWSv///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEHAGoALAAAAAAQADAAAAf/gGqCg2oQE4SIiA0NiY0TiyONiouMkoIjDQcHmYkTmoublKAjEJuan6KpaqCiNa41izVEgqyxrrEQhK2vDTW5hJi9vJyIoa2LicapNYmUNZqvzIiukYMjNQGdkoeWIFOWiAY04IMtNDQI5Go0BgYk5Ag0RkZbRYktYwZbNCYeW+4MaBRAkKGfgXlGPDBgQMKDPxIMVKhxWIAGCYgRVaigEbGJoHNGMGpMwVGFx0H/SqpIQTJFBkQS/mlcedFEoiLnGOyLSCJBIgMe2l08R6JMooYMUhQ4gQYNgx+JNI4hJAEDgERhJFkAZ2OBOkFPInxdYMVKBXURnDjBQQ6MlRAhjDhcSISCxxMOb5V8EYHDARApOm48geFliWElL15soBKES5UVK9SIgPHhSJIkiTVoYMJFyIoYglxYWXL5hWYBZIRQAD1IxgzEpgUI4ELhBqIKHGaY1iCgSpUHiS5EiLABCpQsOarsSESAiggqMqpwcWwmkQIqVSiwQFKihJAoiSCLIdTBx4BEZyQNGRQIADs=) repeat-x 0 -32px;
135
- height: 16px;
136
-
137
- span {
138
- display: none;
139
- }
140
-
141
- &.rating-1 {
142
- width: 16px;
143
- }
144
-
145
- &.rating-2 {
146
- width: 32px;
147
- }
148
-
149
- &.rating-3 {
150
- width: 48px;
151
- }
152
-
153
- &.rating-4 {
154
- width: 64px;
155
- }
156
-
157
- &.rating-5 {
158
- width: 80px;
159
- }
160
- }
161
-
162
-
163
- /* @group ul.tabs */
164
- div.tab {
165
- clear: both;
166
- margin-bottom: 10px;
167
- overflow: hidden;
168
- width: 100%;
169
- border: none;
170
-
171
- ul.tab {
172
- border-bottom: 1px solid #CCC;
173
- padding-left: 16px;
174
- zoom: 1;
175
- margin: 0px;
176
- padding: 0.2em 0.2em 0px;
177
- position: relative;
178
- border: none;
179
- border-bottom: 1px solid #CCC;
180
-
181
- &:after {
182
- display: block;
183
- height: 0;
184
- clear: both;
185
- }
186
-
187
- li {
188
- border: solid 1px #CCC;
189
- border-bottom: 0;
190
- float: left;
191
- list-style: none;
192
- margin: 0px 5px 1px 0px;
193
- padding: 0px;
194
- position: relative;
195
- top: 1px;
196
- white-space: nowrap;
197
- border-radius: 0;
198
-
199
- &.current {
200
- margin-bottom: 0px;
201
- padding-bottom: 1px;
202
- background: white;
203
-
204
- a {
205
- color: #000;
206
-
207
- &:hover {
208
- background: transparent;
209
- }
210
- }
211
- }
212
-
213
- a {
214
- float: left;
215
- padding: 3px 13px;
216
- text-decoration: none;
217
- cursor: pointer;
218
- }
219
- }
220
- }
221
-
222
- .ui-tabs-hide {
223
- display: none;
224
- }
225
- }
226
- /* @end */
227
-
228
- /* @form.basic */
229
- form.basic {
230
- input[type=text], input[type=search], input[type=email], input[type=password], textarea {
231
- width: 500px;
232
- padding: 5px;
233
- font-size: 1em;
234
- color: #555;
235
- }
236
-
237
- textarea {
238
- resize: vertical;
239
- height: 150px;
240
- }
241
-
242
- .error, .errorExplanation {
243
- margin-left: 4px;
244
- color: red;
245
- }
246
-
247
- .field {
248
- padding: 10px 0;
249
- }
250
-
251
- .description {
252
- color: #949494;
253
- }
254
-
255
- p {
256
- margin: 1.5em 0;
257
- overflow: hidden;
258
- }
259
-
260
- .required_mark {
261
- margin-left: 0em;
262
- color: red;
263
- }
264
-
265
- .radios {
266
- .radio {
267
- padding: 5px;
268
- margin: 0;
269
-
270
- &:nth-child(odd) {
271
- border-bottom: 0;
272
- }
273
-
274
- &.checked {
275
- background: #eee;
276
- &:hover {
277
- background: #eee;
278
- }
279
- }
280
-
281
- &:hover {
282
- background: #eee;
283
- cursor: pointer;
284
- }
285
-
286
- input[type=radio] {
287
- margin: 0 1em 0 0;
288
- }
289
- }
290
- }
291
-
292
- ul.checkboxes {
293
- li.checkbox {
294
- margin: 0 0 10px;
295
-
296
- label {
297
- margin: 0 0 0 5px;
298
- }
299
- }
300
- }
301
- }
302
- /* @end */
303
-
304
-
305
- img.avatar {
306
- width: 50px;
307
- height: 50px;
308
- }
309
-
310
- .clearfix {
311
- clear: both;
312
- }
313
-
314
- .label {
315
- padding: 1px 6px 2px;
316
- font-size: 9.75px;
317
- font-weight: bold;
318
- color: white;
319
- text-transform: uppercase;
320
- white-space: nowrap;
321
- background-color: #BFBFBF;
322
- @include rounded(3px);
323
- line-height: 18px;
324
- }
325
-
326
- /* scope button */
327
- ul.scopes {
328
- overflow: hidden;
329
- list-style: none;
330
- padding: 5px;
331
- margin: 0;
332
-
333
- li {
334
- float: left;
335
- margin-right: 5px;
336
- padding-right: 5px;
337
-
338
- span {
339
- font-weight: bold;
340
- }
341
-
342
- a {
343
- padding: 2px 4px;
344
-
345
- &.current {
346
- background: $color_yellow;
347
- color: #fff;
348
- }
349
- }
350
- }
351
- }
352
-
353
- .logs {
354
- .header {
355
- background: #eee;
356
- padding: 5px;
357
- margin: 0 0 1em;
358
-
359
- .version {
360
- color: $color_green;
361
- margin: 0 1em 0 0;
362
- font-weight: bold;
363
- }
364
- }
365
-
366
- .log {
367
- overflow: hidden;
368
- margin: 0 0 1em;
369
-
370
- .left {
371
- float: left;
372
- width: 100px;
373
- margin: 0 10px 0 0;
374
- text-align: right;
375
-
376
- .new {
377
- background: $color_red;
378
- }
379
-
380
- .fixed {
381
- background: $color_green;
382
- }
383
-
384
- .improved {
385
- background: $color_yellow;
386
- }
387
- }
388
-
389
- .right {
390
- float: left;
391
- width: 80%;
392
-
393
- p {
394
- margin: 0 0 5px;
395
- }
396
-
397
- .title {
398
- font-weight: bold;
399
- }
400
- }
401
- }
402
- }
403
-
404
- .row {
405
- padding: 10px 0;
406
- margin: 10px 0;
407
- border-top: 1px solid #eee;
408
- overflow: hidden;
409
-
410
- .key {
411
- float: left;
412
- width: 200px;
413
- text-transform: uppercase;
414
- font-weight: bold;
415
- }
416
-
417
- .value {
418
- float: left;
419
- width: 320px;
420
- color: #444;
421
-
422
- .sub {
423
- padding: 10px 0;
424
- border-top: 1px solid #DDD;
425
- width: 100%;
426
- overflow: hidden;
427
-
428
- &:first-child {
429
- padding-top: 0;
430
- border-top: 0;
431
- }
432
-
433
- &:last-child {
434
- padding-bottom: 0;
435
- }
436
- }
437
- }
438
- }
439
-
440
- .toolbar {
441
- overflow: hidden;
442
- margin: 0 0 30px 0;
443
-
444
- .left {
445
- float: left;
446
- margin-right: 10px;
447
- }
448
-
449
- .right {
450
- float: right;
451
- margin-left: 10px;
452
- }
453
- }
454
-
455
- .list {
456
- margin: 1em 0;
457
- padding: 0 0 0 4em;
458
-
459
- li {
460
- margin: 0 0 0.5em 0;
461
- }
462
- }
463
-
464
- ul.list {
465
- list-style-type: disc;
466
- }
467
-
468
- ol.list {
469
- list-style-type: decimal;
470
- }
471
-
472
62
  .field_with_errors {
473
63
  padding: 2px;
474
64
  background-color: red;
475
- display: table;
476
65
  }
477
66
 
478
67
  #error_explanation {
479
- width: 450px;
480
68
  border: 2px solid red;
481
69
  padding: 7px;
482
70
  padding-bottom: 0;
@@ -493,9 +81,8 @@ ol.list {
493
81
  background-color: #c00;
494
82
  color: #fff;
495
83
  }
496
-
84
+
497
85
  ul {
498
86
  list-style: square;
499
- @extend .list;
500
- }
87
+ }
501
88
  }