mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
style: update code order for Sass
Due to https://sass-lang.com/documentation/breaking-changes/mixed-decls/
This commit is contained in:
@ -31,6 +31,10 @@
|
|||||||
// -------------------------------------------------------------------------------
|
// -------------------------------------------------------------------------------
|
||||||
|
|
||||||
@mixin ionic-link {
|
@mixin ionic-link {
|
||||||
|
color: globals.$ionic-color-info-400;
|
||||||
|
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
@include link-shared;
|
@include link-shared;
|
||||||
|
|
||||||
// Link: Standalone - Hover
|
// Link: Standalone - Hover
|
||||||
@ -42,10 +46,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
color: globals.$ionic-color-info-400;
|
|
||||||
|
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
// Link: Standalone - Focus
|
// Link: Standalone - Focus
|
||||||
// -------------------------------------------------------------------------------
|
// -------------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -77,6 +77,10 @@ a.ionic-link,
|
|||||||
// -------------------------------------------------------------------------------
|
// -------------------------------------------------------------------------------
|
||||||
|
|
||||||
@mixin ionic-link-underline {
|
@mixin ionic-link-underline {
|
||||||
|
color: currentColor;
|
||||||
|
|
||||||
|
text-decoration: underline;
|
||||||
|
|
||||||
@include link-shared;
|
@include link-shared;
|
||||||
|
|
||||||
// Link: Underline - Hover
|
// Link: Underline - Hover
|
||||||
@ -88,10 +92,6 @@ a.ionic-link,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
color: currentColor;
|
|
||||||
|
|
||||||
text-decoration: underline;
|
|
||||||
|
|
||||||
// Link: Underline - Focus
|
// Link: Underline - Focus
|
||||||
// -------------------------------------------------------------------------------
|
// -------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user