propertyTab.scss 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. #propertyTab {
  2. $line-padding-left: 5px;
  3. color:white;
  4. #header {
  5. height: 30px;
  6. font-size: 16px;
  7. color: white;
  8. background: #222222;
  9. grid-row: 1;
  10. text-align: center;
  11. display: grid;
  12. grid-template-columns: 30px 1fr 50px;
  13. -webkit-user-select: none;
  14. -moz-user-select: none;
  15. -ms-user-select: none;
  16. user-select: none;
  17. #logo {
  18. position: relative;
  19. grid-column: 1;
  20. width: 24px;
  21. height: 24px;
  22. left:0;
  23. display: flex;
  24. align-self: center;
  25. justify-self: center;
  26. }
  27. #title {
  28. grid-column: 2;
  29. display: grid;
  30. align-items: center;
  31. text-align: center;
  32. }
  33. }
  34. .vector3Line {
  35. padding-left:$line-padding-left;
  36. display: grid;
  37. .firstLine {
  38. display: grid;
  39. grid-template-columns: 1fr auto 20px;
  40. height: 30px;
  41. .label {
  42. grid-column: 1;
  43. display: flex;
  44. align-items: center;
  45. }
  46. .vector {
  47. grid-column: 2;
  48. display: flex;
  49. align-items: center;
  50. text-align: right;
  51. opacity: 0.8;
  52. }
  53. .expand {
  54. grid-column: 3;
  55. display: grid;
  56. align-items: center;
  57. justify-items: center;
  58. cursor: pointer;
  59. }
  60. }
  61. .secondLine {
  62. display: grid;
  63. padding-right: 5px;
  64. border-left: 1px solid rgb(51, 122, 183);
  65. .numeric {
  66. display: grid;
  67. grid-template-columns: 1fr auto;
  68. }
  69. .numeric-label {
  70. text-align: right;
  71. grid-column: 1;
  72. display: flex;
  73. align-items: center;
  74. justify-self: right;
  75. margin-right: 10px;
  76. }
  77. .numeric-value {
  78. width: 120px;
  79. grid-column: 2;
  80. display: flex;
  81. align-items: center;
  82. border: 1px solid rgb(51, 122, 183);
  83. }
  84. }
  85. }
  86. .buttonLine {
  87. height: 30px;
  88. display: grid;
  89. align-items: center;
  90. justify-items: stretch;
  91. input[type="file"] {
  92. display: none;
  93. }
  94. .file-upload {
  95. background: #222222;
  96. border: 1px solid rgb(51, 122, 183);
  97. margin: 5px 10px;
  98. color:white;
  99. padding: 4px 5px;
  100. opacity: 0.9;
  101. cursor: pointer;
  102. text-align: center;
  103. }
  104. .file-upload:hover {
  105. opacity: 1.0;
  106. }
  107. .file-upload:active {
  108. transform: scale(0.98);
  109. transform-origin: 0.5 0.5;
  110. }
  111. button {
  112. background: #222222;
  113. border: 1px solid rgb(51, 122, 183);
  114. margin: 5px 10px 5px 10px;
  115. color:white;
  116. padding: 4px 5px;
  117. opacity: 0.9;
  118. }
  119. button:hover {
  120. opacity: 1.0;
  121. }
  122. button:active {
  123. background: #282828;
  124. }
  125. button:focus {
  126. border: 1px solid rgb(51, 122, 183);
  127. outline: 0px;
  128. }
  129. }
  130. .checkBoxLine {
  131. padding-left: $line-padding-left;
  132. height: 30px;
  133. display: grid;
  134. grid-template-columns: 1fr auto;
  135. .label {
  136. grid-column: 1;
  137. display: flex;
  138. align-items: center;
  139. }
  140. .checkBox {
  141. grid-column: 2;
  142. display: flex;
  143. align-items: center;
  144. .lbl {
  145. position: relative;
  146. display: block;
  147. height: 14px;
  148. width: 34px;
  149. margin-right: 5px;
  150. background: #898989;
  151. border-radius: 100px;
  152. cursor: pointer;
  153. transition: all 0.3s ease;
  154. }
  155. .lbl:after {
  156. position: absolute;
  157. left: 3px;
  158. top: 2px;
  159. display: block;
  160. width: 10px;
  161. height: 10px;
  162. border-radius: 100px;
  163. background: #fff;
  164. box-shadow: 0px 3px 3px rgba(0,0,0,0.05);
  165. content: '';
  166. transition: all 0.15s ease;
  167. }
  168. .lbl:active:after {
  169. transform: scale(1.15, 0.85);
  170. }
  171. .cbx:checked ~ label {
  172. background: rgb(51, 122, 183);
  173. }
  174. .cbx:checked ~ label:after {
  175. left: 20px;
  176. background: rgb(22, 73, 117);
  177. }
  178. .hidden {
  179. display: none;
  180. }
  181. }
  182. }
  183. .listLine {
  184. padding-left: $line-padding-left;
  185. height: 30px;
  186. display: grid;
  187. grid-template-columns: 1fr auto;
  188. .label {
  189. grid-column: 1;
  190. display: flex;
  191. align-items: center;
  192. }
  193. .options {
  194. grid-column: 2;
  195. display: flex;
  196. align-items: center;
  197. margin-right: 5px;
  198. select {
  199. width: 115px;
  200. }
  201. }
  202. }
  203. .color3Line {
  204. padding-left: $line-padding-left;
  205. display: grid;
  206. .firstLine {
  207. height: 30px;
  208. display: grid;
  209. grid-template-columns: 1fr auto 20px 20px;
  210. .label {
  211. grid-column: 1;
  212. display: flex;
  213. align-items: center;
  214. }
  215. .color3 {
  216. grid-column: 2;
  217. display: flex;
  218. align-items: center;
  219. input[type="color"] {
  220. -webkit-appearance: none;
  221. border: 1px solid rgba(255, 255, 255, 0.5);
  222. padding: 0;
  223. width: 30px;
  224. height: 20px;
  225. }
  226. input[type="color"]::-webkit-color-swatch-wrapper {
  227. padding: 0;
  228. }
  229. input[type="color"]::-webkit-color-swatch {
  230. border: none;
  231. }
  232. input {
  233. margin-right: 5px;
  234. }
  235. }
  236. .copy {
  237. grid-column: 3;
  238. display: grid;
  239. align-items: center;
  240. justify-items: center;
  241. cursor: pointer;
  242. }
  243. .expand {
  244. grid-column: 4;
  245. display: grid;
  246. align-items: center;
  247. justify-items: center;
  248. cursor: pointer;
  249. }
  250. }
  251. .secondLine {
  252. display: grid;
  253. padding-right: 5px;
  254. border-left: 1px solid rgb(51, 122, 183);
  255. .numeric {
  256. display: grid;
  257. grid-template-columns: 1fr auto;
  258. }
  259. .numeric-label {
  260. text-align: right;
  261. grid-column: 1;
  262. display: flex;
  263. align-items: center;
  264. justify-self: right;
  265. margin-right: 10px;
  266. }
  267. .numeric-value {
  268. width: 120px;
  269. grid-column: 2;
  270. display: flex;
  271. align-items: center;
  272. border: 1px solid rgb(51, 122, 183);
  273. }
  274. }
  275. }
  276. .textLine {
  277. padding-left: $line-padding-left;
  278. height: 30px;
  279. display: grid;
  280. grid-template-columns: 1fr auto;
  281. .label {
  282. grid-column: 1;
  283. display: flex;
  284. align-items: center;
  285. }
  286. .link-value {
  287. grid-column: 2;
  288. white-space: nowrap;
  289. text-overflow: ellipsis;
  290. overflow: hidden;
  291. text-align: end;
  292. opacity: 0.8;
  293. margin:5px;
  294. margin-top: 6px;
  295. max-width: 140px;
  296. text-decoration: underline;
  297. cursor: pointer;
  298. }
  299. .value {
  300. grid-column: 2;
  301. white-space: nowrap;
  302. text-overflow: ellipsis;
  303. overflow: hidden;
  304. text-align: end;
  305. opacity: 0.8;
  306. margin:5px;
  307. margin-top: 6px;
  308. max-width: 200px;
  309. -webkit-user-select: text;
  310. -moz-user-select: text;
  311. -ms-user-select: text;
  312. user-select: text;
  313. &.check {
  314. color: green;
  315. }
  316. &.uncheck {
  317. color: red;
  318. }
  319. }
  320. }
  321. }