File tree Expand file tree Collapse file tree 3 files changed +80
-6
lines changed
Expand file tree Collapse file tree 3 files changed +80
-6
lines changed Original file line number Diff line number Diff line change 88 < div class ="timer-toggle ">
99 < span class ="octicon octicon-clock "> </ span >
1010 </ div >
11-
1211 < div class ="timer-amount ">
1312 < input type ="number " id ="minutes " name ="minutes " min ="1 " max ="20 " value ="5 " placeholder ="min " class ="form-control ">
1413 <!-- <input type="number" id="seconds" name="seconds" min="1" max="60" value="0" placeholder="sec" class="form-control"> -->
1514 < button id ="start-stop " type ="submit " class ="btn btn-default "> Start</ button >
1615 </ div >
17-
1816 < div class ="timer-content ">
1917 < span class ="time-left " id ="time-left "> </ span >
2018 </ div >
21-
22-
2319 </ div >
2420</ div >
2521
7672 < div id ="toc " data-spy ="affix " data-offset-top ="145 ">
7773 < ul id ="toc-list " class ="nav nav-pills nav-stacked " role ="tablist ">
7874 < li >
79- < label for ="slide-only-toggle "> Show Slides Only</ label >
80- < input type ="checkbox " name ="slide-only " id ="slide-only-toggle " value ="true ">
75+
76+
77+ </ li >
78+ </ ul >
79+ < ul class ="nav display-controls ">
80+ < li >
81+ < input type ="checkbox " name ="slide-only " id ="slide-only-toggle " class ="slide-only-check " value ="true ">
82+ < label id ="slides-only " for ="slide-only-toggle " class ="slides-only-label "> Slides Only</ label >
8183 </ li >
8284 </ ul >
8385 </ div >
Original file line number Diff line number Diff line change 1919 .fade-out .timer-amount {
2020 visibility : hidden; }
2121
22+ .display-controls {
23+ border-top : solid 2px # f3f3f3 ;
24+ margin-top : 5px ;
25+ padding-top : 10px ; }
26+
27+ .slide-only-check {
28+ visibility : hidden;
29+ height : 0 ;
30+ width : 0 ; }
31+ .slide-only-check : checked + label {
32+ color : # 454545 ; }
33+ .slide-only-check : checked + label : before {
34+ content : '\f03a' ;
35+ color : white;
36+ background-color : # 5a5a5a ;
37+ box-shadow : 0 0 0 2px # 5a5a5a ; }
38+
39+ .slides-only-label {
40+ color : rgba (69 , 69 , 69 , 0.5 ); }
41+ .slides-only-label : before {
42+ content : '\f03a' ;
43+ font : normal normal normal 16 px/1 octicons;
44+ text-align : center;
45+ display : inline-block;
46+ border-radius : 50% ;
47+ color : rgba (69 , 69 , 69 , 0 );
48+ -webkit-transition : all 180ms ;
49+ margin-right : 5px ;
50+ width : 1em ;
51+ height : 1em ;
52+ box-shadow : 0 0 0 2px # f3f3f3 ; }
53+
2254.timer-wrapper {
2355 background : rgba (255 , 255 , 255 , 0.93 );
2456 height : 100% ;
Original file line number Diff line number Diff line change @@ -42,7 +42,47 @@ $mono-dark: #454545;
4242 .timer-amount {
4343 visibility : hidden ;
4444 }
45+ }
46+
47+ .display-controls {
48+ border-top : solid 2px $mono-light ;
49+ margin-top : 5px ;
50+ padding-top : 10px ;
51+ }
52+
53+ .slide-only-check {
54+ visibility : hidden ;
55+ height : 0 ;
56+ width : 0 ;
57+
58+ & :checked + label {
59+ color : $mono-dark ;
60+
61+ & :before {
62+ content : ' \f03a ' ;
63+ color : rgba ($mono-bright , 1 );
64+ background-color : $mono-medium ;
65+ box-shadow : 0 0 0 2px $mono-medium ;
66+ }
67+ }
68+ }
4569
70+ .slides-only-label {
71+ color : rgba ($mono-dark , .5 );
72+
73+ & :before {
74+ content : ' \f03a ' ;
75+ font : normal normal normal 16px / 1 octicons;
76+ text-align : center ;
77+ display : inline-block ;
78+ border-radius : 50% ;
79+ color : rgba ($mono-dark , 0 );
80+ -webkit-transition : all 180ms ;
81+ margin-right : 5px ;
82+ width : 1em ;
83+ height : 1em ;
84+ box-shadow : 0 0 0 2px $mono-light ;
85+ }
4686}
4787
4888.timer-wrapper {
You can’t perform that action at this time.
0 commit comments