You are here

BUE.css in BUEditor 8.2

Same filename and directory in other branches
  1. 8 library/css/BUE.css
/* Editor container */
.bue {
  border: 1px solid #aaa;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

/* Textarea wrapper */
.bue-textarea-wrapper {
  position: relative;
  background: #f7f7f7; /* Seen only when textarea visual styles are removed */
  box-shadow: 0 1px 1px #D5D5D5 inset;
}
.bue.focused .bue-textarea-wrapper {
  background: #fff; /* Seen only when textarea visual styles are removed */
}

/* Textarea */
.bue-textarea-wrapper .bue-textarea {
  display: block;
  width: 100%;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  resize: vertical;
  float: none;
  border: none;
  border-radius: 0;
  margin: 0;
  /* Remove textarea visual style to standardize the look.@todo
  padding: 5px;
  color: #000;
  background: none;
  outline: none;
  box-shadow: none;
  text-shadow: none;
  */
}

/* Toolbar */
.bue-toolbar {
  font-size: 16px;
  font-family: Georgia;
  line-height: 1em;
  padding: 0.05em 0.05em 0.2em 0.2em; /* Complementary to button margin */
  border-bottom: 1px solid #aaa;
  background: #e9e9e9;
  background: linear-gradient(180deg, #f1f1f1, #ddd);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  cursor: default;
}
.bue-toolbar:empty {
  display: none;
}

/* Separator */
.bue-separator {
  display: inline-block;
  vertical-align: bottom;
  line-height: 1.9em;
  margin: 0 0.1em;
  color: #aaa;
  text-shadow: 1px 1px 0 #fff;
}
.bue-separator:before {
  content: ":";
}

/* New line */
.bue-newline:after {
  content: "\000a";
  white-space: pre;
}

/* Tag chooser */
.bue-tag-chooser .choice-link {
  display: inline-block;
  padding: 0.4em;
}

File

library/css/BUE.css
View source
  1. /* Editor container */
  2. .bue {
  3. border: 1px solid #aaa;
  4. box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
  5. }
  6. /* Textarea wrapper */
  7. .bue-textarea-wrapper {
  8. position: relative;
  9. background: #f7f7f7; /* Seen only when textarea visual styles are removed */
  10. box-shadow: 0 1px 1px #D5D5D5 inset;
  11. }
  12. .bue.focused .bue-textarea-wrapper {
  13. background: #fff; /* Seen only when textarea visual styles are removed */
  14. }
  15. /* Textarea */
  16. .bue-textarea-wrapper .bue-textarea {
  17. display: block;
  18. width: 100%;
  19. -moz-box-sizing: border-box;
  20. box-sizing: border-box;
  21. resize: vertical;
  22. float: none;
  23. border: none;
  24. border-radius: 0;
  25. margin: 0;
  26. /* Remove textarea visual style to standardize the look.@todo
  27. padding: 5px;
  28. color: #000;
  29. background: none;
  30. outline: none;
  31. box-shadow: none;
  32. text-shadow: none;
  33. */
  34. }
  35. /* Toolbar */
  36. .bue-toolbar {
  37. font-size: 16px;
  38. font-family: Georgia;
  39. line-height: 1em;
  40. padding: 0.05em 0.05em 0.2em 0.2em; /* Complementary to button margin */
  41. border-bottom: 1px solid #aaa;
  42. background: #e9e9e9;
  43. background: linear-gradient(180deg, #f1f1f1, #ddd);
  44. box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  45. cursor: default;
  46. }
  47. .bue-toolbar:empty {
  48. display: none;
  49. }
  50. /* Separator */
  51. .bue-separator {
  52. display: inline-block;
  53. vertical-align: bottom;
  54. line-height: 1.9em;
  55. margin: 0 0.1em;
  56. color: #aaa;
  57. text-shadow: 1px 1px 0 #fff;
  58. }
  59. .bue-separator:before {
  60. content: ":";
  61. }
  62. /* New line */
  63. .bue-newline:after {
  64. content: "\000a";
  65. white-space: pre;
  66. }
  67. /* Tag chooser */
  68. .bue-tag-chooser .choice-link {
  69. display: inline-block;
  70. padding: 0.4em;
  71. }