aboutsummaryrefslogtreecommitdiff
path: root/public/ng/css
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/css
parent99eeb08419e63474b4e9d6581335f693d26c0e69 (diff)
Finish new collaboration page
Diffstat (limited to 'public/ng/css')
-rw-r--r--public/ng/css/gogs.css65
-rw-r--r--public/ng/css/ui.css10
2 files changed, 68 insertions, 7 deletions
diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css
index 148df5eb..244d6531 100644
--- a/public/ng/css/gogs.css
+++ b/public/ng/css/gogs.css
@@ -198,6 +198,22 @@ img.avatar-48 {
.main-wrapper {
padding: 20px 0 40px;
}
+.user-list {
+ width: auto;
+ min-width: 180px;
+ max-width: 300px;
+}
+.user-list img {
+ width: 28px;
+ height: 28px;
+ margin-right: 1em;
+ margin-top: 1px;
+ vertical-align: middle;
+}
+.user-list li {
+ cursor: pointer;
+ font-weight: bold;
+}
.markdown {
background-color: white;
font-size: 16px;
@@ -753,9 +769,24 @@ The dashboard page style
margin-right: 6px;
font-size: 1.1em;
}
+#dashboard-selection-menu {
+ width: auto;
+ max-width: 300px;
+}
#dashboard-selection-menu > .drop-down {
top: 56px;
}
+#dashboard-selection-menu li {
+ white-space: nowrap;
+}
+#dashboard-selection-menu li.checked .octicon {
+ opacity: 1;
+}
+#dashboard-selection-menu li a {
+ text-overflow: ellipsis;
+ -o-text-overflow: ellipsis;
+ overflow: hidden;
+}
#dashboard-switch-menu {
border-bottom-left-radius: .3em;
border-bottom-right-radius: .3em;
@@ -1155,32 +1186,26 @@ The register and sign-in page style
#repo-create-cancel {
margin-left: 4em;
}
-#dashboard-switch-menu,
#repo-create-owner-list {
top: 30px;
left: 0;
width: auto;
max-width: 300px;
}
-#dashboard-switch-menu .octicon,
#repo-create-owner-list .octicon {
margin-right: 12px;
opacity: 0;
}
-#dashboard-switch-menu .avatar,
#repo-create-owner-list .avatar {
width: 20px;
height: 20px;
}
-#dashboard-switch-menu li,
#repo-create-owner-list li {
white-space: nowrap;
}
-#dashboard-switch-menu li.checked .octicon,
#repo-create-owner-list li.checked .octicon {
opacity: 1;
}
-#dashboard-switch-menu li a,
#repo-create-owner-list li a {
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
@@ -1244,6 +1269,34 @@ The register and sign-in page style
.repo-setting-zone {
padding: 30px;
}
+#repo-collab-list {
+ list-style: none;
+ padding: 10px 0 5px 0;
+}
+#repo-collab-list li.collab {
+ clear: both;
+ height: 50px;
+ padding: 0 15px 0 15px;
+}
+#repo-collab-list a.member {
+ color: #444;
+ height: 50px;
+ line-height: 50px;
+}
+#repo-collab-list a.member:hover {
+ color: #4183C4;
+}
+#repo-collab-list .avatar {
+ margin-right: 1em;
+ width: 40px;
+}
+#repo-collab-list .remove-collab {
+ color: #DD4B39;
+}
+.repo-user-list-block {
+ position: relative;
+ top: 5px;
+}
#setting-wrapper {
padding-bottom: 100px;
}
diff --git a/public/ng/css/ui.css b/public/ng/css/ui.css
index 908f4e70..d30e137d 100644
--- a/public/ng/css/ui.css
+++ b/public/ng/css/ui.css
@@ -59,7 +59,8 @@ audio:not([controls]) {
height: 0;
}
[hidden],
-template .hidden {
+template,
+.hidden {
display: none;
}
.opacity {
@@ -72,6 +73,7 @@ a,
.text-link {
color: #428bca;
text-decoration: none;
+ cursor: pointer;
}
a:hover,
.text-link:hover {
@@ -604,6 +606,12 @@ ul.menu-down {
box-shadow: 0 0 2px #666666;
background-color: #ffffff;
}
+ul.menu-down-show {
+ position: absolute;
+ z-index: 99;
+ box-shadow: 0 0 2px #666666;
+ background-color: #ffffff;
+}
ul.menu-radius {
border-radius: .3em;
}