textAngular.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. .ta-hidden-input {
  2. width: 1px;
  3. height: 1px;
  4. border: none;
  5. margin: 0;
  6. padding: 0;
  7. position: absolute;
  8. top: -10000px;
  9. left: -10000px;
  10. opacity: 0;
  11. overflow: hidden;
  12. }
  13. /* add generic styling for the editor */
  14. .ta-root.focussed > .ta-scroll-window.form-control {
  15. border-color: #66afe9;
  16. outline: 0;
  17. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
  18. -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
  19. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
  20. }
  21. .ta-editor.ta-html, .ta-scroll-window.form-control {
  22. min-height: 300px;
  23. height: auto;
  24. overflow: auto;
  25. font-family: inherit;
  26. font-size: 100%;
  27. }
  28. .ta-scroll-window.form-control {
  29. position: relative;
  30. padding: 0;
  31. }
  32. .ta-scroll-window > .ta-bind {
  33. height: auto;
  34. min-height: 300px;
  35. padding: 6px 12px;
  36. }
  37. .ta-editor:focus {
  38. user-select: text;
  39. }
  40. /* add the styling for the awesomness of the resizer */
  41. .ta-resizer-handle-overlay {
  42. z-index: 100;
  43. position: absolute;
  44. display: none;
  45. }
  46. .ta-resizer-handle-overlay > .ta-resizer-handle-info {
  47. position: absolute;
  48. bottom: 16px;
  49. right: 16px;
  50. border: 1px solid black;
  51. background-color: #FFF;
  52. padding: 0 4px;
  53. opacity: 0.7;
  54. }
  55. .ta-resizer-handle-overlay > .ta-resizer-handle-background {
  56. position: absolute;
  57. bottom: 5px;
  58. right: 5px;
  59. left: 5px;
  60. top: 5px;
  61. border: 1px solid black;
  62. background-color: rgba(0, 0, 0, 0.2);
  63. }
  64. .ta-resizer-handle-overlay > .ta-resizer-handle-corner {
  65. width: 10px;
  66. height: 10px;
  67. position: absolute;
  68. }
  69. .ta-resizer-handle-overlay > .ta-resizer-handle-corner-tl{
  70. top: 0;
  71. left: 0;
  72. border-left: 1px solid black;
  73. border-top: 1px solid black;
  74. }
  75. .ta-resizer-handle-overlay > .ta-resizer-handle-corner-tr{
  76. top: 0;
  77. right: 0;
  78. border-right: 1px solid black;
  79. border-top: 1px solid black;
  80. }
  81. .ta-resizer-handle-overlay > .ta-resizer-handle-corner-bl{
  82. bottom: 0;
  83. left: 0;
  84. border-left: 1px solid black;
  85. border-bottom: 1px solid black;
  86. }
  87. .ta-resizer-handle-overlay > .ta-resizer-handle-corner-br{
  88. bottom: 0;
  89. right: 0;
  90. border: 1px solid black;
  91. cursor: se-resize;
  92. background-color: white;
  93. }
  94. /* copy the popover code from bootstrap so this will work even without it */
  95. .popover {
  96. position: absolute;
  97. top: 0;
  98. left: 0;
  99. z-index: 1060;
  100. display: none;
  101. max-width: 276px;
  102. padding: 1px;
  103. font-size: 14px;
  104. font-weight: normal;
  105. line-height: 1.42857143;
  106. text-align: left;
  107. white-space: normal;
  108. background-color: #fff;
  109. -webkit-background-clip: padding-box;
  110. background-clip: padding-box;
  111. border: 1px solid #ccc;
  112. border: 1px solid rgba(0, 0, 0, .2);
  113. border-radius: 6px;
  114. -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
  115. box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
  116. }
  117. .popover.top {
  118. margin-top: -10px;
  119. }
  120. .popover.bottom {
  121. margin-top: 10px;
  122. }
  123. .popover-title {
  124. padding: 8px 14px;
  125. margin: 0;
  126. font-size: 14px;
  127. background-color: #f7f7f7;
  128. border-bottom: 1px solid #ebebeb;
  129. border-radius: 5px 5px 0 0;
  130. }
  131. .popover-content {
  132. padding: 9px 14px;
  133. }
  134. .popover > .arrow,
  135. .popover > .arrow:after {
  136. position: absolute;
  137. display: block;
  138. width: 0;
  139. height: 0;
  140. border-color: transparent;
  141. border-style: solid;
  142. }
  143. .popover > .arrow {
  144. border-width: 11px;
  145. }
  146. .popover > .arrow:after {
  147. content: "";
  148. border-width: 10px;
  149. }
  150. .popover.top > .arrow {
  151. bottom: -11px;
  152. left: 50%;
  153. margin-left: -11px;
  154. border-top-color: #999;
  155. border-top-color: rgba(0, 0, 0, .25);
  156. border-bottom-width: 0;
  157. }
  158. .popover.top > .arrow:after {
  159. bottom: 1px;
  160. margin-left: -10px;
  161. content: " ";
  162. border-top-color: #fff;
  163. border-bottom-width: 0;
  164. }
  165. .popover.bottom > .arrow {
  166. top: -11px;
  167. left: 50%;
  168. margin-left: -11px;
  169. border-top-width: 0;
  170. border-bottom-color: #999;
  171. border-bottom-color: rgba(0, 0, 0, .25);
  172. }
  173. .popover.bottom > .arrow:after {
  174. top: 1px;
  175. margin-left: -10px;
  176. content: " ";
  177. border-top-width: 0;
  178. border-bottom-color: #fff;
  179. }