summaryrefslogtreecommitdiffstats
path: root/public/less
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-07-24 21:02:49 +0800
committerUnknwon <u@gogs.io>2015-07-24 21:02:49 +0800
commitac95f6d50f674cae1a5ae3889fdf3c56eb7c005d (patch)
tree274c1e8087aca7b0a366eaf61b08fbd177a52a29 /public/less
parent86dbda0b42d05caf11d5c6d040f18dfbcc742e04 (diff)
downloadgitea-ac95f6d50f674cae1a5ae3889fdf3c56eb7c005d.tar.gz
gitea-ac95f6d50f674cae1a5ae3889fdf3c56eb7c005d.zip
UI: basic label list
- create new label
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_repository.less60
1 files changed, 59 insertions, 1 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less
index a5ac3bbc3c..263f1223d9 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -41,6 +41,42 @@
.navbar {
height: 60px;
padding-top: 20px;
+ .ui.secondary.menu .item {
+ margin-left: -10px;
+ margin-top: -7px;
+ &>.input {
+ .new-label-input,
+ .color-picker {
+ background-color: white;
+ border: 1px solid rgba(0,0,0,.15);
+ }
+ }
+ .new-label-input {
+ width: 150px;
+ }
+ .color-picker {
+ height: 35px;
+ width: auto;
+ padding-left: 30px;
+ }
+ .minicolors-swatch.minicolors-sprite {
+ top: 10px;
+ left: 10px;
+ width: 15px;
+ height: 15px;
+ }
+ &.precolors {
+ padding-left: 0;
+ padding-right: 0;
+ margin-right: 10px;
+ width: 120px;
+ .color {
+ float: left;
+ width: 15px;
+ height: 15px;
+ }
+ }
+ }
}
.filter.menu .label.color {
padding: 0 8px;
@@ -50,9 +86,10 @@
left: auto!important;
}
.issue.list {
+ clear: both;
list-style: none;
font-size: 13px;
- padding-top: 45px;
+ padding-top: 15px;
.item {
padding-top: 15px;
padding-bottom: 10px;
@@ -79,4 +116,25 @@
padding-top: 15px;
}
}
+ .label.list {
+ clear: both;
+ padding-top: 15px;
+ .item {
+ padding-top: 10px;
+ padding-bottom: 10px;
+ border-bottom: 1px dashed #AAA;
+ a {
+ font-size: 15px;
+ padding-top: 5px;
+ padding-right: 10px;
+ color: #666;
+ &:hover {
+ color: #000;
+ }
+ &.open-issues {
+ margin-right: 30px;
+ }
+ }
+ }
+ }
} \ No newline at end of file