Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 04:36:11 +01:00
This commit is contained in:
Unknwon 2014-09-14 16:43:22 -04:00
parent b9560374cd
commit 7027ac9308
3 changed files with 30 additions and 25 deletions

View file

@ -983,9 +983,9 @@ The register and sign-in page style
background-color: transparent; background-color: transparent;
} }
#repo-header-meta a > .btn { #repo-header-meta a > .btn {
line-height: 16px;
font-size: 1.05em; font-size: 1.05em;
margin-left: 16px; margin-left: 16px;
line-height: 16px;
} }
#repo-header-meta a > .btn i { #repo-header-meta a > .btn i {
margin-right: 6px; margin-right: 6px;
@ -1015,7 +1015,7 @@ The register and sign-in page style
line-height: 24px; line-height: 24px;
width: 440px; width: 440px;
top: 50px; top: 50px;
left: -354px; left: -370px;
padding: 20px; padding: 20px;
box-sizing: border-box; box-sizing: border-box;
z-index: 1; z-index: 1;
@ -1023,12 +1023,16 @@ The register and sign-in page style
#repo-header-download-drop .btn > i { #repo-header-download-drop .btn > i {
margin-right: 6px; margin-right: 6px;
} }
#repo-header-download-drop button,
#repo-header-download-drop input {
font-size: 11px;
}
#repo-content { #repo-content {
padding: 18px 0; padding: 18px 0;
} }
#repo-clone-url { #repo-clone-url {
border-right: none; border-right: none;
width: 196px; width: 200px;
border-left: none; border-left: none;
} }
#repo-clone-help { #repo-clone-help {

View file

@ -18,7 +18,6 @@ background-color: @repoHeaderBgColor;
#repo-header-name { #repo-header-name {
line-height: 66px; line-height: 66px;
color: @repoHeaderNameColor; color: @repoHeaderNameColor;
font-size: 1.6em; font-size: 1.6em;
font-weight: normal; font-weight: normal;
margin-bottom: 0; margin-bottom: 0;
@ -40,18 +39,20 @@ font-size: 1.6em;
} }
} }
} }
a > .btn { a {
&>.btn {
line-height: 16px;
font-size: 1.05em; font-size: 1.05em;
margin-left: 16px; margin-left: 16px;
i { i {
margin-right: 6px; margin-right: 6px;
} }
line-height:16px;
.num { .num {
margin-left: 6px; margin-left: 6px;
} }
} }
} }
}
#repo-header-download-btn { #repo-header-download-btn {
> .btn > i { > .btn > i {
margin-right: 0 !important; margin-right: 0 !important;
@ -59,20 +60,16 @@ font-size: 1.6em;
&:hover { &:hover {
&:after, .btn { &:after, .btn {
background-color: @btnHoverBlackColor; background-color: @btnHoverBlackColor;
color: #FFF; color: #FFF;
} }
} }
&:after { &:after {
background-color: @btnBlackColor; background-color: @btnBlackColor;
padding: 9px 16px 8px 0; padding: 9px 16px 8px 0;
margin-left: -8px !important; margin-left: -8px !important;
color: #FFF; color: #FFF;
border-top: 1px solid@btnBlackColor; border-top: 1px solid@btnBlackColor;
border-bottom: 1px solid@btnBlackColor; border-bottom: 1px solid@btnBlackColor;
border-top-right-radius: .25em; border-top-right-radius: .25em;
border-bottom-right-radius: .25em; border-bottom-right-radius: .25em;
} }
@ -81,20 +78,24 @@ border-top-right-radius: .25em;
line-height: 24px; line-height: 24px;
width: 440px; width: 440px;
top: 50px; top: 50px;
left: -354px; left: -370px;
padding: 20px; padding: 20px;
box-sizing: border-box; box-sizing: border-box;
z-index: 1; z-index: 1;
.btn > i { .btn > i {
margin-right: 6px; margin-right: 6px;
} }
button,
input {
font-size: 11px;
}
} }
#repo-content { #repo-content {
padding: 18px 0; padding: 18px 0;
} }
#repo-clone-url { #repo-clone-url {
border-right: none; border-right: none;
width: 196px; width: 200px;
border-left: none; border-left: none;
} }
#repo-clone-help { #repo-clone-help {

View file

@ -8,7 +8,7 @@
{{if .Repository.IsMirror}}<span class="label label-gray">{{.i18n.Tr "mirror"}}</span>{{end}} {{if .Repository.IsMirror}}<span class="label label-gray">{{.i18n.Tr "mirror"}}</span>{{end}}
</h1> </h1>
<ul id="repo-header-meta" class="right menu menu-line"> <ul id="repo-header-meta" class="right menu menu-line">
<li id="repo-header-download" class="inline-block down drop"> <li id="repo-header-download" class="drop">
<a id="repo-header-download-btn" href="#"> <a id="repo-header-download-btn" href="#">
<button class="btn btn-black text-bold btn-radius"> <button class="btn btn-black text-bold btn-radius">
<i class="octicon octicon-cloud-download"></i> <i class="octicon octicon-cloud-download"></i>