aboutsummaryrefslogtreecommitdiff
path: root/public/ng/less
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-09-14 16:43:22 -0400
committerUnknwon <joe2010xtmf@163.com>2014-09-14 16:43:22 -0400
commit7027ac930841960dfe850572a0e8306c6c010ef3 (patch)
treecfbfc3a9a0270c1dc3d556a3cd012b1823163d9b /public/ng/less
parentb9560374cd9d06b9009eb48ef0f0cefe04a4daed (diff)
Fix #461
Diffstat (limited to 'public/ng/less')
-rw-r--r--public/ng/less/gogs/repository.less43
1 files changed, 22 insertions, 21 deletions
diff --git a/public/ng/less/gogs/repository.less b/public/ng/less/gogs/repository.less
index 48959a62..23d15650 100644
--- a/public/ng/less/gogs/repository.less
+++ b/public/ng/less/gogs/repository.less
@@ -18,8 +18,7 @@ background-color: @repoHeaderBgColor;
#repo-header-name {
line-height: 66px;
color: @repoHeaderNameColor;
-
-font-size: 1.6em;
+ font-size: 1.6em;
font-weight: normal;
margin-bottom: 0;
i {
@@ -40,15 +39,17 @@ font-size: 1.6em;
}
}
}
- a > .btn {
- font-size: 1.05em;
- margin-left: 16px;
- i {
- margin-right: 6px;
- }
- line-height:16px;
- .num {
- margin-left: 6px;
+ a {
+ &>.btn {
+ line-height: 16px;
+ font-size: 1.05em;
+ margin-left: 16px;
+ i {
+ margin-right: 6px;
+ }
+ .num {
+ margin-left: 6px;
+ }
}
}
}
@@ -59,21 +60,17 @@ font-size: 1.6em;
&:hover {
&:after, .btn {
background-color: @btnHoverBlackColor;
-
-color: #FFF;
+ color: #FFF;
}
}
&:after {
background-color: @btnBlackColor;
-
-padding: 9px 16px 8px 0;
+ padding: 9px 16px 8px 0;
margin-left: -8px !important;
color: #FFF;
border-top: 1px solid@btnBlackColor;
-
-border-bottom: 1px solid@btnBlackColor;
-
-border-top-right-radius: .25em;
+ border-bottom: 1px solid@btnBlackColor;
+ border-top-right-radius: .25em;
border-bottom-right-radius: .25em;
}
}
@@ -81,20 +78,24 @@ border-top-right-radius: .25em;
line-height: 24px;
width: 440px;
top: 50px;
- left: -354px;
+ left: -370px;
padding: 20px;
box-sizing: border-box;
z-index: 1;
.btn > i {
margin-right: 6px;
}
+ button,
+ input {
+ font-size: 11px;
+ }
}
#repo-content {
padding: 18px 0;
}
#repo-clone-url {
border-right: none;
- width: 196px;
+ width: 200px;
border-left: none;
}
#repo-clone-help {