summaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/less')
-rw-r--r--server/sonar-web/src/main/less/pages.less1
-rw-r--r--server/sonar-web/src/main/less/pages/code.less40
2 files changed, 41 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/less/pages.less b/server/sonar-web/src/main/less/pages.less
index 05892910ed5..2280226ec49 100644
--- a/server/sonar-web/src/main/less/pages.less
+++ b/server/sonar-web/src/main/less/pages.less
@@ -7,3 +7,4 @@
@import "pages/login";
@import "pages/api-documentation";
@import "pages/overview";
+@import "pages/code";
diff --git a/server/sonar-web/src/main/less/pages/code.less b/server/sonar-web/src/main/less/pages/code.less
new file mode 100644
index 00000000000..ec86785ccc0
--- /dev/null
+++ b/server/sonar-web/src/main/less/pages/code.less
@@ -0,0 +1,40 @@
+@import (reference) "../mixins";
+@import (reference) "../variables";
+@import (reference) "../init/type";
+
+
+.code-breadcrumbs {
+ display: flex;
+ flex-wrap: wrap;
+ float: left;
+ margin-left: 10px;
+ padding-top: 5px;
+}
+
+.code-breadcrumbs > li {
+ padding: 0 5px;
+}
+
+.code-breadcrumbs > li::after {
+ position: relative;
+ top: -1px;
+ padding-left: 10px;
+ color: @secondFontColor;
+ font-size: 11px;
+ content: ">";
+}
+
+.code-breadcrumbs > li:last-child::after {
+ display: none;
+}
+
+.code-components-cell {
+ width: 100px;
+}
+
+.code-truncated {
+ display: inline-block;
+ vertical-align: text-top;
+ max-width: 300px;
+ .text-ellipsis;
+}