You are here

panopoly-modal.css in Panopoly Magic 7

/**
 * Modal stylings
 */

#modal-content input.form-text {
  max-width: 98%; /* Handle fixed width form elements in the IPE */
}

#modal-content .form-item-exposed-widget-title input,
#modal-content .form-item-title input {
  font-size: 1.5em;
}

#modalContent div.ctools-modal-content {
  -webkit-border-radius: 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0;
  border-radius: 10px 10px 0 0;
  border: none;
}

#modalContent div.ctools-modal-content .modal-header {
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  background: #666;
  background-image: linear-gradient(bottom, #333333 0%, #666666 100%);
  background-image: -o-linear-gradient(bottom, #333333 0%, #666666 100%);
  background-image: -moz-linear-gradient(bottom, #333333 0%, #666666 100%);
  background-image: -webkit-linear-gradient(bottom, #333333 0%, #666666 100%);
  background-image: -ms-linear-gradient(bottom, #333333 0%, #666666 100%);
  background-image: -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0, #333333),
  color-stop(1, #666666)
  );
  color: #fff;
  font: bold 16px/50px 'Open Sans', 'Lucida Sans', 'Lucida Grande', Verdana, sans-serif;
  vertical-align: middle;
  height: 50px;
  padding: 0 14px 0 24px;
}

#modalContent div.ctools-modal-content .modal-title {
  color: #fff;
  font: bold 16px/50px 'Open Sans', 'Lucida Sans', 'Lucida Grande', Verdana, sans-serif;
  text-shadow: none;
  padding: 0;
}

#modalContent div.ctools-modal-content a.close {
  display: block;
  text-indent: -99999em;
  overflow: hidden;
  outline: none;
  height: 15px;
  width: 16px;
  margin-top: 15px;
  background: url(../images/close-popup.png) no-repeat left top;
  padding: 0;
}

#modalContent div.ctools-modal-content a.close:hover,
#modalContent div.ctools-modal-content a.close:focus {
  background-position: left -15px;
}

#modalContent .panels-add-content-modal {
  background: #FFF;
  padding-top: .9em;
}

#modalContent .panels-add-content-modal a.panels-modal-add-category {
  background: #EAEAEC;
  background-image: linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  background-image: -o-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  background-image: -moz-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  background-image: -webkit-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  background-image: -ms-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  background-image: -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0, #DBDCDF),
  color-stop(1, #F6F6F7)
  );
  font: bold 11px/30px 'Open Sans', 'Lucida Sans', 'Lucida Grande', Verdana, sans-serif;
  color: #333;
  text-decoration: none;
  margin-left: 10px;
  border-bottom: none;
  padding: 0 12px;
}

#modalContent .panels-add-content-modal a.panels-modal-add-category:active, 
#modalContent .panels-add-content-modal a.panels-modal-add-category.active {
  border: 1px solid #CECECA;
  border-right: none;
  background: #FFF;
  margin-right: -1px;
}

#modalContent .content-type-button div,
#modalContent .content-type-button span {
  width: auto;
}

#modalContent .panels-section-column-categories .content-type-button {
  padding: 0 0 .5em 10px;
}

#modalContent .panels-section-column-categories .content-type-button a {
  display: inline-block;
  background: #EAEAEC;
  background-image: linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  background-image: -o-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  background-image: -moz-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  background-image: -webkit-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  background-image: -ms-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  background-image: -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0, #DBDCDF),
  color-stop(1, #F6F6F7)
  );
  float: none;
  left: 0;
  top: 0;
  width: 85%;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  margin: 0 8px 0 0px;
  padding: 0;
}

#modalContent .panels-section-column-categories .content-type-button a {
  font: bold 11px/21px "Open Sans", "Lucida Grande", Tahoma, Verdana, sans-serif;
  text-decoration: none;
  color: #333;
  padding: 0 8px;
}

#modalContent .panels-section-column-categories .content-type-button span {
  display: inline-block;
  margin-top: -2px;
}

#modalContent .panels-section-column-categories .content-type-button img {
  margin: 0px 2px 0px -9px;
  padding: 3px 2px;
  background-color: #FFFFFF;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border: 1px solid #EEEEEE !important;
  border-radius: 5px;
  vertical-align: bottom;
}

#modalContent .panels-section-column-categories .content-type-button a:active {
  outline: none;
  background-image: linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  background-image: -o-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  background-image: -moz-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  background-image: -webkit-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  background-image: -ms-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  background-image: -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0, #FFFFFF),
  color-stop(1, #E9EAEC)
  );
}

#modalContent div.ctools-modal-content .modal-content {
  padding-bottom: 2px;
}

#modal-content .option-text-aligner {
  float: left;
  width: auto;
}

/**
 * Pane configuration preview styling
 *
 * Much of the fieldset-related css is ripped directly from Bartik to give
 * IPE a more consistent look
 * @see https://drupal.org/node/1717644
 */
#modal-content fieldset,
#modal-content .panopoly-magic-preview-wrapper {
  clear: none;
  width: auto;
  position: relative;
  top: 12px; /* Offsets the negative margin of legends */
  margin-top: 10px;
  margin-bottom: 32px;
  background: #FFFFFF;
  border: 1px solid #CCCCCC;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  padding: 0 0 10px;
}

#modal-content fieldset.panopoly-magic-preview,
#modal-content .panopoly-magic-preview-wrapper.panopoly-magic-preview {
  margin-top: 2em;
  margin-bottom: 5em;
  -webkitborder-top-right-radius: 0;
  -moz-border-topright-radius: 0;
  border-top-right-radius: 0;
}

#modal-content fieldset.panopoly-magic-preview-single,
#modal-content .panopoly-magic-preview-wrapper.panopoly-magic-preview-single {
  margin-top: 10px;
  margin-bottom: 1em;
}

#modal-content fieldset.panopoly-magic-preview-single .fieldset-wrapper,
#modal-content .panopoly-magic-preview-wrapper.panopoly-magic-preview-single .panopoly-magic-preview-inner {
  font-size: 100%;
  max-width: 100%;
  overflow-y: auto;
  min-height: 75px;
  max-height: 375px;
}

#modal-content fieldset.panopoly-magic-preview-single .fieldset-wrapper .panopoly-spotlight img,
#modal-content .panopoly-magic-preview-wrapper.panopoly-magic-preview-single .panopoly-magic-preview-inner .panopoly-spotlight img {
  width: 100%;
}
  
#modal-content fieldset legend,
#modal-content .panopoly-magic-preview-wrapper .panopoly-magic-preview-title-wrapper {
  background: #dbdbdb;
  border: 1px solid #ccc;
  border-bottom: none;
  color: #3b3b3b;
  display: block;
  height: 2em;
  left: -1px; /* LTR */
  line-height: 2;
  padding: 1px 0 0;
  position: absolute;
  text-indent: 10px;
  text-shadow: 0 1px 0 #fff;
  top: -12px;
  width: 100%;
  -moz-border-radius-topleft: 4px;
  -webkit-border-top-left-radius: 4px;
  border-top-left-radius: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-right-radius: 4px;
  border-top-right-radius: 4px;
}
  
#modal-content fieldset.panopoly-magic-preview legend,
#modal-content .panopoly-magic-preview-wrapper.panopoly-magic-preview .panopoly-magic-preview-title-wrapper {
  -moz-border-radius-topright: 0;
  -webkit-border-top-right-radius: 0;
  border-top-right-radius: 0;
}
  
#modal-content .fieldset-legend,
#modal-content .panopoly-magic-preview-title-inner {
  font: bold 12px/1.5em 'Open Sans', 'Lucida Sans', 'Lucida Grande', Verdana, sans-serif;
}
  
/** No .panopoly-magic-preview-wrapper version because it can't be collapsed. */
#modal-content fieldset.collapsed legend {
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

#modal-content fieldset legend a,
#modal-content .panopoly-magic-preview-wrapper .panopoly-magic-preview-title-wrapper a {
  color: #3b3b3b;
}

#modal-content fieldset legend a:hover,
#modal-content fieldset legend a:focus,
#modal-content fieldset legend a:active,
#modal-content .panopoly-magic-preview-wrapper .panopoly-magic-preview-title-inner a:hover,
#modal-content .panopoly-magic-preview-wrapper .panopoly-magic-preview-title-inner a:focus,
#modal-content .panopoly-magic-preview-wrapper .panopoly-magic-preview-title-inner a:active {
  color: #000;
}
  
#modal-content .fieldset-wrapper,
#modal-content .panopoly-magic-preview-inner {
  padding: 0 10px;
  margin-top: 2.25em;
}

#modal-content .panopoly-magic-preview .fieldset-wrapper,
#modal-content .panopoly-magic-preview .panopoly-magic-preview-inner {
  max-width: 100%;
  overflow-y: auto;
  font-size: 75%;
  max-height: 200px;
  min-height: 200px;
  overflow-x: hidden;
}

#modal-content .panopoly-magic-preview .fieldset-wrapper table tr.even td, 
#modal-content .panopoly-magic-preview .fieldset-wrapper table tr.odd td,
#modal-content .panopoly-magic-preview .panopoly-magic-preview-inner table tr.even td, 
#modal-content .panopoly-magic-preview .panopoly-magic-preview-inner table tr.odd td {
  padding: 3px 5px;
}

#modal-content .panopoly-magic-preview .panopoly-magic-preview-inner h2 {
  font-size: 150%;
  margin-top: .25em;
}

#modal-content .panopoly-magic-preview-single {
  float: right;
  margin-left: 1em;
  margin-top: 0;
  width: 48%;
}

#modal-content .form-actions {
  float: right;
  clear: right;
  width: 48%;
  margin-left: 1em;
  text-align: right;
}

#modal-content .panopoly-magic-preview-title {
  position: absolute;
  right: -1px;
  top: -24px;
  font: bold 11px/23px 'Open Sans', 'Lucida Sans', 'Lucida Grande', Verdana, sans-serif;
}

#modalContent .panopoly-magic-preview-title .content-type-button span {
  width: auto;
  padding: 0 0 0 5px;
  top: 0;
}

#modal-content .panopoly-magic-preview-title .content-type-button a {
  display: inline-block;
  font: bold 11px/23px 'Open Sans', 'Lucida Sans', 'Lucida Grande',  Verdana, sans-serif;
  color: #fff;
  text-decoration: none;
  background: #5DE000;
  background-image: linear-gradient(bottom, #4BA700 0%, #5DE000 100%);
  background-image: -o-linear-gradient(bottom, #4BA700 0%, #5DE000 100%);
  background-image: -moz-linear-gradient(bottom, #4BA700 0%, #5DE000 100%);
  background-image: -webkit-linear-gradient(bottom, #4BA700 0%, #5DE000 100%);
  background-image: -ms-linear-gradient(bottom, #4BA700 0%, #5DE000 100%);
  background-image: -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0, #4BA700),
  color-stop(1, #5DE000)
  );
  -webkit-border-radius: 3px 3px 0 0;
  -moz-border-radius: 3px 3px 0 0;
  border-radius: 3px 3px 0 0;
  float: none;
  left: 0;
  top: 0;
  padding: 0;
  width: 60px;
}

#modal-content .panopoly-magic-preview-title .content-type-button a:hover,
#modal-content .panopoly-magic-preview-title .content-type-button a:focus {
  background: #56CE00;
  background-image: linear-gradient(bottom, #408E00 0%, #56CE00 100%);
  background-image: -o-linear-gradient(bottom, #408E00 0%, #56CE00 100%);
  background-image: -moz-linear-gradient(bottom, #408E00 0%, #56CE00 100%);
  background-image: -webkit-linear-gradient(bottom, #408E00 0%, #56CE00 100%);
  background-image: -ms-linear-gradient(bottom, #408E00 0%, #56CE00 100%);
  background-image: -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0, #408E00),
  color-stop(1, #56CE00)
  );
}

#modal-content .panopoly-magic-preview-title .content-type-button a:active {
  background: #5DE000;
  background-image: linear-gradient(bottom, #5DE000 0%, #4BA700 100%);
  background-image: -o-linear-gradient(bottom, #5DE000 0%, #4BA700 100%);
  background-image: -moz-linear-gradient(bottom, #5DE000 0%, #4BA700 100%);
  background-image: -webkit-linear-gradient(bottom, #5DE000 0%, #4BA700 100%);
  background-image: -ms-linear-gradient(bottom, #5DE000 0%, #4BA700 100%);
  background-image: -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0, #5DE000),
  color-stop(1, #4BA700)
  );
}

#modal-content .panels-section-columns,
#modal-content .panels-categories-description {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  overflow: visible;
  border: 1px solid #CECECA;
  border-right: none;
  height: 100%;
  margin: 0;
  margin-top: 1px;
  padding-top: 1em;
  overflow-y: auto;
}

#modal-content .panels-categories-description {
  color: #5B5B5B;
}

/**
 * Misc Modal Stylings
 */
#modal-content .form-type-textarea .form-type-select, 
#modal-content .field-type-text-long .form-type-select {
  float: right;
  margin-top: 5px;
  margin-bottom: 5px;
}

#modal-content .form-type-textarea .form-type-select label, 
#modal-content .field-type-text-long .form-type-select label {
  float: left;
  margin-right: .5em;
  margin-top: .5em;
  font-weight: normal;
  display: block;
  width: auto;
}

#modal-content .view-settings-wrapper .form-radios {
  display: inline;
  padding-right: 5px;
}

.panels-section-column .content-type-button {
  font-size: 1em;
}

#modal-content .panopoly-magic-preview-title .content-type-button img, 
#modal-content .panels-add-content-modal > .panels-modal-add-category {
  display: none;
}

#modal-content #edit-widget-preview {
  margin-top: 0;
}

#modalContent .panels-section-column-categories .content-type-button img:hover {
  border: none;
}

#modal-content .panopoly-magic-preview .fieldset-wrapper table img, 
#modal-content .panopoly-magic-preview .panopoly-image-featured {
  width: 100%;
}

.pane-content .create-links, 
.pane-categories .categories-links, 
.pane-menus .menu-links, 
.pane-users .user-links {
  float: right;
}

#modalContent .panels-add-content-modal a.panels-modal-add-category:hover, 
#modalContent .panels-section-column-categories .content-type-button a:hover,
#modalContent .panels-add-content-modal a.panels-modal-add-category:focus,
#modalContent .panels-section-column-categories .content-type-button a:focus {
  background: #E6E6E6;
  background-image: linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  background-image: -o-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  background-image: -moz-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  background-image: -webkit-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  background-image: -ms-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  background-image: -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0, #C5C5C5),
  color-stop(1, #FAFAFA)
  );
}

/**
 * Form action button styling
 */
#modal-content .form-submit {
  border: 1px solid #ccc;
  margin-bottom: .5em;
  margin-right: 1em;
  font: bold 12px/32px 'Open Sans', 'Lucida Sans', 'Lucida Grande',  Verdana, sans-serif;
  text-decoration: none;
  height: 33px;
  color: #666;
  cursor: pointer;
  outline: none;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background: #FAFAFA;
  background-image: linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  background-image: -o-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  background-image: -moz-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  background-image: -webkit-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  background-image: -ms-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  background-image: -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0, #E9EAEC),
  color-stop(1, #FAFAFA)
  ); 
  -webkit-box-shadow: 0 3px 3px 0 #d2d2d2;
  -moz-box-shadow: 0 3px 3px 0 #d2d2d2;
  box-shadow: 0 3px 3px 0 #d2d2d2;
  padding: 0 13px 1px;
}

#modal-content .form-submit:hover,
#modal-content .form-submit:focus {
  background: #E6E6E6;
  background-image: linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  background-image: -o-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  background-image: -moz-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  background-image: -webkit-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  background-image: -ms-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  background-image: -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0, #C5C5C5),
  color-stop(1, #FAFAFA)
  );
}

#modal-content .form-submit:active {
  outline: none;
  background-image: linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  background-image: -o-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  background-image: -moz-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  background-image: -webkit-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  background-image: -ms-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  background-image: -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0, #E9EAEC),
  color-stop(1, #FAFAFA)
  );
  -webkit-box-shadow: 0 0 0 0 #fff;
  -moz-box-shadow: 0 0 0 0 #fff;
  box-shadow: 0 0 0 0 #fff;
}

#modal-content .panopoly-magic-preview-link {
  position: relative;
  padding: 5px 0px;
}

#modal-content .panopoly-magic-preview-link .content-type-button {
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -10px;
}

#modal-content .panopoly-magic-preview-link .content-type-button a {
  background: #999;
  float: left;
  color: white;
  padding: 5px 10px;
  opacity: 0;
}

#modal-content .panopoly-magic-preview-link .content-type-button a img {
  display: none;
}

#modal-content .panopoly-magic-preview-link .content-type-button a span {
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
}

#modal-content .panopoly-magic-preview-link .content-type-button a:hover,
#modal-content .panopoly-magic-preview-link .content-type-button a:focus {
  background: #2fa6e5;
}

#modal-content .panopoly-magic-preview-link > a {
  background: transparent;
  border: none;
  color: inherit;
  text-shadow: none;
  margin: 0;
  padding: 0px 10px 0px 10px;
  text-align: left;
  cursor: pointer;
}

#modal-content .panopoly-magic-preview-link:hover {
  background-color: #f1f1f1;
}

#modal-content .panopoly-magic-preview-link > .help-block {
  color: #666;
  padding: 0px 10px 0px 10px;
}

#modal-content .panopoly-magic-preview-link:hover .content-type-button a,
#modal-content .panopoly-magic-preview-link > a:focus + .content-type-button a,
#modal-content .panopoly-magic-preview-link .content-type-button a:focus {
  opacity: 1;
}

File

css/panopoly-modal.css
View source
  1. /**
  2. * Modal stylings
  3. */
  4. #modal-content input.form-text {
  5. max-width: 98%; /* Handle fixed width form elements in the IPE */
  6. }
  7. #modal-content .form-item-exposed-widget-title input,
  8. #modal-content .form-item-title input {
  9. font-size: 1.5em;
  10. }
  11. #modalContent div.ctools-modal-content {
  12. -webkit-border-radius: 10px 10px 0 0;
  13. -moz-border-radius: 10px 10px 0 0;
  14. border-radius: 10px 10px 0 0;
  15. border: none;
  16. }
  17. #modalContent div.ctools-modal-content .modal-header {
  18. -webkit-border-radius: 5px 5px 0 0;
  19. -moz-border-radius: 5px 5px 0 0;
  20. border-radius: 5px 5px 0 0;
  21. background: #666;
  22. background-image: linear-gradient(bottom, #333333 0%, #666666 100%);
  23. background-image: -o-linear-gradient(bottom, #333333 0%, #666666 100%);
  24. background-image: -moz-linear-gradient(bottom, #333333 0%, #666666 100%);
  25. background-image: -webkit-linear-gradient(bottom, #333333 0%, #666666 100%);
  26. background-image: -ms-linear-gradient(bottom, #333333 0%, #666666 100%);
  27. background-image: -webkit-gradient(
  28. linear,
  29. left bottom,
  30. left top,
  31. color-stop(0, #333333),
  32. color-stop(1, #666666)
  33. );
  34. color: #fff;
  35. font: bold 16px/50px 'Open Sans', 'Lucida Sans', 'Lucida Grande', Verdana, sans-serif;
  36. vertical-align: middle;
  37. height: 50px;
  38. padding: 0 14px 0 24px;
  39. }
  40. #modalContent div.ctools-modal-content .modal-title {
  41. color: #fff;
  42. font: bold 16px/50px 'Open Sans', 'Lucida Sans', 'Lucida Grande', Verdana, sans-serif;
  43. text-shadow: none;
  44. padding: 0;
  45. }
  46. #modalContent div.ctools-modal-content a.close {
  47. display: block;
  48. text-indent: -99999em;
  49. overflow: hidden;
  50. outline: none;
  51. height: 15px;
  52. width: 16px;
  53. margin-top: 15px;
  54. background: url(../images/close-popup.png) no-repeat left top;
  55. padding: 0;
  56. }
  57. #modalContent div.ctools-modal-content a.close:hover,
  58. #modalContent div.ctools-modal-content a.close:focus {
  59. background-position: left -15px;
  60. }
  61. #modalContent .panels-add-content-modal {
  62. background: #FFF;
  63. padding-top: .9em;
  64. }
  65. #modalContent .panels-add-content-modal a.panels-modal-add-category {
  66. background: #EAEAEC;
  67. background-image: linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  68. background-image: -o-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  69. background-image: -moz-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  70. background-image: -webkit-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  71. background-image: -ms-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  72. background-image: -webkit-gradient(
  73. linear,
  74. left bottom,
  75. left top,
  76. color-stop(0, #DBDCDF),
  77. color-stop(1, #F6F6F7)
  78. );
  79. font: bold 11px/30px 'Open Sans', 'Lucida Sans', 'Lucida Grande', Verdana, sans-serif;
  80. color: #333;
  81. text-decoration: none;
  82. margin-left: 10px;
  83. border-bottom: none;
  84. padding: 0 12px;
  85. }
  86. #modalContent .panels-add-content-modal a.panels-modal-add-category:active,
  87. #modalContent .panels-add-content-modal a.panels-modal-add-category.active {
  88. border: 1px solid #CECECA;
  89. border-right: none;
  90. background: #FFF;
  91. margin-right: -1px;
  92. }
  93. #modalContent .content-type-button div,
  94. #modalContent .content-type-button span {
  95. width: auto;
  96. }
  97. #modalContent .panels-section-column-categories .content-type-button {
  98. padding: 0 0 .5em 10px;
  99. }
  100. #modalContent .panels-section-column-categories .content-type-button a {
  101. display: inline-block;
  102. background: #EAEAEC;
  103. background-image: linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  104. background-image: -o-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  105. background-image: -moz-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  106. background-image: -webkit-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  107. background-image: -ms-linear-gradient(bottom, #DBDCDF 0%, #F6F6F7 100%);
  108. background-image: -webkit-gradient(
  109. linear,
  110. left bottom,
  111. left top,
  112. color-stop(0, #DBDCDF),
  113. color-stop(1, #F6F6F7)
  114. );
  115. float: none;
  116. left: 0;
  117. top: 0;
  118. width: 85%;
  119. -moz-border-radius: 5px;
  120. -webkit-border-radius: 5px;
  121. border-radius: 5px;
  122. margin: 0 8px 0 0px;
  123. padding: 0;
  124. }
  125. #modalContent .panels-section-column-categories .content-type-button a {
  126. font: bold 11px/21px "Open Sans", "Lucida Grande", Tahoma, Verdana, sans-serif;
  127. text-decoration: none;
  128. color: #333;
  129. padding: 0 8px;
  130. }
  131. #modalContent .panels-section-column-categories .content-type-button span {
  132. display: inline-block;
  133. margin-top: -2px;
  134. }
  135. #modalContent .panels-section-column-categories .content-type-button img {
  136. margin: 0px 2px 0px -9px;
  137. padding: 3px 2px;
  138. background-color: #FFFFFF;
  139. -moz-border-radius: 5px;
  140. -webkit-border-radius: 5px;
  141. border: 1px solid #EEEEEE !important;
  142. border-radius: 5px;
  143. vertical-align: bottom;
  144. }
  145. #modalContent .panels-section-column-categories .content-type-button a:active {
  146. outline: none;
  147. background-image: linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  148. background-image: -o-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  149. background-image: -moz-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  150. background-image: -webkit-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  151. background-image: -ms-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  152. background-image: -webkit-gradient(
  153. linear,
  154. left bottom,
  155. left top,
  156. color-stop(0, #FFFFFF),
  157. color-stop(1, #E9EAEC)
  158. );
  159. }
  160. #modalContent div.ctools-modal-content .modal-content {
  161. padding-bottom: 2px;
  162. }
  163. #modal-content .option-text-aligner {
  164. float: left;
  165. width: auto;
  166. }
  167. /**
  168. * Pane configuration preview styling
  169. *
  170. * Much of the fieldset-related css is ripped directly from Bartik to give
  171. * IPE a more consistent look
  172. * @see https://drupal.org/node/1717644
  173. */
  174. #modal-content fieldset,
  175. #modal-content .panopoly-magic-preview-wrapper {
  176. clear: none;
  177. width: auto;
  178. position: relative;
  179. top: 12px; /* Offsets the negative margin of legends */
  180. margin-top: 10px;
  181. margin-bottom: 32px;
  182. background: #FFFFFF;
  183. border: 1px solid #CCCCCC;
  184. -webkit-border-radius: 4px;
  185. -moz-border-radius: 4px;
  186. border-radius: 4px;
  187. padding: 0 0 10px;
  188. }
  189. #modal-content fieldset.panopoly-magic-preview,
  190. #modal-content .panopoly-magic-preview-wrapper.panopoly-magic-preview {
  191. margin-top: 2em;
  192. margin-bottom: 5em;
  193. -webkitborder-top-right-radius: 0;
  194. -moz-border-topright-radius: 0;
  195. border-top-right-radius: 0;
  196. }
  197. #modal-content fieldset.panopoly-magic-preview-single,
  198. #modal-content .panopoly-magic-preview-wrapper.panopoly-magic-preview-single {
  199. margin-top: 10px;
  200. margin-bottom: 1em;
  201. }
  202. #modal-content fieldset.panopoly-magic-preview-single .fieldset-wrapper,
  203. #modal-content .panopoly-magic-preview-wrapper.panopoly-magic-preview-single .panopoly-magic-preview-inner {
  204. font-size: 100%;
  205. max-width: 100%;
  206. overflow-y: auto;
  207. min-height: 75px;
  208. max-height: 375px;
  209. }
  210. #modal-content fieldset.panopoly-magic-preview-single .fieldset-wrapper .panopoly-spotlight img,
  211. #modal-content .panopoly-magic-preview-wrapper.panopoly-magic-preview-single .panopoly-magic-preview-inner .panopoly-spotlight img {
  212. width: 100%;
  213. }
  214. #modal-content fieldset legend,
  215. #modal-content .panopoly-magic-preview-wrapper .panopoly-magic-preview-title-wrapper {
  216. background: #dbdbdb;
  217. border: 1px solid #ccc;
  218. border-bottom: none;
  219. color: #3b3b3b;
  220. display: block;
  221. height: 2em;
  222. left: -1px; /* LTR */
  223. line-height: 2;
  224. padding: 1px 0 0;
  225. position: absolute;
  226. text-indent: 10px;
  227. text-shadow: 0 1px 0 #fff;
  228. top: -12px;
  229. width: 100%;
  230. -moz-border-radius-topleft: 4px;
  231. -webkit-border-top-left-radius: 4px;
  232. border-top-left-radius: 4px;
  233. -moz-border-radius-topright: 4px;
  234. -webkit-border-top-right-radius: 4px;
  235. border-top-right-radius: 4px;
  236. }
  237. #modal-content fieldset.panopoly-magic-preview legend,
  238. #modal-content .panopoly-magic-preview-wrapper.panopoly-magic-preview .panopoly-magic-preview-title-wrapper {
  239. -moz-border-radius-topright: 0;
  240. -webkit-border-top-right-radius: 0;
  241. border-top-right-radius: 0;
  242. }
  243. #modal-content .fieldset-legend,
  244. #modal-content .panopoly-magic-preview-title-inner {
  245. font: bold 12px/1.5em 'Open Sans', 'Lucida Sans', 'Lucida Grande', Verdana, sans-serif;
  246. }
  247. /** No .panopoly-magic-preview-wrapper version because it can't be collapsed. */
  248. #modal-content fieldset.collapsed legend {
  249. -moz-border-radius: 4px;
  250. -webkit-border-radius: 4px;
  251. border-radius: 4px;
  252. }
  253. #modal-content fieldset legend a,
  254. #modal-content .panopoly-magic-preview-wrapper .panopoly-magic-preview-title-wrapper a {
  255. color: #3b3b3b;
  256. }
  257. #modal-content fieldset legend a:hover,
  258. #modal-content fieldset legend a:focus,
  259. #modal-content fieldset legend a:active,
  260. #modal-content .panopoly-magic-preview-wrapper .panopoly-magic-preview-title-inner a:hover,
  261. #modal-content .panopoly-magic-preview-wrapper .panopoly-magic-preview-title-inner a:focus,
  262. #modal-content .panopoly-magic-preview-wrapper .panopoly-magic-preview-title-inner a:active {
  263. color: #000;
  264. }
  265. #modal-content .fieldset-wrapper,
  266. #modal-content .panopoly-magic-preview-inner {
  267. padding: 0 10px;
  268. margin-top: 2.25em;
  269. }
  270. #modal-content .panopoly-magic-preview .fieldset-wrapper,
  271. #modal-content .panopoly-magic-preview .panopoly-magic-preview-inner {
  272. max-width: 100%;
  273. overflow-y: auto;
  274. font-size: 75%;
  275. max-height: 200px;
  276. min-height: 200px;
  277. overflow-x: hidden;
  278. }
  279. #modal-content .panopoly-magic-preview .fieldset-wrapper table tr.even td,
  280. #modal-content .panopoly-magic-preview .fieldset-wrapper table tr.odd td,
  281. #modal-content .panopoly-magic-preview .panopoly-magic-preview-inner table tr.even td,
  282. #modal-content .panopoly-magic-preview .panopoly-magic-preview-inner table tr.odd td {
  283. padding: 3px 5px;
  284. }
  285. #modal-content .panopoly-magic-preview .panopoly-magic-preview-inner h2 {
  286. font-size: 150%;
  287. margin-top: .25em;
  288. }
  289. #modal-content .panopoly-magic-preview-single {
  290. float: right;
  291. margin-left: 1em;
  292. margin-top: 0;
  293. width: 48%;
  294. }
  295. #modal-content .form-actions {
  296. float: right;
  297. clear: right;
  298. width: 48%;
  299. margin-left: 1em;
  300. text-align: right;
  301. }
  302. #modal-content .panopoly-magic-preview-title {
  303. position: absolute;
  304. right: -1px;
  305. top: -24px;
  306. font: bold 11px/23px 'Open Sans', 'Lucida Sans', 'Lucida Grande', Verdana, sans-serif;
  307. }
  308. #modalContent .panopoly-magic-preview-title .content-type-button span {
  309. width: auto;
  310. padding: 0 0 0 5px;
  311. top: 0;
  312. }
  313. #modal-content .panopoly-magic-preview-title .content-type-button a {
  314. display: inline-block;
  315. font: bold 11px/23px 'Open Sans', 'Lucida Sans', 'Lucida Grande', Verdana, sans-serif;
  316. color: #fff;
  317. text-decoration: none;
  318. background: #5DE000;
  319. background-image: linear-gradient(bottom, #4BA700 0%, #5DE000 100%);
  320. background-image: -o-linear-gradient(bottom, #4BA700 0%, #5DE000 100%);
  321. background-image: -moz-linear-gradient(bottom, #4BA700 0%, #5DE000 100%);
  322. background-image: -webkit-linear-gradient(bottom, #4BA700 0%, #5DE000 100%);
  323. background-image: -ms-linear-gradient(bottom, #4BA700 0%, #5DE000 100%);
  324. background-image: -webkit-gradient(
  325. linear,
  326. left bottom,
  327. left top,
  328. color-stop(0, #4BA700),
  329. color-stop(1, #5DE000)
  330. );
  331. -webkit-border-radius: 3px 3px 0 0;
  332. -moz-border-radius: 3px 3px 0 0;
  333. border-radius: 3px 3px 0 0;
  334. float: none;
  335. left: 0;
  336. top: 0;
  337. padding: 0;
  338. width: 60px;
  339. }
  340. #modal-content .panopoly-magic-preview-title .content-type-button a:hover,
  341. #modal-content .panopoly-magic-preview-title .content-type-button a:focus {
  342. background: #56CE00;
  343. background-image: linear-gradient(bottom, #408E00 0%, #56CE00 100%);
  344. background-image: -o-linear-gradient(bottom, #408E00 0%, #56CE00 100%);
  345. background-image: -moz-linear-gradient(bottom, #408E00 0%, #56CE00 100%);
  346. background-image: -webkit-linear-gradient(bottom, #408E00 0%, #56CE00 100%);
  347. background-image: -ms-linear-gradient(bottom, #408E00 0%, #56CE00 100%);
  348. background-image: -webkit-gradient(
  349. linear,
  350. left bottom,
  351. left top,
  352. color-stop(0, #408E00),
  353. color-stop(1, #56CE00)
  354. );
  355. }
  356. #modal-content .panopoly-magic-preview-title .content-type-button a:active {
  357. background: #5DE000;
  358. background-image: linear-gradient(bottom, #5DE000 0%, #4BA700 100%);
  359. background-image: -o-linear-gradient(bottom, #5DE000 0%, #4BA700 100%);
  360. background-image: -moz-linear-gradient(bottom, #5DE000 0%, #4BA700 100%);
  361. background-image: -webkit-linear-gradient(bottom, #5DE000 0%, #4BA700 100%);
  362. background-image: -ms-linear-gradient(bottom, #5DE000 0%, #4BA700 100%);
  363. background-image: -webkit-gradient(
  364. linear,
  365. left bottom,
  366. left top,
  367. color-stop(0, #5DE000),
  368. color-stop(1, #4BA700)
  369. );
  370. }
  371. #modal-content .panels-section-columns,
  372. #modal-content .panels-categories-description {
  373. box-sizing: border-box;
  374. -moz-box-sizing: border-box;
  375. -webkit-box-sizing: border-box;
  376. overflow: visible;
  377. border: 1px solid #CECECA;
  378. border-right: none;
  379. height: 100%;
  380. margin: 0;
  381. margin-top: 1px;
  382. padding-top: 1em;
  383. overflow-y: auto;
  384. }
  385. #modal-content .panels-categories-description {
  386. color: #5B5B5B;
  387. }
  388. /**
  389. * Misc Modal Stylings
  390. */
  391. #modal-content .form-type-textarea .form-type-select,
  392. #modal-content .field-type-text-long .form-type-select {
  393. float: right;
  394. margin-top: 5px;
  395. margin-bottom: 5px;
  396. }
  397. #modal-content .form-type-textarea .form-type-select label,
  398. #modal-content .field-type-text-long .form-type-select label {
  399. float: left;
  400. margin-right: .5em;
  401. margin-top: .5em;
  402. font-weight: normal;
  403. display: block;
  404. width: auto;
  405. }
  406. #modal-content .view-settings-wrapper .form-radios {
  407. display: inline;
  408. padding-right: 5px;
  409. }
  410. .panels-section-column .content-type-button {
  411. font-size: 1em;
  412. }
  413. #modal-content .panopoly-magic-preview-title .content-type-button img,
  414. #modal-content .panels-add-content-modal > .panels-modal-add-category {
  415. display: none;
  416. }
  417. #modal-content #edit-widget-preview {
  418. margin-top: 0;
  419. }
  420. #modalContent .panels-section-column-categories .content-type-button img:hover {
  421. border: none;
  422. }
  423. #modal-content .panopoly-magic-preview .fieldset-wrapper table img,
  424. #modal-content .panopoly-magic-preview .panopoly-image-featured {
  425. width: 100%;
  426. }
  427. .pane-content .create-links,
  428. .pane-categories .categories-links,
  429. .pane-menus .menu-links,
  430. .pane-users .user-links {
  431. float: right;
  432. }
  433. #modalContent .panels-add-content-modal a.panels-modal-add-category:hover,
  434. #modalContent .panels-section-column-categories .content-type-button a:hover,
  435. #modalContent .panels-add-content-modal a.panels-modal-add-category:focus,
  436. #modalContent .panels-section-column-categories .content-type-button a:focus {
  437. background: #E6E6E6;
  438. background-image: linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  439. background-image: -o-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  440. background-image: -moz-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  441. background-image: -webkit-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  442. background-image: -ms-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  443. background-image: -webkit-gradient(
  444. linear,
  445. left bottom,
  446. left top,
  447. color-stop(0, #C5C5C5),
  448. color-stop(1, #FAFAFA)
  449. );
  450. }
  451. /**
  452. * Form action button styling
  453. */
  454. #modal-content .form-submit {
  455. border: 1px solid #ccc;
  456. margin-bottom: .5em;
  457. margin-right: 1em;
  458. font: bold 12px/32px 'Open Sans', 'Lucida Sans', 'Lucida Grande', Verdana, sans-serif;
  459. text-decoration: none;
  460. height: 33px;
  461. color: #666;
  462. cursor: pointer;
  463. outline: none;
  464. -moz-border-radius: 3px;
  465. -khtml-border-radius: 3px;
  466. -webkit-border-radius: 3px;
  467. border-radius: 3px;
  468. background: #FAFAFA;
  469. background-image: linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  470. background-image: -o-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  471. background-image: -moz-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  472. background-image: -webkit-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  473. background-image: -ms-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  474. background-image: -webkit-gradient(
  475. linear,
  476. left bottom,
  477. left top,
  478. color-stop(0, #E9EAEC),
  479. color-stop(1, #FAFAFA)
  480. );
  481. -webkit-box-shadow: 0 3px 3px 0 #d2d2d2;
  482. -moz-box-shadow: 0 3px 3px 0 #d2d2d2;
  483. box-shadow: 0 3px 3px 0 #d2d2d2;
  484. padding: 0 13px 1px;
  485. }
  486. #modal-content .form-submit:hover,
  487. #modal-content .form-submit:focus {
  488. background: #E6E6E6;
  489. background-image: linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  490. background-image: -o-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  491. background-image: -moz-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  492. background-image: -webkit-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  493. background-image: -ms-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  494. background-image: -webkit-gradient(
  495. linear,
  496. left bottom,
  497. left top,
  498. color-stop(0, #C5C5C5),
  499. color-stop(1, #FAFAFA)
  500. );
  501. }
  502. #modal-content .form-submit:active {
  503. outline: none;
  504. background-image: linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  505. background-image: -o-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  506. background-image: -moz-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  507. background-image: -webkit-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  508. background-image: -ms-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  509. background-image: -webkit-gradient(
  510. linear,
  511. left bottom,
  512. left top,
  513. color-stop(0, #E9EAEC),
  514. color-stop(1, #FAFAFA)
  515. );
  516. -webkit-box-shadow: 0 0 0 0 #fff;
  517. -moz-box-shadow: 0 0 0 0 #fff;
  518. box-shadow: 0 0 0 0 #fff;
  519. }
  520. #modal-content .panopoly-magic-preview-link {
  521. position: relative;
  522. padding: 5px 0px;
  523. }
  524. #modal-content .panopoly-magic-preview-link .content-type-button {
  525. position: absolute;
  526. right: 10px;
  527. top: 50%;
  528. margin-top: -10px;
  529. }
  530. #modal-content .panopoly-magic-preview-link .content-type-button a {
  531. background: #999;
  532. float: left;
  533. color: white;
  534. padding: 5px 10px;
  535. opacity: 0;
  536. }
  537. #modal-content .panopoly-magic-preview-link .content-type-button a img {
  538. display: none;
  539. }
  540. #modal-content .panopoly-magic-preview-link .content-type-button a span {
  541. margin: 0;
  542. padding: 0;
  543. left: 0;
  544. top: 0;
  545. }
  546. #modal-content .panopoly-magic-preview-link .content-type-button a:hover,
  547. #modal-content .panopoly-magic-preview-link .content-type-button a:focus {
  548. background: #2fa6e5;
  549. }
  550. #modal-content .panopoly-magic-preview-link > a {
  551. background: transparent;
  552. border: none;
  553. color: inherit;
  554. text-shadow: none;
  555. margin: 0;
  556. padding: 0px 10px 0px 10px;
  557. text-align: left;
  558. cursor: pointer;
  559. }
  560. #modal-content .panopoly-magic-preview-link:hover {
  561. background-color: #f1f1f1;
  562. }
  563. #modal-content .panopoly-magic-preview-link > .help-block {
  564. color: #666;
  565. padding: 0px 10px 0px 10px;
  566. }
  567. #modal-content .panopoly-magic-preview-link:hover .content-type-button a,
  568. #modal-content .panopoly-magic-preview-link > a:focus + .content-type-button a,
  569. #modal-content .panopoly-magic-preview-link .content-type-button a:focus {
  570. opacity: 1;
  571. }