Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

misc formatting cleanup in scss files

  • Loading branch information...
commit edd4938559dd211ccd7277f9f6a675aee64d7560 1 parent be155a5
Matt Jankowski mjankowski authored
28 app/assets/stylesheets/_defaults.scss
@@ -10,8 +10,7 @@ h1, h2, h3, h4, h5, h6 {
10 10 }
11 11
12 12 /* Success, error & notice boxes for messages and errors. */
13   -div.error, div.notice, div.success,
14   -#flash_failure, #flash_success, #flash_notice {
  13 +div.error, div.notice, div.success, #flash_failure, #flash_success, #flash_notice {
15 14 border: 1px solid #ddd;
16 15 -moz-border-radius: 8px;
17 16 -webkit-border-radius: 8px;
@@ -20,39 +19,33 @@ div.error, div.notice, div.success,
20 19 padding: 10px;
21 20 }
22 21
23   -div.error,
24   -#flash_failure {
  22 +div.error, #flash_failure {
25 23 background: #FBE3E4;
26 24 border-color: #FBC2C4;
27 25 color: #D12F19;
28 26 }
29 27
30   -div.error a,
31   -#flash_failure a {
  28 +div.error a, #flash_failure a {
32 29 color: #D12F19;
33 30 }
34 31
35   -div.notice,
36   -#flash_notice {
  32 +div.notice, #flash_notice {
37 33 background: #FFF6BF;
38 34 border-color: #FFD324;
39 35 color: #817134;
40 36 }
41 37
42   -div.notice a,
43   -#flash_notice a {
  38 +div.notice a, #flash_notice a {
44 39 color: #817134;
45 40 }
46 41
47   -div.success,
48   -#flash_success {
  42 +div.success, #flash_success {
49 43 background: #E6EFC2;
50 44 border-color: #C6D880;
51 45 color: #529214;
52 46 }
53 47
54   -div.success a,
55   -#flash_success a {
  48 +div.success a, #flash_success a {
56 49 color: #529214;
57 50 }
58 51
@@ -92,14 +85,14 @@ hr.space {
92 85 }
93 86
94 87 /* Hide for both screenreaders and browsers
95   - css-discuss.incutio.com/wiki/Screenreader_Visibility */
  88 +css-discuss.incutio.com/wiki/Screenreader_Visibility */
96 89 .hidden {
97 90 display: none;
98 91 visibility: hidden;
99 92 }
100 93
101 94 /* Hide only visually, but have it available for screenreaders
102   - www.webaim.org/techniques/css/invisiblecontent/ & j.mp/visuallyhidden */
  95 +www.webaim.org/techniques/css/invisiblecontent/ & j.mp/visuallyhidden */
103 96 .visuallyhidden {
104 97 clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
105 98 clip: rect(1px, 1px, 1px, 1px);
@@ -112,8 +105,7 @@ hr.space {
112 105 }
113 106
114 107 /* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
115   -.clearfix:before,
116   -.clearfix:after {
  108 +.clearfix:before, .clearfix:after {
117 109 content: "\0020";
118 110 display: block;
119 111 height: 0;
17 app/assets/stylesheets/_forms.scss
... ... @@ -1,9 +1,9 @@
1 1 /* Forms */
2 2
3 3 /*
4   - * Remove inner padding and border in FF3/4
5   - * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
6   - */
  4 +* Remove inner padding and border in FF3/4
  5 +* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
  6 +*/
7 7 input[type="submit"]::-moz-focus-inner {
8 8 border: 0;
9 9 padding: 0;
@@ -78,8 +78,7 @@ fieldset {
78 78 padding: 16px 16px 12px 16px;
79 79 }
80 80
81   -fieldset fieldset,
82   -fieldset fieldset fieldset {
  81 +fieldset fieldset, fieldset fieldset fieldset {
83 82 border: 0;
84 83 padding: 0;
85 84 }
@@ -181,15 +180,11 @@ optgroup {
181 180 }
182 181
183 182 /* Date & Time */
184   -form ol li.date select,
185   -form ol li.time select,
186   -form ol li.datetime select {
  183 +form ol li.date select, form ol li.time select, form ol li.datetime select {
187 184 display: inline;
188 185 width: auto;
189 186 }
190 187
191   -form ol li.date ol li,
192   -form ol li.time ol li,
193   -form ol li.datetime ol li {
  188 +form ol li.date ol li, form ol li.time ol li, form ol li.datetime ol li {
194 189 display: inline-block;
195 190 }
25 app/assets/stylesheets/_reset.scss
@@ -6,18 +6,12 @@ Author: Richard Clark - http://richclarkdesign.com
6 6 Twitter: @rich_clark
7 7 */
8 8
9   -html, body, div, span, object, iframe,
10   -h1, h2, h3, h4, h5, h6, p, blockquote, pre,
11   -abbr, address, cite, code,
12   -del, dfn, em, img, ins, kbd, q, samp,
13   -small, strong, sub, sup, var,
14   -b, i,
15   -dl, dt, dd, ol, ul, li,
16   -fieldset, form, label, legend,
17   -table, caption, tbody, tfoot, thead, tr, th, td,
18   -article, aside, canvas, details, figcaption, figure,
19   -footer, header, hgroup, menu, nav, section, summary,
20   -time, mark, audio, video {
  9 +html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
  10 +pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small,
  11 +strong, sub, sup, var,b, i,dl, dt, dd, ol, ul, li,fieldset, form, label,
  12 +legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas,
  13 +details, figcaption, figure, footer, header, hgroup, menu, nav, section,
  14 +summary, time, mark, audio, video {
21 15 margin:0;
22 16 padding:0;
23 17 border:0;
@@ -31,8 +25,8 @@ body {
31 25 line-height:1;
32 26 }
33 27
34   -article,aside,details,figcaption,figure,
35   -footer,header,hgroup,menu,nav,section {
  28 +article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav,
  29 +section {
36 30 display:block;
37 31 }
38 32
@@ -44,8 +38,7 @@ blockquote, q {
44 38 quotes:none;
45 39 }
46 40
47   -blockquote:before, blockquote:after,
48   -q:before, q:after {
  41 +blockquote:before, blockquote:after, q:before, q:after {
49 42 content:'';
50 43 content:none;
51 44 }
3  app/assets/stylesheets/_type.scss
@@ -79,8 +79,7 @@ a:hover {
79 79 color: #052246;
80 80 }
81 81
82   -a:active,
83   -a:focus {
  82 +a:active, a:focus {
84 83 color: #1a4882;
85 84 }
86 85

0 comments on commit edd4938

Please sign in to comment.
Something went wrong with that request. Please try again.