Skip to content

Commit 7180041

Browse files
committed
Optimize
1 parent 68832f4 commit 7180041

File tree

3 files changed

+35
-80
lines changed

3 files changed

+35
-80
lines changed

TODO.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@
140140

141141
### External reference needed (component level)
142142

143-
* [ ] Accordion component
144143
* [ ] Tabs component
145144
* [ ] Segmented control (with radio)
146145

@@ -229,6 +228,7 @@
229228
* [x] http://localhost:3000/styleguide/components/menu-navigation needs taller example
230229
* [x] http://localhost:3000/styleguide/components/menu-selection document sameWidth property
231230
* [x] Add Ctrl+M shortcut
231+
* [x] Accordion component
232232

233233
## Later
234234

src/scss/_o-container-vertical.scss

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/* ==========================================================================
2+
Container vertical
3+
========================================================================== */
4+
5+
/* Block spacing
6+
========================================================================== */
7+
8+
.o-container-vertical--padding-small {
9+
padding: 2.4rem 0;
10+
}
11+
12+
.o-container-vertical { // Standard padding
13+
padding: 3.6rem 0;
14+
}
15+
16+
.o-container-vertical--padding-medium {
17+
padding: 4.8rem 0;
18+
}
19+
20+
.o-container-vertical--padding-large {
21+
padding: 6.4rem 0;
22+
}
23+
24+
/* Block modifiers
25+
Change the look of the entire block
26+
========================================================================== */
27+
28+
.o-container-vertical--bg-alt {
29+
background: $color-gray-50;
30+
}
31+
32+
.o-container-vertical--bottom-bordered {
33+
border-bottom: 1px solid $color-gray-100;
34+
}

src/scss/_o-container.scss

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -70,82 +70,3 @@ $o-container-side-gap: 1.2rem !default; // Should be 1/2 of grid col gap
7070
}
7171

7272
}
73-
74-
75-
/* ==========================================================================
76-
Container vertical
77-
========================================================================== */
78-
79-
/* Block spacing
80-
========================================================================== */
81-
82-
.o-container-vertical--padding-small {
83-
padding: 2.4rem 0;
84-
}
85-
86-
.o-container-vertical { // Standard padding
87-
padding: 3.6rem 0;
88-
}
89-
90-
.o-container-vertical--padding-medium {
91-
padding: 4.8rem 0;
92-
}
93-
94-
.o-container-vertical--padding-large {
95-
padding: 6.4rem 0;
96-
}
97-
98-
/* Block modifiers
99-
Change the look of the entire block
100-
========================================================================== */
101-
102-
.o-container-vertical--bg-alt {
103-
background: $color-gray-50;
104-
}
105-
106-
.o-container-vertical--bottom-bordered {
107-
border-bottom: 1px solid $color-gray-100;
108-
}
109-
110-
/* ==========================================================================
111-
Block types (attached to vertical containers, since this is often the parent)
112-
========================================================================== */
113-
114-
/* Block type: intro
115-
========================================================================== */
116-
117-
.o-container-vertical-intro__intro {
118-
font-size: 1.8rem;
119-
color: $color-gray-500;
120-
text-align: center;
121-
}
122-
123-
/* Block type: title
124-
========================================================================== */
125-
126-
.o-container-vertical-title__title {
127-
text-align: center;
128-
font-size: 4.8rem;
129-
font-weight: $g-headings-font-weight;
130-
font-family: $g-headings-font-family;
131-
}
132-
133-
/* Block type: subtitle
134-
========================================================================== */
135-
136-
.o-container-vertical-subtitle__title {
137-
font-size: 3.2rem;
138-
font-weight: $g-headings-font-weight;
139-
font-family: $g-headings-font-family;
140-
}
141-
142-
/* Block type: anchor list
143-
========================================================================== */
144-
145-
.o-container-vertical-anchor-list__list {
146-
text-align: center;
147-
li {
148-
display: inline-block;
149-
margin: 1rem;
150-
}
151-
}

0 commit comments

Comments
 (0)