Skip to content

Commit b44a175

Browse files
author
jordanmccullough
committed
Final color adjustment to checkbox override
1 parent 02e6e3f commit b44a175

File tree

2 files changed

+29
-15
lines changed

2 files changed

+29
-15
lines changed

_stylesheets/curriculum.css

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,34 @@
2929
height: 0;
3030
width: 0; }
3131
.slide-only-check:checked + label {
32-
color: #454545; }
32+
color: #1875c6; }
3333
.slide-only-check:checked + label:before {
3434
content: '\f03a';
3535
color: white;
36-
background-color: #5a5a5a;
37-
box-shadow: 0 0 0 2px #5a5a5a; }
36+
background-color: #1875c6;
37+
box-shadow: 0 0 0 2px #1875c6;
38+
padding-left: 0px;
39+
line-height: 1em; }
3840

3941
.slides-only-label {
40-
color: rgba(69, 69, 69, 0.5); }
42+
color: rgba(69, 69, 69, 0.5);
43+
line-height: 18px;
44+
padding-left: 25px; }
4145
.slides-only-label:before {
4246
content: '\f03a';
4347
font: normal normal normal 16px/1 octicons;
4448
text-align: center;
49+
position: absolute;
50+
left: 0;
4551
display: inline-block;
4652
border-radius: 50%;
4753
color: rgba(69, 69, 69, 0);
4854
-webkit-transition: all 180ms;
49-
margin-right: 5px;
50-
width: 1em;
51-
height: 1em;
52-
box-shadow: 0 0 0 2px #f3f3f3; }
55+
padding-left: 5px;
56+
width: 18px;
57+
height: 18px;
58+
box-shadow: 0 0 0 2px rgba(69, 69, 69, 0.5);
59+
line-height: .2em; }
5360

5461
.timer-wrapper {
5562
background: rgba(255, 255, 255, 0.93);

_stylesheets/curriculum.scss

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,32 +56,39 @@ $mono-dark: #454545;
5656
width: 0;
5757

5858
&:checked + label{
59-
color: $mono-dark;
59+
color: $color-dark;
6060

6161
&:before{
6262
content: '\f03a';
6363
color: rgba($mono-bright, 1);
64-
background-color: $mono-medium;
65-
box-shadow: 0 0 0 2px $mono-medium;
64+
background-color: $color-dark;
65+
box-shadow: 0 0 0 2px $color-dark;
66+
padding-left: 0px;
67+
line-height: 1em;
6668
}
6769
}
6870
}
6971

7072
.slides-only-label{
7173
color: rgba($mono-dark, .5);
74+
line-height: 18px;
75+
padding-left: 25px;
7276

7377
&:before{
7478
content: '\f03a';
7579
font: normal normal normal 16px/1 octicons;
7680
text-align: center;
81+
position: absolute;
82+
left: 0;
7783
display: inline-block;
7884
border-radius: 50%;
7985
color: rgba($mono-dark, 0);
8086
-webkit-transition: all 180ms;
81-
margin-right: 5px;
82-
width: 1em;
83-
height: 1em;
84-
box-shadow: 0 0 0 2px $mono-light;
87+
padding-left: 5px;
88+
width: 18px;
89+
height: 18px;
90+
box-shadow: 0 0 0 2px rgba($mono-dark, .5);
91+
line-height: .2em;
8592
}
8693
}
8794

0 commit comments

Comments
 (0)