ckeditor-dialog.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. /**
  2. * @file
  3. * CKEditor-native dialogs theming.
  4. */
  5. .cke_dialog_background_cover {
  6. display: none;
  7. }
  8. .cke_dialog:before {
  9. content: '';
  10. position: fixed;
  11. top: 0;
  12. left: 0;
  13. width: 100%;
  14. height: 100%;
  15. background: #000;
  16. opacity: 0.7;
  17. }
  18. [dir="rtl"] .cke_reset_all * {
  19. text-align: right;
  20. direction: rtl;
  21. }
  22. body .cke_reset_all * {
  23. font-family: 'Ubuntu';
  24. }
  25. .cke_reset_all .cke_dialog_body {
  26. position: relative;
  27. border: 0;
  28. border-radius: 0;
  29. background: none;
  30. }
  31. .cke_reset_all tbody tr:first-child {
  32. border-top: none;
  33. }
  34. /* Dialog's header. */
  35. .cke_reset_all .cke_dialog_title {
  36. padding: 15px 49px 15px 15px;
  37. border: 0;
  38. font-size: 26px;
  39. line-height: 30px;
  40. font-weight: 300;
  41. background: #0678be;
  42. color: #fff;
  43. -webkit-font-smoothing: antialiased;
  44. font-family: 'Ubuntu', sans-serif;
  45. }
  46. [dir="rtl"] .cke_reset_all .cke_dialog_title {
  47. padding: 15px 15px 15px 49px;
  48. }
  49. /* More specificity to prevent overriding in high density screens. */
  50. .cke_reset_all .cke_dialog .cke_dialog_close_button {
  51. top: 16px;
  52. right: 20px;
  53. width: 16px;
  54. height: 16px;
  55. background: url(../../images/icons/ffffff/ex.svg) 0 0 no-repeat;
  56. opacity: 1;
  57. }
  58. [dir="rtl"] .cke_reset_all .cke_dialog .cke_dialog_close_button {
  59. left: 20px;
  60. right: auto;
  61. }
  62. .cke_reset_all .cke_dialog .cke_label {
  63. display: none;
  64. }
  65. /* Dialog's body. */
  66. .cke_reset_all .cke_dialog_contents {
  67. border-bottom-left-radius: 5px;
  68. border-bottom-right-radius: 5px;
  69. }
  70. .cke_reset_all .cke_dialog_contents_body {
  71. padding: 1em;
  72. }
  73. .cke_reset_all tr:hover,
  74. .cke_reset_all tr:focus {
  75. background: none;
  76. }
  77. [dir="rtl"] .cke_reset_all .cke_dialog_ui_hbox_first,
  78. [dir="rtl"] .cke_reset_all .cke_dialog_ui_hbox_child {
  79. padding-left: 10px;
  80. padding-right: 0;
  81. }
  82. .cke_reset_all .cke_dialog_body label {
  83. display: table;
  84. margin: 0 0 0.1em;
  85. padding: 0;
  86. }
  87. .cke_reset_all .cke_dialog_body .cke_dialog_ui_input_text,
  88. .cke_reset_all .cke_dialog_body .cke_dialog_ui_input_textarea,
  89. .cke_reset_all .cke_dialog_body div.cke_dialog_ui_input_select {
  90. border: 0;
  91. }
  92. .cke_reset_all .cke_dialog_body textarea,
  93. .cke_reset_all .cke_dialog_body input[type="text"],
  94. .cke_reset_all select.cke_dialog_ui_input_select {
  95. box-sizing: border-box;
  96. padding: 10px 12px;
  97. border: 1px solid #d1d1d1;
  98. color: #333;
  99. background: #fcfcfa;
  100. min-height: 40px;
  101. -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  102. transition: border linear 0.2s, box-shadow linear 0.2s;
  103. appearance: none;
  104. -webkit-appearance: none;
  105. -moz-appearance: none;
  106. border-radius: 0;
  107. min-width: 115px;
  108. width: 100%;
  109. font-size: 14px;
  110. line-height: 18px;
  111. }
  112. .cke_reset_all select.cke_dialog_ui_input_select {
  113. padding-right: 1.5em;
  114. background: #fcfcfa url(../../images/icons/333333/caret-down.svg) no-repeat 99% 63%;
  115. }
  116. .cke_reset_all .cke_dialog_body textarea:focus,
  117. .cke_reset_all .cke_dialog_body input[type="text"]:focus,
  118. .cke_reset_all select.cke_dialog_ui_input_select:focus {
  119. border-color: #40b6ff;
  120. outline: transparent;
  121. background-color: #fff;
  122. }
  123. /* Dialog's footer. */
  124. .cke_reset_all .cke_dialog .cke_dialog_footer {
  125. margin: 0;
  126. padding: 15px 20px;
  127. border: 0;
  128. text-align: left;
  129. background: #f5f5f2;
  130. }
  131. .cke_reset_all .cke_dialog .cke_dialog_footer:focus {
  132. outline: transparent;
  133. }
  134. [dir="rtl"] .cke_reset_all .cke_dialog .cke_dialog_footer {
  135. text-align: right;
  136. }
  137. .cke_reset_all .cke_dialog .cke_resizer {
  138. display: none;
  139. }
  140. .cke_reset_all .cke_dialog_footer_buttons {
  141. margin: 0;
  142. }
  143. .cke_dialog_footer_buttons td {
  144. float: right;
  145. }
  146. [dir="rtl"] .cke_dialog_footer_buttons td {
  147. float: left;
  148. }
  149. .cke_reset_all a.cke_dialog_ui_button {
  150. position: relative;
  151. box-sizing: border-box;
  152. display: inline-block;
  153. margin-right: 1em;
  154. padding: 13px 24px;
  155. border: 1px solid #b8b8b8;
  156. background-color: #f5f5f5;
  157. color: #333;
  158. text-decoration: none;
  159. font-weight: 700;
  160. font-size: 12px;
  161. text-align: center;
  162. line-height: normal;
  163. text-decoration: none;
  164. text-transform: uppercase;
  165. cursor: pointer;
  166. -webkit-appearance: none;
  167. -moz-appearance: none;
  168. -webkit-transition: all 0.1s;
  169. transition: all 0.1s;
  170. -webkit-font-smoothing: antialiased;
  171. border-radius: 0;
  172. font-family: 'Ubuntu';
  173. }
  174. [dir="rtl"] .cke_reset_all a.cke_dialog_ui_button {
  175. margin-left: 1em;
  176. margin-right: 0;
  177. }
  178. .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:hover,
  179. .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:focus {
  180. border: 1px solid #0678be;
  181. color: #0678be;
  182. padding: 13px 24px;
  183. }
  184. .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:focus {
  185. z-index: 10;
  186. }
  187. .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button span {
  188. padding: 0;
  189. }
  190. .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:hover span,
  191. .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:focus span,
  192. .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:active span {
  193. padding: 0;
  194. }
  195. .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok {
  196. border: 1px solid #0678be;
  197. background-color: #0678be;
  198. color: #fff;
  199. -webkit-font-smoothing: antialiased;
  200. }
  201. .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:hover,
  202. .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:focus {
  203. background-color: #0678be;
  204. border: 1px solid #0678be;
  205. color: #fff;
  206. }
  207. .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:focus {
  208. border: 1px solid #0678be;
  209. }
  210. .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:active {
  211. border-color: #0678be;
  212. }