mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
chore(stylelint): remove sass-lint/scss-lint in favor of stylelint
- remove scss-lint and sass-lint - add stylelint and stylelint-order packages and configuration - update all *.scss files to new syntax fixes #14805
This commit is contained in:
committed by
Cam Wiegert
parent
771c47f109
commit
7a8d5f68d2
@ -5,13 +5,12 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
font-family: $textarea-ios-font-family;
|
||||
font-size: $textarea-ios-font-size;
|
||||
|
||||
--padding-top: #{$textarea-ios-padding-top};
|
||||
--padding-end: #{$textarea-ios-padding-end};
|
||||
--padding-bottom: #{$textarea-ios-padding-bottom};
|
||||
--padding-start: #{$textarea-ios-padding-start};
|
||||
|
||||
--placeholder-color: #{$textarea-ios-placeholder-color};
|
||||
|
||||
font-family: $textarea-ios-font-family;
|
||||
font-size: $textarea-ios-font-size;
|
||||
}
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
@import "../../themes/ionic.globals.ios";
|
||||
|
||||
@import "../item/item.ios.vars";
|
||||
|
||||
// iOS Textarea
|
||||
|
||||
@ -5,13 +5,12 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
font-family: $textarea-md-font-family;
|
||||
font-size: $textarea-md-font-size;
|
||||
|
||||
--padding-top: #{$textarea-md-padding-top};
|
||||
--padding-end: #{$textarea-md-padding-end};
|
||||
--padding-bottom: #{$textarea-md-padding-bottom};
|
||||
--padding-start: #{$textarea-md-padding-start};
|
||||
|
||||
--placeholder-color: #{$textarea-md-placeholder-color};
|
||||
|
||||
font-family: $textarea-md-font-family;
|
||||
font-size: $textarea-md-font-size;
|
||||
}
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
@import "../../themes/ionic.globals.md";
|
||||
|
||||
@import "../item/item.md.vars";
|
||||
|
||||
// Material Design Textarea
|
||||
|
||||
@ -4,20 +4,19 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
display: block;
|
||||
|
||||
flex: 1;
|
||||
|
||||
width: 100%;
|
||||
|
||||
--padding-top: 0;
|
||||
--padding-end: 0;
|
||||
--padding-bottom: 0;
|
||||
--padding-start: 0;
|
||||
|
||||
--border-radius: 0;
|
||||
|
||||
display: block;
|
||||
position: relative;
|
||||
|
||||
flex: 1;
|
||||
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
// Textarea Within An Item
|
||||
@ -37,7 +36,6 @@
|
||||
@include margin(0);
|
||||
@include padding(var(--padding-top), var(--padding-end), var(--padding-bottom), var(--padding-start));
|
||||
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
|
||||
width: 100%;
|
||||
@ -46,13 +44,15 @@
|
||||
border: 0;
|
||||
|
||||
outline: none;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
font-weight: inherit;
|
||||
letter-spacing: inherit;
|
||||
|
||||
background: transparent;
|
||||
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
font-weight: inherit;
|
||||
|
||||
letter-spacing: inherit;
|
||||
box-sizing: border-box;
|
||||
resize: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user