aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less/pages
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-07-17 10:07:30 +0200
committerGitHub <noreply@github.com>2017-07-17 10:07:30 +0200
commitd5b076b2fc8988e9a3799ba7775f851e1a12cbb7 (patch)
tree3c0f98977cc487747efeeeb47974fc13e70eab97 /server/sonar-web/src/main/less/pages
parentc8797aabc9b4d705f7da59b43717e5c0fe0e80fb (diff)
downloadsonarqube-d5b076b2fc8988e9a3799ba7775f851e1a12cbb7.tar.gz
sonarqube-d5b076b2fc8988e9a3799ba7775f851e1a12cbb7.zip
upgrade prettier and remove prettier-eslint (#2254)
Diffstat (limited to 'server/sonar-web/src/main/less/pages')
-rw-r--r--server/sonar-web/src/main/less/pages/coding-rules.less41
-rw-r--r--server/sonar-web/src/main/less/pages/login.less11
2 files changed, 32 insertions, 20 deletions
diff --git a/server/sonar-web/src/main/less/pages/coding-rules.less b/server/sonar-web/src/main/less/pages/coding-rules.less
index 2cfddf3e9b0..fefd9a34845 100644
--- a/server/sonar-web/src/main/less/pages/coding-rules.less
+++ b/server/sonar-web/src/main/less/pages/coding-rules.less
@@ -25,7 +25,6 @@
@facetsHeight: 36px;
.coding-rules-page {
-
.navigator-facets {
min-height: 3 * @facetsHeight;
}
@@ -52,7 +51,6 @@
.navigator-results-list .line-small {
color: @secondFontColor;
}
-
}
.navigator-filter-query {
@@ -68,7 +66,6 @@
}
}
-
/*
* Detail
*/
@@ -98,7 +95,9 @@
border: 1px solid @contextBorder;
background-color: @contextBackground;
- .coding-rules-detail-quality-profile { margin-left: 0; }
+ .coding-rules-detail-quality-profile {
+ margin-left: 0;
+ }
.coding-rules-detail-quality-profile-name,
.coding-rules-detail-quality-profile-severity,
.coding-rules-detail-quality-profile-parameters,
@@ -123,7 +122,9 @@
padding-top: 0;
padding-right: @navigatorPadding;
- .key, .value, .sep {
+ .key,
+ .value,
+ .sep {
display: inline;
vertical-align: top;
}
@@ -139,10 +140,11 @@
font-family: @monoFontFamily;
}
}
-.coding-rules-detail-quality-profile-parameter + .coding-rules-detail-quality-profile-parameter { margin-top: 0; }
+.coding-rules-detail-quality-profile-parameter + .coding-rules-detail-quality-profile-parameter {
+ margin-top: 0;
+}
.coding-rules-detail-context-actions {
-
padding: @navigatorPadding / 2;
background-color: @contextBackground;
border: 1px solid @contextBorder;
@@ -193,7 +195,9 @@
height: 22px;
line-height: 18px;
- .select2-search-field { line-height: 1; }
+ .select2-search-field {
+ line-height: 1;
+ }
}
.coding-rules-subcharacteristic {
@@ -202,7 +206,7 @@
.coding-rules-debt-popup {
h3 {
- display: inline
+ display: inline;
}
}
@@ -214,7 +218,9 @@
cursor: pointer;
&:hover {
- span { text-decoration: underline; }
+ span {
+ text-decoration: underline;
+ }
}
}
@@ -244,7 +250,6 @@
}
.coding-rules-detail-parameter {
-
}
.coding-rules-detail-parameter-name {
@@ -275,10 +280,8 @@
font-size: @smallFontSize;
}
-
// Quality Profiles
.coding-rules-detail-quality-profiles-section {
-
}
.coding-rules-detail-quality-profiles-header {
@@ -380,7 +383,9 @@
.link-no-underline;
transition: all 0.2s ease;
- &:hover { background-color: @barBackgroundColor; }
+ &:hover {
+ background-color: @barBackgroundColor;
+ }
strong {
font-weight: bold;
@@ -397,7 +402,8 @@ textarea.coding-rules-markdown-description {
}
.coding-rules-modal .property {
- input, textarea {
+ input,
+ textarea {
width: 100%;
}
}
@@ -414,11 +420,12 @@ textarea.coding-rules-markdown-description {
text-overflow: ellipsis;
white-space: nowrap;
- .icon-tags:before { font-size: 12px; }
+ .icon-tags:before {
+ font-size: 12px;
+ }
}
.coding-rules-most-violated-projects {
-
td {
border-top-color: transparent;
}
diff --git a/server/sonar-web/src/main/less/pages/login.less b/server/sonar-web/src/main/less/pages/login.less
index 991fa4383b3..46780ee7c00 100644
--- a/server/sonar-web/src/main/less/pages/login.less
+++ b/server/sonar-web/src/main/less/pages/login.less
@@ -33,7 +33,9 @@
margin-bottom: 8px;
font-size: 15px;
- .ie9 & { display: block; }
+ .ie9 & {
+ display: block;
+ }
}
.login-remember-me {
@@ -61,7 +63,9 @@
background-color: @blue;
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2014%2014%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%22M12%204.665c0%20.172-.06.318-.18.438l-5.55%205.55c-.12.12-.266.18-.438.18s-.318-.06-.438-.18L2.18%207.438C2.06%207.317%202%207.17%202%207s.06-.318.18-.44l.878-.876c.12-.12.267-.18.44-.18.17%200%20.317.06.437.18l1.897%201.903%204.233-4.24c.12-.12.266-.18.438-.18s.32.06.44.18l.876.88c.12.12.18.265.18.438z%22%20fill%3D%22%23fff%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E');
- .ie9 & { background-position: -3px 0; }
+ .ie9 & {
+ background-position: -3px 0;
+ }
}
& ~ label {
@@ -92,7 +96,8 @@
overflow: hidden;
text-overflow: ellipsis;
- &:hover, &:focus {
+ &:hover,
+ &:focus {
box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.3);
}