templates.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /*
  2. Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
  3. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. .cke_tpl_list
  6. {
  7. border: #dcdcdc 2px solid;
  8. background-color: #ffffff;
  9. overflow-y: auto;
  10. overflow-x: hidden;
  11. width: 100%;
  12. height: 220px;
  13. }
  14. .cke_tpl_item
  15. {
  16. margin: 5px;
  17. padding: 7px;
  18. border: #eeeeee 1px solid;
  19. *width: 88%;
  20. }
  21. .cke_tpl_preview
  22. {
  23. border-collapse: separate;
  24. text-indent:0;
  25. width: 100%;
  26. }
  27. .cke_tpl_preview td
  28. {
  29. padding: 2px;
  30. vertical-align: middle;
  31. }
  32. .cke_tpl_preview .cke_tpl_preview_img
  33. {
  34. width: 100px;
  35. }
  36. .cke_tpl_preview span
  37. {
  38. white-space: normal;
  39. }
  40. .cke_tpl_title
  41. {
  42. font-weight: bold;
  43. }
  44. .cke_tpl_list a:hover .cke_tpl_item,
  45. .cke_tpl_list a:focus .cke_tpl_item,
  46. .cke_tpl_list a:active .cke_tpl_item
  47. {
  48. border: #ff9933 1px solid;
  49. background-color: #fffacd;
  50. }
  51. .cke_tpl_list a:hover *,
  52. .cke_tpl_list a:focus *,
  53. .cke_tpl_list a:active *
  54. {
  55. cursor: pointer;
  56. }
  57. /* IE Quirks contextual selectors children will not get :hover transition until
  58. the hover style of the link itself contains certain CSS declarations. */
  59. .cke_browser_quirks .cke_tpl_list a:active,
  60. .cke_browser_quirks .cke_tpl_list a:hover,
  61. .cke_browser_quirks .cke_tpl_list a:focus
  62. {
  63. background-position: 0 0;
  64. }
  65. .cke_hc .cke_tpl_list a:hover .cke_tpl_item,
  66. .cke_hc .cke_tpl_list a:focus .cke_tpl_item,
  67. .cke_hc .cke_tpl_list a:active .cke_tpl_item
  68. {
  69. border-width: 3px;
  70. }
  71. .cke_tpl_empty, .cke_tpl_loading
  72. {
  73. text-align: center;
  74. padding: 5px;
  75. }