summaryrefslogtreecommitdiffstats
path: root/public/ng/less/gogs/settings.less
blob: 80c00f2dbe6608691787c4b53e6c0ce45b2be0e6 (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
114
115
116
117
118
119
120
121
122
123
124
@import "../ui/var";
#admin-wrapper,
#setting-wrapper {
    padding-bottom: 100px;
}

#setting-menu {
  box-sizing: border-box;
  li > a {
    border-left: 2px solid #FFF;
    background-color: #FFF;
  }
  li:hover {
    a {
      border-left: 2px solid #EFEFEF;
      background-color: #EFEFEF !important;
      color: #000 !important;
    }
    border-color: #EAEAEA;
  }
  li.current {
    a {
      color: #000 !important;
      font-weight: bold;
      border-left: 2px solid #d26911;
    }
  }
}

.setting-content {
  margin-left: 32px;
}

#auth-setting-form,
#org-setting-form,
#repo-setting-form,
#user-profile-form,
.repo-setting-form {
    background-color: #FFF;
    padding: 30px 0;
    textarea {
        margin-left: 4px;
        height: 100px;
    }
    label,
    .form-label {
        width: 240px;
    }
    .ipt {
        width: 360px;
    }
    .field {
        margin-bottom: 24px;
    }
}

#hook-type {
    padding: 10px 0 0 0;
    background-color: #fff;
    .field {
        margin-bottom: 24px;
    }
    label {
        width: 240px;
    }
}

#repo-hooks-panel,
#repo-hooks-history-panel,
#user-social-panel,
#user-ssh-panel {
    margin-bottom: 20px;
    .setting-list {
        background-color: #FFF;
        li {
            padding: 8px 20px;
            border-bottom: 1px solid #eaeaea;
            &.ssh:hover {
                background-color: #ffffEE;
            }
            i {
                padding-right: 5px;
            }
        }
    }
    .active-icon {
        width: 10px;
        height: 10px;
        border-radius: 6px;
        padding: 0;
        margin-right: 20px;
        margin-top: 10px;
    }
    .ssh-content {
        margin-left: 24px;
        .octicon {
            margin-right: 4px;
        }
        .print,
        .activity {
            color: #888;
        }
    }
    .ssh-delete-btn {
        margin-top: 6px;
    }
}

#user-ssh-add-form {
  .panel-body {
    background-color: #FFF;
    padding: 30px 0;
  }
  .ipt {
    width: 500px;
  }
  textarea {
    height: 120px;
    margin-left: 3px;
  }
  .field {
    margin-bottom: 24px;
  }
}