mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-27 09:21:59 -06:00
c0eb2b60c8
The enrollment dialog has been modified to use scrollable tables that supports multiple columns to display the search results and selected entries. The columns are specified by calling create_adder_column() on the association facet. By default the tables will use only one column which is to display the primary keys. The following enrollment dialogs have been modified to use multiple columns: - Group's member_user - Service's managedby_host - HBAC Service Group's member_hbacsvc - SUDO Command Group's member_sudocmd The ipa_association_table_widget's add() and remove() have been moved into ipa_association_facet so they can be customized by facet's subclass. The ipa_table's add_row() has been renamed to add_record(). Some old code has been removed from ipa_facet_create_action_panel(). The code was used to generate association links from a single facet. It's no longer needed because now each association has its own facet. The test data has been updated. The IPA.nested_tabs() has been fixed to return the entity itself if IPA.tab_set is not defined. This is needed to pass unit test.
482 lines
7.3 KiB
CSS
482 lines
7.3 KiB
CSS
/* Authors:
|
|
* Pavel Zuna <pzuna@redhat.com>
|
|
* Adam Young <ayoung@redhat.com>
|
|
*
|
|
* Copyright (C) 2010 Red Hat
|
|
*/
|
|
|
|
|
|
body{
|
|
border-width: 0;
|
|
font-family:"Liberation Sans",Arial,Sans;
|
|
font-size:62.5%;
|
|
margin: 0;
|
|
}
|
|
|
|
.input_link {padding: .4em 1em .4em 1.5em;text-decoration: none;position: relative; cursor: pointer; }
|
|
.input_link span.ui-icon {margin: 0 0.4em 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
|
|
|
|
/* ---- Header ---- */
|
|
div.header {
|
|
background-color:#0C3B00;
|
|
width: 100%;
|
|
}
|
|
|
|
div.header a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
div.header a:link {
|
|
text-decoration: none;
|
|
color: white;
|
|
}
|
|
|
|
div.header a:visited {
|
|
text-decoration: none;
|
|
color: white;
|
|
}
|
|
|
|
div.header span.header-logo {
|
|
padding-left: 6em;
|
|
}
|
|
|
|
div.header span.header-logo a img {
|
|
border: 0;
|
|
}
|
|
|
|
div.header span.header-loggedinas {
|
|
width: 960px;
|
|
color: #fff;
|
|
align: right;
|
|
padding-left: 600px;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
|
|
|
|
/* ---- Navigation ---- */
|
|
div.tabs {
|
|
overflow: auto;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 400px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 26pt;
|
|
font-weight: bold;
|
|
margin-bottom: 30px;
|
|
margin-left: 15px;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
div#content {
|
|
margin-top: 0;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
ul#viewtype {
|
|
padding-left: 20px;
|
|
}
|
|
|
|
ul#viewtype li {
|
|
color: #656565;
|
|
display: inline;
|
|
font-weight: bold;
|
|
list-style-type: none;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
|
|
ul#viewtype li img {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
ul#viewtype li a {
|
|
font-weight: normal;
|
|
}
|
|
|
|
div.content div.content-buttons {
|
|
float: right;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
div.content div.content-buttons img {
|
|
border: 0;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 18pt;
|
|
font-weight: bold;
|
|
margin-left: 15px;
|
|
margin-top: 0;
|
|
margin-bottom: 0px;
|
|
text-align: left;
|
|
}
|
|
|
|
hr {
|
|
background-color: #b2b2b2;
|
|
clear: both;
|
|
color: #b2b2b2;
|
|
height: 1px;
|
|
margin-left: 15px;
|
|
margin-right: 15px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.details-section {
|
|
margin-left: 45px;
|
|
margin-right: 15px;
|
|
margin-top: 18px;
|
|
white-space: nowrap;
|
|
padding-bottom: 18px;
|
|
padding-right: 18px;
|
|
}
|
|
|
|
dl.entryattrs {
|
|
clear: both;
|
|
margin-left: 15px;
|
|
margin-top: 18px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
dl.entryattrs dt {
|
|
clear: left;
|
|
float: left;
|
|
padding-bottom: 18px;
|
|
padding-right: 18px;
|
|
text-align: right;
|
|
width: 160px;
|
|
}
|
|
|
|
dl.entryattrs dd {
|
|
float: left;
|
|
padding-bottom: 18px;
|
|
}
|
|
|
|
dl.entryattrs dd.first {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
dl.entryattrs dd.other {
|
|
clear: both;
|
|
margin-left: 178px;
|
|
}
|
|
|
|
dl.entryattrs input {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
div#backtotop {
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
text-align: right;
|
|
}
|
|
|
|
span.attrhint {
|
|
font-size: 8pt;
|
|
left: 40em;
|
|
margin-left: 100px;
|
|
position: absolute;
|
|
}
|
|
|
|
|
|
/*Navigation */
|
|
.tabs1 .ui-tabs-nav{
|
|
padding-left: 5.5em;
|
|
padding-top: 2em;
|
|
margin: 0;
|
|
border: none;
|
|
background-image: url(Mainnav-background.png);
|
|
|
|
}
|
|
|
|
.ui-tabs {
|
|
padding:0;
|
|
}
|
|
|
|
.tabs1 .ui-tabs-nav {
|
|
height: 3em;
|
|
}
|
|
|
|
.tabs1 .ui-tabs-nav li {
|
|
# padding: 0.5em 0;
|
|
background-image: url(Mainnav-offtab.png);
|
|
margin: 0;
|
|
border-width: 0;
|
|
text-align: center;
|
|
vertical-align:baseline;
|
|
}
|
|
|
|
.tabs1 .ui-tabs-nav li.ui-tabs-selected {
|
|
padding: 0 0;
|
|
background-image: url(Mainnav-ontab.png);
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
|
|
.tabs1 .ui-tabs-nav li a{
|
|
width:5em;
|
|
padding: 0.2em 0;
|
|
color: #7E7E7E;
|
|
margin: 0 auto;
|
|
text-align:center;
|
|
font-size:2em;
|
|
}
|
|
|
|
|
|
.tabs1 .ui-tabs-nav li > a:link, span.main-nav-off > a:visited{
|
|
color: #7E7E7E;
|
|
}
|
|
|
|
.tabs1 .ui-tabs-nav li.ui-tabs-selected a{
|
|
color: #3D752A;
|
|
}
|
|
|
|
.tabs1 .ui-tabs-panel {
|
|
display: block;
|
|
border-width: 0;
|
|
padding: 0 0 0 0;
|
|
background: none;
|
|
}
|
|
|
|
.tabs2 .ui-tabs-nav {
|
|
padding: 0.3em 6em 0 9em;
|
|
margin: 0px;
|
|
height: 2.5em;
|
|
background-image: url(Subnav-background.png);
|
|
}
|
|
|
|
.tabs2 .ui-tabs-nav li {
|
|
width:auto;
|
|
padding: 0;
|
|
margin: 0px 0;
|
|
background-image: url(Subnav-background.png);
|
|
color: white;
|
|
}
|
|
|
|
.tabs2 .ui-tabs-nav li.ui-tabs-selected {
|
|
padding: 0;
|
|
height: 1em;
|
|
background-image: url(Subnav-background.png);
|
|
}
|
|
|
|
|
|
.tabs2 .ui-tabs-nav li a{
|
|
width:auto;
|
|
padding: 0.2em 0.4em ;
|
|
-moz-border-radius: 2em;
|
|
border-radius: 2em;
|
|
color: white;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.tabs2 .ui-tabs-nav li > a:link, span.main-nav-off > a:visited{
|
|
color:white;
|
|
}
|
|
|
|
|
|
.tabs2 .ui-tabs-nav li a:hover{
|
|
background: none repeat scroll 0 0 #254718;
|
|
}
|
|
|
|
.tabs2 .ui-tabs-nav li.ui-tabs-selected a{
|
|
-moz-border-radius: 2em;
|
|
border-radius: 2em;
|
|
border:1px solid #1C3612;
|
|
background: none repeat scroll 0 0 #254718;
|
|
color: white;
|
|
height: 1em;
|
|
|
|
}
|
|
|
|
span.sub-nav-off > a:link, span.sub-nav-off > a:visited{
|
|
color:white;
|
|
}
|
|
|
|
span.main-nav-off > a:link, span.main-nav-off > a:visited{
|
|
color:white;
|
|
}
|
|
|
|
span.main-separator{
|
|
background: #333339;
|
|
padding:0.1em;
|
|
}
|
|
|
|
|
|
|
|
/* Entity */
|
|
|
|
.entity-container{
|
|
position: relative;
|
|
left: 250px;
|
|
width: 80%;
|
|
margin: 0.06em;
|
|
padding: 0.06em;
|
|
background: #e8e8e8;
|
|
}
|
|
|
|
.action-panel {
|
|
position: fixed;
|
|
left: 3em;
|
|
border: none;
|
|
float: left;
|
|
margin-top: 5em;
|
|
margin-left: 2.5em;
|
|
padding-left: 0.5em;
|
|
padding-bottom: 1em;
|
|
width: 16.5em;
|
|
}
|
|
|
|
|
|
.action-panel ul {
|
|
list-style-type:none;
|
|
padding: 0;
|
|
}
|
|
|
|
.action-panel h3{
|
|
margin: 0;
|
|
background: #e8e8e8;
|
|
}
|
|
|
|
.action-panel li {
|
|
height: auto;
|
|
padding: 0.2em;
|
|
}
|
|
|
|
.action-panel li.search-facet {
|
|
color: black;
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.action-panel li.entity-facet {
|
|
color: black;
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
margin-left:2em;
|
|
}
|
|
|
|
.action-panel li.entity-facet-disabled {
|
|
color: gray;
|
|
cursor: default;
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
|
|
.client {
|
|
margin-top: 0.4em;
|
|
float: left;
|
|
}
|
|
|
|
|
|
/* Search */
|
|
|
|
.search-controls {
|
|
height: 25px;
|
|
background: white; ##a5a5a5;
|
|
position: relative;
|
|
padding: 0.7em;
|
|
}
|
|
|
|
.search-table > a:link,a:visted{
|
|
color:black;
|
|
}
|
|
|
|
.search-table{
|
|
padding: 0;
|
|
width:100%;
|
|
border: none;
|
|
}
|
|
|
|
.search-table th{
|
|
background-color:gray;
|
|
color:white;
|
|
text-align: left;
|
|
}
|
|
|
|
.search-table tr:nth-child(even){
|
|
# background-color:#CCC;
|
|
}
|
|
|
|
.search-table tr:nth-child(odd){
|
|
# background-color:#FFF;
|
|
}
|
|
|
|
.entity-views{
|
|
list-style-type:none;
|
|
}
|
|
|
|
.entity-views li {
|
|
display:inline;
|
|
cursor: pointer;
|
|
padding: 0.4em;
|
|
}
|
|
|
|
.strikethrough { text-decoration: line-through; }
|
|
|
|
|
|
.key-status-valid {
|
|
list-style-type: circle;
|
|
color: #008000;
|
|
}
|
|
|
|
.key-status-missing {
|
|
list-style-type: circle;
|
|
color: #daa520;
|
|
}
|
|
|
|
.key-status-active {
|
|
list-style-type: disc;
|
|
}
|
|
|
|
.certificate-status-valid {
|
|
list-style-type: circle;
|
|
color: #008000;
|
|
}
|
|
|
|
.certificate-status-revoked {
|
|
list-style-type: circle;
|
|
color: #ff0000;
|
|
}
|
|
|
|
.certificate-status-missing {
|
|
list-style-type: circle;
|
|
color: #daa520;
|
|
}
|
|
|
|
.certificate-status-active {
|
|
list-style-type: disc;
|
|
}
|
|
|
|
dl.modal {
|
|
clear: both;
|
|
margin-left: 1em;
|
|
margin-top: 1em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
dl.modal dt {
|
|
clear: left;
|
|
float: left;
|
|
padding-bottom: 0;
|
|
padding-right: 0;
|
|
text-align: right;
|
|
width: 10em;
|
|
}
|
|
|
|
dl.modal dd {
|
|
float: left;
|
|
padding-bottom: 0;
|
|
margin-left: 0.8em;
|
|
}
|
|
|
|
|
|
|
|
.ui-widget-content {
|
|
border:0;
|
|
}
|