aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less/pages/libraries.less
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/less/pages/libraries.less')
-rw-r--r--server/sonar-web/src/main/less/pages/libraries.less105
1 files changed, 105 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/less/pages/libraries.less b/server/sonar-web/src/main/less/pages/libraries.less
new file mode 100644
index 00000000000..d67dc0c9b5a
--- /dev/null
+++ b/server/sonar-web/src/main/less/pages/libraries.less
@@ -0,0 +1,105 @@
+@import (reference) "../variables";
+@import (reference) "../mixins";
+
+
+.libraries-header {
+ margin-bottom: 20px;
+ font-size: 0;
+}
+
+.libraries-header-filter,
+.libraries-header-test,
+.libraries-header-actions {
+ display: inline-block;
+ vertical-align: middle;
+ font-size: @baseFontSize;
+}
+
+.libraries-header-test,
+.libraries-header-actions {
+ margin-left: 30px;
+}
+
+.libraries-header-actions {
+ margin-right: -10px;
+
+ a { margin-right: 10px; }
+}
+
+
+.libraries-tree {
+
+ & > ul ul {
+ padding-left: 24px;
+ }
+
+ & > ul ul ul {
+ margin: 4px 0 4px 8px;
+ padding-left: 16px;
+ border-left: 1px dashed #ddd;
+ }
+
+ & > ul > li + li {
+ margin-top: 15px;
+ }
+
+ & > ul > li > .libraries-tree-name {
+ font-weight: 500;
+ }
+
+ li {
+ padding: 3px 0;
+ }
+
+ li:last-child {
+ padding-bottom: 0;
+ }
+
+ .icon-dropdown {
+ display: inline-block;
+ width: 10px;
+ visibility: hidden;
+ }
+}
+
+.libraries-tree-subtree-hidden {
+ display: none;
+}
+
+.libraries-tree-with-subtree {
+
+ & > .libraries-tree-name {
+ border-bottom: 1px solid transparent;
+ cursor: pointer;
+ .trans;
+
+ &:hover { border-color: #ddd; }
+ }
+
+ & > a > .icon-dropdown {
+ visibility: visible;
+ }
+}
+
+.libraries-tree-subtree-collapsed {
+
+ & > ul {
+ display: none;
+ }
+
+ & > a > .icon-dropdown:before {
+ content: "\f0da";
+ }
+}
+
+.libraries-tree-test {
+ display: none;
+
+ .libraries-tree-show-tests & { display: list-item; }
+}
+
+.libraries-tree-version {
+ margin: 0 3px;
+ padding: 0 4px;
+ background: @barBackgroundColor;
+}