summaryrefslogtreecommitdiffstats
path: root/public/ng/less/ui
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-07 06:40:05 -0400
committerUnknwon <joe2010xtmf@163.com>2014-08-07 06:40:05 -0400
commite8c9bb2c66a1f48820a93b670c2e6e67da94b354 (patch)
tree372f7d3c44e0d3d2f2b7527e482c5cece05ebfee /public/ng/less/ui
parent99eeb08419e63474b4e9d6581335f693d26c0e69 (diff)
downloadgitea-e8c9bb2c66a1f48820a93b670c2e6e67da94b354.tar.gz
gitea-e8c9bb2c66a1f48820a93b670c2e6e67da94b354.zip
Finish new collaboration page
Diffstat (limited to 'public/ng/less/ui')
-rw-r--r--public/ng/less/ui/menu.less20
-rw-r--r--public/ng/less/ui/reset.less11
2 files changed, 19 insertions, 12 deletions
diff --git a/public/ng/less/ui/menu.less b/public/ng/less/ui/menu.less
index e36667ce26..a1daefb365 100644
--- a/public/ng/less/ui/menu.less
+++ b/public/ng/less/ui/menu.less
@@ -94,12 +94,20 @@ ul.menu-down {
}
}
-ul.menu-down {
- position: absolute;
- display: none;
- z-index: 99;
- box-shadow: 0 0 2px @menuShadowColor;
- background-color: @menuDownBgColor;
+ul {
+ &.menu-down {
+ position: absolute;
+ display: none;
+ z-index: 99;
+ box-shadow: 0 0 2px @menuShadowColor;
+ background-color: @menuDownBgColor;
+ }
+ &.menu-down-show {
+ position: absolute;
+ z-index: 99;
+ box-shadow: 0 0 2px @menuShadowColor;
+ background-color: @menuDownBgColor;
+ }
}
ul.menu-radius {
diff --git a/public/ng/less/ui/reset.less b/public/ng/less/ui/reset.less
index f58e1a4730..04d1198969 100644
--- a/public/ng/less/ui/reset.less
+++ b/public/ng/less/ui/reset.less
@@ -81,17 +81,15 @@ audio:not([controls]) {
// display hidden elements
[hidden],
-template
+template,
.hidden {
- display: none;
+ display: none;
}
-
.opacity {
- opacity: 0;
+ opacity: 0;
}
-
.opacity-half {
- opacity: .5;
+ opacity: .5;
}
// links element
@@ -100,6 +98,7 @@ a,
.text-link {
color: @linkColor;
text-decoration: none;
+ cursor: pointer;
&:hover {
color: @linkHoverColor;
text-decoration: none;