summaryrefslogtreecommitdiff
path: root/rt/share/static/css/base/rights-editor.css
blob: acfc3d9069e4896e21fb97b1a0d30dd6641ea459 (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
/* Styles for putting jQuery UI tabs on the left */
.rights-editor {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 110%;
}

/* Position and style the left tabs */
.rights-editor > .ui-tabs-nav {
    float: left;
    background: transparent;
    border: none;
    color: black;
    width: 25%;
}

.rights-editor > .ui-tabs-nav li {
    float: none;
    display: block;
    border: none;
    background: transparent;
}

.rights-editor > .ui-tabs-nav li a {
    float: none;
    display: block;
    padding: 0 0 0.2em 1em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rights-editor .ui-tabs-nav li.category {
    text-transform: uppercase;
}

li.category ~ li.category {
    margin-top: 1em;
}

.rights-editor li.addprincipal .warning {
    color: #a00;
    display: none;
}

/* Position the outer-most panel */
.rights-editor > .ui-tabs-panel {
    position: static;
    float: left;
    width: 72%;
}

.rights-editor .ui-tabs-panel {
    padding: 2px;
}

.rights-editor .ui-tabs-panel h3 {
    color: black;
    margin-top: 0;
    line-height: 0.8em;
}

.rights-editor .ui-tabs-panel h3 .subgroups {
    color: #444;
    font-size: 80%;
}

.category-tabs {
    width: 100%;
    border: none;
    background: none;
}

.category-tabs .ui-tabs-nav {
    border: none;
    background: none;
}

.category-tabs .ui-tabs-panel {
    background: none;
    border: 1px solid #aaa;
}

.rights-editor li.ui-tabs-active {
    background: white !important;
    color: #222 !important;
    border-color: #aaa !important; 
    font-weight: bold;
}

.rights-editor .ui-state-active a,
.rights-editor .ui-state-hover a {
    color: #222 !important;
}

.rights-editor .category-tabs li.ui-state-hover {
    background: #f6f6f6;
    border-color: #aaa !important;
}

.rights-editor .separator {
    display: none;
}

.rights-editor ul.rights-list {
    list-style: none;
}

.rights-editor ul.rights-list li {
    padding: 0.2em 0;
}

.rights-editor ul.rights-list li:nth-child(even) {
    background: #f4f4f4;
}

.rights-editor ul.rights-list li label {
    cursor: pointer;
}

.rights-editor .rightname {
    color: #888;
    font-size: 0.9em;

    position: absolute;
    right: 1em;
    margin-top: 0.3em;

    text-align: right;
}