2011-06-21 10:58:26 -05:00
|
|
|
|
2010-08-06 09:01:44 -05:00
|
|
|
/* Authors:
|
2011-10-11 02:42:35 -05:00
|
|
|
* Pavel Zuna <pzuna@redhat.com>
|
|
|
|
* Adam Young <ayoung@redhat.com>
|
|
|
|
* Endi Sukma Dewata <edewata@redhat.com>
|
|
|
|
* Kyle Baker <kybaker@redhat.com>
|
2012-10-01 10:36:42 -05:00
|
|
|
* Petr Vobornik <pvoborni@redhat.com>
|
2011-10-11 02:42:35 -05:00
|
|
|
*
|
|
|
|
* Copyright (C) 2010 Red Hat
|
2010-08-06 09:01:44 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
2011-06-07 20:48:20 -05:00
|
|
|
html {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
overflow: auto;
|
2012-07-23 03:32:26 -05:00
|
|
|
position: relative;
|
2011-06-07 20:48:20 -05:00
|
|
|
height: 100%;
|
2010-11-12 14:23:58 -06:00
|
|
|
}
|
|
|
|
|
2013-06-28 09:50:52 -05:00
|
|
|
textarea[readonly] {
|
|
|
|
color: Gray;
|
|
|
|
}
|
|
|
|
|
2011-06-07 20:48:20 -05:00
|
|
|
/* ---- Container ---- */
|
|
|
|
|
2013-03-28 12:25:13 -05:00
|
|
|
.app-container {
|
2014-04-04 10:45:56 -05:00
|
|
|
height: 100%;
|
2011-06-07 20:48:20 -05:00
|
|
|
}
|
|
|
|
|
2012-06-26 09:19:58 -05:00
|
|
|
/* ---- Password expiration */
|
|
|
|
|
|
|
|
.header-passwordexpires {
|
|
|
|
color: red;
|
|
|
|
font-weight: bold;
|
2013-10-16 12:55:42 -05:00
|
|
|
padding: 7px 10px;
|
|
|
|
line-height: 1;
|
2012-06-26 09:19:58 -05:00
|
|
|
}
|
|
|
|
|
2012-08-27 03:57:47 -05:00
|
|
|
/* ---- Notification area ---- */
|
|
|
|
|
|
|
|
.notification-area {
|
2014-04-04 10:45:56 -05:00
|
|
|
position: fixed;
|
2013-10-24 11:17:06 -05:00
|
|
|
left: 50%;
|
|
|
|
top: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification-area div {
|
|
|
|
position: relative;
|
|
|
|
left: -50%;
|
2012-08-27 03:57:47 -05:00
|
|
|
z-index: 20;
|
2013-07-18 05:45:13 -05:00
|
|
|
word-wrap: break-word;
|
2013-10-24 11:17:06 -05:00
|
|
|
max-width: 500px;
|
2012-08-27 03:57:47 -05:00
|
|
|
}
|
|
|
|
|
2011-06-21 15:05:44 -05:00
|
|
|
/* ---- Facet ---- */
|
|
|
|
|
|
|
|
.facet {
|
2013-11-25 06:56:27 -06:00
|
|
|
position: relative;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-05-24 10:02:05 -05:00
|
|
|
.active-facet {
|
|
|
|
display: block;
|
2011-06-21 15:05:44 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.facet-title {
|
2011-06-07 20:48:20 -05:00
|
|
|
color: gray;
|
|
|
|
}
|
|
|
|
|
2014-05-13 08:42:50 -05:00
|
|
|
.facet-title.no-pkey {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2011-06-21 15:05:44 -05:00
|
|
|
.facet-pkey {
|
2011-06-07 20:48:20 -05:00
|
|
|
color:black;
|
2011-07-13 21:10:47 -05:00
|
|
|
text-transform: none;
|
2011-06-07 20:48:20 -05:00
|
|
|
}
|
|
|
|
|
2011-06-22 21:54:28 -05:00
|
|
|
.breadcrumb {
|
2013-10-16 13:02:25 -05:00
|
|
|
padding: 0;
|
2014-04-04 05:57:08 -05:00
|
|
|
margin: 5px 0 0 0;
|
2011-06-22 21:54:28 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb a {
|
|
|
|
cursor: pointer;
|
2011-06-07 20:48:20 -05:00
|
|
|
}
|
|
|
|
|
2011-06-21 15:05:44 -05:00
|
|
|
/* ---- Facet Tabs ---- */
|
2011-06-07 20:48:20 -05:00
|
|
|
|
|
|
|
.facet-group {
|
|
|
|
float: left;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
2011-06-23 11:44:44 -05:00
|
|
|
.facet-group-label {
|
2011-06-21 15:05:44 -05:00
|
|
|
height: 20px;
|
2011-06-13 15:40:36 -05:00
|
|
|
}
|
|
|
|
|
2011-06-07 20:48:20 -05:00
|
|
|
.facet-tab {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.facet-tab li {
|
|
|
|
display: inline-block;
|
2011-10-11 02:42:35 -05:00
|
|
|
padding-right: 1px;
|
2011-06-07 20:48:20 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.facet-tab li a {
|
|
|
|
background-color: #dedbde;
|
2011-06-21 09:21:14 -05:00
|
|
|
border-left: 1px solid #c9c3ba;
|
2011-10-11 02:42:35 -05:00
|
|
|
border-right: 1px solid #c9c3ba;
|
2011-06-21 15:05:44 -05:00
|
|
|
margin: 0 0 0;
|
2011-12-12 12:16:46 -06:00
|
|
|
padding: 8px 16px 4px 16px;
|
2011-06-07 20:48:20 -05:00
|
|
|
text-decoration: none;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 19px;
|
2011-10-11 02:42:35 -05:00
|
|
|
color: #666666;
|
2011-06-07 20:48:20 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.facet-tab li a.selected {
|
2011-06-21 09:21:14 -05:00
|
|
|
color: #6C6F73;
|
2011-06-07 20:48:20 -05:00
|
|
|
background-color: #f1f0ee;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.facet-tab li.settings {
|
|
|
|
margin-left:1em; margin-right:1em;
|
|
|
|
}
|
|
|
|
|
2011-12-12 12:16:46 -06:00
|
|
|
|
|
|
|
/* Facet tabs coloring */
|
|
|
|
|
|
|
|
.facet-group li a {
|
|
|
|
background-image: url(images/facet-tab-off.png);
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
background-position: 0px -33px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.facet-group li a.selected {
|
|
|
|
background-image: url(images/facet-tab-on.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
div[name=settings].facet-group li a {
|
|
|
|
background-position: 0px -66px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.facet-group li[name^=member] a,
|
|
|
|
.facet-group li[name^=managedby] a {
|
|
|
|
background-position: 0px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.facet-group li[name^=memberof] a {
|
|
|
|
background-position: 0px -33px;
|
|
|
|
}
|
|
|
|
|
2011-06-21 15:05:44 -05:00
|
|
|
/* ---- Facet Controls ---- */
|
|
|
|
|
|
|
|
.facet-controls {
|
2014-04-04 10:45:56 -05:00
|
|
|
padding: 5px 0px;
|
2014-04-04 05:57:08 -05:00
|
|
|
clear: both;
|
2011-06-07 20:48:20 -05:00
|
|
|
}
|
|
|
|
|
2014-05-13 05:38:38 -05:00
|
|
|
.facet-controls-left {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.facet-controls-right {
|
2014-04-04 05:57:08 -05:00
|
|
|
float: right;
|
2011-06-07 20:48:20 -05:00
|
|
|
}
|
|
|
|
|
2014-04-14 07:10:20 -05:00
|
|
|
.control-buttons {
|
2014-05-13 05:38:38 -05:00
|
|
|
display: inline-block;
|
2014-04-14 07:10:20 -05:00
|
|
|
}
|
|
|
|
|
2014-05-13 06:00:16 -05:00
|
|
|
.control-buttons button {
|
|
|
|
margin-right: 5px;
|
2014-04-14 07:10:20 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.facet-actions {
|
|
|
|
display: inline-block;
|
2011-04-27 12:17:13 -05:00
|
|
|
}
|
|
|
|
|
2012-03-09 06:31:08 -06:00
|
|
|
/* --- Facet error --- */
|
|
|
|
|
|
|
|
.facet-error {
|
2014-04-14 07:10:20 -05:00
|
|
|
background-color: white;
|
2012-03-09 06:31:08 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.facet-error h1 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.facet-error .error-details {
|
|
|
|
margin-top: 2em;
|
2014-07-29 07:13:10 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.facet-error .error-details code {
|
|
|
|
white-space: pre;
|
2012-03-09 06:31:08 -06:00
|
|
|
}
|
|
|
|
|
2011-06-21 15:05:44 -05:00
|
|
|
/* ---- Search Facet ---- */
|
2011-06-07 20:48:20 -05:00
|
|
|
|
2013-02-22 10:12:53 -06:00
|
|
|
.search-option {
|
2013-10-22 10:38:09 -05:00
|
|
|
margin-right: 8px;
|
2014-04-04 10:45:56 -05:00
|
|
|
width: 178px;
|
|
|
|
display: inline-block;
|
2013-02-22 10:12:53 -06:00
|
|
|
}
|
|
|
|
|
2011-06-21 15:05:44 -05:00
|
|
|
.search-filter {
|
2011-11-16 21:07:20 -06:00
|
|
|
display: inline-block;
|
2011-06-13 15:40:36 -05:00
|
|
|
}
|
|
|
|
|
2011-07-15 12:18:59 -05:00
|
|
|
.search-filter input {
|
2013-10-22 10:38:09 -05:00
|
|
|
width: 178px;
|
2014-04-04 10:45:56 -05:00
|
|
|
display: inline-block;
|
2011-07-15 12:18:59 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-filter a {
|
2013-10-22 10:38:09 -05:00
|
|
|
position: relative;
|
|
|
|
margin: 0 0 0 -20px;
|
2014-06-09 05:45:11 -05:00
|
|
|
padding-right: 10px;
|
2011-07-15 12:18:59 -05:00
|
|
|
}
|
|
|
|
|
2014-04-04 05:57:08 -05:00
|
|
|
.pagination-control {
|
2011-06-07 20:48:20 -05:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2014-04-04 05:57:08 -05:00
|
|
|
.pagination-control a {
|
2011-06-07 20:48:20 -05:00
|
|
|
cursor:pointer;
|
|
|
|
}
|
|
|
|
|
2014-04-04 05:57:08 -05:00
|
|
|
.pagination-control input[name=current_page] {
|
2011-06-07 20:48:20 -05:00
|
|
|
width: 22px;
|
2013-10-22 07:33:37 -05:00
|
|
|
padding: 0 6px;
|
|
|
|
margin: 0;
|
2011-06-07 20:48:20 -05:00
|
|
|
}
|
2011-04-11 13:49:36 -05:00
|
|
|
|
2011-06-21 15:05:44 -05:00
|
|
|
/* ---- Details Facet ---- */
|
2011-06-07 20:48:20 -05:00
|
|
|
|
|
|
|
.details-content {
|
|
|
|
border-top: 1px solid #DFDFDF;
|
2010-12-09 15:32:22 -06:00
|
|
|
}
|
|
|
|
|
2011-06-24 11:39:48 -05:00
|
|
|
/* ---- Dialog ---- */
|
|
|
|
|
2014-06-09 06:41:14 -05:00
|
|
|
.modal code {
|
|
|
|
white-space: normal;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
2011-09-23 10:49:46 -05:00
|
|
|
.aci-attribute-table tbody {
|
2012-07-13 10:49:13 -05:00
|
|
|
height: 10em;
|
2010-08-06 09:01:44 -05:00
|
|
|
}
|
|
|
|
|
2011-09-23 10:49:46 -05:00
|
|
|
.aci-attribute-table .aci-attribute-column {
|
|
|
|
width: 200em; /* it will fit actual width */
|
2010-09-16 14:13:48 -05:00
|
|
|
}
|
|
|
|
|
2012-07-13 10:49:13 -05:00
|
|
|
.aci-attribute-table-container {
|
|
|
|
height: 13.5em;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2010-10-13 12:07:43 -05:00
|
|
|
.strikethrough { text-decoration: line-through; }
|
2010-10-15 23:40:38 -05:00
|
|
|
|
2012-01-31 11:31:22 -06:00
|
|
|
textarea.certificate {
|
2013-12-04 09:15:20 -06:00
|
|
|
font-family: monospace;
|
2012-01-31 11:31:22 -06:00
|
|
|
width: 100%;
|
|
|
|
height: 250px;
|
|
|
|
}
|
|
|
|
|
2012-10-04 07:05:17 -05:00
|
|
|
.error-message-hinted {
|
|
|
|
color: red;
|
|
|
|
padding-top: 0.5em;
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
|
2011-06-07 20:48:20 -05:00
|
|
|
/* ---- Table ---- */
|
|
|
|
|
2014-04-04 05:57:08 -05:00
|
|
|
/* Used in association tables */
|
2014-07-31 05:15:09 -05:00
|
|
|
th div[name="buttons"] .btn-link {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
border: 0;
|
2014-04-04 05:57:08 -05:00
|
|
|
}
|
|
|
|
|
SUDO adjustments
The SUDO rule details facet has been updated to support the latest UI
spec. The facet consists of 5 sections: general, users, hosts, commands,
and run-as.
The general section contains the SUDO rule description and status. If
the status is changed, the sudorule-enable/disable will be invoked.
The other sections contain radio buttons for the association category
and tables for the members. When a member is added or removed, the
category will be adjusted appropriately. If the category is changed to
'all', 'allow', or 'deny', all members will be removed.
The last section is currently not working because backend support is
not yet available.
The adder dialog boxes for users, groups, and hosts has been modified
to accept external identities. The layout for the base adder dialog
was updated. The base dialog class was updated to support templates.
The SUDO dialog boxes were implemented using templates. New CSS
classes were added to ipa.css.
The HBAC rule details facet has been updated as well.
2010-12-07 01:51:51 -06:00
|
|
|
table.scrollable thead {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.scrollable tbody {
|
|
|
|
display: block;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2011-08-02 16:48:08 -05:00
|
|
|
.adder-dialog-content {
|
2014-04-16 09:15:07 -05:00
|
|
|
max-height: 400px;
|
|
|
|
overflow: auto;
|
2011-01-25 08:23:55 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.adder-dialog-buttons {
|
|
|
|
text-align: center;
|
2014-04-16 09:15:07 -05:00
|
|
|
margin-top: 9.5px;
|
SUDO adjustments
The SUDO rule details facet has been updated to support the latest UI
spec. The facet consists of 5 sections: general, users, hosts, commands,
and run-as.
The general section contains the SUDO rule description and status. If
the status is changed, the sudorule-enable/disable will be invoked.
The other sections contain radio buttons for the association category
and tables for the members. When a member is added or removed, the
category will be adjusted appropriately. If the category is changed to
'all', 'allow', or 'deny', all members will be removed.
The last section is currently not working because backend support is
not yet available.
The adder dialog boxes for users, groups, and hosts has been modified
to accept external identities. The layout for the base adder dialog
was updated. The base dialog class was updated to support templates.
The SUDO dialog boxes were implemented using templates. New CSS
classes were added to ipa.css.
The HBAC rule details facet has been updated as well.
2010-12-07 01:51:51 -06:00
|
|
|
}
|
|
|
|
|
2014-04-16 09:15:07 -05:00
|
|
|
/* remove padding to enlarge the tiny width of the button column */
|
|
|
|
.adder-dialog-buttons .row .col-sm-12 {
|
|
|
|
padding: 0;
|
2011-08-02 16:48:08 -05:00
|
|
|
}
|
|
|
|
|
2014-04-16 09:15:07 -05:00
|
|
|
/* add some space for vertical layout (sm and bigger) */
|
|
|
|
/* 768px == @screen-sm-min */
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.adder-dialog-buttons {
|
|
|
|
margin-top: 34px;
|
|
|
|
}
|
2011-08-02 16:48:08 -05:00
|
|
|
|
2014-04-16 09:15:07 -05:00
|
|
|
.adder-dialog-buttons button {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2012-07-25 05:32:39 -05:00
|
|
|
}
|
|
|
|
|
2011-07-15 12:18:59 -05:00
|
|
|
/* ---- Widgets ---- */
|
|
|
|
|
2012-02-06 07:52:09 -06:00
|
|
|
.multivalued-widget [name=value] {
|
2011-07-15 12:18:59 -05:00
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2013-10-22 07:13:32 -05:00
|
|
|
.multivalued-widget a[name=add] {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2013-03-22 11:53:04 -05:00
|
|
|
.option_widget {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
2014-07-04 06:24:47 -05:00
|
|
|
padding: 0 0 0 1px;
|
2013-03-22 11:53:04 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.option_widget.nested {
|
|
|
|
padding-left: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option_widget.inline,
|
|
|
|
.option_widget.inline > li {
|
|
|
|
display: inline;
|
2014-04-04 10:45:56 -05:00
|
|
|
margin-right: 8px;
|
2013-03-22 11:53:04 -05:00
|
|
|
}
|
|
|
|
|
2014-03-14 07:50:00 -05:00
|
|
|
.option_widget.columns > li {
|
|
|
|
float: left;
|
|
|
|
width: 33%;
|
|
|
|
min-width: 90px;
|
|
|
|
max-width: 150px;
|
|
|
|
}
|
|
|
|
|
2014-07-04 06:24:47 -05:00
|
|
|
.option_widget.columns.attribute_widget {
|
|
|
|
position: relative;
|
|
|
|
overflow-y: auto;
|
|
|
|
max-height: 36em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option_widget.columns.attribute_widget > li {
|
|
|
|
float: left;
|
|
|
|
width: 50%;
|
|
|
|
min-width: 90px;
|
|
|
|
max-width: 200px;
|
|
|
|
}
|
|
|
|
|
2011-07-15 12:18:59 -05:00
|
|
|
.combobox-widget-input {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.combobox-widget-input input {
|
2014-04-04 10:45:56 -05:00
|
|
|
padding-right: 20px;
|
2011-07-15 12:18:59 -05:00
|
|
|
}
|
|
|
|
|
2013-11-05 12:21:57 -06:00
|
|
|
.combobox-widget-input a i {
|
2011-07-15 12:18:59 -05:00
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2013-10-22 10:55:08 -05:00
|
|
|
margin-top: 4px;
|
2013-11-05 12:21:57 -06:00
|
|
|
margin-right: 8px;
|
|
|
|
font-size: 16px;
|
2011-07-15 12:18:59 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.combobox-widget-list {
|
|
|
|
border: 1px solid #A0A0A0;
|
|
|
|
background: #EEEEEE;
|
|
|
|
padding: 5px;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2013-10-22 10:55:08 -05:00
|
|
|
.combobox-widget-list a {
|
2011-07-15 12:18:59 -05:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2011-08-08 15:47:38 -05:00
|
|
|
}
|
|
|
|
|
2014-04-04 10:45:56 -05:00
|
|
|
.combobox-widget-list a i {
|
|
|
|
margin-right: 5px;
|
2011-08-08 15:47:38 -05:00
|
|
|
}
|
2011-10-11 02:42:35 -05:00
|
|
|
|
2014-04-04 10:45:56 -05:00
|
|
|
.combobox-widget-list select {
|
|
|
|
margin-top: 3px;
|
2011-10-19 15:11:09 -05:00
|
|
|
}
|
|
|
|
|
2014-04-11 02:24:06 -05:00
|
|
|
.input-group .combobox-widget-input .form-control {
|
|
|
|
position: initial;
|
|
|
|
float: inherit;
|
2013-11-06 07:44:55 -06:00
|
|
|
}
|
|
|
|
|
2011-12-05 23:25:07 -06:00
|
|
|
/* ---- HBAC Test ---- */
|
|
|
|
|
2013-10-22 09:01:59 -05:00
|
|
|
.hbac-test-header .search-filter {
|
|
|
|
float: right;
|
2011-12-05 23:25:07 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.hbac-test-title {
|
|
|
|
font-size: 1.8em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2013-10-22 09:01:59 -05:00
|
|
|
.hbac-test-title,
|
|
|
|
.hbac-test-title ~ label {
|
|
|
|
margin-right: 5px !important;
|
|
|
|
}
|
|
|
|
|
2011-12-05 23:25:07 -06:00
|
|
|
.hbac-test-top-panel {
|
2014-04-04 10:45:56 -05:00
|
|
|
position: relative;;
|
2011-12-05 23:25:07 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.hbac-test-navigation-buttons {
|
|
|
|
float: right;
|
2012-01-19 03:28:44 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ---- DNS ---- */
|
|
|
|
|
|
|
|
.dnstype-table div[name=position] {
|
|
|
|
|
|
|
|
padding-right: 9px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dnstype-table td {
|
|
|
|
font-weight: normal;
|
2012-02-02 10:55:36 -06:00
|
|
|
}
|
|
|
|
|
2012-02-06 07:52:09 -06:00
|
|
|
|
2012-02-02 10:55:36 -06:00
|
|
|
/* --- Automember --- */
|
|
|
|
|
2014-04-17 09:44:36 -05:00
|
|
|
.automember-header {
|
|
|
|
margin-bottom: 5px;
|
2012-02-02 10:55:36 -06:00
|
|
|
}
|
|
|
|
|
2014-04-17 09:44:36 -05:00
|
|
|
.automember-header-label {
|
2012-02-02 10:55:36 -06:00
|
|
|
display: inline-block;
|
2014-04-17 09:44:36 -05:00
|
|
|
font-weight: 600;
|
|
|
|
margin-right: 20px;
|
2012-02-02 10:55:36 -06:00
|
|
|
}
|
|
|
|
|
2014-04-17 09:44:36 -05:00
|
|
|
.automember-header-control {
|
|
|
|
display: inline-block;
|
|
|
|
width: 200px;
|
2012-02-27 08:31:20 -06:00
|
|
|
}
|
|
|
|
|
Action lists
This patch add support fo Action Lists.
Action list is a select widget with actions as options located in facet header. Action can be selected and then executed by clickin on 'apply' button.
Actions lists are defined on facet level. Facet header takes them from facet.
Action list options
actions: list of actions
state_evaluator: a state evaluator which is needed for enabling/disabling options. Can encapsulate more evaluators.
State evaluator object
----------------------
State evaluator is resposible for evaluating a state from result set. State is a array of strings. Each evaluator should inherit from IPA.state_evaluator and override evaluate method.
Methods:
evaluate(record): should return string array which represents the state
get_description(): human readable representation of a state
Action
------
Action is a object which can perform certain action on a facet. Action has enabling and disabling conditions.
action options:
name: string, required, name of the option
label: string, required, human readable name of the option
enable_cond: string array, states which need to be present in order to run this action
disable_cond: string array, states which must not be present in order to run this action
handler: function, contains action's logic
needs_confirm: boolean, default false, indicates if action needs user confirmation
confirm_msg: string, default generic message, human readable confirmation message.
Action list should contain logic which enables/disables action based on facet state and action's enabling/disabling conditions. It should also enforce presence of confirmation.
In this patch is also slightly modified facet header, mostly title part. It was revised to contain status icon, title and action list on single line. Facet header is using state evaluator's get_description method to properly set tooltip for state icon.
https://fedorahosted.org/freeipa/ticket/2247
2012-04-04 09:33:48 -05:00
|
|
|
/* --- Facet title states --- */
|
|
|
|
|
2014-04-11 07:19:39 -05:00
|
|
|
.facet-title h1 {
|
Action lists
This patch add support fo Action Lists.
Action list is a select widget with actions as options located in facet header. Action can be selected and then executed by clickin on 'apply' button.
Actions lists are defined on facet level. Facet header takes them from facet.
Action list options
actions: list of actions
state_evaluator: a state evaluator which is needed for enabling/disabling options. Can encapsulate more evaluators.
State evaluator object
----------------------
State evaluator is resposible for evaluating a state from result set. State is a array of strings. Each evaluator should inherit from IPA.state_evaluator and override evaluate method.
Methods:
evaluate(record): should return string array which represents the state
get_description(): human readable representation of a state
Action
------
Action is a object which can perform certain action on a facet. Action has enabling and disabling conditions.
action options:
name: string, required, name of the option
label: string, required, human readable name of the option
enable_cond: string array, states which need to be present in order to run this action
disable_cond: string array, states which must not be present in order to run this action
handler: function, contains action's logic
needs_confirm: boolean, default false, indicates if action needs user confirmation
confirm_msg: string, default generic message, human readable confirmation message.
Action list should contain logic which enables/disables action based on facet state and action's enabling/disabling conditions. It should also enforce presence of confirmation.
In this patch is also slightly modified facet header, mostly title part. It was revised to contain status icon, title and action list on single line. Facet header is using state evaluator's get_description method to properly set tooltip for state icon.
https://fedorahosted.org/freeipa/ticket/2247
2012-04-04 09:33:48 -05:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.facet-title .header-icon {
|
|
|
|
display: none;
|
2013-11-06 08:19:42 -06:00
|
|
|
font-size: 70%;
|
|
|
|
vertical-align: 20%;
|
|
|
|
/* Font awesome style, TODO: use mixin */
|
|
|
|
display: inline-block;
|
|
|
|
font-family: FontAwesome;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
Action lists
This patch add support fo Action Lists.
Action list is a select widget with actions as options located in facet header. Action can be selected and then executed by clickin on 'apply' button.
Actions lists are defined on facet level. Facet header takes them from facet.
Action list options
actions: list of actions
state_evaluator: a state evaluator which is needed for enabling/disabling options. Can encapsulate more evaluators.
State evaluator object
----------------------
State evaluator is resposible for evaluating a state from result set. State is a array of strings. Each evaluator should inherit from IPA.state_evaluator and override evaluate method.
Methods:
evaluate(record): should return string array which represents the state
get_description(): human readable representation of a state
Action
------
Action is a object which can perform certain action on a facet. Action has enabling and disabling conditions.
action options:
name: string, required, name of the option
label: string, required, human readable name of the option
enable_cond: string array, states which need to be present in order to run this action
disable_cond: string array, states which must not be present in order to run this action
handler: function, contains action's logic
needs_confirm: boolean, default false, indicates if action needs user confirmation
confirm_msg: string, default generic message, human readable confirmation message.
Action list should contain logic which enables/disables action based on facet state and action's enabling/disabling conditions. It should also enforce presence of confirmation.
In this patch is also slightly modified facet header, mostly title part. It was revised to contain status icon, title and action list on single line. Facet header is using state evaluator's get_description method to properly set tooltip for state icon.
https://fedorahosted.org/freeipa/ticket/2247
2012-04-04 09:33:48 -05:00
|
|
|
}
|
2012-04-30 08:02:41 -05:00
|
|
|
|
2013-11-06 08:19:42 -06:00
|
|
|
.facet-title.enabled .header-icon:before {
|
|
|
|
content: "\f00c";
|
2014-04-11 07:19:39 -05:00
|
|
|
margin-right: 5px;
|
2012-04-30 08:02:41 -05:00
|
|
|
}
|
|
|
|
|
2013-11-06 08:19:42 -06:00
|
|
|
.facet-title.disabled .header-icon:before {
|
|
|
|
content: "\f068";
|
2014-04-11 07:19:39 -05:00
|
|
|
margin-right: 5px;
|
2012-04-30 08:02:41 -05:00
|
|
|
}
|
|
|
|
|
2015-05-14 06:30:49 -05:00
|
|
|
.facet-title.preserved .header-icon:before {
|
|
|
|
content: "\f014";
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.facet-title.staging .header-icon:before {
|
|
|
|
content: "\f0ad";
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2014-04-11 07:19:39 -05:00
|
|
|
.facet-title.disabled h1,
|
|
|
|
.facet-title.disabled h1 .facet-pkey{
|
2012-04-30 08:02:41 -05:00
|
|
|
color: gray;
|
2012-05-21 08:24:37 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.action-panel {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2012-06-06 10:52:15 -05:00
|
|
|
top: -30px;
|
2012-05-21 08:24:37 -05:00
|
|
|
|
|
|
|
width: 150px;
|
|
|
|
|
|
|
|
-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
|
|
|
|
-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
|
|
|
|
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
|
|
|
|
}
|
|
|
|
|
|
|
|
.action-panel-list {
|
2013-10-16 13:14:12 -05:00
|
|
|
margin: 0 0 10px 0;
|
2012-05-21 08:24:37 -05:00
|
|
|
list-style: none;
|
2013-10-16 13:14:12 -05:00
|
|
|
padding: 0 0 0 15px;
|
2012-05-21 08:24:37 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.action-title {
|
|
|
|
font-size: 1em;
|
|
|
|
font-weight: bold;
|
2013-10-16 13:14:12 -05:00
|
|
|
margin: 15px 0 5px 15px;
|
|
|
|
line-height: 1em;
|
2012-05-21 08:24:37 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.disabled {
|
|
|
|
color: gray;
|
|
|
|
cursor: default;
|
2012-06-13 10:44:36 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* --- Multiple choice widget --- */
|
|
|
|
|
|
|
|
.multiple-choice-section-header {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1.1em;
|
|
|
|
}
|