You are here

editor.css in Editor 6

Same filename and directory in other branches
  1. 5 editor.css
            
/**
* Structure
*/
.editor-toolbar {
  padding: 0 5px;
  height: 25px;
  border-left: 1px solid #99bbe8;
  border-right: 1px solid #abc7ec;
  background: #d2e1f4 url(images/tile-blue.gif) top left repeat-x;
}
.editor-options {
  margin: 2px 0;
  padding: 5px 15px;
  border-left: 1px solid #e9e9e9;
  border-right: 1px solid #e9e9e9;
  background: #fff url(images/tile-white.gif) top left repeat-x;
}
.editor-preview {
  margin: 2px 0;
  padding: 5px;
  height: 200px;
  overflow: auto;
  border: 1px solid #ccc;
  border-right-color: #eee;
  border-bottom-color: #eee;
  background: #fff;    
}

/**
* Types
*/         
.editor-plugin,
.editor-spacer {
  display: block;
  float: left;
  margin: 2px;
}
.editor-spacer { 
  margin: 5px; 
  width: 0;
  height: 15px;
  border-left: 1px solid #aaccf6;
  border-right: 1px solid #eee;
}
.editor-plugin.hover,
.editor-plugin:hover {
  background-color: #d4e2f4;
}
.editor-plugin.active,
.editor-plugin:active {
  background-color: #d4e2f4;
}
.editor-button {
  width: 20px;
  height: 20px;
  cursor: pointer;
  background: 50% 50% no-repeat;
}

/**
* Plugins
*/
#editor-undo {
  background-image: url(images/undo.png); 
}
#editor-redo {
  background-image: url(images/redo.png); 
}
#editor-align_left {
  background-image: url(images/text_align_left.png);
}
#editor-align_center {
  background-image: url(images/text_align_center.png); 
}
#editor-align_right {
  background-image: url(images/text_align_right.png); 
}
#editor-align_justify {
  background-image: url(images/text_align_justify.png); 
}
#editor-link {
  background-image: url(images/link.png); 
}
#editor-mailto {
  background-image: url(images/email_link.png); 
}
#editor-bold {
  background-image: url(images/text_bold.png); 
}
#editor-italic {
  background-image: url(images/text_italic.png); 
}
#editor-code {
  background-image: url(images/page_code.png); 
}
#editor-image {
  background-image: url(images/camera.png); 
}
#editor-html {
  background-image: url(images/html.png); 
}

File

editor.css
View source
  1. /**
  2. * Structure
  3. */
  4. .editor-toolbar {
  5. padding: 0 5px;
  6. height: 25px;
  7. border-left: 1px solid #99bbe8;
  8. border-right: 1px solid #abc7ec;
  9. background: #d2e1f4 url(images/tile-blue.gif) top left repeat-x;
  10. }
  11. .editor-options {
  12. margin: 2px 0;
  13. padding: 5px 15px;
  14. border-left: 1px solid #e9e9e9;
  15. border-right: 1px solid #e9e9e9;
  16. background: #fff url(images/tile-white.gif) top left repeat-x;
  17. }
  18. .editor-preview {
  19. margin: 2px 0;
  20. padding: 5px;
  21. height: 200px;
  22. overflow: auto;
  23. border: 1px solid #ccc;
  24. border-right-color: #eee;
  25. border-bottom-color: #eee;
  26. background: #fff;
  27. }
  28. /**
  29. * Types
  30. */
  31. .editor-plugin,
  32. .editor-spacer {
  33. display: block;
  34. float: left;
  35. margin: 2px;
  36. }
  37. .editor-spacer {
  38. margin: 5px;
  39. width: 0;
  40. height: 15px;
  41. border-left: 1px solid #aaccf6;
  42. border-right: 1px solid #eee;
  43. }
  44. .editor-plugin.hover,
  45. .editor-plugin:hover {
  46. background-color: #d4e2f4;
  47. }
  48. .editor-plugin.active,
  49. .editor-plugin:active {
  50. background-color: #d4e2f4;
  51. }
  52. .editor-button {
  53. width: 20px;
  54. height: 20px;
  55. cursor: pointer;
  56. background: 50% 50% no-repeat;
  57. }
  58. /**
  59. * Plugins
  60. */
  61. #editor-undo {
  62. background-image: url(images/undo.png);
  63. }
  64. #editor-redo {
  65. background-image: url(images/redo.png);
  66. }
  67. #editor-align_left {
  68. background-image: url(images/text_align_left.png);
  69. }
  70. #editor-align_center {
  71. background-image: url(images/text_align_center.png);
  72. }
  73. #editor-align_right {
  74. background-image: url(images/text_align_right.png);
  75. }
  76. #editor-align_justify {
  77. background-image: url(images/text_align_justify.png);
  78. }
  79. #editor-link {
  80. background-image: url(images/link.png);
  81. }
  82. #editor-mailto {
  83. background-image: url(images/email_link.png);
  84. }
  85. #editor-bold {
  86. background-image: url(images/text_bold.png);
  87. }
  88. #editor-italic {
  89. background-image: url(images/text_italic.png);
  90. }
  91. #editor-code {
  92. background-image: url(images/page_code.png);
  93. }
  94. #editor-image {
  95. background-image: url(images/camera.png);
  96. }
  97. #editor-html {
  98. background-image: url(images/html.png);
  99. }