Skip to content

Commit e3e280c

Browse files
committed
_scss: remove unused styles, and combine some
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 034c233 commit e3e280c

11 files changed

+59
-383
lines changed

_scss/_buttons.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ a.button.outline-btn.min-hgt {
3838
border: 1px solid rgba(0, 0, 0, 0.1);
3939
text-shadow: 0 1px rgba(0, 0, 0, 0.2);
4040
}
41-
41+
/*
4242
.secondary-btn {
4343
background-color: rgba(255, 255, 255, 0.2);
4444
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
@@ -52,20 +52,20 @@ a.button.outline-btn.min-hgt {
5252
border: 1px solid rgba(0, 0, 0, 0.1);
5353
text-shadow: 0 1px rgba(0, 0, 0, 0.2);
5454
}
55+
*/
5556

5657
.outline-btn {
5758
background: #fff;
5859
border: 1px solid #0087C8;
5960
text-decoration: none;
6061
margin: 0;
62+
&:hover {
63+
color: #1488C6;
64+
}
6165
}
6266

63-
.outline-btn:hover,
67+
//.secondary-btn:hover,
6468
.primary-btn:hover,
65-
.secondary-btn:hover {
66-
opacity: 0.8;
67-
}
68-
6969
.outline-btn:hover {
70-
color: #1488C6;
70+
opacity: 0.8;
7171
}

_scss/_content.scss

Lines changed: 11 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -63,53 +63,18 @@ code {
6363
float: left;
6464
height: 250px;
6565
width: 100%;
66-
}
67-
68-
.component-full {
69-
padding: 5px 0 10px 20px;
70-
float: left;
71-
min-height: 100px;
72-
margin: 0 0 15px 0;
73-
width: 100%;
74-
}
75-
76-
.component,
77-
.component-full {
7866
background: $bg-component;
79-
}
80-
81-
.component-full-icon {
82-
float: left;
83-
padding: 5px 15px 0 7px;
84-
}
85-
86-
.component-full p {
87-
margin: 0;
88-
}
89-
90-
.component-full h3 {
91-
margin-top: 10px;
92-
}
93-
94-
.component img,
95-
.component-full-icon img {
96-
width: 70px;
97-
height: 70px;
98-
}
99-
100-
.component-icon {
101-
margin: 0 auto;
102-
width: 70px;
103-
}
104-
105-
.component-full-copy {
106-
float: left;
107-
width: 80%;
108-
}
109-
110-
.component h3,
111-
.component p {
112-
margin: 0;
67+
img {
68+
width: 70px;
69+
height: 70px;
70+
}
71+
.component-icon {
72+
margin: 0 auto;
73+
width: 70px;
74+
}
75+
h3, p {
76+
margin: 0;
77+
}
11378
}
11479

11580
a.anchorLink {

_scss/_global-header.scss

Lines changed: 0 additions & 53 deletions
This file was deleted.

_scss/_layout.scss

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@
4040
height: unset;
4141
}
4242

43-
.columns,
44-
.col-body {
45-
display: flex;
43+
.columns {
4644
flex-direction: column;
4745
}
4846

@@ -51,6 +49,7 @@
5149
}
5250

5351
.col-body {
52+
display: flex;
5453
flex-direction: row;
5554
flex: 1;
5655
min-height: 555px;
@@ -77,16 +76,12 @@
7776
}
7877

7978
.content {
80-
padding: 80px 70px 20px 70px;
79+
padding: 80px 20px 40px 40px;
8180
max-width: 1024px;
8281
min-width: 300px;
8382
min-height: 500px;
8483
}
8584

86-
.main-content {
87-
padding: 0 35px 25px 30px;
88-
}
89-
9085
section.section {
9186
margin: 0 auto;
9287
}

_scss/_mobile.scss

Lines changed: 5 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@
66
and (min-width : 376px)
77
and (max-width : 1150px) {
88
.nav-primary,
9-
.hero-text,
10-
.banner,
119
ul.primary.nav.navbar-nav {
1210
display: none;
1311
}
14-
.header,
15-
.nav-secondary-tabs {
12+
.header {
1613
height: 55px;
1714
}
1815
.tabs li a {
@@ -38,7 +35,7 @@
3835
h4 {
3936
font-size: 16px;
4037
}
41-
.nav-secondary-tabs .search-form input[type=search] {
38+
.nav-secondary .search-form input[type=search] {
4239
min-width: auto;
4340
}
4441
.nav-container,
@@ -61,9 +58,6 @@
6158
z-index: 100;
6259
background-color: $bg-sidebar;
6360
}
64-
.main-content {
65-
padding: 22px 35px 25px 30px;
66-
}
6761
}
6862

6963

@@ -76,8 +70,6 @@
7670
and (min-device-width: 320px)
7771
and (max-device-width: 670px) {
7872
.logo,
79-
.hero-text,
80-
.banner,
8173
.ctrl-right {
8274
display: none;///// CHECK THIS /////
8375
}
@@ -129,11 +121,7 @@
129121
.content {
130122
padding: 65px 25px;
131123
}
132-
.main-content {
133-
padding: 10px 25px;
134-
}
135-
.sidebar,
136-
.sidebar-home {
124+
.sidebar {
137125
background-color: $bg-sidebar;
138126
top: 51px;
139127
left: 0;
@@ -144,23 +132,9 @@
144132
position: fixed;
145133
width: 100%;
146134
}
147-
.sidebar-home,
148-
.sidebar-home .affix {
149-
background: #192837;
150-
width: 100%;
151-
}
152135
.search-form {
153136
display: block!important;
154137
}
155-
.component-full {
156-
text-align: center;
157-
}
158-
.component-full-copy {
159-
width: 100%;
160-
}
161-
.component-full-icon {
162-
float: none;
163-
}
164138
.top_footer {
165139
padding: 50px 0 35px;
166140
text-align: center;
@@ -171,12 +145,6 @@
171145
and (min-device-width: 320px)
172146
and (max-device-width: 372px)
173147
and (orientation: portrait) {
174-
.nav-secondary-tabs {
175-
> .container-fluid {
176-
padding-left: 5px;
177-
padding-right: 5px;
178-
}
179-
}
180148
.tabs {
181149
display: -webkit-box;
182150
display: -moz-box;
@@ -218,18 +186,13 @@
218186
h4 {
219187
font-size: 16px;
220188
}
221-
.header,
222-
.nav-secondary-tabs {
189+
.header {
223190
height: 100px;
224191
}
225192
.content {
226193
padding: 120px 20px;
227194
}
228-
.main-content {
229-
padding: 0 10px;
230-
}
231-
.sidebar,
232-
.sidebar-home {
195+
.sidebar {
233196
background-color: $bg-sidebar;
234197
top: 51px;
235198
left: 0;
@@ -240,15 +203,6 @@
240203
position: fixed;
241204
width: 100%;
242205
}
243-
.component-full {
244-
text-align: center;
245-
}
246-
.component-full-copy {
247-
width: 100%;
248-
}
249-
.component-full-icon {
250-
float: none;
251-
}
252206
}
253207

254208

@@ -321,10 +275,3 @@
321275
display: block;
322276
}
323277
}
324-
325-
@media (max-width: 1024px) {
326-
.nav-secondary-tabs.affix-top {
327-
position: fixed;
328-
top: 0;
329-
}
330-
}

0 commit comments

Comments
 (0)