summaryrefslogtreecommitdiffstats
path: root/public/less/_organization.less
blob: f3236236c52ff939055a6fc2840f03766484ad91 (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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
.organization {
    padding-top: 15px;
    padding-bottom: @footer-margin * 2;

    .head {
        .ui.header {
            .text {
                vertical-align: middle;
                font-size: 1.6rem;
                margin-left: 15px;
            }
            .ui.right {
                margin-top: 5px;
            }
        }
    }

    &.new.org {
        #create-page-form;
        form {
            .header {
                padding-left: 0 !important;
                text-align: center;
            }
        }
    }

    &.options {
        input {
            min-width: 300px;
        }
    }

    &.profile {
        #org-avatar {
            width: 100px;
            height: 100px;
            margin-right: 15px;
        }

        #org-info {
            .ui.header {
                font-size: 36px;
                margin-bottom: 0;
            }
            .desc {
                font-size: 16px;
                margin-bottom: 10px;
            }
            .meta {
                .item {
                    display: inline-block;
                    margin-right: 10px;

                    .icon {
                        margin-right: 5px;
                    }
                }
            }
        }

        .ui.top.header {
            .ui.right {
                margin-top: 0;
            }
        }

        .teams {
            .item {
                padding: 10px 15px;
            }
        }
    }

    &.teams,
    &.profile {
        .members {
            .ui.avatar {
                width: 48px;
                height: 48px;
                margin-right: 5px;
            }
        }
    }

    &.invite {
        #invite-box {
            margin: auto;
            margin-top: 50px;
            width: 500px !important;

            #search-user-box {
                input {
                    margin-left: 0;
                    width: 300px;
                }
            }
            .ui.button {
                margin-left: 5px;
                margin-top: -3px;
            }
        }
    }

    &.members {
        .list {
            .item {
                margin-left: 0;
                margin-right: 0;
                border-bottom: 1px solid #eee;

                .ui.avatar {
                    width: 48px;
                    height: 48px;
                }
                .meta {
                    line-height: 24px;
                }
            }
        }
    }

    &.teams {
        .detail {
            .item {
                padding: 10px 15px;

                &:not(:last-child) {
                    border-bottom: 1px solid #eee;
                }
            }
        }

        .repositories,
        .members {
            .item {
                padding: 10px 20px;
                line-height: 32px;

                &:not(:last-child) {
                    border-bottom: 1px solid #DDD;
                }

                .button {
                    padding: 9px 10px;
                }
            }
        }

        #add-repo-form,
        #add-member-form {
            input {
                margin-left: 0;
            }

            .ui.button {
                margin-left: 5px;
                margin-top: -3px;
            }
        }
    }
}