2014-02-15 05:14:22 +04:00
/ * !
* Gogs - Go Git Service ( http : / / gogits . org )
* Copyright 2014 Gogs .
* Licensed under MIT ( https : / / github . com / gogits / gogs / blob / master / LICENSE )
* /
body {
2014-03-02 11:31:06 +04:00
background : # F6F6F6 ;
2014-02-15 05:14:22 +04:00
}
2014-03-02 11:31:06 +04:00
2014-03-02 17:47:55 +04:00
/* override bs3 */
2014-03-03 18:40:22 +04:00
. tooltip-inner {
2014-03-02 17:47:55 +04:00
border-radius : 3px ;
background : # 333 ;
border : none ;
}
2014-03-03 18:40:22 +04:00
. tooltip-arrow {
2014-03-02 17:47:55 +04:00
border-bottom-color : # 333 ! important ;
}
2014-03-03 18:40:22 +04:00
. fa {
2014-03-02 17:47:55 +04:00
margin : 0 . 5em ;
}
2014-03-02 11:31:06 +04:00
/* gogits nav header */
. gogs-masthead {
background-color : # 428bca ;
box-shadow : inset 0 -2px 5px rgba ( 0 , 0 , 0 , . 1 ) ;
2014-03-03 18:40:22 +04:00
padding : 0 16px ;
2014-03-02 11:31:06 +04:00
}
/* gogits nav item link */
. gogs-nav-item {
position : relative ;
display : inline-block ;
padding : 10px ;
font-weight : bold ;
color : # EEE ;
font-size : 100 % ;
}
. gogs-nav-item : hover ,
. gogs-nav-item : focus {
color : # fff ;
text-decoration : none ;
}
. gogs-nav-item . navbar-btn {
cursor : pointer ;
margin-top : 8px ;
padding : 5px 15px ;
2014-02-15 05:14:22 +04:00
}
2014-03-02 11:31:06 +04:00
2014-03-03 18:40:22 +04:00
. gogs-nav-item . navbar-right {
margin-top : 3px ;
}
. gogs-nav-item . navbar-right . fa {
margin : 0 ;
}
2014-03-02 11:31:06 +04:00
/* gogits nav item active status */
. gogs-nav . active {
color : # fff ;
2014-02-15 05:14:22 +04:00
}
2014-03-02 11:31:06 +04:00
. gogs-nav . active : after {
position : absolute ;
bottom : -2px ;
left : 50 % ;
width : 0 ;
height : 0 ;
margin-left : -5px ;
vertical-align : middle ;
content : " " ;
border-right : 5px solid transparent ;
border-bottom : 5px solid ;
border-left : 5px solid transparent ;
2014-02-15 05:14:22 +04:00
}
2014-03-02 11:31:06 +04:00
2014-03-03 18:40:22 +04:00
. gogs-nav . tooltip {
border : none ;
}
2014-03-02 11:31:06 +04:00
/* gogits logo */
2014-03-03 18:40:22 +04:00
# gogs-nav-avatar {
margin-top : 0 ;
}
# gogs-logo , # gogs-nav-avatar img {
2014-03-02 11:31:06 +04:00
width : 28px ;
2014-03-03 18:40:22 +04:00
height : 28px ;
}
# gogs-nav-out {
margin-top : 10px ;
padding : 5px 0 ;
margin-left : 10px ;
height : 28px ;
}
# gogs-nav-out . fa {
vertical-align : -10 % ;
margin : 0 . 5em ;
2014-02-15 05:14:22 +04:00
}
2014-03-02 11:31:06 +04:00
/* gogits body */
# gogs-body {
padding-top : 30px ;
padding-bottom : 60px ;
2014-03-03 18:40:22 +04:00
margin-top : 50px ;
2014-02-15 05:14:22 +04:00
}
2014-03-02 11:31:06 +04:00
/* gogits login card */
2014-03-03 18:40:22 +04:00
. gogs-card {
2014-03-02 11:31:06 +04:00
margin : auto ;
padding : 30px ;
background : # fff ;
border : 1px solid # ccc ;
border-radius : 5px ;
box-sizing : border-box ;
2014-02-15 05:14:22 +04:00
}
2014-03-02 11:31:06 +04:00
2014-03-02 20:22:20 +04:00
. gogs-card h3 {
2014-03-02 11:31:06 +04:00
margin-top : 0 ;
margin-bottom : 30px ;
padding-bottom : 20px ;
border-bottom : 1px solid # ccc ;
}
2014-03-03 18:40:22 +04:00
# gogs-login-card {
2014-03-02 20:22:20 +04:00
width : 600px ;
}
2014-03-02 11:31:06 +04:00
# gogs-login-card . form-control {
padding : 6px 12px ;
box-sizing : content-box ;
}
# gogs-login-card . control-label {
height : 44px ;
line-height : 30px ;
}
2014-03-03 18:40:22 +04:00
. gogs-card . btn {
2014-03-02 11:31:06 +04:00
cursor : pointer ;
margin-right : 1 . 2em ;
}
2014-03-03 18:40:22 +04:00
# gogs-social-login {
2014-03-02 11:31:06 +04:00
margin-top : 30px ;
padding-top : 20px ;
border-top : 1px solid # ccc ;
}
2014-03-03 18:40:22 +04:00
# gogs-social-login . btn {
2014-03-02 11:31:06 +04:00
float : none ;
margin : auto ;
2014-03-02 17:47:55 +04:00
}
/* gogs-user-profile */
2014-03-03 18:40:22 +04:00
# gogs-user-avatar {
2014-03-02 17:47:55 +04:00
width : 200px ;
height : 200px ;
border-radius : 6px ;
}
2014-03-03 18:40:22 +04:00
# gogs-user-name {
2014-03-02 17:47:55 +04:00
margin-top : 20px ;
font-size : 1 . 6em ;
font-weight : bold ;
margin-bottom : 20px ;
}
2014-03-03 18:40:22 +04:00
# gogs-user-profile . profile-info . list-group-item {
2014-03-02 17:47:55 +04:00
background-color : transparent ;
padding-top : 18px ;
color : # 666 ;
}
2014-03-03 18:40:22 +04:00
# gogs-user-profile . profile-info . list-group-item a {
2014-03-02 17:47:55 +04:00
margin : 0 ;
padding : 0 ;
display : inline ;
color : # 0093c4 ;
}
2014-03-03 18:40:22 +04:00
# gogs-user-profile . profile-info . list-group {
2014-03-02 17:47:55 +04:00
border-top : 1px solid # ccc ;
padding-bottom : 18px ;
border-bottom : 1px solid # ccc ;
padding-left : 18px ;
padding-right : 18px ;
}
2014-03-03 18:40:22 +04:00
# gogs-user-activity . tab-pane {
2014-03-02 17:47:55 +04:00
padding : 20px ;
}
2014-03-03 18:40:22 +04:00
# gogs-user-act-tabs li . active a {
2014-03-02 17:47:55 +04:00
border-bottom-color : # ddd ;
2014-03-02 20:22:20 +04:00
}
/* gogits repo create */
2014-03-03 18:40:22 +04:00
# gogs-repo-create {
2014-03-02 20:22:20 +04:00
width : 800px ;
}
2014-03-03 18:40:22 +04:00
# gogs-repo-create textarea [ name = desc ] {
2014-03-02 20:22:20 +04:00
height : 8em ;
2014-02-15 05:14:22 +04:00
}