aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-11-26 15:58:04 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-11-26 16:02:44 +0100
commit7c2cc24167ef1463f58668941f1424fcfb1185f4 (patch)
treeecfd0105c1df5886ba61d61cb0c82eef43225f46 /server/sonar-web/src/main/less
parent30966aeb6cda4fc24b0f6f0701a9507f3c623397 (diff)
downloadsonarqube-7c2cc24167ef1463f58668941f1424fcfb1185f4.tar.gz
sonarqube-7c2cc24167ef1463f58668941f1424fcfb1185f4.zip
SONAR-7059 Improve navigation between dashboards inside the project space
Diffstat (limited to 'server/sonar-web/src/main/less')
-rw-r--r--server/sonar-web/src/main/less/components.less1
-rw-r--r--server/sonar-web/src/main/less/components/navbar.less6
-rw-r--r--server/sonar-web/src/main/less/components/page.less2
-rw-r--r--server/sonar-web/src/main/less/components/pills.less38
4 files changed, 46 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/less/components.less b/server/sonar-web/src/main/less/components.less
index 34d748dc806..464b4260cdf 100644
--- a/server/sonar-web/src/main/less/components.less
+++ b/server/sonar-web/src/main/less/components.less
@@ -23,3 +23,4 @@
@import "components/columns";
@import "components/workspace";
@import "components/search";
+@import "components/pills";
diff --git a/server/sonar-web/src/main/less/components/navbar.less b/server/sonar-web/src/main/less/components/navbar.less
index 25f4552bb7e..1685c6635d9 100644
--- a/server/sonar-web/src/main/less/components/navbar.less
+++ b/server/sonar-web/src/main/less/components/navbar.less
@@ -219,3 +219,9 @@
color: @secondFontColor;
font-size: @smallFontSize;
}
+
+.navbar-side {
+ padding: 10px;
+ border-bottom: 1px solid @barBorderColor;
+ background-color: #e5f1f9;
+}
diff --git a/server/sonar-web/src/main/less/components/page.less b/server/sonar-web/src/main/less/components/page.less
index 77d560efb23..bb510b2ff85 100644
--- a/server/sonar-web/src/main/less/components/page.less
+++ b/server/sonar-web/src/main/less/components/page.less
@@ -12,7 +12,7 @@ body {
.page {
.clearfix;
position: relative;
- padding: 10px;
+ padding: 10px 20px;
}
.page-container {
diff --git a/server/sonar-web/src/main/less/components/pills.less b/server/sonar-web/src/main/less/components/pills.less
new file mode 100644
index 00000000000..88cc5a3c619
--- /dev/null
+++ b/server/sonar-web/src/main/less/components/pills.less
@@ -0,0 +1,38 @@
+@import (reference) '../variables';
+
+.pills {
+ display: flex;
+}
+
+.pills > li {
+
+}
+
+.pills > li + li {
+ margin-left: 2px;
+}
+
+.pills > li > a {
+ display: block;
+ height: @formControlHeight;
+ max-width: 135px;
+ line-height: @formControlHeight;
+ padding: 0 10px;
+ border: none;
+ border-radius: @formControlHeight;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ transition: none;
+}
+
+.pills > li.active > a,
+.pills > li > a:hover,
+.pills > li > a:focus {
+ background-color: @darkBlue;
+ color: #fff;
+}
+
+.pill-right {
+ margin-left: auto !important;
+}