_summernote.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. // WYSIWYG
  2. // -----------------------------------------------------------------------------
  3. /* Summernote */
  4. .note-editor {
  5. border: 1px solid #ddd;
  6. border-radius: 4px;
  7. @include transition( border-color ease-in-out .15s, box-shadow ease-in-out .15s );
  8. &.active {
  9. border-color: #66afe9;
  10. box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,0.6);
  11. }
  12. .note-title {
  13. padding-top: 0 !important;
  14. }
  15. .note-toolbar {
  16. background-color: #FFF;
  17. border: {
  18. bottom: 1px dashed #ddd;
  19. left: none;
  20. right: none;
  21. top: none;
  22. }
  23. border-radius: 4px 4px 0 0;
  24. padding: 6px 4px 0;
  25. -webkit-user-select: none;
  26. -moz-user-select: none;
  27. -ms-user-select: none;
  28. user-select: none;
  29. i {
  30. margin: 0;
  31. &:before {
  32. margin: 0;
  33. }
  34. }
  35. .btn-group {
  36. float: none !important;
  37. margin: 0 0 6px 5px;
  38. }
  39. @media only screen and (max-width: 767px) {
  40. text-align: center;
  41. }
  42. }
  43. .note-editable {
  44. clear: both;
  45. background: #FFF;
  46. border: none;
  47. border-radius: 0 0 4px 4px;
  48. font-family: Arial, Helvetica, Sans-serif;
  49. }
  50. .note-statusbar {
  51. background: #FFF;
  52. border-radius: 0 0 4px 4px;
  53. .note-resizebar {
  54. border-color: #DDD;
  55. display: block;
  56. }
  57. }
  58. }
  59. // DARK
  60. // -----------------------------------------------------------------------------
  61. html.dark {
  62. .note-editor {
  63. border-color: $dark-color-3;
  64. color: #EEE;
  65. .note-toolbar,
  66. .note-statusbar {
  67. background: $dark-color-5;
  68. border-color: $dark-color-1;
  69. }
  70. .note-editable {
  71. background: $dark-color-3;
  72. border-color: $dark-color-1;
  73. }
  74. .note-statusbar .note-resizebar {
  75. border-color: $dark-color-1;
  76. .note-icon-bar {
  77. border-color: #444;
  78. }
  79. }
  80. .caret {
  81. border-color: #FFF transparent transparent;
  82. }
  83. }
  84. }