theme.html 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <head>
  2. <link rel="stylesheet" href="%APPS_DIR%ckeditor/build/amd/theme/ckeditor.css">
  3. <style>
  4. .wrappable {
  5. white-space: initial;
  6. line-height: 3em;
  7. }
  8. *[id^="icon"] .ck-icon + .ck-icon,
  9. *[id^="button"] .ck-button + .ck-button,
  10. *[id^="dropdown"] .ck-dropdown + .ck-dropdown,
  11. *[id^="toolbar"] .ck-button + .ck-button {
  12. margin-left: 0.3em;
  13. }
  14. .icon-color {
  15. color: red;
  16. }
  17. @keyframes icon-color-change {
  18. 0% {
  19. color: white;
  20. background: orange;
  21. }
  22. 50% {
  23. color: orange;
  24. background: white;
  25. }
  26. 100% {
  27. color: white;
  28. background: orange;
  29. }
  30. }
  31. #icon-color-change {
  32. border: 0;
  33. animation: icon-color-change 3s infinite;
  34. }
  35. .button-responsive > div {
  36. font-size: 1.5em;
  37. line-height: 2.8em;
  38. }
  39. .button-responsive div .ck-button {
  40. font-size: inherit;
  41. }
  42. </style>
  43. </head>
  44. <h2>Icon</h2>
  45. <h3>Icon: In–text</h3>
  46. <p>Icons <span id="icon-plain-1"></span> and <span id="icon-plain-2"></span> in a plain paragraph.</p>
  47. <p class="icon-color">
  48. Icons <span id="icon-color-1"></span> follow the <span id="icon-color-2"></span> color of text.
  49. </p>
  50. <h3>Icon: Availability</h3>
  51. <p id="icon-availability" class="ck-reset-all"></p>
  52. <h3>Icon: Availability (colored)</h3>
  53. <p id="icon-availability-color" class="ck-reset-all icon-color"></p>
  54. <hr/>
  55. <h2>Button</h2>
  56. <h3>Button: States</h3>
  57. <div id="button-states" class="ck-reset-all"></div>
  58. <h3>Button: Types</h3>
  59. <div id="button-types" class="ck-reset-all"></div>
  60. <h3>Button: Icon</h3>
  61. <div class="ck-reset-all" >
  62. <div id="button-icon" class="wrappable"></div>
  63. <br/>
  64. <div id="button-icon-custom"></div>
  65. <br/>
  66. <br/>
  67. <div id="button-icon-states"></div>
  68. </div>
  69. <h3>Button: Responsiveness</h3>
  70. <div id="button-responsive-1" class="button-responsive ck-reset-all">
  71. <div id="button-responsive-2" class="button-responsive">
  72. <div id="button-responsive-3" class="button-responsive"></div>
  73. </div>
  74. </div>
  75. <hr/>
  76. <h2>Dropdown</h2>
  77. <h3>ListDropdown</h3>
  78. <div id="dropdown" class="ck-reset-all"></div>
  79. <hr/>
  80. <h2>Toolbar</h2>
  81. <h3>Toolbar: Text</h3>
  82. <div id="toolbar-text" class="ck-reset-all"></div>
  83. <h3>Toolbar: Button</h3>
  84. <div id="toolbar-button" class="ck-reset-all"></div>
  85. <h3>Toolbar: Rounded</h3>
  86. <div id="toolbar-rounded" class="ck-reset-all ck-rounded-corners"></div>
  87. <h3>Toolbar: Wrapping content</h3>
  88. <div id="toolbar-wrap" class="ck-reset-all"></div>
  89. <h3>Toolbar: Item separators</h3>
  90. <div id="toolbar-separator" class="ck-reset-all"></div>
  91. <h3>Toolbar: Multi-row</h3>
  92. <div id="toolbar-multi-row" class="ck-reset-all"></div>
  93. <div id="body"></div>