TinyMCE.less 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. .@{prefix}-tinymce {
  2. // Avoid FOUC
  3. visibility: visible !important;
  4. position: relative;
  5. }
  6. .@{prefix}-fullscreen {
  7. border: 0; padding: 0; margin: 0;
  8. overflow: hidden;
  9. height: 100%;
  10. z-index: 100;
  11. }
  12. div.@{prefix}-fullscreen {
  13. position: fixed;
  14. top: 0; left: 0;
  15. width: 100%;
  16. height: auto;
  17. }
  18. .@{prefix}-tinymce {
  19. display: block;
  20. .border-radius(2px);
  21. }
  22. .@{prefix}-wordcount {
  23. position: absolute;
  24. top: 0;
  25. right: 0;
  26. padding: 8px;
  27. }
  28. div.@{prefix}-edit-area {
  29. background: #FFF;
  30. filter: none;
  31. }
  32. .@{prefix}-statusbar {
  33. position: relative;
  34. }
  35. .@{prefix}-statusbar .@{prefix}-container-body {
  36. position: relative;
  37. }
  38. .@{prefix}-fullscreen .@{prefix}-resizehandle {
  39. display: none;
  40. }
  41. // Charmap
  42. .@{prefix}-charmap {
  43. border-collapse: collapse;
  44. }
  45. .@{prefix}-charmap td {
  46. cursor: default;
  47. border: 1px solid @panel-border;
  48. width: 20px;
  49. height: 20px;
  50. line-height: 20px;
  51. text-align: center;
  52. vertical-align: middle;
  53. padding: 2px;
  54. }
  55. .@{prefix}-charmap td div {
  56. text-align: center;
  57. }
  58. .@{prefix}-charmap td:hover {
  59. background: @btn-bg-hlight;
  60. }
  61. .@{prefix}-grid td div {
  62. border: 1px solid @grid-border;
  63. width: 12px; height: 12px;
  64. margin: 2px;
  65. cursor: pointer;
  66. &:focus {
  67. border-color: @grid-border-active;
  68. }
  69. }
  70. .@{prefix}-grid {
  71. border-spacing: 2px;
  72. border-collapse: separate;
  73. a {
  74. display: block;
  75. border: 1px solid transparent;
  76. &:hover, &:focus {
  77. border-color: @grid-border-active;
  78. }
  79. }
  80. }
  81. .@{prefix}-grid-border {
  82. margin: 0 4px 0 4px;
  83. a {
  84. border-color: @grid-border;
  85. width: 13px; height: 13px;
  86. }
  87. a:hover, a.@{prefix}-active {
  88. border-color: @grid-border-active;
  89. background: @grid-bg-active;
  90. }
  91. }
  92. .@{prefix}-text-center {
  93. text-align: center;
  94. }
  95. div.@{prefix}-tinymce-inline {
  96. width: 100%;
  97. .box-shadow(none);
  98. }
  99. // Reduce double margins between toolbar rows
  100. .@{prefix}-toolbar-grp {
  101. padding-bottom: 2px;
  102. }
  103. .@{prefix}-toolbar-grp .@{prefix}-flow-layout-item {
  104. margin-bottom: 0;
  105. }
  106. // RTL
  107. .@{prefix}-rtl .@{prefix}-wordcount {
  108. left: 0;
  109. right: auto;
  110. }