File tree Expand file tree Collapse file tree 2 files changed +23
-9
lines changed
src/projects/detail/components/FeatureSelector Expand file tree Collapse file tree 2 files changed +23
-9
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ class DefaultFeatureForm extends Component {
6868 onChange = { this . toggleFeature }
6969 name = "featue-active"
7070 checked = { isActive }
71+ label = "Enable feature"
7172 />
7273 </ div >
7374 < div className = "feature-form-content" >
Original file line number Diff line number Diff line change 1212 background-color : $tc-gray-neutral-dark ;
1313 }
1414 }
15-
15+
1616 .feature-title-row {
1717 display : flex ;
1818 justify-content : space-between ;
1919 margin-bottom : 4 * $base-unit ;
2020 padding-bottom : 2 * $base-unit ;
2121 border-bottom : 1px solid $tc-gray-10 ;
22-
22+
2323 .title {
2424 @include tc-heading ;
2525 @include roboto-medium ;
26-
2726 flex : 1 ;
2827 color : $tc-black ;
2928 white-space : nowrap ;
5655 }
5756
5857 .feature-form-content {
59-
6058 .feature-description {
6159 @include roboto ;
6260 font-size : $tc-body-md ;
6563 color : $tc-gray-50 ;
6664 margin : 4 * $base-unit 0px ;
6765 }
68-
66+
6967 .predefined-feature-form ,
7068 .custom-feature-form {
71-
7269 .feature-notes {
7370 label {
7471 @include tc-label-md ;
10299 .feature-form-actions {
103100 display : flex ;
104101 justify-content : center ;
105-
102+
106103 button + button {
107104 margin-left : 4 * $base-unit ;
108105 }
122119 }
123120 }
124121 }
125-
122+
126123 .description {
127124 textarea {
128125 margin-top : 64px ;
129126 height : 150px ;
130127 }
131128 }
132- }
129+
130+ // Switch button extensions
131+ .SwitchButton {
132+ .label {
133+ cursor : pointer ;
134+ transition : color 200ms ease-in-out ;
135+ -moz-user-select : none ;
136+ -webkit-user-select : none ;
137+ -ms-user-select : none ;
138+ user-select : none ;
139+ }
140+
141+ & :hover .label {
142+ color : $tc-black ;
143+ }
144+ }
145+ }
You can’t perform that action at this time.
0 commit comments