| 1 |
/** |
| 2 |
* groups_admin.css |
| 3 |
* |
| 4 |
* Copyright (c) "kento" Karim Rahimpur www.itthinx.com |
| 5 |
* |
| 6 |
* This code is released under the GNU General Public License. |
| 7 |
* See COPYRIGHT.txt and LICENSE.txt. |
| 8 |
* |
| 9 |
* This code is distributed in the hope that it will be useful, |
| 10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
* GNU General Public License for more details. |
| 13 |
* |
| 14 |
* This header and all notices must be kept intact. |
| 15 |
* |
| 16 |
* @author Karim Rahimpur |
| 17 |
* @package groups |
| 18 |
* @since groups 1.0.0 |
| 19 |
*/ |
| 20 |
.manage-groups, |
| 21 |
.manage-capabilities { |
| 22 |
margin-right: 1em; |
| 23 |
} |
| 24 |
.filters, |
| 25 |
.manage { |
| 26 |
background-color: #fff; |
| 27 |
padding: 0.62em; |
| 28 |
margin-bottom: 0.62em; |
| 29 |
border: 1px solid #ddd; |
| 30 |
} |
| 31 |
.filters fieldset, |
| 32 |
.manage fieldset { |
| 33 |
display: inline-block; |
| 34 |
clear: both; |
| 35 |
} |
| 36 |
.filters legend { |
| 37 |
padding: 0 0 2px 0; |
| 38 |
} |
| 39 |
.filters form label { |
| 40 |
white-space: nowrap; |
| 41 |
margin-bottom: 0.62em; |
| 42 |
} |
| 43 |
.manage a.add { |
| 44 |
text-decoration: none; |
| 45 |
cursor: pointer; |
| 46 |
} |
| 47 |
.manage a.add .icon { |
| 48 |
vertical-align: middle; |
| 49 |
padding-right: 4px; |
| 50 |
} |
| 51 |
.manage-groups a.add.page-title-action img.icon, |
| 52 |
.manage-groups a.refresh.page-title-action img.icon, |
| 53 |
.manage-groups .row-actions span.edit img, |
| 54 |
.manage-groups .row-actions span.remove img, |
| 55 |
.manage-capabilities a.add.page-title-action img.icon, |
| 56 |
.manage-capabilities a.refresh.page-title-action img.icon, |
| 57 |
.manage-capabilities .row-actions span.edit img, |
| 58 |
.manage-capabilities .row-actions span.remove img { |
| 59 |
vertical-align: sub; |
| 60 |
} |
| 61 |
.manage a.add .label { |
| 62 |
height: 20px; |
| 63 |
vertical-align: middle; |
| 64 |
} |
| 65 |
.manage a.refresh { |
| 66 |
text-decoration: none; |
| 67 |
cursor: pointer; |
| 68 |
float: right; |
| 69 |
} |
| 70 |
.manage a.refresh .icon { |
| 71 |
vertical-align: middle; |
| 72 |
} |
| 73 |
.manage a.refresh .label { |
| 74 |
height: 20px; |
| 75 |
vertical-align: middle; |
| 76 |
} |
| 77 |
div.field { |
| 78 |
padding-bottom: 0.62em; |
| 79 |
} |
| 80 |
div.field a.cancel { |
| 81 |
vertical-align: middle; |
| 82 |
} |
| 83 |
div.field input[type="submit"], |
| 84 |
div.group.remove input[type="submit"], |
| 85 |
div.capability.remove input[type="submit"] { |
| 86 |
margin-right: 1em; |
| 87 |
} |
| 88 |
label.group-id-filter, |
| 89 |
label.group-name-filter, |
| 90 |
label.capability-id-filter, |
| 91 |
label.capability-filter, |
| 92 |
label.field-label { |
| 93 |
padding-right: 0.62em; |
| 94 |
} |
| 95 |
input.group-id-filter, |
| 96 |
input.group-name-filter, |
| 97 |
input.capability-id-filter, |
| 98 |
input.capability-filter { |
| 99 |
margin-right: 0.31em; |
| 100 |
} |
| 101 |
|
| 102 |
div.group.new label, |
| 103 |
div.group.edit label, |
| 104 |
div.capability.new label, |
| 105 |
div.capability.edit label { |
| 106 |
display: block; |
| 107 |
} |
| 108 |
|
| 109 |
|
| 110 |
.groups-overview .page-options, |
| 111 |
.capabilities-overview .page-options { |
| 112 |
float: left; |
| 113 |
display: inline; |
| 114 |
/*width: 250px;*/ |
| 115 |
padding-bottom: 1em; |
| 116 |
} |
| 117 |
.groups-overview .page-options.right, |
| 118 |
.capabilities-overview .page-options.right { |
| 119 |
float: right; |
| 120 |
} |
| 121 |
.groups-overview .page-options label, |
| 122 |
.groups-overview .page-options input[type="text"], |
| 123 |
.groups-overview .page-options .button, |
| 124 |
.capabilities-overview .page-options label, |
| 125 |
.capabilities-overview .page-options input[type="text"], |
| 126 |
.capabilities-overview .page-options .button { |
| 127 |
margin-right: 4px; |
| 128 |
vertical-align: middle; |
| 129 |
} |
| 130 |
.groups-overview .page-options input[type="text"], |
| 131 |
.capabilities-overview .page-options input[type="text"] { |
| 132 |
width: 2.8em; |
| 133 |
text-align: center; |
| 134 |
} |
| 135 |
.groups-overview .tablenav.top, |
| 136 |
.capabilities-overview .tablenav.top { |
| 137 |
display: inline; |
| 138 |
width: 250px; |
| 139 |
} |
| 140 |
.groups-overview th.check-column, |
| 141 |
.capabilities-overview th.check-column { |
| 142 |
padding: 10px 0 0 3px; |
| 143 |
} |
| 144 |
.groups-overview th.edit, |
| 145 |
.groups-overview th.group_id, |
| 146 |
.groups-overview th.remove, |
| 147 |
.capabilities-overview th.capability_id, |
| 148 |
.capabilities-overview th.edit, |
| 149 |
.capabilities-overview th.remove { |
| 150 |
width:10%; |
| 151 |
} |
| 152 |
|
| 153 |
.groups-overview td.capabilities, |
| 154 |
.capabilities-overview td.capability { |
| 155 |
text-overflow: ellipsis; |
| 156 |
} |
| 157 |
|
| 158 |
.groups-overview td.capabilities ul { |
| 159 |
margin: 0; |
| 160 |
} |
| 161 |
|
| 162 |
.groups-overview td.capabilities span.inherited { |
| 163 |
font-style: italic; |
| 164 |
} |
| 165 |
|
| 166 |
.manage-groups .required, |
| 167 |
.manage-capabilities .required { |
| 168 |
background: url(../images/required.png) transparent no-repeat left center; |
| 169 |
padding-left: 16px ! important; |
| 170 |
} |
| 171 |
.groups-footer { |
| 172 |
padding-top: 16px; |
| 173 |
color: #999; |
| 174 |
} |
| 175 |
.groups-footer a { |
| 176 |
color: #777; |
| 177 |
text-decoration: none; |
| 178 |
font-weight: bold; |
| 179 |
} |
| 180 |
.groups-footer form { |
| 181 |
display: inline; |
| 182 |
} |
| 183 |
|
| 184 |
.groups-options input[type="checkbox"] { |
| 185 |
margin-right: 4px; |
| 186 |
} |
| 187 |
.groups-options .groups-permissions thead td { |
| 188 |
padding: 0 4px; |
| 189 |
font-weight: bold; |
| 190 |
margin: 0; |
| 191 |
} |
| 192 |
.groups-options .groups-permissions td.checkbox { |
| 193 |
text-align: center; |
| 194 |
} |
| 195 |
.info { |
| 196 |
background-color: #eec; |
| 197 |
border: 1px solid #cca; |
| 198 |
border-radius: 4px; |
| 199 |
margin: 1em; |
| 200 |
padding: 1em; |
| 201 |
} |
| 202 |
|
| 203 |
#groups-extensions-box { |
| 204 |
position: relative; |
| 205 |
float: right; |
| 206 |
padding: 1em; |
| 207 |
margin: 1em; |
| 208 |
background-color: #eee; |
| 209 |
border-radius: 4px; |
| 210 |
color: #333; |
| 211 |
border: 1px solid #ddd; |
| 212 |
width: 256px; |
| 213 |
} |
| 214 |
#groups-extensions-box a.close { |
| 215 |
color: #ccc; |
| 216 |
line-height: 18px; |
| 217 |
position: absolute; |
| 218 |
right: 6px; |
| 219 |
text-decoration: none; |
| 220 |
top: 6px; |
| 221 |
font-family: sans; |
| 222 |
font-size: 11px; |
| 223 |
} |
| 224 |
|
| 225 |
.groups-bulk-container { |
| 226 |
padding-bottom: 1em; |
| 227 |
} |
| 228 |
.groups-bulk-container, |
| 229 |
.capabilities-bulk-container, |
| 230 |
.tablenav .tablenav-pages { |
| 231 |
line-height: 24px; |
| 232 |
} |
| 233 |
.groups-bulk-container .capabilities-select-container { |
| 234 |
width: 25%; |
| 235 |
float: left; |
| 236 |
vertical-align: middle; |
| 237 |
} |
| 238 |
.groups-bulk-container .selectize-control, |
| 239 |
.groups-bulk-container select.bulk-action, |
| 240 |
.capabilities-bulk-container select.bulk-action { |
| 241 |
margin-right: 4px; |
| 242 |
vertical-align: middle; |
| 243 |
} |
| 244 |
.groups-bulk-container .selectize-input { |
| 245 |
font-size: inherit; |
| 246 |
line-height: 18px; |
| 247 |
padding: 0 4px; |
| 248 |
vertical-align: middle; |
| 249 |
} |
| 250 |
.groups-bulk-container .selectize-input input[type="text"] { |
| 251 |
font-size: inherit; |
| 252 |
vertical-align: middle; |
| 253 |
height: 28px; |
| 254 |
line-height: 28px; |
| 255 |
} |
| 256 |
.groups-bulk-container .button, |
| 257 |
.capabilities-bulk-container .button { |
| 258 |
vertical-align: middle; |
| 259 |
} |
| 260 |
|
| 261 |
.group.new .selectize-control, |
| 262 |
.group.edit .selectize-control, |
| 263 |
.groups-options .selectize-control { |
| 264 |
padding: 2px; |
| 265 |
} |
| 266 |
.group.new .selectize-input, |
| 267 |
.group.edit .selectize-input, |
| 268 |
.groups-options .selectize-input { |
| 269 |
font-size: inherit; |
| 270 |
line-height: 18px; |
| 271 |
padding: 2px; |
| 272 |
} |
| 273 |
|
| 274 |
.groups.messages { |
| 275 |
padding: 1em 0; |
| 276 |
} |
| 277 |
|
| 278 |
@media screen and ( max-width: 782px ) { |
| 279 |
.groups-bulk-container .selectize-input { |
| 280 |
padding: 2px; |
| 281 |
} |
| 282 |
.groups-bulk-container .selectize-input .item, |
| 283 |
.groups-bulk-container .selectize-dropdown-content .option { |
| 284 |
font-size: 16px; |
| 285 |
} |
| 286 |
.groups-bulk-container .selectize-input input[type="text"] { |
| 287 |
height: 32px; |
| 288 |
font-size: 16px; |
| 289 |
} |
| 290 |
} |
| 291 |
|
| 292 |
.groups-admin-add-ons ul { |
| 293 |
list-style: none; |
| 294 |
display: block; |
| 295 |
padding: 0; |
| 296 |
overflow: hidden; |
| 297 |
} |
| 298 |
.groups-admin-add-ons li { |
| 299 |
float: left; |
| 300 |
margin: 0 1em 1em 0; |
| 301 |
padding: 8px; |
| 302 |
vertical-align: top; |
| 303 |
width: 256px; |
| 304 |
height: 158px; |
| 305 |
background-color: #fff; |
| 306 |
border: 1px solid #ccc; |
| 307 |
} |
| 308 |
.groups-admin-add-ons .add-ons h3 { |
| 309 |
margin: 0; |
| 310 |
display: block; |
| 311 |
clear: both; |
| 312 |
} |
| 313 |
.groups-admin-add-ons .add-ons h3 img { |
| 314 |
vertical-align: middle; |
| 315 |
margin: 0 8px 0 0; |
| 316 |
display: block; |
| 317 |
float: left; |
| 318 |
} |
| 319 |
.groups-admin-add-ons .add-ons a { |
| 320 |
text-decoration: none; |
| 321 |
display: block; |
| 322 |
overflow: hidden; |
| 323 |
} |
| 324 |
.groups-admin-add-ons .add-ons p { |
| 325 |
margin: 0; |
| 326 |
padding-top: 8px; |
| 327 |
clear: both; |
| 328 |
display: block; |
| 329 |
color: #333; |
| 330 |
} |
| 331 |
|