Skip to content
views-admin.theme.css 16.6 KiB
Newer Older
/**
 * The .theme.css file is intended to contain presentation declarations including
 * images, borders, colors, and fonts.
 */
  list-style: none outside none;
  margin: 0;
}

/* @group Layout */

.box-padding {
  padding-left: 12px;
  padding-right: 12px;
}

.box-margin {
  margin-left: 12px;
  margin-right: 12px;
}

  background-attachment: scroll;
  background-image: url("../images/sprites.png");
  background-position: left top; /* LTR */
  background-repeat: no-repeat;
.views-admin a.icon {
  background-image:
    url("../images/sprites.png"),
    -moz-linear-gradient(
      -90deg,
      #ffffff 0px,
      #e8e8e8 100%);
  background-image:
    url("../images/sprites.png"),
    -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(0.0, rgba(255, 255, 255, 1.0)),
      color-stop(1.0, rgba(232, 232, 232, 1.0))
    );
  background-image:
    url("../images/sprites.png"),
    -webkit-linear-gradient(
      -90deg,
      #ffffff 0px,
      #e8e8e8 100%);
  background-repeat: no-repeat, repeat-y;
  border: 1px solid #dddddd;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0 0 0 rgba(0,0,0,0.3333) inset;
  -webkit-box-shadow: 0 0 0 rgba(0,0,0,0.3333) inset;
  box-shadow: 0 0 0 rgba(0,0,0,0.3333) inset;
}

.views-admin a.icon:hover {
  border-color: #d0d0d0;
  -moz-box-shadow: 0 0 1px rgba(0,0,0,0.3333) inset;
  -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.3333) inset;
  box-shadow: 0 0 1px rgba(0,0,0,0.3333) inset;
}

.views-admin a.icon:active {
  border-color: #c0c0c0;
}

/**
 * Targets a <span> element inside an <a> element.
 * This assumes no visible text from the span.
}

.views-admin .icon.compact {
  display: block;
  overflow: hidden;
  text-indent: -9999px;
}
/* Targets any element with an icon -> text combo */
  background-position: center 3px;
}

.views-admin a.icon.add {
  background-position: center 3px, left top;
  background-position: center -52px;
}

.views-admin a.icon.delete {
  background-position: center -52px, left top;
  background-position: center -111px;
}

.views-admin a.icon.rearrange {
  background-position: center -111px, left top;
}

.views-displays .secondary a:hover > .icon.add {
  background-position: center -25px;
}

.views-displays .secondary .open a:hover > .icon.add {
  background-position: center 3px;
.form-item {
  margin-top: 15px;
  padding-bottom: 0;
  padding-top: 0;
}

input.form-checkbox,
  vertical-align: baseline;
}


.container-inline {
  padding-top: 15px;
.container-inline > * + *,
.container-inline .fieldset-wrapper > * + * {
  padding-left: 4pt; /* LTR */
}

.views-admin .form-type-checkbox + .form-wrapper {
/* Hide 'remove' checkboxes. This might be scoped too widely. */
[class*="form-type-checkbox"][class*="remove"] {
/* sizes the labels of checkboxes and radio button to the height of the text */
.form-type-checkbox label,
.form-type-radio label {
/* @group Lists */
  margin-left: 9px; /* LTR */
  padding-left: 9px; /* LTR */
/* Intentionally targeting h1 */
.views-admin h1.unit-title {
  font-size: 15px;
  line-height: 1.6154;
  margin-bottom: 0;
  margin-top: 18px;
}

/* @end */

/* @group Tables */

table td, 
table th {
  vertical-align: top;
}

/* @end */

/* @group List views */

/* These header classes are ambiguous and should be scoped to th elements */

th.views-ui-name {
  width: 18%;
}

th.views-ui-description {
  width: 26%;
}

th.views-ui-tag {
  width: 8%;
}

th.views-ui-path {
  width: auto;
}

th.views-ui-operations {
/* @group Add view */

/**
 * I wish this didn't have to be so specific
 */
.form-item-description-enable + .form-item-description {
  margin-top: 0;
}

.form-item-description-enable label {
  font-weight: bold;
}

#edit-view-displays-wrapper {
  margin-top: 27px;
}

/* This could be made more general if more than one instance occurs */
#edit-page-style .fieldset-wrapper {
  padding-left: 0;
  padding-right: 0;
}

/* @group Rearrange filters
 *
 * Styling for the form that allows views filters to be rearranged.
 */

.group-populated {
  display: none;
}

td.group-title {
  font-weight: bold;
}

.views-ui-dialog td.group-title {
  margin: 0;
  padding: 0;
}

.views-ui-dialog td.group-title span {
  display: block;
  height: 1px;
  overflow: hidden;
}

.group-message .form-submit,
.views-remove-group-link,
#views-add-group {
  float: right;
  clear: both;
}

.views-operator-label {
  font-style: italic;
  font-weight: bold;
  padding-left: 0.5em; /* LTR */
  text-transform: uppercase;
}

.form-item-show-wizard-key label {
  float: left;
}

.form-item-show-wizard-key select {
  margin-left: 5px;
}

.exposed-description {
  float: left;
  padding-top: 3px;
  padding-right: 10px;
}

#edit-options-more {
  clear: both;
}

/* @end */

  border: 1px solid #CCC;
  padding-bottom: 18px;
}

  background-color: #F9F9F9;
  border-bottom: 1px solid #CCCCCC;
  margin-bottom: 14px;
  position: relative;
.views-display-top .secondary > li + li {
  margin-left: 6px;
  padding-left: 0;
#views-display-extra-actions li {
  padding: 3px 9px;
#views-display-extra-actions .analyze {
  border-color: #aaa;
  border-style: solid;
  border-width: 0 1px;
  margin-right: 1px;
  padding-left: 10px;
  padding-right: 10px;
 * The tabs that switch between sections
.views-displays .secondary a {
  background-color: #f1f1f1;
  border: 1px solid #cbcbcb;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  color: #008BCB;
  display: inline-block;
  padding: 2px 7px 3px;
}

.views-displays .secondary a:focus {
.views-displays .secondary a:hover,
.views-displays .secondary .active a {
  background-color: #666666;
  color: #ffffff;
}

.views-displays .secondary .open > a {
  -moz-border-radius: 7px 7px 0 0;
  -webkit-border-radius: 7px 7px 0 0;
  border-radius: 7px 7px 0 0;
  border-bottom: 1px solid transparent;
  position: relative;
}

.views-displays .secondary .open > a:hover {
  background-color: #f1f1f1;
  color: #008BCB;
}

.views-displays .secondary .action-list  li {
  background-color: #f1f1f1;
  border-color: #cbcbcb;
  border-style: solid;
  border-width: 0 1px;
  padding: 2px 9px;
}

.views-displays .secondary .action-list  li:first-child {
  -moz-border-radius: 0 7px 0 0;
  -webkit-border-radius: 0 7px 0 0;
  border-radius: 0 7px 0 0;
  border-width: 1px 1px 0;
}

.views-displays .secondary .action-list  li.last {
.views-displays .secondary .action-list  li:last-child {
  -moz-border-radius: 0 0 7px 7px;
  -webkit-border-radius: 0 0 7px 7px;
  border-radius: 0 0 7px 7px;
  border-width: 0 1px 1px;
}

.views-displays .secondary .action-list input.form-submit {
  background: none repeat scroll 0 0 transparent;
  border: medium none;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  color: #008BCB;
  padding: 0;
}

.views-displays .secondary .action-list li:hover {
/* @group Attachment details */
  border-bottom: 3px solid #CCC;
  padding-bottom: 12px;
}

#edit-display-settings-title {
#edit-display-settings-top {
  padding-bottom: 4px;
}

#edit-display-settings-content {
  margin-top: 12px;
/* @group Attachment columns
 *
 * The columns that contain the option buckets e.g. Format and Basic Settings
 */
.views-display-column + .views-display-column {
#edit-display-preview-controls > div,
#edit-display-preview-controls > input {
  float: left;
#edit-display-preview-controls > .form-type-checkbox {
#edit-display-preview-controls > .form-type-textfield {
  margin-top: 5px;
}

#edit-display-preview-controls .arguments-preview,
#edit-display-preview-controls .arguments-preview + .form-item {
  margin-left: 14px;
}

#edit-display-preview-controls .form-type-textfield label {
  position: absolute;
#edit-display-preview-controls .form-type-textfield input, 
#edit-display-preview-controls .form-type-textfield .description {
  margin-left: 82px;  
 * These are the individual "buckets," or boxes, inside the display settings area
.views-ui-display-tab-bucket {
  border: 1px solid #f3f3f3;
  line-height: 20px;
  padding-top: 4px;
.views-ui-display-tab-bucket + .views-ui-display-tab-bucket {
.views-ui-display-tab-bucket > h3,
.views-ui-display-tab-bucket > .views-display-setting {
.views-ui-display-tab-bucket h3 {
  font-size: 12px;
  text-transform: uppercase;
}

.views-ui-display-tab-bucket .links.actions {
  margin-top: 2px;
}

/* @group Attachment bucket overridden
 * 
 * Applies a broken link icon to overridden buckets.
 * The better way to implement this would be to add the overridden class
 * to the bucket header when the bucket is overridden and style it as a 
 * generic icon classed element. For the moment, we'll style the bucket
 * header specifically with the broken link icon.
 */
 
.views-ui-display-tab-bucket.overridden > h3 {
  background-attachment: scroll;
  background-image: url("../images/sprites.png");
  background-position: left -172px; /* LTR */
  background-repeat: no-repeat;
  overflow: hidden;
  padding-left: 21px;
  zoom: 1;
}

/* @end */

 * This is each row within one of the "boxes."
 */
.views-ui-display-tab-bucket .views-display-setting {
  color: #666666;
  font-size: 12px;
  padding-bottom: 2px;
.views-ui-display-tab-bucket .even {
.views-ui-display-tab-bucket .views-group-text {
/* @group Preview
 *
 * The preview controls and the preview pane
 */
#edit-displays-preview-controls .fieldset-wrapper > * {
#edit-displays-preview-controls .fieldset-wrapper > .form-item {
#edit-displays-preview-controls .form-submit {
#edit-displays-preview-controls .form-type-textfield {
#edit-displays-preview-controls .form-type-textfield label {
  border-left: 1px solid #999;
  padding-left: 1em;
  position: absolute;
}

#edit-displays-preview-controls .form-type-textfield label:after {
#edit-displays-preview-controls .form-type-textfield label ~ * {
 * The contents of the popup dialog on the views edit form.
 */
.views-ui-dialog fieldset.collapsible {
  padding-top: 1.5em;
}

.views-ui-dialog fieldset.collapsed {
  padding-top: 2.5em;
}

div.views-filterable-options .form-type-checkbox {
  border: 1px solid #CCC;
  padding: 5px 8px;
  border-top: none;
}

  border-top:  1px solid #CCC;
}

div.views-filterable-options .even .form-type-checkbox {
  background-color: #F3F4EE;
}

div.views-filterable-options .form-type-checkbox .description {
  margin-top: 0;
  margin-bottom: 0;
}

#views-filterable-options-controls {
#views-filterable-options-controls .form-item {
#views-filterable-options-controls input,
#views-filterable-options-controls select {
.views-ui-dialog .views-filterable-options {
.views-ui-dialog .views-add-form-selected {
.views-ui-dialog #views-ajax-title,
.views-ui-dialog .views-override {
.views-ui-dialog .views-override {
  padding: 8px 13px;
.views-ui-dialog .views-override > * {
.views-ui-dialog #views-ajax-title {
  padding: 8px 13px;
.views-ui-dialog #views-progress-indicator {
  font-size: 11px;
.views-ui-dialog #views-progress-indicator:before {
.views-ui-dialog #views-progress-indicator:after {
  border: 1px solid #CCC;
  border-width: 1px 0;
.views-ui-dialog .form-buttons {
  background-color: #F3F4EE;
  padding: 8px 13px;
}
.views-ui-dialog .form-buttons input {
  margin-bottom: 0;
}
/* @todo the width and border info could be moved into a more generic class */
/* @todo Make this a class to be used anywhere there's node types? */
.form-type-checkboxes #edit-options-value,
.form-type-checkboxes #edit-options-validate-options-node-types {
  border-color: #CCCCCC;
  border-style: solid;
  border-width: 1px;
  max-height: 210px;
  overflow: auto;
/* @group Rearrange filter criteria */

#views-ui-rearrange-filter-form table {
  border-collapse: collapse;
}

#views-ui-rearrange-filter-form tr td[rowspan] {
  border-color: #CDCDCD;
  border-style: solid;
  border-width: 0 1px 1px 1px;
}

#views-ui-rearrange-filter-form tr[id^="views-row"] {
  border-right: 1px solid #CDCDCD;
}

#views-ui-rearrange-filter-form tr[id^="views-row"].even td {
  background-color: #F3F4ED;
}

#views-ui-rearrange-filter-form .views-group-title {
  border-top: 1px solid #CDCDCD;
}

#views-ui-rearrange-filter-form .group-empty {
  border-bottom: 1px solid #CDCDCD;
}

/* @end */

/**
 * Create a horizontal rule above the live preview area.
 */
#views-live-preview {
  margin: 0 12px;
}

/* Intentionally targeting h1 */
#views-live-preview h1.section-title {
  color: #818181;
  display: inline-block;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.6154;
  margin-bottom: 0;
#views-live-preview .view > * {
  margin-top: 18px;
}

#views-live-preview a,
#views-live-preview a:link,
#views-live-preview a:visited {
#views-live-preview li.views-row + li.views-row {
  margin-top: 18px;
}

/* The div.views-row is intentional and excludes li.views-row, for example */
#views-live-preview div.views-row + div.views-row {
#views-live-preview .views-view-grid th,
#views-live-preview .views-view-grid td {
#views-live-preview .view-content > .item-list > ul {
Bojan Živanović's avatar
Bojan Živanović committed

/* @group Add/edit argument form */

#edit-options-default-action {
  width: 300px;
  float: left;
}

#edit-options-exception {
  float: right;
  width: 250px;
  margin-top: 0pt;
}

#edit-options-argument-present .form-item {
  margin-top: 10px;
}

#edit-options-exception .form-type-textfield, #edit-options-argument-present .form-type-textfield {
  margin-top: 0;
}

/* @end */

/* @group Output specific */

/**
 * Keeps the admin screen from looking stretched out larger monitors
@media screen and (min-width: 1400px) {
  .views-admin {
    margin: 0 auto;
    max-width: 1379px;
  }
}

/* @end */