style.css 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /* this CSS is not part of the widget, it is here just as an example of the demo page styling.... Don't copy this one, roll your own. One
  2. * of the key things about the widget is that it allows you to do your own styling!
  3. */
  4. #editor, #first-editor, #second-editor {
  5. max-height: 250px;
  6. height: 250px;
  7. background-color: white;
  8. border-collapse: separate;
  9. border: 1px solid rgb(204, 204, 204);
  10. padding: 4px;
  11. box-sizing: content-box;
  12. -webkit-box-shadow: rgba(0, 0, 0, 0.0745098) 0 1px 1px 0 inset;
  13. box-shadow: rgba(0, 0, 0, 0.0745098) 0 1px 1px 0 inset;
  14. border-top-right-radius: 3px; border-bottom-right-radius: 3px;
  15. border-bottom-left-radius: 3px; border-top-left-radius: 3px;
  16. overflow: scroll;
  17. outline: none;
  18. }
  19. #editor:focus{
  20. border-color:rgba(82, 168, 236, 0.8);
  21. outline:0;
  22. outline:thin dotted \9;
  23. -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
  24. -moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
  25. box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
  26. }
  27. .voiceBtn {
  28. width: 20px;
  29. color: transparent;
  30. background-color: transparent;
  31. transform: scale(2.0, 2.0);
  32. -webkit-transform: scale(2.0, 2.0);
  33. -moz-transform: scale(2.0, 2.0);
  34. border: transparent;
  35. cursor: pointer;
  36. box-shadow: none;
  37. -webkit-box-shadow: none;
  38. }
  39. div[data-role="editor-toolbar"] {
  40. -webkit-user-select: none;
  41. -moz-user-select: none;
  42. -ms-user-select: none;
  43. user-select: none;
  44. }
  45. .dropdown-menu a {
  46. cursor: pointer;
  47. }
  48. .btn-toolbar {
  49. padding: 10px 0px 10px 0px;
  50. }
  51. [contentEditable=true]:empty:not(:focus):before {
  52. content:attr(data-placeholder)
  53. }
  54. .placeholderText {
  55. color: #777;
  56. }
  57. .imgUpload
  58. {
  59. width: 0;
  60. height: 0;
  61. position:absolute
  62. }
  63. /*
  64. Font Sizes
  65. fs represents the font-size attribute; therefore,
  66. fs-five would be the equivalent to font-size: 5;
  67. */
  68. .fs-One {
  69. font-size: x-small;
  70. }
  71. .fs-Three {
  72. font-size: medium;
  73. }
  74. .fs-Five {
  75. font-size: x-large;
  76. }