Skip to content

Commit a04704f

Browse files
committed
Add explanation to commented out code
1 parent c649d42 commit a04704f

1 file changed

Lines changed: 42 additions & 34 deletions

File tree

src/styles/mixins/_button.scss

Lines changed: 42 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -55,28 +55,32 @@
5555
}
5656
}
5757

58-
// @else if $color == blue-dark-bg {
59-
// box-shadow: inset 0px 1px 0px 0px #456c8e, 0px 2px 3px 1px rgba(0,0,0,.05);
58+
/**
59+
* Currently goes unused. Kept to illustrate the intention behind this file
60+
* for future readers.
61+
@else if $color == blue-dark-bg {
62+
box-shadow: inset 0px 1px 0px 0px #456c8e, 0px 2px 3px 1px rgba(0,0,0,.05);
6063
61-
// background: linear-gradient(#3a5e7e, #2c9966);
64+
background: linear-gradient(#3a5e7e, #2c9966);
6265
63-
// border: variables.$thin-border-stroke variables.$dark-bg-border-color;
66+
border: variables.$thin-border-stroke variables.$dark-bg-border-color;
6467
65-
// &:hover {
66-
// cursor: pointer;
67-
// background: linear-gradient(color.adjust(#3a5e7e, $lightness: 5%), color.adjust(#2c9966, $lightness: -10%));
68-
// }
68+
&:hover {
69+
cursor: pointer;
70+
background: linear-gradient(color.adjust(#3a5e7e, $lightness: 5%), color.adjust(#2c9966, $lightness: -10%));
71+
}
6972
70-
// &:focus {
71-
// cursor: pointer;
72-
// background: linear-gradient(color.adjust(#3a5e7e, $lightness: 5%), color.adjust(#2c9966, $lightness: -10%));
73-
// }
73+
&:focus {
74+
cursor: pointer;
75+
background: linear-gradient(color.adjust(#3a5e7e, $lightness: 5%), color.adjust(#2c9966, $lightness: -10%));
76+
}
7477
75-
// &:active {
76-
// cursor: pointer;
77-
// box-shadow: inset 0px 3px 10px 1px color.adjust(#2c9966, $lightness: -3%);
78-
// }
79-
// }
78+
&:active {
79+
cursor: pointer;
80+
box-shadow: inset 0px 3px 10px 1px color.adjust(#2c9966, $lightness: -3%);
81+
}
82+
}
83+
*/
8084

8185
@else if $color == green {
8286
box-shadow: inset 0px 1px 0px 0px variables.$primary-color-green-light-1, 0px 2px 3px 1px rgba(0,0,0,.05);
@@ -102,28 +106,32 @@
102106
}
103107
}
104108

105-
// @else if $color == blue {
106-
// box-shadow: inset 0px 1px 0px 0px #456c8e, 0px 2px 3px 1px rgba(0,0,0,.05);
109+
/**
110+
* Currently goes unused. Kept to illustrate the intention behind this file
111+
* for future readers.
112+
@else if $color == blue {
113+
box-shadow: inset 0px 1px 0px 0px #456c8e, 0px 2px 3px 1px rgba(0,0,0,.05);
107114
108-
// background: linear-gradient(#3a5e7e, #2c9966);
115+
background: linear-gradient(#3a5e7e, #2c9966);
109116
110-
// border: variables.$thin-border-stroke variables.$dark-bg-border-color;
117+
border: variables.$thin-border-stroke variables.$dark-bg-border-color;
111118
112-
// &:hover {
113-
// cursor: pointer;
114-
// background: linear-gradient(color.adjust(#3a5e7e, $lightness: -1%), color.adjust(#2c9966, $lightness: -10%));
115-
// }
119+
&:hover {
120+
cursor: pointer;
121+
background: linear-gradient(color.adjust(#3a5e7e, $lightness: -1%), color.adjust(#2c9966, $lightness: -10%));
122+
}
116123
117-
// &:focus {
118-
// cursor: pointer;
119-
// background: linear-gradient(color.adjust(#3a5e7e, $lightness: -1%), color.adjust(#2c9966, $lightness: -10%));
120-
// }
124+
&:focus {
125+
cursor: pointer;
126+
background: linear-gradient(color.adjust(#3a5e7e, $lightness: -1%), color.adjust(#2c9966, $lightness: -10%));
127+
}
121128
122-
// &:active {
123-
// cursor: pointer;
124-
// box-shadow: inset 0 3px 10px 1px color.adjust(#2c9966, $lightness: -3%);
125-
// }
126-
// }
129+
&:active {
130+
cursor: pointer;
131+
box-shadow: inset 0 3px 10px 1px color.adjust(#2c9966, $lightness: -3%);
132+
}
133+
}
134+
*/
127135

128136
@else if $color == lightblue {
129137

0 commit comments

Comments
 (0)