Skip to content

Commit f7be331

Browse files
committed
Update style sheet Haml comments
1 parent 428b8d5 commit f7be331

23 files changed

+53
-40
lines changed

client/stylesheets/components/_bucket.sass

Lines changed: 1 addition & 1 deletion
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
// / ...

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: 2 additions & 1 deletion
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

client/stylesheets/components/_grid.sass

Lines changed: 1 addition & 1 deletion
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
// / ...

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/_well.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-
// .well[l|xs]
10+
// .well[s|l|m|xl]
1111
// / ...
1212
//
1313
// *************************************

client/stylesheets/structures/_alert.sass

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
// Template (Haml)
88
// -------------------------------------
99
//
10-
// .alert[error|success|warning]
10+
// .has-alert
11+
//
12+
// .alert[error|success|warning](dismissed)
1113
//
1214
// .alert-msg
1315
//

client/stylesheets/structures/_completionList.sass

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
// -------------------------------------
99
//
1010
// %ul.completionList
11-
// %li.completionList-item
11+
// %li.completionList-item(active|completed)
12+
// .completionList-item-icon
1213
// %a.completionList-item-link
1314
//
1415
// *************************************

client/stylesheets/structures/_courseLayout.sass

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
// Template (Haml)
88
// -------------------------------------
99
//
10-
// %html.courseLayout(active)
10+
// %html.courseLayout(active|loaded)
1111
//
1212
// .courseLayout-header
13+
// .courseLayout-header-content
1314
// .courseLayout-header-toggle
1415
//
1516
// .courseLayout-main

client/stylesheets/structures/_emblem.sass

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// -------------------------------------
99
//
1010
// .emblem
11+
// .emblem-content
1112
// .emblem-item
1213
//
1314
// *************************************

client/stylesheets/structures/_externalLink.sass

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
// Scaffolding
2525
// -------------------------------------
2626
27+
// ----- Icon ----- //
28+
2729
.externalLink-icon
2830
display: inline-block
2931
opacity: 0

client/stylesheets/structures/_heading.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-
// .h[1|2|3|4 light]
10+
// .h[1|2|3|4 light|semibold]
1111
//
1212
// *************************************
1313

client/stylesheets/structures/_inlineConsole.sass

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
//
1010
// .inlineConsole(correct|incorrect)
1111
//
12-
// .inlineConsole-icon
13-
// .inlineConsole-input
12+
// .inlineConsole-btn
13+
// .inlineConsole-card
14+
// .inlineConsole-icon(caret|check)
15+
// %input.inlineConsole-input
1416
//
1517
// *************************************
1618

client/stylesheets/structures/_label.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-
// .label
10+
// .label[highlight|subdued](success)
1111
//
1212
// *************************************
1313

client/stylesheets/structures/_layout.sass

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@
1010
// %html.layout(layout-header-fixed layout-primary-active)
1111
// .layout-curtain
1212
//
13+
// .layout-header
14+
// / ...
15+
//
1316
// .layout-primary
14-
// // ...
17+
// / ...
1518
//
1619
// .layout-secondary
17-
// // ...
20+
// / ...
1821
//
1922
// *************************************
2023

client/stylesheets/structures/_link.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// Template (Haml)
99
// -------------------------------------
1010
//
11-
// .link[bordered inverted|muted]
11+
// .link[bordered error|inverted]
1212
//
1313
// *************************************
1414

client/stylesheets/structures/_newsletter.sass

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,15 @@
77
// Template (Haml)
88
// -------------------------------------
99
//
10-
// (.has-newsletter)
11-
//
12-
// .newsletter[modifier](state)
13-
// .newsletter-scaffolding
10+
// .newsletter(submitted)
11+
// .newsletter-form
12+
// .newsletter-text
1413
//
1514
// *************************************
1615
1716
.newsletter
1817
position: relative
1918

20-
// -------------------------------------
21-
// Modifiers
22-
// -------------------------------------
23-
24-
// .newsletter--modifier
25-
2619
// -------------------------------------
2720
// States
2821
// -------------------------------------
@@ -34,12 +27,6 @@
3427
.newsletter-form
3528
opacity: 0
3629

37-
// -------------------------------------
38-
// Context
39-
// -------------------------------------
40-
41-
// .has-newsletter
42-
4330
// -------------------------------------
4431
// Scaffolding
4532
// -------------------------------------
@@ -79,4 +66,3 @@
7966
to
8067
opacity: 1
8168
transform: translate(-50%, -50%)
82-

client/stylesheets/structures/_preloader.sass

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,22 @@ $preloader-progress-item-size: 30px
2828
// Scaffolding
2929
// -------------------------------------
3030
31+
// ----- Image ----- //
32+
33+
.preloader-img
34+
display: inline-block
35+
margin-left: 100px
36+
37+
// ----- Progress ----- //
38+
3139
.preloader-progress
3240
@extend .clearfix
3341
position: absolute
3442
top: 89px // FIXME: Magic number!
3543
width: 300px
3644

45+
// Item
46+
3747
.preloader-progress-item
3848
animation: preloader-progress-item $preloader-progress-item-duration ease-in-out infinite alternate
3949
background: $capeCod
@@ -51,10 +61,6 @@ $preloader-progress-item-size: 30px
5161
&:nth-child(#{$index})
5262
animation-delay: -($preloader-progress-item-duration - ($preloader-progress-item-delay * $index))
5363

54-
.preloader-img
55-
display: inline-block
56-
margin-left: 100px
57-
5864
// -------------------------------------
5965
// Animations
6066
// -------------------------------------

client/stylesheets/structures/_state.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-
// (hidden)
10+
// (added|hidden)
1111
//
1212
// *************************************
1313

client/stylesheets/structures/_video.sass

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
// (video-playing)
1111
//
1212
// .video
13+
// .video-close
14+
// .video-embed
15+
//
16+
// .video-overlay
1317
//
1418
// *************************************
1519

0 commit comments

Comments
 (0)