summaryrefslogtreecommitdiffstats
path: root/public/css/gogs.css
blob: 68c2b8a41b8d166d40323d2c6e3e36906b4e8093 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/*!
 * Gogs - Go Git Service (http://gogits.org)
 * Copyright 2014 Gogs.
 * Licensed under MIT (https://github.com/gogits/gogs/blob/master/LICENSE)
 */

body {
    background: #F6F6F6;
}

/* gogits nav header */
.gogs-masthead {
    background-color: #428bca;
    box-shadow: inset 0 -2px 5px rgba(0, 0, 0, .1);
    min-height: 45px;
    padding: 2px 16px;
}

/* 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;
}

/* gogits nav item active status */
.gogs-nav .active {
    color: #fff;
}

.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;
}

/* gogits logo */
#gogs-logo {
    width: 28px;
}

/* gogits body */
#gogs-body {
    padding-top: 30px;
    padding-bottom: 60px;
}

/* gogits login card */
#gogs-login-card {
    width: 600px;
    margin: auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

#gogs-login-card h3 {
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

#gogs-login-card .form-control {
    padding: 6px 12px;
    box-sizing: content-box;
}

#gogs-login-card .control-label {
    height: 44px;
    line-height: 30px;
}

#gogs-login-card .btn{
    cursor: pointer;
    margin-right: 1.2em;
}

#gogs-social-login{
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

#gogs-social-login .btn{
    float: none;
    margin: auto;
}