Merge branch 'master' of https://github.com/jgoodman/Freeside
[freeside.git] / rt / share / html / NoAuth / css / base / rights-editor.css
1 %# BEGIN BPS TAGGED BLOCK {{{
2 %#
3 %# COPYRIGHT:
4 %#
5 %# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC
6 %#                                          <sales@bestpractical.com>
7 %#
8 %# (Except where explicitly superseded by other copyright notices)
9 %#
10 %#
11 %# LICENSE:
12 %#
13 %# This work is made available to you under the terms of Version 2 of
14 %# the GNU General Public License. A copy of that license should have
15 %# been provided with this software, but in any event can be snarfed
16 %# from www.gnu.org.
17 %#
18 %# This work is distributed in the hope that it will be useful, but
19 %# WITHOUT ANY WARRANTY; without even the implied warranty of
20 %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21 %# General Public License for more details.
22 %#
23 %# You should have received a copy of the GNU General Public License
24 %# along with this program; if not, write to the Free Software
25 %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
26 %# 02110-1301 or visit their web page on the internet at
27 %# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
28 %#
29 %#
30 %# CONTRIBUTION SUBMISSION POLICY:
31 %#
32 %# (The following paragraph is not intended to limit the rights granted
33 %# to you to modify and distribute this software under the terms of
34 %# the GNU General Public License and is only of importance to you if
35 %# you choose to contribute your changes and enhancements to the
36 %# community by submitting them to Best Practical Solutions, LLC.)
37 %#
38 %# By intentionally submitting any modifications, corrections or
39 %# derivatives to this work, or any other work intended for use with
40 %# Request Tracker, to Best Practical Solutions, LLC, you confirm that
41 %# you are the copyright holder for those contributions and you grant
42 %# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
43 %# royalty-free, perpetual, license to use, copy, create derivative
44 %# works based on those contributions, and sublicense and distribute
45 %# those contributions and any derivatives thereof.
46 %#
47 %# END BPS TAGGED BLOCK }}}
48 /* Styles for putting jQuery UI tabs on the left */
49 .rights-editor {
50     border: none;
51     background: transparent;
52     width: 100%;
53     font-size: 110%;
54 }
55
56 /* Position and style the left tabs */
57 .rights-editor > .ui-tabs-nav {
58     float: left;
59     background: transparent;
60     border: none;
61     color: black;
62     width: 25%;
63 }
64
65 .rights-editor > .ui-tabs-nav li {
66     float: none;
67     display: block;
68     border: none;
69     background: transparent;
70 }
71
72 .rights-editor > .ui-tabs-nav li a {
73     float: none;
74     display: block;
75     padding: 0 0 0.2em 1em;
76     overflow: hidden;
77     text-overflow: ellipsis;
78 }
79
80 .rights-editor .ui-tabs-nav li.category {
81     text-transform: uppercase;
82 }
83
84 li.category ~ li.category {
85     margin-top: 1em;
86 }
87
88 .rights-editor li.addprincipal .warning {
89     color: #a00;
90     display: none;
91 }
92
93 /* Position the outer-most panel */
94 .rights-editor > .ui-tabs-panel {
95     position: static;
96     float: left;
97     width: 72%;
98 }
99
100 .rights-editor .ui-tabs-panel {
101     padding: 2px;
102 }
103
104 .rights-editor .ui-tabs-panel h3 {
105     color: black;
106     margin-top: 0;
107     line-height: 0.8em;
108 }
109
110 .rights-editor .ui-tabs-panel h3 .subgroups {
111     color: #444;
112     font-size: 80%;
113 }
114
115 .category-tabs {
116     width: 100%;
117     border: none;
118     background: none;
119 }
120
121 .category-tabs .ui-tabs-nav {
122     border: none;
123     background: none;
124 }
125
126 .category-tabs .ui-tabs-panel {
127     background: none;
128     border: 1px solid #aaa;
129 }
130
131 .rights-editor li.ui-tabs-selected {
132     background: white !important;
133     color: #222 !important;
134     border-color: #aaa !important; 
135     font-weight: bold;
136 }
137
138 .rights-editor .ui-state-active a,
139 .rights-editor .ui-state-hover a {
140     color: #222 !important;
141 }
142
143 .rights-editor .category-tabs li.ui-state-hover {
144     background: #f6f6f6;
145     border-color: #aaa !important;
146 }
147
148 .rights-editor .separator {
149     display: none;
150 }
151
152 .rights-editor ul.rights-list {
153     list-style: none;
154 }
155
156 .rights-editor ul.rights-list li {
157     padding: 0.2em 0;
158 }
159
160 .rights-editor ul.rights-list li:nth-child(even) {
161     background: #f4f4f4;
162 }
163
164 .rights-editor ul.rights-list li label {
165     cursor: pointer;
166 }
167
168 .rights-editor .rightname {
169     color: #888;
170     font-size: 0.9em;
171
172     position: absolute;
173     right: 1em;
174     margin-top: 0.3em;
175
176     text-align: right;
177 }