diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-08-29 11:38:53 +0200 |
---|---|---|
committer | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-09-13 13:53:58 +0200 |
commit | 793e86fce66f356099792b7231c9a1d949ff875e (patch) | |
tree | 8bd08099539c3cb1ff159823ee1d1f74a5f2c979 /server/sonar-web/src/main/less | |
parent | 736e89cc1629e1e52db00f67e4650f1b88695de9 (diff) | |
download | sonarqube-793e86fce66f356099792b7231c9a1d949ff875e.tar.gz sonarqube-793e86fce66f356099792b7231c9a1d949ff875e.zip |
update prettier
Diffstat (limited to 'server/sonar-web/src/main/less')
18 files changed, 165 insertions, 162 deletions
diff --git a/server/sonar-web/src/main/less/components/bubble-popup.less b/server/sonar-web/src/main/less/components/bubble-popup.less index b438adc84e5..25c7072b530 100644 --- a/server/sonar-web/src/main/less/components/bubble-popup.less +++ b/server/sonar-web/src/main/less/components/bubble-popup.less @@ -56,7 +56,7 @@ border-right-color: @barBorderColor; &:after { - content: " "; + content: ' '; left: 1px; bottom: -@popupArrowSize; border-left-width: 0; diff --git a/server/sonar-web/src/main/less/components/columns.less b/server/sonar-web/src/main/less/components/columns.less index 23d8041173e..269c3bc3721 100644 --- a/server/sonar-web/src/main/less/components/columns.less +++ b/server/sonar-web/src/main/less/components/columns.less @@ -69,9 +69,9 @@ } .flex-column-third { - width: ~"calc(100% / 3)"; + width: ~'calc(100% / 3)'; } .flex-column-two-thirds { - width: ~"calc(100% / 3 * 2)"; + width: ~'calc(100% / 3 * 2)'; } diff --git a/server/sonar-web/src/main/less/components/dropdowns.less b/server/sonar-web/src/main/less/components/dropdowns.less index 53371a95b8f..fc72bee00fd 100644 --- a/server/sonar-web/src/main/less/components/dropdowns.less +++ b/server/sonar-web/src/main/less/components/dropdowns.less @@ -69,7 +69,7 @@ } .dropdown-menu-shadow { - box-shadow: 0 6px 12px rgba(0, 0, 0, .175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); } .dropdown-header { diff --git a/server/sonar-web/src/main/less/components/issues.less b/server/sonar-web/src/main/less/components/issues.less index 9f0274fcfc6..453e9e456bf 100644 --- a/server/sonar-web/src/main/less/components/issues.less +++ b/server/sonar-web/src/main/less/components/issues.less @@ -120,7 +120,7 @@ font-size: @smallFontSize; &:before { - content: " "; + content: ' '; position: absolute; top: 0; bottom: 0; diff --git a/server/sonar-web/src/main/less/components/modals.less b/server/sonar-web/src/main/less/components/modals.less index 0d40cb9c65e..3121933a32a 100644 --- a/server/sonar-web/src/main/less/components/modals.less +++ b/server/sonar-web/src/main/less/components/modals.less @@ -49,7 +49,7 @@ } .modal-large { - width: ~"calc(100% - 40px)"; + width: ~'calc(100% - 40px)'; max-width: 1280px; min-width: 1040px; margin-left: 0; @@ -184,8 +184,8 @@ ul.modal-head-metadata li { margin-bottom: 10px; } - input[type="radio"], - input[type="checkbox"] { + input[type='radio'], + input[type='checkbox'] { margin-top: 5px; margin-bottom: 4px; } @@ -197,9 +197,9 @@ ul.modal-head-metadata li { } .modal-field { - input[type=text], - input[type=email], - input[type=password], + input[type='text'], + input[type='email'], + input[type='password'], textarea, select, .Select { @@ -208,9 +208,9 @@ ul.modal-head-metadata li { } .modal-large-field { - input[type=text], - input[type=email], - input[type=password], + input[type='text'], + input[type='email'], + input[type='password'], textarea, select, .Select { @@ -236,8 +236,8 @@ ul.modal-head-metadata li { button, .button, - input[type=submit], - input[type=button] { + input[type='submit'], + input[type='button'] { margin-right: 10px; } } diff --git a/server/sonar-web/src/main/less/components/page.less b/server/sonar-web/src/main/less/components/page.less index 2b5c58b37b1..3cbcfe577ae 100644 --- a/server/sonar-web/src/main/less/components/page.less +++ b/server/sonar-web/src/main/less/components/page.less @@ -124,7 +124,7 @@ } .page-footer-with-sidebar { - padding-left: ~"calc(50vw - 370px + 10px)" !important; + padding-left: ~'calc(50vw - 370px + 10px)' !important; div { max-width: 980px; @@ -172,7 +172,7 @@ bottom: 0; left: 0; overflow: auto; - width: ~"calc(50vw - 640px + 280px + 3px)"; + width: ~'calc(50vw - 640px + 280px + 3px)'; border-right: 1px solid #e6e6e6; box-sizing: border-box; background: #f3f3f3; @@ -185,7 +185,7 @@ .search-navigator-facets-list { width: 260px; - margin-left: ~"calc(50vw - 640px + 290px - 260px - 37px)"; + margin-left: ~'calc(50vw - 640px + 290px - 260px - 37px)'; @media (max-width: 1335px) { & { @@ -220,7 +220,7 @@ } .layout-page-side-outer { - width: ~"calc(50vw - 370px)"; + width: ~'calc(50vw - 370px)'; flex-grow: 0; flex-shrink: 0; background-color: #f3f3f3; @@ -232,7 +232,7 @@ top: 30px; bottom: 0; left: 0; - width: ~"calc(50vw - 370px)"; + width: ~'calc(50vw - 370px)'; border-right: 1px solid #e6e6e6; overflow-y: auto; overflow-x: hidden; @@ -241,7 +241,7 @@ .layout-page-side-inner { width: 300px; - margin-left: ~"calc(50vw - 670px)"; + margin-left: ~'calc(50vw - 670px)'; background-color: #f3f3f3; } @@ -274,7 +274,7 @@ } .layout-page-main-header-inner { - left: ~"calc(50vw - 370px + 1px)"; + left: ~'calc(50vw - 370px + 1px)'; right: 0; padding-left: 20px; padding-right: 20px; diff --git a/server/sonar-web/src/main/less/components/react-select.less b/server/sonar-web/src/main/less/components/react-select.less index f03a781f4ea..33649781706 100644 --- a/server/sonar-web/src/main/less/components/react-select.less +++ b/server/sonar-web/src/main/less/components/react-select.less @@ -102,7 +102,7 @@ } .Select-value svg, -.Select-value [class^="icon-"] { +.Select-value [class^='icon-'] { padding-top: 5px; } @@ -112,21 +112,23 @@ .Select-option svg, .Select-option img, -.Select-option [class^="icon-"] { +.Select-option [class^='icon-'] { padding-top: 2px; } .has-value:not(.Select--multi) > .Select-control > .Select-value .Select-value-label, .has-value.is-pseudo-focused:not(.Select--multi) > .Select-control - > .Select-value .Select-value-label { + > .Select-value + .Select-value-label { color: @baseFontColor; } .has-value:not(.Select--multi) > .Select-control > .Select-value a.Select-value-label, .has-value.is-pseudo-focused:not(.Select--multi) > .Select-control - > .Select-value a.Select-value-label { + > .Select-value + a.Select-value-label { cursor: pointer; text-decoration: none; } @@ -134,11 +136,13 @@ .has-value:not(.Select--multi) > .Select-control > .Select-value a.Select-value-label:hover, .has-value.is-pseudo-focused:not(.Select--multi) > .Select-control - > .Select-value a.Select-value-label:hover, + > .Select-value + a.Select-value-label:hover, .has-value:not(.Select--multi) > .Select-control > .Select-value a.Select-value-label:focus, .has-value.is-pseudo-focused:not(.Select--multi) > .Select-control - > .Select-value a.Select-value-label:focus { + > .Select-value + a.Select-value-label:focus { color: #007eff; outline: none; text-decoration: underline; diff --git a/server/sonar-web/src/main/less/components/rules.less b/server/sonar-web/src/main/less/components/rules.less index eb2ec7037e9..4df3b6c2f48 100644 --- a/server/sonar-web/src/main/less/components/rules.less +++ b/server/sonar-web/src/main/less/components/rules.less @@ -78,11 +78,11 @@ } .js-tag:after { - content: ","; + content: ','; } .js-tag:last-child:after { - content: ""; + content: ''; } } diff --git a/server/sonar-web/src/main/less/components/search-navigator.less b/server/sonar-web/src/main/less/components/search-navigator.less index 84f686f4ad2..e3a5bbd9d06 100644 --- a/server/sonar-web/src/main/less/components/search-navigator.less +++ b/server/sonar-web/src/main/less/components/search-navigator.less @@ -174,7 +174,7 @@ font-size: @smallFontSize; &:before { - content: " "; + content: ' '; position: absolute; top: 0; bottom: 0; @@ -276,7 +276,7 @@ } .search-navigator-facet-indent { - width: ~"calc(100% - 30px)"; + width: ~'calc(100% - 30px)'; margin-left: 30px; } @@ -407,7 +407,7 @@ float: right; &:before { - content: " "; + content: ' '; position: absolute; top: 0; bottom: 0; @@ -650,7 +650,7 @@ white-space: nowrap; &:before { - content: " "; + content: ' '; position: absolute; top: 0; bottom: 0; diff --git a/server/sonar-web/src/main/less/components/source.less b/server/sonar-web/src/main/less/components/source.less index 470faab9805..c9a952d2a16 100644 --- a/server/sonar-web/src/main/less/components/source.less +++ b/server/sonar-web/src/main/less/components/source.less @@ -142,7 +142,7 @@ outline: none; } -.source-meta[role="button"] { +.source-meta[role='button'] { cursor: pointer; } @@ -236,15 +236,15 @@ background-color: @orange !important; background-image: repeating-linear-gradient( 45deg, - rgba(255, 255, 255, .5) 4px, + rgba(255, 255, 255, 0.5) 4px, transparent 4px, transparent 8px, - rgba(255, 255, 255, .5) 8px, - rgba(255, 255, 255, .5) 12px, + rgba(255, 255, 255, 0.5) 8px, + rgba(255, 255, 255, 0.5) 12px, transparent 12px, transparent 16px, - rgba(255, 255, 255, .5) 16px, - rgba(255, 255, 255, .5) 20px + rgba(255, 255, 255, 0.5) 16px, + rgba(255, 255, 255, 0.5) 20px ) !important; } diff --git a/server/sonar-web/src/main/less/components/workspace.less b/server/sonar-web/src/main/less/components/workspace.less index 33e1c807400..f947fafc8a8 100644 --- a/server/sonar-web/src/main/less/components/workspace.less +++ b/server/sonar-web/src/main/less/components/workspace.less @@ -61,7 +61,7 @@ right: 0; box-sizing: border-box; background-color: #fff; - box-shadow: 0 -6px 12px rgba(0, 0, 0, .175); + box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.175); } .workspace-viewer-header { @@ -107,9 +107,9 @@ } .workspace-viewer-container { - height: ~"calc(40vh - 30px)"; + height: ~'calc(40vh - 30px)'; min-height: 100px; - max-height: ~"calc(95vh - 30px)"; + max-height: ~'calc(95vh - 30px)'; padding: 5px 10px; overflow-y: scroll; overflow-x: auto; diff --git a/server/sonar-web/src/main/less/init/forms.less b/server/sonar-web/src/main/less/init/forms.less index a5ed2ce62d1..99faeac27f1 100644 --- a/server/sonar-web/src/main/less/init/forms.less +++ b/server/sonar-web/src/main/less/init/forms.less @@ -25,12 +25,12 @@ * Inputs */ -input[type=text], -input[type=password], -input[type=email], -input[type=search], -input[type=date], -input[type=number], +input[type='text'], +input[type='password'], +input[type='email'], +input[type='search'], +input[type='date'], +input[type='number'], textarea, select { border: 1px solid @darkGrey; @@ -57,21 +57,21 @@ select { } } -input[type=text], -input[type=password], -input[type=email], -input[type=search], -input[type=date], -input[type=number] { +input[type='text'], +input[type='password'], +input[type='email'], +input[type='search'], +input[type='date'], +input[type='number'] { height: @formControlHeight; padding: 0 6px; } -input[type="search"] { +input[type='search'] { -webkit-appearance: textfield; } -input[type="search"]::-webkit-search-decoration { +input[type='search']::-webkit-search-decoration { -webkit-appearance: none; } @@ -90,8 +90,8 @@ select { button, .button, -input[type=submit], -input[type=button] { +input[type='submit'], +input[type='button'] { display: inline-block; vertical-align: baseline; height: @formControlHeight; @@ -139,7 +139,7 @@ input[type=button] { } .button-red, -input[type="submit"].button-red { +input[type='submit'].button-red { border-color: @red; color: @red; @@ -152,7 +152,7 @@ input[type="submit"].button-red { } .button-success, -input[type="submit"].button-success { +input[type='submit'].button-success { border-color: @green; color: @green; @@ -165,7 +165,7 @@ input[type="submit"].button-success { } .button-grey, -input[type="submit"].button-grey { +input[type='submit'].button-grey { border-color: @middleGrey; color: @secondFontColor; @@ -255,7 +255,7 @@ input[type="submit"].button-grey { } .button-promote, -input[type="submit"].button-promote { +input[type='submit'].button-promote { border-color: #5041d2; background-color: #5041d2; color: #fff; @@ -401,17 +401,17 @@ label[for] { color: @darkBlue; } - input[type="radio"] { + input[type='radio'] { display: none; } - input[type="radio"]:checked + label { + input[type='radio']:checked + label { background-color: @darkBlue; color: #fff; font-weight: 600; } - input[type="radio"]:disabled + label { + input[type='radio']:disabled + label { color: #bbb; border-color: #ddd; background: #ebebeb; diff --git a/server/sonar-web/src/main/less/init/icons.less b/server/sonar-web/src/main/less/init/icons.less index 58171db82c6..2c7b0e75f88 100644 --- a/server/sonar-web/src/main/less/init/icons.less +++ b/server/sonar-web/src/main/less/init/icons.less @@ -32,8 +32,8 @@ font-style: normal; } -[class^="icon-"], -[class*=" icon-"] { +[class^='icon-'], +[class*=' icon-'] { font-family: 'sonar'; speak: none; font-style: normal; @@ -48,8 +48,8 @@ -moz-osx-font-smoothing: grayscale; } -a[class^="icon-"], -a[class*=" icon-"] { +a[class^='icon-'], +a[class*=' icon-'] { .link-no-underline; } @@ -84,8 +84,8 @@ a[class*=" icon-"] { * Severity */ -[class^="icon-severity-"], -[class*=" icon-severity"] { +[class^='icon-severity-'], +[class*=' icon-severity'] { display: inline-block; vertical-align: top; width: 16px; @@ -118,8 +118,8 @@ a[class*=" icon-"] { * Status */ -[class^="icon-status-"], -[class*=" icon-status"] { +[class^='icon-status-'], +[class*=' icon-status'] { display: inline-block; vertical-align: top; width: 16px; @@ -148,22 +148,22 @@ a[class*=" icon-"] { */ .icon-test-status-ok:before { - content: "\f013"; + content: '\f013'; color: @green; font-size: @iconFontSize; } .icon-test-status-failure:before { - content: "\f000"; + content: '\f000'; color: @orange; font-size: @iconFontSize; } .icon-test-status-error:before { - content: "\f057"; + content: '\f057'; color: @red; font-size: @iconFontSize; } .icon-test-status-skipped:before { - content: "\f056"; + content: '\f056'; color: @middleGrey; font-size: @iconFontSize; } @@ -176,7 +176,7 @@ a[class*=" icon-"] { font-size: @iconFontSize; } .icon-alert-ok:before { - content: "\f013"; + content: '\f013'; color: @green; font-size: @iconFontSize; } @@ -184,7 +184,7 @@ a[class*=" icon-"] { font-size: @iconFontSize; } .icon-alert-warn:before { - content: "\f000"; + content: '\f000'; color: @orange; font-size: @iconFontSize; } @@ -192,7 +192,7 @@ a[class*=" icon-"] { font-size: @iconFontSize; } .icon-alert-error:before { - content: "\f057"; + content: '\f057'; color: @red; font-size: @iconFontSize; } @@ -200,7 +200,7 @@ a[class*=" icon-"] { font-size: @iconFontSize; } .icon-alert-none:before { - content: "\f056"; + content: '\f056'; color: @middleGrey; font-size: @iconFontSize; } @@ -209,8 +209,8 @@ a[class*=" icon-"] { * Qualifier */ -[class^="icon-qualifier-"], -[class*=" icon-qualifier-"] { +[class^='icon-qualifier-'], +[class*=' icon-qualifier-'] { display: inline-block; vertical-align: top; width: 16px; @@ -263,7 +263,7 @@ a[class*=" icon-"] { box-sizing: border-box; &:before { - content: " "; + content: ' '; display: inline-block; width: 10px; height: 10px; @@ -317,7 +317,7 @@ a[class*=" icon-"] { height: 8px; border-radius: 8px; background-color: @darkBlue; - content: ""; + content: ''; opacity: 0; transition: opacity 0.3s ease; } @@ -336,87 +336,87 @@ a:hover > .icon-radio { */ .icon-list:before { - content: "\f039"; + content: '\f039'; font-size: @iconSmallFontSize; } .icon-bullet-list:before { - content: "\f03a"; + content: '\f03a'; font-size: @iconSmallFontSize; } .icon-settings:before { - content: "\f015"; + content: '\f015'; } .icon-bulk-change:before { - content: "\f085"; + content: '\f085'; font-size: @iconSmallFontSize; } .icon-arrow-down:before { - content: "\f0d7"; + content: '\f0d7'; position: relative; top: -2px; } .icon-arrow-up:before { - content: "\f0d8"; + content: '\f0d8'; position: relative; top: -2px; } .icon-arrow-left:before { - content: "\f0d9"; + content: '\f0d9'; } .icon-arrow-right:before { - content: "\f0da"; + content: '\f0da'; } .icon-dropdown:before { - content: "\f0d7"; + content: '\f0d7'; position: relative; top: -1px; } .icon-sort-desc:before { - content: "\f0d7"; + content: '\f0d7'; position: relative; top: -1px; } .icon-sort-asc:before { - content: "\f0d8"; + content: '\f0d8'; position: relative; top: -1px; } .icon-emoticon-smiley:before { - content: "\f118"; + content: '\f118'; } .icon-emoticon-sad:before { - content: "\f119"; + content: '\f119'; } .icon-emoticon-speechless:before { - content: "\f11a"; + content: '\f11a'; } .icon-rect-check:before { - content: "\f046"; + content: '\f046'; } .icon-check:before { - content: "\f00c"; + content: '\f00c'; color: @green; font-size: @iconFontSize; } .icon-default:before { position: relative; top: -0.1em; - content: "\f00c"; + content: '\f00c'; } .icon-lang:before { - content: "\f024"; + content: '\f024'; font-size: @iconSmallFontSize; } .icon-quality-profile:before { - content: "\f022"; + content: '\f022'; font-size: @iconSmallFontSize; } .icon-tags:before { - content: "\f02c"; + content: '\f02c'; font-size: @iconSmallFontSize; } .icon-calendar:before { - content: "\f073"; + content: '\f073'; font-size: @iconFontSize; } @@ -469,76 +469,76 @@ a:hover > .icon-radio { } .icon-help:before { - content: "\f059"; + content: '\f059'; color: @blue; font-size: @iconFontSize; } .icon-info:before { - content: "\f05a"; + content: '\f05a'; color: @blue; font-size: @iconFontSize; } .icon-uniF060:before { - content: "\f060"; + content: '\f060'; } .icon-uniF061:before { - content: "\f061"; + content: '\f061'; } .icon-uniF062:before { - content: "\f062"; + content: '\f062'; } .icon-uniF063:before { - content: "\f063"; + content: '\f063'; } .icon-comment:before { - content: "\f075"; + content: '\f075'; font-size: @iconSmallFontSize; } .icon-delete:before { - content: "\f00d"; + content: '\f00d'; color: @red; font-size: @iconFontSize; } .icon-close:before { - content: "\f00d"; + content: '\f00d'; font-size: @iconFontSize; } .icon-compare:before { - content: "\f0c5"; + content: '\f0c5'; font-size: @iconSmallFontSize; } .icon-restore:before { - content: "\f122"; + content: '\f122'; font-size: @iconSmallFontSize; } .icon-inheritance:before { - content: "\f126"; + content: '\f126'; font-size: @iconSmallFontSize; } .icon-inheritance-overridden:before { color: @red !important; } .icon-plus:before { - content: "\f067"; + content: '\f067'; font-size: @iconSmallFontSize; } .icon-move-down:before { - content: "\f063"; + content: '\f063'; color: @darkBlue; font-size: @iconFontSize; } .icon-move-up:before { - content: "\f062"; + content: '\f062'; color: @darkBlue; font-size: @iconFontSize; } .icon-move-left:before { - content: "\f060"; + content: '\f060'; color: @darkBlue; font-size: @iconFontSize; } .icon-move-right:before { - content: "\f061"; + content: '\f061'; color: @darkBlue; font-size: @iconFontSize; } @@ -554,90 +554,90 @@ a:hover > .icon-radio { text-align: center; } .icon-scm:before { - content: "\f017"; + content: '\f017'; font-size: @iconSmallFontSize; } .icon-scm_dev:before { - content: "\f015"; + content: '\f015'; font-size: @iconSmallFontSize; } .icon-ci:before { - content: "\f021"; + content: '\f021'; font-size: @iconSmallFontSize; } .icon-issue:before { - content: "\f188"; + content: '\f188'; font-size: @iconSmallFontSize; } .icon-homepage:before { - content: "\f016"; + content: '\f016'; font-size: @iconSmallFontSize; } .icon-resizer:before { - content: "\f142"; + content: '\f142'; color: @darkGrey; font-size: @iconFontSize; } .icon-expand:before { - content: "\e60b"; + content: '\e60b'; font-size: @iconFontSize; } .icon-period:before { - content: "\f018"; + content: '\f018'; font-size: @iconFontSize; } .icon-filter:before { - content: "\f03a"; + content: '\f03a'; font-size: @iconFontSize; } .icon-detach:before { - content: "\f08e"; + content: '\f08e'; font-size: @iconSmallFontSize; } .icon-chevron-left:before { - content: "\f104"; + content: '\f104'; font-size: @iconSmallFontSize; } .icon-chevron-right:before { - content: "\f105"; + content: '\f105'; font-size: @iconSmallFontSize; } .icon-double-chevron-left:before { - content: "\f100"; + content: '\f100'; font-size: @iconSmallFontSize; } .icon-double-chevron-right:before { - content: "\f101"; + content: '\f101'; font-size: @iconSmallFontSize; } .icon-extension:before { - content: "\f069"; + content: '\f069'; font-size: @iconFontSize; } .icon-home:before { - content: "\f016"; + content: '\f016'; font-size: @iconFontSize; } .icon-component-viewer-filter:before { - content: "\e60e"; + content: '\e60e'; color: #999; font-size: @iconSmallFontSize; } .icon-filters:before { - content: "\f039"; + content: '\f039'; font-size: @iconSmallFontSize; } .icon-next:before { - content: "\f0d7"; + content: '\f0d7'; font-size: @iconFontSize; } .icon-prev:before { - content: "\f0d8"; + content: '\f0d8'; font-size: @iconFontSize; } .icon-search:before { - content: "\f002"; + content: '\f002'; font-size: @iconFontSize; } .icon-search-new { @@ -650,33 +650,33 @@ a:hover > .icon-radio { background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2214%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20stroke-linejoin%3D%22round%22%20stroke-miterlimit%3D%221.414%22%3E%3Cpath%20d%3D%22M9%206.5c0-.964-.342-1.788-1.027-2.473C7.288%203.342%206.463%203%205.5%203c-.964%200-1.788.342-2.473%201.027C2.342%204.712%202%205.537%202%206.5c0%20.964.342%201.788%201.027%202.473C3.712%209.658%204.537%2010%205.5%2010c.964%200%201.788-.342%202.473-1.027C8.658%208.288%209%207.463%209%206.5zm4%206.5c0%20.27-.1.505-.297.703-.198.198-.432.297-.703.297-.28%200-.516-.1-.703-.297l-2.68-2.672c-.932.647-1.97.97-3.117.97-.745%200-1.457-.145-2.137-.434-.68-.29-1.265-.68-1.758-1.171-.492-.493-.882-1.08-1.17-1.758C.144%207.957%200%207.245%200%206.5c0-.745.145-1.457.434-2.137.29-.68.68-1.265%201.17-1.758.494-.492%201.08-.882%201.76-1.17C4.043%201.144%204.753%201%205.5%201c.745%200%201.457.145%202.137.434.68.29%201.265.68%201.758%201.17.492.494.882%201.08%201.17%201.76.29.68.435%201.39.435%202.136%200%201.146-.323%202.185-.97%203.117l2.68%202.68c.194.193.29.427.29.703z%22%20fill%3D%22%23777%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E'); } .icon-edit:before { - content: "\f040"; + content: '\f040'; font-size: @iconSmallFontSize; } .icon-ellipsis-h:before { position: relative; top: 1px; - content: "\f141"; + content: '\f141'; font-size: @iconSmallFontSize; } .icon-bigger-size:before { - content: "\f065"; + content: '\f065'; font-size: @iconSmallFontSize; } .icon-smaller-size:before { - content: "\f066"; + content: '\f066'; font-size: @iconSmallFontSize; } .icon-minimize:before { - content: "\f068"; + content: '\f068'; font-size: @iconSmallFontSize; } .icon-filter:before { - content: "\f0b0"; + content: '\f0b0'; font-size: @iconFontSize; } .icon-lock:before { - content: "\f023"; + content: '\f023'; font-size: @iconFontSize; } .icon-issues { diff --git a/server/sonar-web/src/main/less/init/links.less b/server/sonar-web/src/main/less/init/links.less index e84469eba16..d2eb30dfcb5 100644 --- a/server/sonar-web/src/main/less/init/links.less +++ b/server/sonar-web/src/main/less/init/links.less @@ -98,8 +98,7 @@ a.active-link, // Color .link-red, -/* deprecated */ -a.text-danger { +/* deprecated */ a.text-danger { .link-variant(@red, darken(@red, 10%), lighten(@red, 40%)); } a.text-muted { diff --git a/server/sonar-web/src/main/less/init/misc.less b/server/sonar-web/src/main/less/init/misc.less index e174fe08e23..ddca44d3771 100644 --- a/server/sonar-web/src/main/less/init/misc.less +++ b/server/sonar-web/src/main/less/init/misc.less @@ -214,7 +214,7 @@ td.big-spacer-top { &:after { display: inline-block; width: 100%; - content: " "; + content: ' '; } } @@ -252,7 +252,7 @@ td.big-spacer-top { margin-right: 5px; &:after { - content: "/"; + content: '/'; color: rgba(68, 68, 68, 0.3); } } diff --git a/server/sonar-web/src/main/less/init/tables.less b/server/sonar-web/src/main/less/init/tables.less index 60aad77fe5a..39208052fb5 100644 --- a/server/sonar-web/src/main/less/init/tables.less +++ b/server/sonar-web/src/main/less/init/tables.less @@ -76,7 +76,7 @@ table.spaced { table.data > thead:after { display: block; line-height: 5px; - content: "\200C"; + content: '\200C'; } table.data > thead > tr > th { diff --git a/server/sonar-web/src/main/less/init/type.less b/server/sonar-web/src/main/less/init/type.less index dc8dbabffd7..8aaa5c2fa77 100644 --- a/server/sonar-web/src/main/less/init/type.less +++ b/server/sonar-web/src/main/less/init/type.less @@ -38,9 +38,9 @@ body { .header(@h) { line-height: @formControlHeight; - color: ~"@{@{h}-font-color}"; - font-size: ~"@{@{h}-font-size}"; - font-weight: ~"@{@{h}-font-weight}"; + color: ~'@{@{h}-font-color}'; + font-size: ~'@{@{h}-font-size}'; + font-weight: ~'@{@{h}-font-weight}'; img, svg { diff --git a/server/sonar-web/src/main/less/pages/login.less b/server/sonar-web/src/main/less/pages/login.less index 6b1224bf4ad..9d7e4a6f0b3 100644 --- a/server/sonar-web/src/main/less/pages/login.less +++ b/server/sonar-web/src/main/less/pages/login.less @@ -48,7 +48,7 @@ box-sizing: border-box; &:before { - content: " "; + content: ' '; display: block; width: 10px; height: 10px; |