summaryrefslogtreecommitdiffstats
path: root/public/less
diff options
context:
space:
mode:
authorBwko <bouwko@gmail.com>2017-10-26 02:49:16 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-10-26 08:49:16 +0800
commit3ab580c8d6b8a2c063d848f8e3002347c9e5cebb (patch)
tree3f66f793be25db1ca8baac8d5333e39bfdd4f7e1 /public/less
parente86a0bf3feab82c1b3439806245083dffb2f37c9 (diff)
downloadgitea-3ab580c8d6b8a2c063d848f8e3002347c9e5cebb.tar.gz
gitea-3ab580c8d6b8a2c063d848f8e3002347c9e5cebb.zip
Add branch overiew page (#2108)
* Add branch overiew page * fix changed method name on sub menu * remove unused code
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_explore.less11
-rw-r--r--public/less/_repository.less21
2 files changed, 30 insertions, 2 deletions
diff --git a/public/less/_explore.less b/public/less/_explore.less
index d44d6377f9..c8f4a45518 100644
--- a/public/less/_explore.less
+++ b/public/less/_explore.less
@@ -9,7 +9,7 @@
margin-bottom: 15px !important;
background-color: #FAFAFA !important;
border-width: 1px !important;
-
+
.octicon {
width: 16px;
text-align: center;
@@ -33,7 +33,7 @@
.name {
word-break: break-all;
}
-
+
.metas {
color: #888;
font-size: 14px;
@@ -50,6 +50,13 @@
}
}
+.ui.repository.branches {
+ .time{
+ font-size: 12px;
+ color: #808080;
+ }
+}
+
.ui.user.list {
.item {
padding-bottom: 25px;
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 8f12cc77d7..b2baf1891d 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -1313,6 +1313,27 @@
border-bottom: 1px solid #A3C293;
}
}
+ .ui.segment.sub-menu {
+ padding: 7px;
+ line-height: 0;
+ .list {
+ width: 100%;
+ display: flex;
+ .item {
+ width:100%;
+ border-radius: 3px;
+ a {
+ color: black;
+ &:hover {
+ color: #666;
+ }
+ }
+ &.active {
+ background: rgba(0,0,0,.05);;
+ }
+ }
+ }
+ }
}
// End of .repository