awx/awx/ui/static/css/ansible-ui.css
2013-07-30 11:07:47 -04:00

774 lines
12 KiB
CSS

/*********************************************
* Copyright (c) 2013 AnsibleWorks, Inc.
*
* ansible-ui.css
*
* custom styles for ansible-ui
*
*/
html {
background-color: #36454F;
}
body {
color: #36454F;
padding-top: 60px;
}
.text-center {
text-align: center !important;
}
hr {
border-color: #e3e3e3;
}
.nowrap {
white-space: nowrap;
}
/* Attempt to make button heights consistent. For some reason success, info, etc. are
taller than plain .btn */
.btn-success, .btn-danger, .btn-info, .btn-primary, .btn-warning {
padding-top: 1px;
padding-bottom: 2px;
}
.btn {
padding-left: 5px;
padding-right: 5px;
min-width: 28px;
}
.btn-pad {
padding-top: 3px;
padding-bottom: 1px;
}
.btn-inventory-edit {
padding-top: 2px;
padding-bottom: 1px;
}
.modal-footer .btn-success,
.modal-footer .btn-danger,
.modal-footer .btn-info,
.modal-footer .btn-primary {
padding-top: 3px;
padding-bottom: 4px;
}
.modal-footer .btn {
padding-left: 10px;
padding-right: 10px;
}
.icon-plus {
font-size: 10px;
}
/* End btn heights */
/* Use code-breakable in pop-over text to indent and wrap code segments */
.code-breakable {
word-wrap: break-word;
padding-left: 10px;
}
.break {
word-wrap: break-word;
}
.login-alert {
font-weight: normal;
font-size: 14px;
text-align: center;
color: #0088cc;
margin-bottom: 25px;
}
.controls {
min-height: 15px;
}
.container-fluid {
min-height: 700px;
}
.navbar-fixed-top .container {
width: 100%;
}
.navbar-inverse .navbar-inner {
background-color: #36454F;
background-image: -moz-linear-gradient(top, #36454F, #36454F);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#36454F), to(#36454F));
background-image: -webkit-linear-gradient(top, #36454F, #36454F);
background-image: -o-linear-gradient(top, #36454F, #36454F);
background-image: linear-gradient(to bottom, #36454F, #36454F);
background-repeat: repeat-x;
border-color: #36454F;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#36454F', endColorstr='#36454F', GradientType=0);
padding-right: 15px;
}
.navbar-inverse .nav > li > a {
color: #A9A9A9;
}
.navbar-inverse .nav > li > a:hover,
.navbar-inverse .nav > li > a:focus {
color: #2078be;
}
.navbar .brand {
margin-left: 15px;
padding: 0;
}
.navbar .brand img {
width: 260px;
}
.navbar .nav {
margin-top: 15px;
}
a:hover {
text-decoration: none;
}
.help-link, .help-link:active, .help-link:visited {
color: #49afcd;
}
.site-footer {
width: 100%;
margin-top: 60px;
background-color: #36454F;
color: #A9A9A9;
padding-top: 20px;
padding-bottom: 40px;
text-align: center;
}
.copyright {
display: inline-block;
font-size: 11px;
font-weight: normal;
text-align: center;
}
.site-footer a,
.site-footer a:active,
.site-footer a:hover,
.site-footer a:visited {
color: #A9A9A9;
font-size: 18px;
margin-right: 15px;
}
.site-footer .social {
display: inline-block;
margin-left: 50px;
}
.site-footer .logo {
display: inline-block;
margin-right: 35px;
}
.site-footer .logo img {
max-width: 125px;
}
.login-header {
text-align: center;
}
.login-header img {
max-width: 100px;
}
.error {
font-size: 12px;
color: #FF0000;
}
.xsmall {
font-size: 12px;
}
legend {
font-size: medium;
font-weight: bold;
}
.navigation {
margin: 15px 0 15px 0;
}
.page-number {
display: inline-block;
margin: 0;
padding: 0;
}
.page-number-small {
display: inline-block;
font-size: 11px;
margin-left: 10px;
}
.footer-navigation {
margin: 10px 0 10px 0;
}
.lookup-navigation {
margin: 15px 0 0 0;
/*padding-top: 20px;*/
}
.related-footer {
margin: 10px 0 0 0;
}
.page-size {
line-size: normal;
font-size: 10.5px;
}
.page-size-label {
margin-left: 15px;
font-size: 10.5px;
}
.accordion-heading {
font-weight: bold;
color: #0088cc;
}
.accordion-heading i {
margin-right: 5px;
}
.search-widget .spin {
display: inline-block;
font-size: 18px;
margin-left: 15px;
min-width: 30px;
}
.status-actions {
display: inline-block;
height: 25px;
margin-bottom: 20px;
}
.status-spin {
display: inline-block;
vertical-align: middle;
margin-left: 15px;
font-size: 22px;
}
.search-widget label {
display:inline-block;
vertical-align: middle;
padding-right: 15px;
}
.nav-path {
padding: 5px 0 10px 0;
margin-bottom: 25px;
margin-right: 5px;
border: 1px solid #d8d8d8;
font-size: 14px;
font-weight: bold;
background-color: #f5f5f5;
border-radius: 6px;
box-shadow: 3px 3px 4px 0 #808080;
}
.nav-path ul {
padding-left: 0;
margin-left: 10px;
padding-bottom: 0;
margin-bottom: 0;
}
.greeting {
padding-right: 22px;
}
.breadcrumb .active {
color: #36454F;
}
.nav-tabs > li > a {
font-weight: bold;
}
input[type="text"].field-mini-height {
font-size: 10.5px;
height: 12px;
}
select.field-mini-height {
height: 22px;
font-size: 10.5px;
}
.ask-checkbox {
margin-left: 10px;
}
#tree-view {
padding: 0;
margin: 5px 0 15px 0;
}
.no-padding {
margin: 0;
padding: 0;
}
/* Display list actions next to search widget */
.search-widget {
display: inline-block;
vertical-align: bottom;
margin-bottom: 15px;
}
.list-actions {
display: inline-block;
vertical-align: top;
margin-left: 10px;
padding-bottom: 22px;
}
.list-actions .btn {
margin-right: 3px;
}
.list-actions .btn-help {
margin-left: 20px;
margin-top: 2px;
}
/* End Display list actions */
.well {
padding-bottom: 0;
}
/* Enable table-hover to work when table is in a well */
.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
background-color: #fff;
}
.table-hover-inverse tbody tr:hover > td,
.table-hover-inverse tbody tr:hover > th {
background-color: #dff0d8;
}
/* Jobs pages */
.job-error,
.job-failed,
.license-expired,
.license-invalid,
.active-failures-true,
.active-failures-true a,
.active-failures-true a:active,
input[type="text"].job-failed,
input[type="text"].job-error
{
color: #da4f49;
}
.active-failures-true a:hover {
color: #FF0000;
}
.job-failures-true {
padding-top: 5px;
color: #da4f49;
}
.job-event-status,
.license-status {
padding-top: 5px;
}
.job-new, input[type="text"].job-new,
.job-canceled, input[type="text"].job-canceled {
color: #778899;
}
.job-pending,
.job-running,
.job-success,
.job-successful,
.active-failures-false,
.license-valid,
input[type="text"].job-success,
input[type="text"].job-successful
{
color: #5bb75b;
}
.field-success {
color: #5bb75b;
}
.field-success input {
border-color: #5bb75b;
}
.field-failure {
color: #FF0000;
}
.field-failure input {
border-color: #FF0000;
}
.job-changed,
.license-warning,
.license-demo {
color: #FF9900;
}
.job-detail-status {
display: inline-block;
font-size: 15px;
font-weight: bold;
margin-top:5px;
}
.form-items .search-widget {
margin-top: 15px;
}
.form-items .item-count {
display: inline-block;
font-size: small;
margin-top: 25px;
}
.child-event a {
color: #36454F;
cursor: default;
}
.level-1 {
padding-left: 24px;
}
.level-2 {
padding-left: 48px;
}
.level-3 {
padding-left: 72px;
}
.level-3-detail {
padding-left: 72px;
}
#job_events .control-group {
margin-top: 0;
margin-bottom: 10px;
}
/* End Jobs Page */
/* Inventory detail */
.inventory-title {
margin-top: 15px;
color: #0088cc;
font-weight: bold;
}
.inventory-buttons {
text-align: right;
background-color: #f5f5f5;
border-left: 1px solid #e3e3e3;
border-right: 1px solid #e3e3e3;
border-top: 1px solid #e3e3e3;
-webkit-border-top-left-radius: 4px;
-moz-border-top-left-radius: 4px;
border-top-left-radius: 4px;
-webkit-border-top-right-radius: 4px;
-moz-border-top-right-radius: 4px;
border-top-right-radius: 4px;
}
.inventory-buttons button {
margin: 5px 5px 3px 0;
}
.inventory-filter {
padding: 0 3px 3px 3px;
text-align: right;
background-color: #f5f5f5;
border-left: 1px solid #e3e3e3;
border-right: 1px solid #e3e3e3;
border-bottom: 1px solid #e3e3e3;
-webkit-border-bottom-left-radius: 4px;
-moz-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
-moz-border-bottom-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.inventory-filter label {
margin-right: 10px;
}
#hosts-well {
padding-top: 5px;
}
#hosts-title p {
font-size: 12px;
}
#hosts-title h4 {
margin: 5px 0;
}
#hosts-well .search-widget {
margin-top: 10px;
}
#hosts-well .list-actions {
padding-top: 10px;
}
.parse-selection {
font-size: 12px;
margin: 5px 0 8px 0;
}
.parse-selection .radio.inline {
padding-top: 0;
font-size: 12px;
}
.parse-selection label:first-child {
margin-left: 5px;
}
#tree-view {
min-height: 100px;
}
.slider {
display: inline-block;
vertical-align: middle;
width: 100px;
margin: 0 10px;
}
/* Sort link styles */
.list-header:hover {
cursor: pointer;
}
.list-header i {
margin-left: 10px;
}
.list-header .icon-sort {
color: #ccc;
}
.list-header .icon-sort-down,
.list-header .icon-sort-up {
color: #36454F;
}
/* job_events syles */
tr td i {
float: none;
margin-right: 10px;
padding-top: 3px;
padding-left: 0;
margin-left: 0;
}
tr td button i {
margin-right: 0;
padding-top: 0;
}
.event-form {
margin-top: 10px;
margin-bottom: 5px;
}
.event-detail-host {
padding-top: 10px;
padding-bottom: 5px;
}
/* form displayed in modal window */
.horizontal-narrow .control-label {
float: left;
width: 100px;
padding-top: 5px;
text-align: right;
}
.horizontal-narrow .controls {
*display: inline-block;
*padding-left: 20px;
margin-left: 120px;
*margin-left: 0;
}
.horizontal-narrow .controls:first-child {
*padding-left: 120px;
}
.modal-input-xlarge {
width: 350px;
}
.modal-input-xxlarge {
width: 98%;
}
.form-section-title {
font-weight: bold;
width: 100%;
border-bottom: 1px solid #d8d8d8;
margin-bottom: 10px;
margin-top: 0;
}
.modal-backdrop,
.modal-backdrop.fade.in {
opacity: 0.6;
filter: alpha(opacity=60);
}
.modal-body .ui-accordion .ui-accordion-content {
padding: 10px;
}
/* overrides to TB modal */
.modal-header {
padding: 15px 10px;
border-bottom: 1px solid #eee;
/* background-color: #A9A9A9; #/
/*color: #36454F;*/
color: #2078be;
-webkit-border-top-left-radius: 3px;
-moz-border-top-left-radius: 3px;
border-top-left-radius: 3px;
-webkit-border-top-right-radius: 3px;
-moz-border-top-right-radius: 3px;
border-top-right-radius: 3px;
}
.modal {
border: 1px solid #36454F;
}
.close {
color: #A9A9A9;
opacity: .7;
filter: alpha(opacity=70);
}
.modal-header h3 {
font-size: 22px;
font-weight: bold;
margin: 0;
text-rendering: optimizeLegibility;
}
.modal-body {
padding-top: 30px;
}
#prompt-modal .modal-body {
padding-bottom: 30px;
}
.skinny-modal .modal-body {
padding: 5px 10px 0px 10px;
}
/* form navigation */
.navigation-buttons {
height: 40px;
}
/* Large desktop */
@media (min-width: 1200px) {
}
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
body {
padding-top: 0px;
}
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
body {
padding-top: 0px;
}
}
/* Landscape phones and down */
@media (max-width: 480px) {
body {
padding-top: 0px;
}
/* Job events */
.level-1, .level-2, .level-3, .level-3-detail {
padding-left: 0;
}
table {
table-layout: fixed;
word-wrap: break-word;
}
/* form displayed in modal window */
.horizontal-narrow .control-label {
width: 105px;
}
.horizontal-narrow .controls {
margin-left: 125px;
}
.horizontal-narrow .controls:first-child {
*padding-left: 125px;
}
.modal-input-xlarge {
width: 200px;
}
}