@@ -17,10 +17,10 @@ See the License for the specific language governing permissions and
1717limitations under the License.
1818*/
1919
20- @import " ./_font-sizes.scss " ;
21- @import " ./_font-weights.scss " ;
22- @import " ./_animations.scss " ;
23- @import " ./_spacing.scss " ;
20+ @import "./_font-sizes.pcss " ;
21+ @import "./_font-weights.pcss " ;
22+ @import "./_animations.pcss " ;
23+ @import "./_spacing.pcss " ;
2424@import url("maplibre-gl/dist/maplibre-gl.css" );
2525
2626$hover-transition : 0.08 s cubic-bezier (.46 , .03 , .52 , .96 ); // quadratic
@@ -112,35 +112,35 @@ a:visited {
112112 color : $accent-alt ;
113113}
114114
115- input [type = text ],
116- input [type = search ],
117- input [type = password ] {
115+ input [type=" text" ] ,
116+ input [type=" search" ] ,
117+ input [type=" password" ] {
118118 font-family : inherit;
119119 padding : 9 px ;
120120 font-size : $font-14px ;
121121 font-weight : 600 ;
122122 min-width : 0 ;
123123}
124124
125- input [type = text ].mx_textinput_icon ,
126- input [type = search ].mx_textinput_icon {
125+ input [type=" text" ] .mx_textinput_icon ,
126+ input [type=" search" ] .mx_textinput_icon {
127127 padding-left : 36 px ;
128128 background-repeat : no-repeat;
129129 background-position : 10 px center;
130130}
131131
132132// FIXME THEME - Tint by CSS rather than referencing a duplicate asset
133- input [type = text ].mx_textinput_icon.mx_textinput_search ,
134- input [type = search ].mx_textinput_icon.mx_textinput_search {
133+ input [type=" text" ] .mx_textinput_icon.mx_textinput_search ,
134+ input [type=" search" ] .mx_textinput_icon.mx_textinput_search {
135135 background-image : url('$(res)/img/feather-customised/search-input.svg' );
136136}
137137
138138// dont search UI as not all browsers support it,
139139// we implement it ourselves where needed instead
140- input [type = search ]::-webkit-search-decoration ,
141- input [type = search ]::-webkit-search-cancel-button ,
142- input [type = search ]::-webkit-search-results-button ,
143- input [type = search ]::-webkit-search-results-decoration {
140+ input [type=" search" ] ::-webkit-search-decoration ,
141+ input [type=" search" ] ::-webkit-search-cancel-button ,
142+ input [type=" search" ] ::-webkit-search-results-button ,
143+ input [type=" search" ] ::-webkit-search-results-decoration {
144144 display : none;
145145}
146146
@@ -150,7 +150,7 @@ textarea::placeholder {
150150 opacity : initial;
151151}
152152
153- input [type = text ], input [type = password ], textarea {
153+ input [type=" text" ] , input [type=" password" ] , textarea {
154154 background-color : transparent;
155155 color : $primary-content ;
156156}
@@ -160,7 +160,7 @@ textarea {
160160 color : $primary-content ;
161161}
162162
163- input [type = text ]:focus , input [type = password ]:focus , textarea :focus {
163+ input [type=" text" ] :focus , input [type=" password" ] :focus , textarea:focus {
164164 outline : none;
165165 box-shadow : none;
166166}
@@ -194,15 +194,15 @@ legend {
194194// appear to be part of the input
195195
196196.mx_Dialog , .mx_MatrixChat_wrapper {
197- .mx_textinput > input [type = text ],
198- .mx_textinput > input [type = search ] {
197+ .mx_textinput > input [type=" text" ] ,
198+ .mx_textinput > input [type=" search" ] {
199199 border : none;
200200 flex : 1 ;
201201 color : $primary-content ;
202202 }
203203
204- :not (.mx_textinput ):not (.mx_Field ):not (.mx_no_textinput ) > input [type = text ],
205- :not (.mx_textinput ):not (.mx_Field ):not (.mx_no_textinput ) > input [type = search ],
204+ :not (.mx_textinput):not (.mx_Field):not (.mx_no_textinput) > input[type= " text" ],
205+ :not (.mx_textinput):not (.mx_Field):not (.mx_no_textinput) > input[type= " search" ],
206206 .mx_textinput {
207207 display : block;
208208 box-sizing : border-box;
@@ -219,8 +219,8 @@ legend {
219219 align-items : center;
220220 }
221221
222- :not (.mx_textinput ):not (.mx_Field ):not (.mx_no_textinput ) > input [type = text ]::placeholder ,
223- :not (.mx_textinput ):not (.mx_Field ):not (.mx_no_textinput ) > input [type = search ]::placeholder ,
222+ :not (.mx_textinput):not (.mx_Field):not (.mx_no_textinput) > input[type= " text" ]::placeholder,
223+ :not (.mx_textinput):not (.mx_Field):not (.mx_no_textinput) > input[type= " search" ]::placeholder,
224224 .mx_textinput input::placeholder {
225225 color : rgba ($input-darker-fg-color , .75 );
226226 }
@@ -230,8 +230,8 @@ legend {
230230.dark-panel {
231231 background-color : $dark-panel-bg-color ;
232232
233- :not (.mx_textinput ):not (.mx_Field ):not (.mx_no_textinput ) > input [type = text ],
234- :not (.mx_textinput ):not (.mx_Field ):not (.mx_no_textinput ) > input [type = search ],
233+ :not (.mx_textinput):not (.mx_Field):not (.mx_no_textinput) > input[type= " text" ],
234+ :not (.mx_textinput):not (.mx_Field):not (.mx_no_textinput) > input[type= " search" ],
235235 .mx_textinput {
236236 color : $input-darker-fg-color ;
237237 background-color : $background ;
@@ -240,8 +240,8 @@ legend {
240240}
241241
242242.light-panel {
243- :not (.mx_textinput ):not (.mx_Field ):not (.mx_no_textinput ) > input [type = text ],
244- :not (.mx_textinput ):not (.mx_Field ):not (.mx_no_textinput ) > input [type = search ],
243+ :not (.mx_textinput):not (.mx_Field):not (.mx_no_textinput) > input[type= " text" ],
244+ :not (.mx_textinput):not (.mx_Field):not (.mx_no_textinput) > input[type= " search" ],
245245 .mx_textinput {
246246 color : $input-darker-fg-color ;
247247 background-color : $input-lighter-bg-color ;
@@ -517,7 +517,7 @@ legend {
517517 * Elements that should not be styled like a dialog button are mentioned in a :not() pseudo-class.
518518 * For the widest browser support, we use multiple :not pseudo-classes instead of :not(.a, .b).
519519 */
520- .mx_Dialog button :not (.mx_Dialog_nonDialogButton ):not ([class |= maplibregl ]):not (.mx_AccessibleButton ),
520+ .mx_Dialog button:not (.mx_Dialog_nonDialogButton ):not ([class|=" maplibregl" ] ):not (.mx_AccessibleButton ),
521521.mx_Dialog input [type="submit" ] ,
522522.mx_Dialog_buttons button:not (.mx_Dialog_nonDialogButton ):not (.mx_AccessibleButton ),
523523.mx_Dialog_buttons input [type="submit" ] {
@@ -534,25 +534,25 @@ legend {
534534 font-family : inherit;
535535}
536536
537- .mx_Dialog button :not (.mx_Dialog_nonDialogButton ):not ([class |= maplibregl ]):not (.mx_AccessibleButton ):last-child {
537+ .mx_Dialog button:not (.mx_Dialog_nonDialogButton ):not ([class|=" maplibregl" ] ):not (.mx_AccessibleButton ):last-child {
538538 margin-right : 0 px ;
539539}
540540
541- .mx_Dialog button :not (.mx_Dialog_nonDialogButton ):not ([class |= maplibregl ]):not (.mx_AccessibleButton ):hover ,
541+ .mx_Dialog button:not (.mx_Dialog_nonDialogButton ):not ([class|=" maplibregl" ] ):not (.mx_AccessibleButton ):hover ,
542542.mx_Dialog input [type="submit" ] :hover ,
543543.mx_Dialog_buttons button:not (.mx_Dialog_nonDialogButton ):not (.mx_AccessibleButton ):hover ,
544544.mx_Dialog_buttons input [type="submit" ] :hover {
545545 @mixin mx_DialogButton_hover ;
546546}
547547
548- .mx_Dialog button :not (.mx_Dialog_nonDialogButton ):not ([class |= maplibregl ]):not (.mx_AccessibleButton ):focus ,
548+ .mx_Dialog button:not (.mx_Dialog_nonDialogButton ):not ([class|=" maplibregl" ] ):not (.mx_AccessibleButton ):focus ,
549549.mx_Dialog input [type="submit" ] :focus ,
550550.mx_Dialog_buttons button:not (.mx_Dialog_nonDialogButton ):not (.mx_AccessibleButton ):focus ,
551551.mx_Dialog_buttons input [type="submit" ] :focus {
552552 filter : brightness ($focus-brightness );
553553}
554554
555- .mx_Dialog button .mx_Dialog_primary :not (.mx_Dialog_nonDialogButton ):not ([class |= maplibregl ]),
555+ .mx_Dialog button .mx_Dialog_primary:not (.mx_Dialog_nonDialogButton ):not ([class|=" maplibregl" ] ),
556556.mx_Dialog input [type="submit" ] .mx_Dialog_primary ,
557557.mx_Dialog_buttons button .mx_Dialog_primary:not (.mx_Dialog_nonDialogButton ):not (.mx_AccessibleButton ),
558558.mx_Dialog_buttons input [type="submit" ] .mx_Dialog_primary {
@@ -561,7 +561,7 @@ legend {
561561 min-width : 156 px ;
562562}
563563
564- .mx_Dialog button .danger :not (.mx_Dialog_nonDialogButton ):not ([class |= maplibregl ]),
564+ .mx_Dialog button .danger:not (.mx_Dialog_nonDialogButton ):not ([class|=" maplibregl" ] ),
565565.mx_Dialog input [type="submit" ] .danger ,
566566.mx_Dialog_buttons button .danger:not (.mx_Dialog_nonDialogButton ):not (.mx_AccessibleButton ),
567567.mx_Dialog_buttons input [type="submit" ] .danger {
@@ -570,13 +570,13 @@ legend {
570570 color : $accent-fg-color ;
571571}
572572
573- .mx_Dialog button .warning :not (.mx_Dialog_nonDialogButton ):not ([class |= maplibregl ]),
573+ .mx_Dialog button .warning:not (.mx_Dialog_nonDialogButton ):not ([class|=" maplibregl" ] ),
574574.mx_Dialog input [type="submit" ] .warning {
575575 border : solid 1 px $alert ;
576576 color : $alert ;
577577}
578578
579- .mx_Dialog button :not (.mx_Dialog_nonDialogButton ):not ([class |= maplibregl ]):not (.mx_AccessibleButton ):disabled ,
579+ .mx_Dialog button:not (.mx_Dialog_nonDialogButton ):not ([class|=" maplibregl" ] ):not (.mx_AccessibleButton ):disabled ,
580580.mx_Dialog input [type="submit" ] :disabled ,
581581.mx_Dialog_buttons button:not (.mx_Dialog_nonDialogButton ):not (.mx_AccessibleButton ):disabled ,
582582.mx_Dialog_buttons input [type="submit" ] :disabled {
0 commit comments