templates.css 1.5 KB

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