edge_framework 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +13 -12
  3. data/assets/js/sh/clipboard.swf +0 -0
  4. data/assets/js/sh/shBrushCss.js +91 -0
  5. data/assets/js/sh/shBrushJScript.js +52 -0
  6. data/assets/js/sh/shBrushPhp.js +88 -0
  7. data/assets/js/sh/shBrushRuby.js +55 -0
  8. data/assets/js/sh/shBrushSass.js +94 -0
  9. data/assets/js/sh/shBrushXml.js +71 -0
  10. data/assets/js/sh/shCore.js +17 -0
  11. data/assets/sass/edge/_base.scss +21 -55
  12. data/assets/sass/edge/components/_block-grid-margin.scss +1 -1
  13. data/assets/sass/edge/components/_block-grid.scss +14 -13
  14. data/assets/sass/edge/components/_button.scss +16 -16
  15. data/assets/sass/edge/components/_form.scss +32 -22
  16. data/assets/sass/edge/components/_grid-margin.scss +1 -1
  17. data/assets/sass/edge/components/_grid.scss +56 -42
  18. data/assets/sass/edge/components/_normalize.scss +39 -42
  19. data/assets/sass/edge/components/_typography.scss +160 -36
  20. data/assets/sass/edge/components/_visibility.scss +8 -11
  21. data/assets/sass/edge/helpers/_sticky-footer.scss +4 -0
  22. data/assets/sass/edge.scss +1 -1
  23. data/assets/sass/for-test.scss +87 -8
  24. data/assets/test2.html +62 -0
  25. data/lib/edge/version.rb +1 -1
  26. data/template/base/assets/sass/_setting.scss +51 -55
  27. data/template/base/config.rb +1 -1
  28. data/template/html/index.html +22 -22
  29. data/template/php/index.php +6 -6
  30. data/template/php/partials/footer.php +15 -0
  31. data/template/php/partials/functions.php +87 -0
  32. data/template/php/partials/header.php +22 -0
  33. data/template/php/sample-page/index.php +6 -6
  34. data/template/wordpress/404.php +10 -0
  35. data/template/wordpress/category.php +29 -0
  36. data/template/wordpress/footer.php +15 -0
  37. data/template/wordpress/functions.php +63 -0
  38. data/template/wordpress/header.php +22 -0
  39. data/template/wordpress/index.php +10 -0
  40. data/template/wordpress/single.php +7 -0
  41. metadata +21 -5
  42. data/assets/js/edge/layout.js +0 -10
  43. data/template/php/partials/_footer.php +0 -15
  44. data/template/php/partials/_header.php +0 -33
@@ -4,9 +4,6 @@
4
4
 
5
5
  // -------------------------------------------------------
6
6
  // OUTPUT CONFIG
7
- // FULL:
8
- // Set to true to keep full styling
9
- // Set to false to use barebone style
10
7
  // DEBUG:
11
8
  // Set to true for various useful functionality during
12
9
  // development
@@ -16,7 +13,6 @@
16
13
  // INCLUDE:
17
14
  // Set to false if you want to import the mixins only
18
15
  // -------------------------------------------------------
19
- $full : true !default;
20
16
  $debug : false !default;
21
17
 
22
18
  $external-call : false !default; // user shouldn't modify this
@@ -32,6 +28,11 @@ $include-form : true !default;
32
28
  $include-typography : true !default;
33
29
  $include-print : true !default;
34
30
 
31
+ // Remove useless Compass' vendor prefix
32
+ $support-for-original-webkit-gradients : false;
33
+ $experimental-support-for-opera:false;
34
+ $experimental-support-for-khtml:false;
35
+
35
36
  // ----------
36
37
  // COLOR
37
38
  // ----------
@@ -47,41 +48,25 @@ $yellow-color : #DBA924 !default;
47
48
  $red-color : #DA2E18 !default;
48
49
  $green-color : #2CAE34 !default;
49
50
 
50
- // ---------------
51
- // BODY
52
- // ---------------
53
- $body-bg : #fff !default;
54
- $body-font-color : #222 !default;
55
- $body-font-weight : normal !default;
56
- $body-font-style : normal !default;
57
- $body-line-height : 1 !default;
58
-
59
- // The default font-size is set to 100% of the browser style sheet (usually 16px)
60
- // for compatibility with brower-based text zoom or user-set defaults.
61
- $base-font-size : 100% !default;
62
- // Maximum width of the grid
63
- $content-width : 1140px !default;
64
-
65
- // -------
66
- // FONT
67
- // -------
68
- $header-font-family : "Helvetica Neue", "Helvetica", Helvetica, Arial, "sans-serif" !default;
69
- $body-font-family : "Helvetica", Helvetica, Arial, "sans-serif" !default;
70
- $code-font-family : "Consolas", Courier, "monospace" !default;
71
-
72
51
  // ---------------
73
52
  // GLOBAL VALUE
74
53
  // ---------------
75
54
  $g-radius : 5px !default;
76
- $g-round : 1000px !default;
77
55
  $g-transition : all 0.2s ease-out !default;
78
56
 
79
- %transition { @include transition($g-transition); }
57
+ // -----------------
58
+ // VERTICAL RHYTHM
59
+ // -----------------
60
+ $body-font-size : 16px !default;
61
+ $body-line-height : 1.5 !default;
62
+ // Compass' Vertical Rhythm value
63
+ $base-font-size : $body-font-size;
64
+ $base-line-height : $body-line-height;
80
65
 
81
66
  // ------------------------
82
67
  // PIXEL --> EM CONVERTER
83
68
  // ------------------------
84
- $em-base : 16px !default;
69
+ $em-base : $body-font-size !default;
85
70
 
86
71
  // It strips the unit of measure and returns it
87
72
  @function stripUnit($num) {
@@ -142,6 +127,12 @@ $retina-screen : 192dpi !default;
142
127
  @media only screen and (min-width: $size) { @content; }
143
128
  }
144
129
 
130
+ @mixin between($smaller-size, $large-size) {
131
+ @media only screen and (min-width: $smaller-size) and (max-width: $larger-size) {
132
+ @content;
133
+ }
134
+ }
135
+
145
136
  // 480px and down
146
137
  @mixin phone() {
147
138
  @include below($phone-screen) { @content; }
@@ -176,31 +167,6 @@ $retina-screen : 192dpi !default;
176
167
  @media only screen and (orientation: portrait) { @content; }
177
168
  }
178
169
 
179
- // ---------------------------------------------------
180
- // SHINY EFFECT
181
- // Give emboss feel to an element
182
- //
183
- // Use this in conjunction with Compass' box-shadow()
184
- // @include box-shadow(shiny(right), ...)
185
- // ---------------------------------------------------
186
- @function shiny($applyTo: top, $activeState: false) {
187
- $size : 0 1px; // top
188
- $shiny : inset $size 0 rgba(white, 0.5); // normal state
189
-
190
- @if $applyTo == right {
191
- $size : 1px 0; }
192
- @else if $applyTo == left {
193
- $size : -1px 0; }
194
- @else if $applyTo == bottom {
195
- $size : 0 -1px; }
196
-
197
- // Change the shiny shadow if active-state
198
- @if $activeState {
199
- $shiny : inset $size 0 rgba(black, 0.2);
200
- }
201
- @return $shiny;
202
- }
203
-
204
170
  // ----------------------------------------------
205
171
  // CLEARING FLOAT
206
172
  // Make a container wraps floated element
@@ -253,7 +219,7 @@ $retina-screen : 192dpi !default;
253
219
  // DISABLE SELECTION
254
220
  // Prevents user to select/highlight the element's text
255
221
  // ------------------------------------------------------
256
- %disable-user-select {
222
+ @mixin disable-user-select {
257
223
  -webkit-touch-callout : none;
258
224
  -webkit-user-select : none;
259
225
  -khtml-user-select : none;
@@ -1,6 +1,6 @@
1
1
  // ------------------------------------------
2
2
  // BLOCK GRID with MARGIN
3
- // *Deprecated* in v 0.1
3
+ // *Deprecated* since v 0.1, use block-grid instead
4
4
  // Using margin for distance between block
5
5
  // ------------------------------------------
6
6
  $block-grid-max-width : em($content-width) !default;
@@ -3,12 +3,12 @@
3
3
  // Based heavily on ZURB's Foundation
4
4
  // ------------------------------------------
5
5
 
6
- $block-distance : em(15px) !default;
7
- $max-blocks : 12 !default;
6
+ $max-blocks : 12 !default;
7
+ $block-distance : 15px !default;
8
8
 
9
9
  @mixin block-grid-calc (
10
10
  $per-row : false,
11
- $distance : $block-distance,
11
+ $distance : em($block-distance),
12
12
  $collapse : false,
13
13
  $for-base : true ) {
14
14
 
@@ -32,7 +32,7 @@ $max-blocks : 12 !default;
32
32
 
33
33
  @mixin block-grid (
34
34
  $per-row : false,
35
- $distance : $block-distance,
35
+ $distance : em($block-distance),
36
36
  $collapse : false,
37
37
  $for-base : true ) {
38
38
 
@@ -86,9 +86,16 @@ EDGE Block Grid
86
86
  }
87
87
 
88
88
  @include small {
89
- // Make large-block-grid 100% width
90
- [class*="large-block-grid-"] > li {
91
- width: 100%;
89
+ // Make large-block-grid 100% width, but only on responsive site
90
+ body:not(.not-responsive) {
91
+ [class*="large-block-grid-"] > li {
92
+ width: 100%;
93
+ }
94
+ @for $i from 1 through $max-blocks {
95
+ .small-block-grid-#{$i} {
96
+ @include block-grid($per-row:$i, $for-base:false );
97
+ }
98
+ }
92
99
  }
93
100
 
94
101
  // Remove large grid clearing
@@ -97,12 +104,6 @@ EDGE Block Grid
97
104
  clear: none;
98
105
  }
99
106
  }
100
-
101
- @for $i from 1 through $max-blocks {
102
- .small-block-grid-#{$i} {
103
- @include block-grid($per-row:$i, $for-base:false );
104
- }
105
- }
106
107
  }
107
108
 
108
109
 
@@ -2,34 +2,34 @@ $button-padding : em(10px 20px);
2
2
 
3
3
  @mixin button($bg-color:$main-color, $for-base:false) {
4
4
  // Button Shadow
5
- $shadow-base : 0 1px 0 darken($bg-color, 20%);
5
+ $shadow-base : 0 1px 0 darken($bg-color, 20%);
6
6
  $shadow-hover : inset 1px 1px 5em rgba(black, 0.2);
7
-
7
+
8
8
  background : $bg-color;
9
9
  color : contrast-color($bg-color, #333, white, 70%);
10
10
  border : none;
11
11
 
12
- @if $full {
13
- $shadow-base : 0 1px 0 darken($bg-color, 20%);
14
- @include box-shadow($shadow-base );
15
- }
12
+ $shadow-base : 0 1px 0 darken($bg-color, 20%);
13
+ @include box-shadow($shadow-base );
16
14
 
17
15
  @if $for-base {
16
+ display : inline-block;
18
17
  position : relative;
19
18
  cursor : pointer;
20
19
  padding : $button-padding;
21
20
 
22
- @if $full {
23
- &:hover {
24
- // background: darken($bg-color, 10%);
25
- @include box-shadow($shadow-base, $shadow-hover );
26
- }
21
+ &:hover {
22
+ // background: darken($bg-color, 10%);
23
+ @include box-shadow($shadow-base, $shadow-hover );
24
+ }
27
25
 
28
- &:active {
29
- top: 1px;
30
- border: none;
31
- @include box-shadow($shadow-hover );
32
- }
26
+ &:active {
27
+ top: 1px;
28
+ border: none;
29
+ @include box-shadow($shadow-hover );
30
+ }
31
+ &:focus {
32
+ outline: none;
33
33
  }
34
34
  }
35
35
  }
@@ -10,22 +10,22 @@ $input-border : $input-border-style $input-border-color;
10
10
  $input-border-hover : $input-border-style darken($input-border-color, 10%);
11
11
  $input-border-focus : $input-border-style $main-color;
12
12
 
13
- $prefix-bg-color :$passive-color;
13
+ $prefix-bg-color : $passive-color;
14
14
 
15
15
  @mixin input() {
16
- input[type="text"],
17
- input[type="password"],
18
- input[type="date"],
19
- input[type="datetime"],
20
- input[type="datetime-local"],
21
- input[type="month"],
22
- input[type="week"],
23
- input[type="email"],
24
- input[type="number"],
25
- input[type="search"],
26
- input[type="tel"],
27
- input[type="time"],
28
- input[type="url"],
16
+ [type="text"],
17
+ [type="password"],
18
+ [type="date"],
19
+ [type="datetime"],
20
+ [type="datetime-local"],
21
+ [type="month"],
22
+ [type="week"],
23
+ [type="email"],
24
+ [type="number"],
25
+ [type="search"],
26
+ [type="tel"],
27
+ [type="time"],
28
+ [type="url"],
29
29
  select,
30
30
  textarea {
31
31
  @content;
@@ -38,6 +38,7 @@ $prefix-bg-color :$passive-color;
38
38
  outline: none;
39
39
  padding: $input-padding;
40
40
  border: $input-border;
41
+ border-top: $input-border-style darken($input-border-color, 5%);
41
42
 
42
43
  &:hover {
43
44
  border: $input-border-hover;
@@ -46,7 +47,7 @@ $prefix-bg-color :$passive-color;
46
47
 
47
48
  &:focus {
48
49
  border: $input-border-focus;
49
- @include box-shadow(inset 0 1px 3px -1px $main-color);
50
+ @include box-shadow(inset 0 1px 2px rgba(black, 0.2));
50
51
  }
51
52
  }
52
53
 
@@ -54,17 +55,26 @@ $prefix-bg-color :$passive-color;
54
55
  @mixin form-label($padding: $input-padding, $bg-color: $prefix-bg-color) {
55
56
  display: block;
56
57
  line-height: normal;
57
- padding: $padding;
58
+ padding-top: $padding;
59
+ padding-bottom: $padding;
58
60
  border: $input-border-style transparent; // to make it vertically centered
59
-
60
- &.prefix {
61
+
62
+ &.prefix,
63
+ &.postfix {
61
64
  border: $input-border-style $bg-color;
62
- border-right: none;
63
- width: 100%;
64
-
65
+ border-top: $input-border-style darken( $input-border-color, 5% );
65
66
  text-align: center;
66
- background: $bg-color;
67
67
  color: contrast-color($bg-color, #333, white, 60%);
68
+ background: $bg-color;
69
+ overflow: hidden;
70
+ }
71
+
72
+ &.prefix {
73
+ border-right: none;
74
+ }
75
+
76
+ &.postfix {
77
+ border-left: none;
68
78
  }
69
79
  }
70
80
 
@@ -1,6 +1,6 @@
1
1
  // -----------------------------------------
2
2
  // GRID with MARGIN
3
- // *Deprecated* in v 0.1
3
+ // *Deprecated* since v 0.1, use block-grid instead
4
4
  // Using margin for distance between grid
5
5
  // -----------------------------------------
6
6
  $row-width : em($content-width) !default;
@@ -3,9 +3,9 @@
3
3
  // Based on ZURB's Foundation 4
4
4
  // -----------------------------------------
5
5
 
6
- $column-distance : 20px !default;
7
- $row-max-width : $content-width !default;
6
+ $row-max-width : 1140px !default;
8
7
  $total-columns : 12 !default;
8
+ $column-distance : 20px !default;
9
9
 
10
10
  // Calculate percentages for grid
11
11
  @function gridCalc($colNumber, $totalColumns:$total-columns) {
@@ -16,11 +16,12 @@ $total-columns : 12 !default;
16
16
  @mixin grid-row(
17
17
  $nest : false,
18
18
  $collapse : false,
19
- $for-base : false,
19
+ $for-base : false, // Prevent style repetition, only for internal use
20
20
  $max-width : $row-max-width,
21
21
  $distance : $column-distance ) {
22
22
 
23
- $max-width : em($max-width) + em($distance); // to make up for the padding
23
+ $max-width : $max-width + $distance; // to make up for the padding
24
+ $distance : em($distance);
24
25
 
25
26
  // prevent duplicate for base CSS class
26
27
  @if $for-base == false {
@@ -63,31 +64,36 @@ $total-columns : 12 !default;
63
64
  $columns : false,
64
65
  $last-column : false,
65
66
  $center : false,
66
- $offset : false,
67
- $push : false,
68
- $pull : false,
67
+ $offset : 0,
68
+ $push : 0,
69
+ $pull : 0,
69
70
  $collapse : false,
70
71
  $float : true,
71
- $for-base : false,
72
- $distance : $column-distance,
72
+ $form : false, // Create form-columns
73
+ $for-base : false, // Prevent style repetition, only for internal use
74
+ $distance : em($column-distance),
73
75
  $total-columns : $total-columns,
74
76
  $external : $external-call, // Mixin used from external file
75
- $small : false // For usage by external file, apply CSS for small-grid
77
+ $small : false // For external use, apply CSS for small-grid
76
78
  ) {
77
-
79
+
78
80
  @if $for-base == false {
79
81
  position: relative;
80
82
  }
81
83
 
82
84
  // If collapsed, get rid of distance padding
83
85
  @if $collapse {
84
- padding-left : 0;
85
- padding-right : 0;
86
+ // If not for form-column
87
+ @if $form == false {
88
+ padding-left : 0;
89
+ padding-right : 0;
90
+ }
86
91
  }
87
92
 
88
- // Distance padding whenever a column isn't set to collapse
93
+ // Set distance between padding whenever a column isn't set to collapse
94
+ // Form-column can't have distance
89
95
  // (use $collapse:null to do nothing)
90
- @else if $collapse == false {
96
+ @else if $collapse == false and $form == false {
91
97
  padding-left : $distance / 2;
92
98
  padding-right : $distance / 2;
93
99
  }
@@ -103,16 +109,16 @@ $total-columns : 12 !default;
103
109
  }
104
110
 
105
111
  // If offset, calculate appropriate margins
106
- @if $offset {
112
+ @if $offset > 0 {
107
113
  margin-#{$default-float}: gridCalc($offset, $total-columns);
108
114
  }
109
115
 
110
116
  // Source Ordering, adds left/right depending on which you use.
111
- @if $push {
117
+ @if $push > 0 {
112
118
  #{$default-float} : gridCalc($push, $total-columns);
113
119
  #{$default-opposite} : auto;
114
120
  }
115
- @if $pull {
121
+ @if $pull > 0 {
116
122
  #{$default-opposite} : gridCalc($pull, $total-columns);
117
123
  #{$default-float} : auto;
118
124
  }
@@ -122,6 +128,11 @@ $total-columns : 12 !default;
122
128
  margin-#{$default-float} : auto !important;
123
129
  margin-#{$default-opposite} : auto !important;
124
130
  float : none !important;
131
+
132
+ // If for form-column, change display to `block`
133
+ @if $form {
134
+ display: block;
135
+ }
125
136
  }
126
137
 
127
138
  @if $float {
@@ -154,20 +165,7 @@ EDGE Grid
154
165
 
155
166
  body {
156
167
  &.not-responsive {
157
- min-width : $row-max-width;
158
-
159
- .row {
160
- min-width: em($row-max-width + $column-distance);
161
-
162
- .column,
163
- .columns {
164
- }
165
-
166
- // Nested row
167
- .row {
168
- min-width: 0;
169
- }
170
- }
168
+ min-width: em($row-max-width + $column-distance);
171
169
  }
172
170
  &.only-responsive-below-small {
173
171
  min-width : $row-max-width;
@@ -189,15 +187,16 @@ body {
189
187
  }
190
188
  }
191
189
 
190
+ // Normal row
192
191
  .row {
193
192
  @include grid-row;
194
193
 
195
194
  // Collapsed row
196
195
  &.collapse {
197
- @include grid-row($collapse:true, $for-base:false);
196
+ @include grid-row($collapse:true);
198
197
  .column,
199
198
  .columns {
200
- @include grid-column($collapse:true, $for-base:false);
199
+ @include grid-column($collapse:true);
201
200
  }
202
201
  }
203
202
 
@@ -217,6 +216,16 @@ body {
217
216
  }
218
217
 
219
218
 
219
+ // Normal form-row
220
+ .form-row {
221
+ @include grid-row($collapse:true, $nest:true);
222
+
223
+ .form-column,
224
+ .form-columns {
225
+ @include grid-column($collapse:true, $form:true);
226
+ }
227
+ }
228
+
220
229
  @for $i from 1 through $total-columns {
221
230
  .large#{-$i} { @include grid-column($columns:$i, $collapse:null, $float:false, $for-base:true); }
222
231
  }
@@ -227,9 +236,16 @@ body {
227
236
  @include grid-column($center:true, $collapse:null, $float:false);
228
237
  }
229
238
 
239
+ // Centered form-column
240
+ .form-column.large-centered,
241
+ .form-columns.large-centered {
242
+ @include grid-column($center:true, $collapse:null, $float:false, $form:true);
243
+ }
244
+
245
+ // Source Ordering
230
246
  @include medium-up {
231
247
  @for $i from 1 through $total-columns - 1 {
232
- .row .large-offset-#{$i} {
248
+ .large-offset-#{$i} {
233
249
  @include grid-column($offset:$i, $collapse:null, $float:false, $for-base:true);
234
250
  }
235
251
  .push#{-$i} {
@@ -243,18 +259,16 @@ body {
243
259
 
244
260
  // Small screen and below
245
261
  @include small {
246
- // Expand large column only if it's responsive site
262
+
247
263
  body:not(.not-responsive) {
248
264
  .column,
249
265
  .columns {
250
266
  @include grid-column($columns:$total-columns);
251
267
  }
252
- }
253
-
254
-
255
- @for $i from 1 through $total-columns {
256
- .small#{-$i} {
257
- @include grid-column($columns:$i, $collapse:null, $float:false, $for-base:true);
268
+ @for $i from 1 through $total-columns {
269
+ .small#{-$i} {
270
+ @include grid-column($columns:$i, $collapse:null, $float:false, $for-base:true);
271
+ }
258
272
  }
259
273
  }
260
274
 
@@ -19,12 +19,10 @@ Based on git.io/normalize
19
19
  padding: 0;
20
20
  }
21
21
 
22
- // The default font-size is set to 100% of the browser style sheet (usually 16px)
23
- // for compatibility with brower-based text zoom or user-set defaults.
24
- html,
25
- body {
26
- font-size: $base-font-size;
27
- }
22
+ // html,
23
+ // body {
24
+ // font-size: $base-font-size;
25
+ // }
28
26
 
29
27
  // Chrome Sibling Selector Fix
30
28
  body { -webkit-animation: bugfix infinite 1s; }
@@ -34,16 +32,15 @@ body { -webkit-animation: bugfix infinite 1s; }
34
32
  }
35
33
 
36
34
  html {
37
- font-family : sans-serif;
38
- -webkit-text-size-adjust : 100%;
39
- -ms-text-size-adjust : 100%;
35
+ font-family: sans-serif;
36
+ -webkit-text-size-adjust: 100%;
37
+ -ms-text-size-adjust: 100%;
40
38
  }
41
39
 
42
40
  // Reset anchor styling
43
41
  a {
44
- display : inline-block;
45
- cursor : pointer;
46
- text-decoration : none;
42
+ cursor: pointer;
43
+ text-decoration: none;
47
44
  }
48
45
 
49
46
  // Remove outline on a:focus
@@ -55,37 +52,37 @@ h1, h2, h3, h4, h5, h6 { margin: 0; }
55
52
 
56
53
  // Reset paragraph styling
57
54
  p {
58
- line-height : 1.5;
59
- margin-top : 0;
60
- margin-bottom : 0;
55
+ line-height: 1.5;
56
+ margin-top: 0;
57
+ margin-bottom: 0;
61
58
  }
62
59
 
63
60
  // A better looking default horizontal rule
64
61
  hr {
65
- -moz-box-sizing : content-box;
66
- box-sizing : content-box;
67
- display : block;
68
- height : 1px;
69
- margin : 1em 0;
70
- padding : 0;
71
- border : 0;
72
- border-top : 1px solid #ccc;
62
+ -moz-box-sizing: content-box;
63
+ box-sizing: content-box;
64
+ display: block;
65
+ height: 1px;
66
+ margin: 1em 0;
67
+ padding: 0;
68
+ border: 0;
69
+ border-top: 1px solid #ccc;
73
70
  }
74
71
 
75
72
  // Get rid of gap under images
76
73
  img {
77
- border : 0;
78
- display : inline-block;
79
- vertical-align : middle;
80
- -ms-interpolation-mode : bicubic;
74
+ border: 0;
75
+ display: inline-block;
76
+ vertical-align: middle;
77
+ -ms-interpolation-mode: bicubic;
81
78
  }
82
79
 
83
80
  // Grid Defaults to get images and embeds to work properly
84
81
  img,
85
82
  object,
86
83
  embed {
87
- max-width : 100%;
88
- height : auto;
84
+ max-width: 100%;
85
+ height: auto;
89
86
  }
90
87
 
91
88
  object,
@@ -161,11 +158,11 @@ button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
161
158
 
162
159
  // Allow only vertical resizing of textareas.
163
160
  textarea {
164
- overflow : auto;
165
- vertical-align : top;
166
- resize : vertical;
167
- height : auto;
168
- min-height : 50px;
161
+ overflow: auto;
162
+ vertical-align: top;
163
+ resize: vertical;
164
+ height: auto;
165
+ min-height: 50px;
169
166
  }
170
167
 
171
168
  table { border-collapse: collapse; border-spacing: 0; }
@@ -181,14 +178,14 @@ table { border-collapse: collapse; border-spacing: 0; }
181
178
  .text-justify { text-align: justify !important; }
182
179
  .hide { display: none !important; visibility: hidden !important; }
183
180
  .visual-hide {
184
- border : 0 !important;
185
- clip : rect(0 0 0 0) !important;
186
- height : 1px !important;
187
- margin : -1px !important;
188
- overflow : hidden !important;
189
- padding : 0 !important;
190
- position : absolute !important;
191
- width : 1px !important;
181
+ border: 0 !important;
182
+ clip: rect(0 0 0 0) !important;
183
+ height: 1px !important;
184
+ margin: -1px !important;
185
+ overflow: hidden !important;
186
+ padding: 0 !important;
187
+ position: absolute !important;
188
+ width: 1px !important;
192
189
  }
193
190
 
194
191
  .bold, b, strong { font-weight: 700 !important; }