diff --git a/src/definitions/elements/button.less b/src/definitions/elements/button.less index 8545c890b3..40bfa6ceac 100755 --- a/src/definitions/elements/button.less +++ b/src/definitions/elements/button.less @@ -215,9 +215,7 @@ } .ui.animated.button .content { - will-change: - transform, - opacity; + will-change: transform, opacity; } .ui.animated.button .visible.content { position: relative; diff --git a/src/definitions/modules/dropdown.less b/src/definitions/modules/dropdown.less index fff25be684..956c388097 100755 --- a/src/definitions/modules/dropdown.less +++ b/src/definitions/modules/dropdown.less @@ -58,9 +58,7 @@ border-radius: @menuBorderRadius; transition: @menuTransition; z-index: @menuZIndex; - will-change: - transform, - opacity; + will-change: transform, opacity; } .ui.dropdown .menu > * { diff --git a/src/definitions/modules/modal.less b/src/definitions/modules/modal.less index 28ac5e4733..f123a88716 100755 --- a/src/definitions/modules/modal.less +++ b/src/definitions/modules/modal.less @@ -33,12 +33,7 @@ flex: 0 0 auto; border-radius: @borderRadius; user-select: text; - will-change: - top, - left, - margin, - transform, - opacity; + will-change: top, left, margin, transform, opacity; outline: none; } diff --git a/src/definitions/modules/toast.less b/src/definitions/modules/toast.less index 98a55f1adb..645e239fe4 100644 --- a/src/definitions/modules/toast.less +++ b/src/definitions/modules/toast.less @@ -126,9 +126,7 @@ margin-bottom: @toastBoxMarginBottom; border-radius: @defaultBorderRadius; cursor: default; - will-change: - transform, - opacity; + will-change: transform, opacity; &:hover { opacity: @toastOpacityOnHover; } diff --git a/src/themes/bookish/elements/header.variables b/src/themes/bookish/elements/header.variables index 11ae801668..698f948bfa 100644 --- a/src/themes/bookish/elements/header.variables +++ b/src/themes/bookish/elements/header.variables @@ -2,10 +2,7 @@ Header -------------------- */ -@headerFont: - "Karma", - "Times New Roman", - serif; +@headerFont: "Karma", "Times New Roman", serif; @fontWeight: @normal; @iconSize: 1.5em; diff --git a/src/themes/chubby/elements/button.variables b/src/themes/chubby/elements/button.variables index b4a55bd748..0a20968019 100644 --- a/src/themes/chubby/elements/button.variables +++ b/src/themes/chubby/elements/button.variables @@ -3,10 +3,7 @@ -------------------- */ /* Button Variables */ -@pageFont: - "Source Sans Pro", - Arial, - sans-serif; +@pageFont: "Source Sans Pro", Arial, sans-serif; @textTransform: none; @fontWeight: @normal; diff --git a/src/themes/classic/elements/header.variables b/src/themes/classic/elements/header.variables index 528219cf96..99b8c3d381 100644 --- a/src/themes/classic/elements/header.variables +++ b/src/themes/classic/elements/header.variables @@ -6,10 +6,7 @@ Element -------------------- */ -@headerFont: - "Open Sans", - Arial, - sans-serif; +@headerFont: "Open Sans", Arial, sans-serif; @blockBackground: @offWhite @subtleGradient; @blockBoxShadow: @subtleShadow; diff --git a/src/themes/default/collections/message.variables b/src/themes/default/collections/message.variables index 7262926ed9..21a9e9dade 100644 --- a/src/themes/default/collections/message.variables +++ b/src/themes/default/collections/message.variables @@ -19,9 +19,7 @@ @borderWidth: 1px; @borderShadow: 0 0 0 @borderWidth @strongBorderColor inset; @shadowShadow: 0 0 0 0 rgba(0, 0, 0, 0); -@boxShadow: - @borderShadow, - @shadowShadow; +@boxShadow: @borderShadow, @shadowShadow; @transition: opacity @defaultDuration @defaultEasing, @@ -71,14 +69,10 @@ @attachedXOffset: -1px; @attachedYOffset: -1px; @attachedBoxShadow: 0 0 0 @borderWidth @borderColor inset; -@attachedBottomBoxShadow: - @attachedBoxShadow, - @subtleShadow; +@attachedBottomBoxShadow: @attachedBoxShadow, @subtleShadow; /* Floating */ -@floatingBoxShadow: - @borderShadow, - @floatingShadow; +@floatingBoxShadow: @borderShadow, @floatingShadow; /* Colors */ @redBoxShadow: diff --git a/src/themes/default/elements/button.variables b/src/themes/default/elements/button.variables index cfac2e48de..8d347bb437 100644 --- a/src/themes/default/elements/button.variables +++ b/src/themes/default/elements/button.variables @@ -38,9 +38,7 @@ @borderBoxShadowColor: transparent; @borderBoxShadowWidth: 1px; @borderBoxShadow: 0 0 0 @borderBoxShadowWidth @borderBoxShadowColor inset; -@boxShadow: - @borderBoxShadow, - @shadowBoxShadow; +@boxShadow: @borderBoxShadow, @shadowBoxShadow; /* Icon */ @iconHeight: auto; diff --git a/src/themes/default/globals/reset.overrides b/src/themes/default/globals/reset.overrides index a1d9eb12b7..abceaf4138 100755 --- a/src/themes/default/globals/reset.overrides +++ b/src/themes/default/globals/reset.overrides @@ -63,9 +63,8 @@ hr { pre { // https://github.com/necolas/normalize.css/issues/519 - font-family: - monospace, - monospace; /* 1 */ // stylelint-disable-line font-family-no-duplicate-names + // stylelint-disable-next-line font-family-no-duplicate-names + font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } @@ -109,9 +108,8 @@ code, kbd, samp { // https://github.com/necolas/normalize.css/issues/519 - font-family: - monospace, - monospace; /* 1 */ // stylelint-disable-line font-family-no-duplicate-names + // stylelint-disable-next-line font-family-no-duplicate-names + font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } diff --git a/src/themes/default/globals/site.variables b/src/themes/default/globals/site.variables index e718c8ef47..ed80fee1b3 100755 --- a/src/themes/default/globals/site.variables +++ b/src/themes/default/globals/site.variables @@ -32,144 +32,13 @@ "Segoe UI Symbol", "Noto Color Emoji"; -@headerFont: - @fontName, - @fallbackFonts; -@pageFont: - @fontName, - @fallbackFonts; +@headerFont: @fontName, @fallbackFonts; +@pageFont: @fontName, @fallbackFonts; @fontDisplay: swap; @textRendering: optimizeLegibility; -@unicodeRangeLatin: - U+0000, - U+000D, - U+0020-007E, - U+00A0-017F, - U+0192, - U+0218-021B, - U+0237, - U+02C6-02C7, - U+02C9, - U+02D8-02DD, - U+0394, - U+03A9, - U+03BC, - U+03C0, - U+1E80-1E85, - U+2010, - U+2013-2014, - U+2018-201A, - U+201C-201E, - U+2020-2022, - U+2026, - U+2030, - U+2039-203A, - U+2044, - U+20A3-20A4, - U+20A7, - U+20AC, - U+2113, - U+2122, - U+2126, - U+212E, - U+2202, - U+2206, - U+220F, - U+2211-2212, - U+2215, - U+2219-221A, - U+221E, - U+222B, - U+2248, - U+2260, - U+2264-2265, - U+25CA, - U+F8FF, - U+FB00-FB04; -@unicodeRangeSupplement: - U+0180-0191, - U+0193-0217, - U+021C-0236, - U+0238-02C5, - U+02C8, - U+02CA-02D7, - U+02DE-036F, - U+0374-0375, - U+037A-037E, - U+0384-038A, - U+038C, - U+038E-0393, - U+0395-03A1, - U+03A3-03A8, - U+03AA-03BB, - U+03BD-03BF, - U+03C1-03CE, - U+03D0-0486, - U+0488-0513, - U+1D00-1DCA, - U+1DFE-1E7F, - U+1E86-1E9B, - U+1E9E, - U+1EA0-1EF9, - U+1F00-1F15, - U+1F18-1F1D, - U+1F20-1F45, - U+1F48-1F4D, - U+1F50-1F57, - U+1F59, - U+1F5B, - U+1F5D, - U+1F5F-1F7D, - U+1F80-1FB4, - U+1FB6-1FC4, - U+1FC6-1FD3, - U+1FD6-1FDB, - U+1FDD-1FEF, - U+1FF2-1FF4, - U+1FF6-1FFE, - U+2000-200F, - U+2012, - U+2015-2017, - U+201B, - U+201F, - U+202F, - U+2034, - U+203C-203E, - U+205E-205F, - U+2070-2071, - U+2074-2094, - U+20A0-20A2, - U+20A5-20A6, - U+20A8-20AB, - U+20AD-20B5, - U+20B8-20BA, - U+20DD, - U+2105, - U+2116-2117, - U+2120, - U+2132, - U+214D-214E, - U+2153-215F, - U+2183-2184, - U+2190-2199, - U+21A8, - U+221F, - U+2229, - U+2261, - U+2302, - U+2310, - U+2320-2321, - U+2460-2473, - U+24EA-24F4, - U+24FF-2500, - U+2502, - U+250C, - U+2510, - U+2514, - U+2518, - U+2C60-2C6C, - U+2C74-2C77; +@unicodeRangeLatin: U+0000, U+000D, U+0020-007E, U+00A0-017F, U+0192, U+0218-021B, U+0237, U+02C6-02C7, U+02C9, U+02D8-02DD, U+0394, U+03A9, U+03BC, U+03C0, U+1E80-1E85, U+2010, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20A3-20A4, U+20A7, U+20AC, U+2113, U+2122, U+2126, U+212E, U+2202, U+2206, U+220F, U+2211-2212, U+2215, U+2219-221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265, U+25CA, U+F8FF, U+FB00-FB04; +@unicodeRangeSupplement: U+0180-0191, U+0193-0217, U+021C-0236, U+0238-02C5, U+02C8, U+02CA-02D7, U+02DE-036F, U+0374-0375, U+037A-037E, U+0384-038A, U+038C, U+038E-0393, U+0395-03A1, U+03A3-03A8, U+03AA-03BB, U+03BD-03BF, U+03C1-03CE, U+03D0-0486, U+0488-0513, U+1D00-1DCA, U+1DFE-1E7F, U+1E86-1E9B, U+1E9E, U+1EA0-1EF9, U+1F00-1F15, U+1F18-1F1D, U+1F20-1F45, U+1F48-1F4D, U+1F50-1F57, U+1F59, U+1F5B, U+1F5D, U+1F5F-1F7D, U+1F80-1FB4, U+1FB6-1FC4, U+1FC6-1FD3, U+1FD6-1FDB, U+1FDD-1FEF, U+1FF2-1FF4, U+1FF6-1FFE, U+2000-200F, U+2012, U+2015-2017, U+201B, U+201F, U+202F, U+2034, U+203C-203E, U+205E-205F, U+2070-2071, U+2074-2094, U+20A0-20A2, U+20A5-20A6, U+20A8-20AB, U+20AD-20B5, U+20B8-20BA, U+20DD, U+2105, U+2116-2117, U+2120, U+2132, U+214D-214E, U+2153-215F, U+2183-2184, U+2190-2199, U+21A8, U+221F, U+2229, U+2261, U+2302, U+2310, U+2320-2321, U+2460-2473, U+24EA-24F4, U+24FF-2500, U+2502, U+250C, U+2510, U+2514, U+2518, U+2C60-2C6C, U+2C74-2C77; @importFonts: true; @fonts: { diff --git a/src/themes/default/globals/variation.variables b/src/themes/default/globals/variation.variables index 04831fa907..cc079887e1 100644 --- a/src/themes/default/globals/variation.variables +++ b/src/themes/default/globals/variation.variables @@ -3,42 +3,10 @@ ***********************************************************/ /* General */ -@variationAllSizes: - mini, - tiny, - small, - large, - big, - huge, - massive; -@variationAllColors: - primary, - secondary, - red, - orange, - yellow, - olive, - green, - teal, - blue, - violet, - purple, - pink, - brown, - grey, - black; -@variationAllStates: - error, - info, - success, - warning; -@variationAllConsequences: - positive, - negative, - error, - info, - success, - warning; +@variationAllSizes: mini, tiny, small, large, big, huge, massive; +@variationAllColors: primary, secondary, red, orange, yellow, olive, green, teal, blue, violet, purple, pink, brown, grey, black; +@variationAllStates: error, info, success, warning; +@variationAllConsequences: positive, negative, error, info, success, warning; /******************************* Elements @@ -70,9 +38,7 @@ @variationButtonWrapping: true; @variationButtonWrapped: true; @variationButtonSpaced: true; -@variationButtonConsequences: - positive, - negative; +@variationButtonConsequences: positive, negative; @variationButtonSizes: @variationAllSizes; @variationButtonColors: @variationAllColors; @@ -115,13 +81,7 @@ @variationHeaderDividing: true; @variationHeaderBlock: true; @variationHeaderAttached: true; -@variationHeaderTags: - h1, - h2, - h3, - h4, - h5, - h6; +@variationHeaderTags: h1, h2, h3, h4, h5, h6; @variationHeaderSizes: @variationAllSizes; @variationHeaderColors: @variationAllColors; @@ -722,10 +682,7 @@ @variationSliderTicked: true; @variationSliderVertical: true; @variationSliderBasic: true; -@variationSliderSizes: - small, - large, - big; +@variationSliderSizes: small, large, big; @variationSliderColors: @variationAllColors; /* Tab */ diff --git a/src/themes/default/views/card.variables b/src/themes/default/views/card.variables index 82855e8376..0eb8354e74 100644 --- a/src/themes/default/views/card.variables +++ b/src/themes/default/views/card.variables @@ -21,9 +21,7 @@ @width: 290px; @borderWidth: 1px; @borderShadow: 0 0 0 @borderWidth @solidBorderColor; -@boxShadow: - @shadowBoxShadow, - @borderShadow; +@boxShadow: @shadowBoxShadow, @borderShadow; @border: none; @zIndex: ""; @transition: @@ -164,9 +162,7 @@ @linkHoverTransform: translateY(-@linkHoverRaiseDistance); @shadowHoverBoxShadow: 0 @shadowDistance @linkHoverRaiseDistance 0 @solidSelectedBorderColor; -@linkHoverBoxShadow: - @shadowHoverBoxShadow, - @borderShadow; +@linkHoverBoxShadow: @shadowHoverBoxShadow, @borderShadow; /* Horizontal */ @horizontalMinWidth: 270px; @@ -174,12 +170,8 @@ @horizontalImageWidth: 150px; /* Raised */ -@raisedShadow: - @borderShadow, - @floatingShadow; -@raisedShadowHover: - @borderShadow, - @floatingShadowHover; +@raisedShadow: @borderShadow, @floatingShadow; +@raisedShadowHover: @borderShadow, @floatingShadowHover; /* Basic Raised */ @basicRaisedShadow: @floatingShadow; diff --git a/src/themes/flat/globals/site.variables b/src/themes/flat/globals/site.variables index fd2940f879..e54de73087 100644 --- a/src/themes/flat/globals/site.variables +++ b/src/themes/flat/globals/site.variables @@ -13,18 +13,8 @@ Fonts -------------------- */ -@headerFont: - "Open Sans", - "Helvetica Neue", - Arial, - Helvetica, - sans-serif; -@pageFont: - "Open Sans", - "Helvetica Neue", - Arial, - Helvetica, - sans-serif; +@headerFont: "Open Sans", "Helvetica Neue", Arial, Helvetica, sans-serif; +@pageFont: "Open Sans", "Helvetica Neue", Arial, Helvetica, sans-serif; /* ------------------- Site Colors diff --git a/src/themes/material/collections/menu.variables b/src/themes/material/collections/menu.variables index 05e26536aa..455a401e9f 100644 --- a/src/themes/material/collections/menu.variables +++ b/src/themes/material/collections/menu.variables @@ -2,10 +2,7 @@ Menu *******************************/ -@fontFamily: - "Roboto", - Arial, - sans-serif; +@fontFamily: "Roboto", Arial, sans-serif; @boxShadow: 0 1px 6px rgba(0, 0, 0, 0.2); @dividerSize: 0; diff --git a/src/themes/material/elements/button.variables b/src/themes/material/elements/button.variables index 7f1ac89d8e..e3db2e4820 100644 --- a/src/themes/material/elements/button.variables +++ b/src/themes/material/elements/button.variables @@ -7,10 +7,7 @@ -------------------- */ @googleFontName: "Roboto"; -@pageFont: - "Roboto", - Arial, - sans-serif; +@pageFont: "Roboto", Arial, sans-serif; @medium: 13px; diff --git a/src/themes/material/elements/header.variables b/src/themes/material/elements/header.variables index 2e7833019a..76724657b3 100644 --- a/src/themes/material/elements/header.variables +++ b/src/themes/material/elements/header.variables @@ -2,10 +2,7 @@ Header -------------------- */ -@headerFont: - "Roboto", - Arial, - sans-serif; +@headerFont: "Roboto", Arial, sans-serif; @fontWeight: normal; @iconSize: 2em; diff --git a/src/themes/material/globals/site.variables b/src/themes/material/globals/site.variables index 04c2e41207..bb414ec74a 100644 --- a/src/themes/material/globals/site.variables +++ b/src/themes/material/globals/site.variables @@ -6,18 +6,8 @@ Fonts -------------------- */ -@headerFont: - "Roboto", - "Helvetica Neue", - Arial, - Helvetica, - sans-serif; -@pageFont: - "Roboto", - "Helvetica Neue", - Arial, - Helvetica, - sans-serif; +@headerFont: "Roboto", "Helvetica Neue", Arial, Helvetica, sans-serif; +@pageFont: "Roboto", "Helvetica Neue", Arial, Helvetica, sans-serif; @googleFontName: "Roboto"; /* ------------------- diff --git a/src/themes/material/modules/modal.overrides b/src/themes/material/modules/modal.overrides index a889890ec6..138622203e 100644 --- a/src/themes/material/modules/modal.overrides +++ b/src/themes/material/modules/modal.overrides @@ -1,9 +1,6 @@ @import (css) url("https://fonts.googleapis.com/css2?family=Roboto"); .ui.modal .header { - font-family: - Roboto, - Arial, - sans-serif !important; + font-family: Roboto, Arial, sans-serif !important; font-weight: 400 !important; } diff --git a/src/themes/material/modules/modal.variables b/src/themes/material/modules/modal.variables index 9691c3baeb..756dfc4c25 100644 --- a/src/themes/material/modules/modal.variables +++ b/src/themes/material/modules/modal.variables @@ -5,11 +5,7 @@ @headerVerticalPadding: 1.7142rem; @headerHorizontalPadding: 1.7142rem; @headerFontWeight: 400; -@headerFontFamily: - "Roboto", - "Helvetica Neue", - Arial, - sans-serif; +@headerFontFamily: "Roboto", "Helvetica Neue", Arial, sans-serif; @headerBorder: none; @contentPadding: 1rem 2rem 2rem; diff --git a/src/themes/rtl/globals/site.variables b/src/themes/rtl/globals/site.variables index 12f7141b70..bc1c41e823 100644 --- a/src/themes/rtl/globals/site.variables +++ b/src/themes/rtl/globals/site.variables @@ -9,17 +9,5 @@ @googleFontName: "Droid Sans"; /* Kufi imported in site.overrides */ -@headerFont: - "Droid Arabic Kufi", - "Droid Sans", - "Helvetica Neue", - Arial, - Helvetica, - sans-serif; -@pageFont: - "Droid Arabic Kufi", - "Droid Sans", - "Helvetica Neue", - Arial, - Helvetica, - sans-serif; +@headerFont: "Droid Arabic Kufi", "Droid Sans", "Helvetica Neue", Arial, Helvetica, sans-serif; +@pageFont: "Droid Arabic Kufi", "Droid Sans", "Helvetica Neue", Arial, Helvetica, sans-serif;