off-canvas.theme.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /**
  2. * @file
  3. * Styling for the off-canvas ui dialog. Including overrides for jQuery UI.
  4. */
  5. /* Style the dialog-off-canvas container. */
  6. .ui-dialog.ui-dialog-off-canvas {
  7. background: #444;
  8. border-radius: 0;
  9. box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.3333);
  10. padding: 0;
  11. color: #ddd;
  12. /* Layer the dialog just under the toolbar. */
  13. z-index: 501;
  14. }
  15. .ui-widget.ui-dialog.ui-dialog-off-canvas {
  16. border: 1px solid transparent;
  17. }
  18. /* Style the off-canvas dialog header. */
  19. .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar {
  20. padding: 1em;
  21. background: #2d2d2d;
  22. border: 0;
  23. border-bottom: 1px solid #000;
  24. border-radius: 0;
  25. font-weight: normal;
  26. color: #fff;
  27. }
  28. /* Hide the default jQuery UI dialog close button. */
  29. .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close .ui-icon {
  30. visibility: hidden;
  31. }
  32. .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close {
  33. background-image: url(../icons/bebebe/ex.svg);
  34. background-position: center center;
  35. background-repeat: no-repeat;
  36. background-color: transparent;
  37. border: 3px solid transparent;
  38. height: 30px;
  39. width: 30px;
  40. position: absolute;
  41. top: calc(50% - 6px);
  42. right: 1em;
  43. transition: all 0.5s ease;
  44. }
  45. .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close:hover,
  46. .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close:focus {
  47. background-image: url(../icons/ffffff/ex.svg);
  48. border: 3px solid #fff;
  49. }
  50. [dir="rtl"] .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close {
  51. left: 1em;
  52. right: auto;
  53. }
  54. .ui-dialog.ui-dialog-off-canvas .ui-dialog-title {
  55. margin: 0;
  56. /* Push the text away from the icon. */
  57. padding-left: 30px; /* LTR */
  58. padding-right: 0; /* LTR */
  59. /* Ensure that long titles do not overlap the close button. */
  60. max-width: 210px;
  61. font-size: 16px;
  62. font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
  63. text-align: left; /* LTR */
  64. }
  65. [dir="rtl"] .ui-dialog.ui-dialog-off-canvas .ui-dialog-title {
  66. float: right;
  67. text-align: right;
  68. padding-left: 0;
  69. padding-right: 30px;
  70. }
  71. .ui-dialog.ui-dialog-off-canvas .ui-dialog-title:before {
  72. background: transparent url(../icons/ffffff/pencil.svg) no-repeat scroll center center;
  73. background-size: 100% auto;
  74. content: '';
  75. display: block;
  76. height: 100%;
  77. position: absolute;
  78. left: 1em; /* LTR */
  79. top: 0;
  80. width: 20px;
  81. }
  82. [dir="rtl"] .ui-dialog.ui-dialog-off-canvas .ui-dialog-title:before {
  83. left: auto;
  84. right: 1em;
  85. }
  86. /* Override default styling from jQuery UI. */
  87. #drupal-off-canvas .ui-state-default,
  88. #drupal-off-canvas .ui-widget-content .ui-state-default,
  89. #drupal-off-canvas .ui-widget-header .ui-state-default {
  90. border: 0;
  91. font-weight: normal;
  92. font-size: 14px;
  93. color: #333;
  94. }
  95. #drupal-off-canvas .ui-widget-content a {
  96. color: #85bef4;
  97. }