theme.html 2.5 KB

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