freeipa/install/static/ipa.css

405 lines
6.2 KiB
CSS
Raw Normal View History

/* Authors:
* Pavel Zuna <pzuna@redhat.com>
* Adam Young <ayoung@redhat.com>
*
* Copyright (C) 2010 Red Hat
*/
body{
font: 62.5% "Trebuchet MS", sans-serif; margin: 5px;
}
.demoHeaders { margin-top: 2em; }
.input_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative; cursor: pointer; }
.input_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
/* ---- Header ---- */
div.header {
background-image: url(header_background.png);
background: -moz-linear-gradient(top, #65646e, #1f1f1f);
background-color: #1f1f1f;
height: 25px;
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 {
# float: left;
padding-left: 100px;
}
div.header span.header-logo a img {
border: 0;
height: 25px;
}
div.header span.header-loggedinas {
color: #fff;
float: right;
line-height: 35px;
padding-right: 10px;
}
/* ---- Navigation ---- */
div.tabs {
overflow: auto;
width: 100%;
height: 100%;
2010-11-13 20:34:31 -06:00
min-height: 400px;
}
h1 {
font-size: 26pt;
font-weight: bold;
margin-bottom: 30px;
margin-left: 15px;
margin-top: 18px;
}
div#content {
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;
}
HBAC Details Page The UI framework has been extended to include a collection of widgets: - ipa_widget: base class - ipa_text_widget: text field - ipa_radio_widget: radio button - ipa_textarea_widget: textarea - ipa_button_widget: button - ipa_column_widget: column for table - ipa_table_widget: table These widgets can be used to create input controls. They can also be extended to create custom controls. The framework has also been enhanced to support custom layouts. This can be used to change the look of the application without changing the code. Initially this is only available in details section. Layout consists of a collection of HTML templates. Each template is a complete and valid HTML file representing a portion of a page. The template will be loaded and initialized by the code, then filled with the data from the server. The layouts are located in install/static/layouts/<name> folder. By default, if no templates are used, the fields in the details page are rendered vertically using dd/dt/dd tags. For pages that require different layout, a custom UI needs to be developed. There are two ways to do that: - write a custom widget to generate the UI dynamically - create an HTML template and write the initialization code For components that are quite complex or used frequently, it's might be better to use the first method. For simple pages that are used only in one location or need to support customization, the second method might be preferable. Other benefits of templates: - cleaner code and UI separation - more flexibility in customization - new pages can be developed quickly and require less coding - multiple templates can be used with the same initialization code - easier to maintain The HBAC details page has been implemented using both methods. By default it will use custom widgets to generate the page. To use a custom layout, add the following parameter to the URL, then reload the page: &layout=<name> Currently the only available layout is 'default' which produces the same look as the custom widgets. The HBAC details page is usable, but it still needs additional work. The access time is not working yet. There is no undo button, hint, or validation yet. The table in the association facet has also been changed to use ipa_association_widget which is derived from ipa_table_widget. The Makefile has been updated to include the layouts. The unit tests have been updated as well.
2010-11-02 20:16:55 -05:00
.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: 50px;
2010-11-13 20:34:31 -06:00
padding-top: 50px;
margin: 0;
background-image: url(Mainnav-background.png);
}
.ui-tabs .ui-tabs-nav li {
height: 30px;
margin: 0 0 0 0;
padding: 0 0 0 0;
border-width: 0;
}
.tabs1 .ui-tabs-nav li a{
height: 30px;
background-image: url(Mainnav-offtab.png);
color: black;
}
.tabs1 .ui-tabs-nav li > a:link, span.main-nav-off > a:visited{
color:black;
}
.tabs1 .ui-tabs-nav li.ui-tabs-selected a{
background-image: url(Mainnav-ontab.png);
color: lightgreen;
}
.tabs1 .ui-tabs-panel {
display: block; border-width: 0;
padding: 0 0;
background: none;
}
.tabs2 .ui-tabs-nav {
background-image: url(Subnav-background.png);
2010-11-13 20:34:31 -06:00
padding-top: 0px;
margin: 0;
}
.tabs2 .ui-tabs-nav li a{
height: 10%;
background-image: url(Subnav-background.png);
color: white;
}
.tabs2 .ui-tabs-nav li > a:link, span.main-nav-off > a:visited{
color:white;
}
.tabs2 .ui-tabs-nav li{
height: 10%;
background-image: url(Subnav-background.png);
color: white;
}
.tabs2 .ui-tabs-nav li.ui-tabs-selected a{
-moz-border-radius: 15px;
border-radius: 15px;
background-image: url(Subnav-onbutton.png);
color: white;
}
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:1px;
}
HBAC Details Page The UI framework has been extended to include a collection of widgets: - ipa_widget: base class - ipa_text_widget: text field - ipa_radio_widget: radio button - ipa_textarea_widget: textarea - ipa_button_widget: button - ipa_column_widget: column for table - ipa_table_widget: table These widgets can be used to create input controls. They can also be extended to create custom controls. The framework has also been enhanced to support custom layouts. This can be used to change the look of the application without changing the code. Initially this is only available in details section. Layout consists of a collection of HTML templates. Each template is a complete and valid HTML file representing a portion of a page. The template will be loaded and initialized by the code, then filled with the data from the server. The layouts are located in install/static/layouts/<name> folder. By default, if no templates are used, the fields in the details page are rendered vertically using dd/dt/dd tags. For pages that require different layout, a custom UI needs to be developed. There are two ways to do that: - write a custom widget to generate the UI dynamically - create an HTML template and write the initialization code For components that are quite complex or used frequently, it's might be better to use the first method. For simple pages that are used only in one location or need to support customization, the second method might be preferable. Other benefits of templates: - cleaner code and UI separation - more flexibility in customization - new pages can be developed quickly and require less coding - multiple templates can be used with the same initialization code - easier to maintain The HBAC details page has been implemented using both methods. By default it will use custom widgets to generate the page. To use a custom layout, add the following parameter to the URL, then reload the page: &layout=<name> Currently the only available layout is 'default' which produces the same look as the custom widgets. The HBAC details page is usable, but it still needs additional work. The access time is not working yet. There is no undo button, hint, or validation yet. The table in the association facet has also been changed to use ipa_association_widget which is derived from ipa_table_widget. The Makefile has been updated to include the layouts. The unit tests have been updated as well.
2010-11-02 20:16:55 -05:00
/* Entity */
HBAC Details Page The UI framework has been extended to include a collection of widgets: - ipa_widget: base class - ipa_text_widget: text field - ipa_radio_widget: radio button - ipa_textarea_widget: textarea - ipa_button_widget: button - ipa_column_widget: column for table - ipa_table_widget: table These widgets can be used to create input controls. They can also be extended to create custom controls. The framework has also been enhanced to support custom layouts. This can be used to change the look of the application without changing the code. Initially this is only available in details section. Layout consists of a collection of HTML templates. Each template is a complete and valid HTML file representing a portion of a page. The template will be loaded and initialized by the code, then filled with the data from the server. The layouts are located in install/static/layouts/<name> folder. By default, if no templates are used, the fields in the details page are rendered vertically using dd/dt/dd tags. For pages that require different layout, a custom UI needs to be developed. There are two ways to do that: - write a custom widget to generate the UI dynamically - create an HTML template and write the initialization code For components that are quite complex or used frequently, it's might be better to use the first method. For simple pages that are used only in one location or need to support customization, the second method might be preferable. Other benefits of templates: - cleaner code and UI separation - more flexibility in customization - new pages can be developed quickly and require less coding - multiple templates can be used with the same initialization code - easier to maintain The HBAC details page has been implemented using both methods. By default it will use custom widgets to generate the page. To use a custom layout, add the following parameter to the URL, then reload the page: &layout=<name> Currently the only available layout is 'default' which produces the same look as the custom widgets. The HBAC details page is usable, but it still needs additional work. The access time is not working yet. There is no undo button, hint, or validation yet. The table in the association facet has also been changed to use ipa_association_widget which is derived from ipa_table_widget. The Makefile has been updated to include the layouts. The unit tests have been updated as well.
2010-11-02 20:16:55 -05:00
.entity-container{
position: relative;
margin: 10px;
padding: 10px;
background: #e8e8e8;
}
.action-panel {
position:relative;
2010-11-13 20:34:31 -06:00
left: -20px;
border-width: thin;
border-style: solid;
border-color: black;
float: left;
2010-11-13 20:34:31 -06:00
margin-top:75px;
margin-left: 40px;
}
.action-panel h3{
margin: 0;
border-width: thin;
border-style: solid;
border-color: black;
background: #e8e8e8;
}
.action-panel li {
2010-11-13 20:34:31 -06:00
height: 25px;
}
.client {
float: left;
}
HBAC Details Page The UI framework has been extended to include a collection of widgets: - ipa_widget: base class - ipa_text_widget: text field - ipa_radio_widget: radio button - ipa_textarea_widget: textarea - ipa_button_widget: button - ipa_column_widget: column for table - ipa_table_widget: table These widgets can be used to create input controls. They can also be extended to create custom controls. The framework has also been enhanced to support custom layouts. This can be used to change the look of the application without changing the code. Initially this is only available in details section. Layout consists of a collection of HTML templates. Each template is a complete and valid HTML file representing a portion of a page. The template will be loaded and initialized by the code, then filled with the data from the server. The layouts are located in install/static/layouts/<name> folder. By default, if no templates are used, the fields in the details page are rendered vertically using dd/dt/dd tags. For pages that require different layout, a custom UI needs to be developed. There are two ways to do that: - write a custom widget to generate the UI dynamically - create an HTML template and write the initialization code For components that are quite complex or used frequently, it's might be better to use the first method. For simple pages that are used only in one location or need to support customization, the second method might be preferable. Other benefits of templates: - cleaner code and UI separation - more flexibility in customization - new pages can be developed quickly and require less coding - multiple templates can be used with the same initialization code - easier to maintain The HBAC details page has been implemented using both methods. By default it will use custom widgets to generate the page. To use a custom layout, add the following parameter to the URL, then reload the page: &layout=<name> Currently the only available layout is 'default' which produces the same look as the custom widgets. The HBAC details page is usable, but it still needs additional work. The access time is not working yet. There is no undo button, hint, or validation yet. The table in the association facet has also been changed to use ipa_association_widget which is derived from ipa_table_widget. The Makefile has been updated to include the layouts. The unit tests have been updated as well.
2010-11-02 20:16:55 -05:00
/* Search */
2010-09-15 10:00:00 -05:00
.search-controls {
2010-11-13 20:34:31 -06:00
height: 25px;
background:#a5a5a5;
position: relative;
padding: 10px;
}
2010-09-15 10:00:00 -05:00
.search-table > a:link,a:visted{
color:black;
}
2010-09-15 10:00:00 -05:00
.search-table{
padding: 0px;
width:100%;
border-width: thin;
border-style: solid;
border-color: black;
}
2010-09-15 10:00:00 -05:00
.search-table th{
background-color:gray;
color:white;
2010-09-15 10:00:00 -05:00
text-align: left;
}
2010-09-15 10:00:00 -05:00
.search-table tr:nth-child(even){
background-color:#CCC;
}
2010-09-15 10:00:00 -05:00
.search-table tr:nth-child(odd){
background-color:#FFF;
}
.entity-views{
list-style-type:none;
}
.entity-views li {
display:inline;
2010-09-16 20:44:03 -05:00
cursor: pointer;
padding: 3px;
}
.strikethrough { text-decoration: line-through; }
.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: 15px;
margin-top: 18px;
white-space: nowrap;
}
dl.modal dt {
clear: left;
float: left;
padding-bottom: 0px;
padding-right: 0px;
text-align: right;
width: 150px;
}
dl.modal dd {
float: left;
padding-bottom: 0px;
margin-left: 10px;
}