Skip to content

Commit 8eae206

Browse files
committed
Merge pull request #291 from codeschool/style_cleanup
Style Cleanup
2 parents 0a97d08 + 3a267d1 commit 8eae206

31 files changed

Lines changed: 133 additions & 125 deletions

client/stylesheets/application.sass

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
// Vendor
6868
// -------------------------------------
6969
70+
@import 'vendor/animate'
7071
@import 'vendor/codemirror'
7172
@import 'vendor/codemirror-theme'
7273
@import 'vendor/tooltip'
@@ -75,18 +76,4 @@
7576
// Inbox
7677
// -------------------------------------
7778
78-
// Animations are handled using Angulars ng-animate which adds and
79-
// removes classes during various phases. If this doesn't work we can
80-
// do something different, but ng-animate is pretty crazy flexible in the timing
81-
// in code of where these happen if we need to tweak things.
82-
.animate--fade.ng-enter,
83-
.animate--fade.ng-leave
84-
// transition: all 1s ease-in-out
85-
.animate--fade.ng-enter,
86-
.animate--fade.ng-leave.ng-leave-active
87-
display: none
88-
// opacity: 0
89-
.animate--fade.ng-leave,
90-
.animate--fade.ng-enter.ng-enter-active
91-
display: block
92-
// opacity: 1
79+
// ...

client/stylesheets/components/_bucket.sass

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// Template (Haml)
99
// -------------------------------------
1010
//
11-
// .bucket[flag]
11+
// .bucket[flag l]
1212
//
1313
// .bucket-media
1414
// / ...
@@ -19,7 +19,7 @@
1919
// *************************************
2020
2121
.bucket
22-
@extend .group
22+
+group
2323

2424
// -------------------------------------
2525
// Modifiers

client/stylesheets/components/_button.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
// .has-btn
1212
//
13-
// .btn[a|b s|l block bordered|rounded success]
13+
// .btn[...]
1414
//
1515
// *************************************
1616

client/stylesheets/components/_cell.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// Template (Haml)
88
// -------------------------------------
99
//
10-
// .cell[s]
10+
// .cell[s|m]
1111
// / ...
1212
//
1313
// *************************************

client/stylesheets/components/_form.sass

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
// %fieldset.form-field[inline]
1313
// .form-instruction
1414
// %label.form-label
15-
// %input.form-input[dark]
15+
// %input.form-input[dark](invalid)
1616
// %textarea.form-textarea
17+
// .form-btn
1718
//
1819
// *************************************
1920
@@ -125,8 +126,8 @@
125126
// ----- Textarea ----- //
126127
127128
.form-textarea
128-
resize: vertical
129129
max-height: 40vh // FIXME: Magic number!
130+
resize: vertical
130131

131132
+respond-to($g-m)
132133
max-height: none

client/stylesheets/components/_grid.sass

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// Template (Haml)
1010
// -------------------------------------
1111
//
12-
// .g
12+
// .g[xs|s]
1313
//
1414
// .g-b[center 1of2|...]
1515
// / ...
@@ -24,7 +24,7 @@
2424
// -------------------------------------
2525
2626
#{$g-selector}g
27-
@extend .group
27+
+group
2828
display: block
2929
margin-left: -$g-gutter
3030

client/stylesheets/components/_list.sass

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
// Template (Haml)
99
// -------------------------------------
1010
//
11-
// %ul.list[divided inline|object styled|styled--numbered]
11+
// %ul.list[[f|s|l] divided[f|s|l] inline[divided|dotted]|object styled|styled--numbered]
1212
// %li.list-item List Item
13+
// .list-item-header
1314
// %li.list-item List Item
1415
//
1516
// *************************************

client/stylesheets/components/_pillar.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// Template (Haml)
88
// -------------------------------------
99
//
10-
// .pillar
10+
// .pillar[thin|thick l]
1111
// / ...
1212
//
1313
// *************************************

client/stylesheets/components/_sector.sass

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
// .has-sector
1111
//
1212
// .sector[a|b]
13+
// .sector-content
14+
//
1315
// .sector[a|b]
16+
// .sector-content
1417
//
1518
// *************************************
1619

client/stylesheets/components/_thumb.sass

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,9 @@
2020
// Modifiers
2121
// -------------------------------------
2222
23+
// ----- Sizes ----- //
24+
25+
// Medium
26+
2327
.thumb--m
2428
border-radius: $b-borderRadius

0 commit comments

Comments
 (0)