Skip to content

Commit 626af9e

Browse files
author
Victor George
committed
Specification style fixes.
1 parent d8f71b6 commit 626af9e

File tree

4 files changed

+48
-21
lines changed

4 files changed

+48
-21
lines changed

src/components/FooterV2/FooterV2.scss

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,26 @@
22

33
.footer-v2 {
44
@include roboto;
5-
font-size: $tc-label-md;
5+
font-size: $tc-label-xs;
66
color: $tc-gray-50;
77
line-height: $base-unit*6;
8-
padding: 0 $base-unit*4;
8+
padding: 0 10px;
99
margin-top: $base-unit*2;
10+
1011
li {
1112
display: inline-block;
1213
}
13-
li:not(:first-child)::before{
14-
content: " · ";
14+
15+
li:not(:first-child)::before {
16+
content: ""; // U+00B7
1517
padding-left: $base-unit;
1618
}
17-
a:hover{
19+
20+
a:hover {
1821
color: $tc-dark-blue;
1922
}
2023

2124
.footer-copyright {
22-
color: $tc-gray-30;
25+
color: $tc-gray-50;
2326
}
2427
}

src/projects/detail/components/ProjectSpecSidebar.scss

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
//TODO Additional variables - need to find a home for these
44
// FIXME: remove non-standard variables! Deep nesting, non-standard line-height;
55
// FIXME: non-standard units (use $base-unit and $corner-radius)
6-
76
$gray-color: $tc-gray-50;
87
$title-color: $tc-gray-80;
9-
$hr-color-base : #000;
10-
$hr-color-darker : lighten($hr-color-base, 13.5%);
11-
$hr-color-dark : lighten($hr-color-base, 20%);
12-
$hr-color : lighten($hr-color-base, 33.5%);
13-
$hr-color-light : lighten($hr-color-base, 46.7%);
8+
$hr-color-base: #000;
9+
$hr-color-darker: lighten($hr-color-base, 13.5%);
10+
$hr-color-dark: lighten($hr-color-base, 20%);
11+
$hr-color: lighten($hr-color-base, 33.5%);
12+
$hr-color-light: lighten($hr-color-base, 46.7%);
1413
$hr-color-lighter: lighten($hr-color-base, 93.5%);
1514

1615
.projectSpecSidebar {
@@ -20,7 +19,8 @@ $hr-color-lighter: lighten($hr-color-base, 93.5%);
2019
box-shadow: 0px 1px 3px 0px $tc-gray-30;
2120
padding: 20px 0;
2221
border-radius: 4px;
23-
min-width: 100px;
22+
min-width: 280px;
23+
2424
.titles {
2525
@include roboto-medium;
2626
font-size: 12px;
@@ -29,13 +29,15 @@ $hr-color-lighter: lighten($hr-color-base, 93.5%);
2929
padding: 6px 0;
3030
margin: 0 20px;
3131
text-transform: uppercase;
32+
3233
&.normal-txt {
3334
color: #262628;
3435
}
3536
}
3637
/* .text-box 8/29 */
3738
.text-box {
3839
margin: 0 20px;
40+
3941
hr {
4042
display: block;
4143
height: 1px;
@@ -44,6 +46,7 @@ $hr-color-lighter: lighten($hr-color-base, 93.5%);
4446
margin: 1em 0;
4547
padding: 0;
4648
}
49+
4750
p {
4851
@include roboto;
4952
font-size: 13px;
@@ -56,11 +59,13 @@ $hr-color-lighter: lighten($hr-color-base, 93.5%);
5659
margin-top: 20px;
5760
text-align: center;
5861
}
62+
5963
&.no-number {
6064
.list-group {
6165
.title {
6266
padding-left: 0;
6367
}
68+
6469
li {
6570
.boxs {
6671
padding: 0 20px;

src/projects/detail/containers/Specification.scss

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
//TODO Additional variables - need to find a home for these
44
$gray-color: $tc-gray-50;
55
$title-color: $tc-gray-80;
6+
$sideBarWidth: 280px;
67

78
@mixin flexBox {
89
display: box;
@@ -169,16 +170,16 @@ $title-color: $tc-gray-80;
169170
background-color: transparent;
170171
display: flex;
171172
padding: 0px;
172-
width: 1110px;
173+
max-width: 1110px;
173174
margin: 20px auto;
174175
/* .left-area */
175176
.left-area {
176-
@include flexWidth(1);
177+
flex: auto;
177178

178179
.left-area-footer {
179180
@include roboto;
180-
padding: 0 40px 0 20px;
181-
font-size: 13px;
181+
padding: 0 10px;
182+
font-size: 11px;
182183
line-height: 30px;
183184
color: $tc-gray-50;
184185

@@ -206,10 +207,10 @@ $title-color: $tc-gray-80;
206207
padding: 0 0 70px 0;
207208
margin-bottom: 20px;
208209
border-radius: 4px;
209-
background-color: #fff;
210+
background-color: $tc-white;
210211

211212
.boxes {
212-
margin: 0 6%;
213+
margin: 0 50px;
213214
}
214215

215216
.big-titles {
@@ -218,7 +219,7 @@ $title-color: $tc-gray-80;
218219
color: $tc-gray-70;
219220
line-height: 30px;
220221
padding: 30px 0 30px 6%;
221-
margin: 0 -6.75% 20px;
222+
margin: 0 -50px 20px;
222223
border-radius: 4px 4px 0 0;
223224
background: $tc-gray-neutral-light;
224225
border-bottom: 1px dashed $tc-gray-20;
@@ -336,6 +337,7 @@ $title-color: $tc-gray-80;
336337
}
337338
}
338339
}
340+
339341
/* .section-features-module */
340342
.section-features-module {
341343
&.open {
@@ -789,6 +791,23 @@ $title-color: $tc-gray-80;
789791
}
790792
}
791793

794+
.two-col-content.specificationContainer {
795+
padding: 0 20px;
796+
min-width: 960px;
797+
max-width: 1120px;
798+
width: auto;
799+
margin: 0 auto;
800+
801+
.left-area {
802+
min-width: $sideBarWidth;
803+
margin-right: 20px;
804+
}
805+
806+
.right-area {
807+
min-width: 500px;
808+
}
809+
}
810+
792811
.tc-link {
793812
@include roboto;
794813
}

src/projects/detail/containers/SpecificationContainer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class SpecificationContainer extends Component {
5656
let sections = require(`../../../config/projectQuestions/${specification}`).default
5757

5858
return (
59-
<section className="two-col-content content">
59+
<section className="two-col-content content specificationContainer">
6060
<div className="container">
6161
<div className="left-area">
6262
<Sticky top={80}>

0 commit comments

Comments
 (0)