You are here

quickedit.module.css in Quick Edit 7

Generic base styles for Quick Edit module.

File

css/quickedit.module.css
View source
  1. /**
  2. * @file
  3. * Generic base styles for Quick Edit module.
  4. */
  5. /**
  6. * Editable.
  7. */
  8. .quickedit-editable {
  9. z-index: 98;
  10. position: relative;
  11. cursor: pointer;
  12. }
  13. .quickedit-editable:focus {
  14. outline: none;
  15. }
  16. /**
  17. * Highlighted (hovered) editable.
  18. */
  19. .quickedit-editable.quickedit-highlighted {
  20. z-index: 99;
  21. }
  22. .quickedit-validation-errors > .messages {
  23. margin-left: 0;
  24. margin-right: 0;
  25. }
  26. .quickedit-validation-errors > .messages > ul {
  27. list-style: none;
  28. margin: 0;
  29. padding: 0;
  30. }
  31. /**
  32. * In-place editors that don't use a popup.
  33. */
  34. .quickedit-validation-errors {
  35. z-index: 300;
  36. position: relative;
  37. }
  38. .quickedit-validation-errors .messages.error {
  39. position: absolute;
  40. top: 6px;
  41. left: -5px; /* LTR */
  42. margin: 0;
  43. border: none;
  44. }
  45. [dir="rtl"] .quickedit-validation-errors .messages.error {
  46. left: auto;
  47. right: -5px;
  48. }
  49. /**
  50. * Styling specific to the 'form' in-place editor.
  51. */
  52. #quickedit_backstage {
  53. display: none;
  54. }
  55. .quickedit-form {
  56. position: absolute;
  57. z-index: 300;
  58. max-width: 35em;
  59. }
  60. .quickedit-form .placeholder {
  61. min-height: 22px;
  62. }
  63. /**
  64. * Default form styling overrides.
  65. */
  66. .quickedit-form .form-wrapper .form-wrapper {
  67. margin: inherit;
  68. }
  69. .quickedit-form .form-actions {
  70. display: none;
  71. }
  72. .quickedit-form input {
  73. max-width: 100%;
  74. }
  75. /**
  76. * Entity toolbar.
  77. */
  78. .quickedit-toolbar-container {
  79. max-width: 100%;
  80. position: absolute;
  81. max-width: 320px;
  82. width: 320px;
  83. z-index: 100;
  84. }
  85. .quickedit-toolbar-container > .quickedit-toolbar-pointer,
  86. .quickedit-toolbar-container > .quickedit-toolbar-lining {
  87. display: none;
  88. }
  89. .quickedit-form-container {
  90. position: relative;
  91. padding: 0;
  92. border: 0;
  93. margin: 0;
  94. vertical-align: baseline;
  95. z-index: 100;
  96. }
  97. .quickedit-toolgroup.ops {
  98. float: right; /* LTR */
  99. }
  100. [dir="rtl"] .quickedit-toolgroup.ops {
  101. float: left;
  102. }
  103. .quickedit-toolbar-label {
  104. overflow: hidden;
  105. }
  106. #quickedit-toolbar-fence {
  107. bottom: 0;
  108. left: 0;
  109. right: 0;
  110. top: 0;
  111. position: fixed;
  112. z-index: -1;
  113. }
  114. /**
  115. * Modal.
  116. */
  117. #quickedit_modal {
  118. z-index: 350;
  119. position: fixed;
  120. top: 40%;
  121. left: 40%; /* LTR */
  122. }
  123. [dir="rtl"] #quickedit_modal {
  124. left: auto;
  125. right: 40%;
  126. }