暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

StickyNote.uss 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. * .unity-label#title, * .unity-text-field#title-field,* .unity-label#contents, * .unity-text-field#contents-field
  2. {
  3. -unity-font:resource("GraphView/DummyFont(LucidaGrande).ttf");
  4. }
  5. .sticky-note
  6. {
  7. min-height: 100px;
  8. min-width: 80px;
  9. position:absolute;
  10. flex-direction:column;
  11. align-items:stretch;
  12. border-radius:0;
  13. margin-left: 0;
  14. margin-right: 0;
  15. margin-top: 0;
  16. margin-bottom: 0;
  17. border-left-width:0;
  18. border-top-width:0;
  19. border-bottom-width:0;
  20. border-right-width:0;
  21. padding-left:0;
  22. padding-right:0;
  23. padding-top:0;
  24. padding-bottom:0;
  25. border-radius: 2px;
  26. }
  27. .sticky-note #selection-border
  28. {
  29. border-radius: 2px;
  30. }
  31. .sticky-note, * .unity-text-field , * .unity-text-field > .unity-base-text-field__input
  32. {
  33. background-color: #fcd76e;
  34. padding-left:0;
  35. padding-right:0;
  36. padding-top:0;
  37. padding-bottom:0;
  38. font-size:20px;
  39. }
  40. .sticky-note, * .unity-text-field, .unity-base-text-field .unity-base-text-field__input
  41. {
  42. border-left-width:0;
  43. border-top-width:0;
  44. border-bottom-width:0;
  45. border-right-width:0;
  46. unity-text-align:top-left;
  47. }
  48. .unity-text-field:hover, .unity-base-text-field .unity-base-text-field__input:hover
  49. {
  50. border-left-width:0;
  51. border-top-width:0;
  52. border-bottom-width:0;
  53. border-right-width:0;
  54. }
  55. .sticky-note .resizer
  56. {
  57. margin-bottom: 6px;
  58. margin-right: 6px;
  59. }
  60. .sticky-note *
  61. {
  62. color:#584308;
  63. }
  64. /* Themes*/
  65. .theme-black *
  66. {
  67. color:#AB924B;
  68. }
  69. .theme-black > #node-border
  70. {
  71. border-color:#AB924B;
  72. border-radius: 8px;
  73. }
  74. .sticky-note.theme-black, .theme-black .unity-text-field
  75. {
  76. background-color: #362905;
  77. }
  78. * > #node-border
  79. {
  80. flex:1 0 auto;
  81. flex-direction:column;
  82. align-items:stretch;
  83. border-left-width: 2px;
  84. border-top-width: 2px;
  85. border-bottom-width: 2px;
  86. border-right-width: 2px;
  87. }
  88. * #title, * #title-field
  89. {
  90. font-size: 20px;
  91. white-space: normal;
  92. }
  93. * #contents
  94. {
  95. margin-top:0;
  96. margin-bottom:0;
  97. padding-top:0;
  98. padding-bottom:0;
  99. }
  100. * #contents, * #contents *
  101. {
  102. font-size: 11px;
  103. white-space: normal;
  104. }
  105. * #title
  106. {
  107. margin-top:0;
  108. margin-bottom:0;
  109. padding-top:0;
  110. padding-bottom:0;
  111. white-space: normal;
  112. }
  113. * #title.empty
  114. {
  115. height: 12px;
  116. }
  117. * #contents
  118. {
  119. flex:1 0 auto;
  120. }
  121. * .unity-text-field
  122. {
  123. position: absolute;
  124. left:0;
  125. right:0;
  126. top:0;
  127. bottom:0;
  128. margin-left:0;
  129. margin-right:0;
  130. margin-top:0;
  131. margin-bottom:0;
  132. padding-left: 0;
  133. padding-right: 0;
  134. padding-top: 0;
  135. padding-bottom: 0;
  136. }
  137. * .unity-text-field .unity-base-field__input
  138. {
  139. background-image:none;
  140. }
  141. * .unity-label
  142. {
  143. border-top-width: 1px;
  144. border-left-width: 1px;
  145. border-right-width: 1px;
  146. border-bottom-width: 1px;
  147. margin-left: 6px;
  148. margin-right: 6px;
  149. margin-top: 1px;
  150. margin-bottom: 1px;
  151. padding-left:0;
  152. padding-right:0;
  153. overflow:hidden;
  154. }
  155. .size-medium #title, .size-medium #title-field *
  156. {
  157. font-size: 40px;
  158. }
  159. .size-medium #contents, .size-medium #contents *
  160. {
  161. font-size: 24px;
  162. }
  163. .size-large #title, .size-large #title-field *
  164. {
  165. font-size: 60px;
  166. }
  167. .size-large #contents, .size-large #contents *
  168. {
  169. font-size: 36px;
  170. }
  171. .size-huge #title, .size-huge #title-field *
  172. {
  173. font-size: 80px;
  174. }
  175. .size-huge #contents, .size-huge #contents *
  176. {
  177. font-size: 56px;
  178. }
  179. * .unity-label:hover
  180. {
  181. border-color: rgba(68,192,255, 0.5);
  182. }
  183. * .unity-text-field:hover
  184. {
  185. background-image:none;
  186. }
  187. * .unity-text-field .unity-base-field__input:focus
  188. {
  189. background-image:none;
  190. }
  191. * .unity-text-field .unity-base-field__input:focus:hover
  192. {
  193. background-image:none;
  194. }
  195. /*
  196. .sticky-note.theme-orange, .theme-orange TextField
  197. {
  198. background-color:#FCD76E;
  199. }
  200. .sticky-note.theme-orange *
  201. {
  202. color:#000000;
  203. }
  204. .sticky-note.theme-orange #node-border
  205. {
  206. border-color:none;
  207. }
  208. .sticky-note.theme-red *
  209. {
  210. color:#FF8B8B;
  211. }
  212. .sticky-note.theme-green *
  213. {
  214. color:#6BE6B0;
  215. }
  216. .sticky-note.theme-blue *
  217. {
  218. color:#8FC1DF;
  219. }
  220. .sticky-note.theme-teal *
  221. {
  222. color:#84E4E7;
  223. }
  224. .sticky-note.theme-purple *
  225. {
  226. color:#FBCBF4;
  227. }
  228. */