tools.scss 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. @import "vars";
  2. @import "mixins";
  3. #presentation-previous,
  4. #presentation-next {
  5. @include transition( all 0.25s ease-in-out);
  6. position: absolute;
  7. top: 50%;
  8. margin: 10px;
  9. margin-top: -30px;
  10. pointer-events: none;
  11. opacity: 0;
  12. text-shadow: 0 0 2px rgba(255,255,255,0.05);
  13. color: $dark;
  14. z-index: 1000;
  15. &:active {
  16. @include transition( all 0s ease-in-out);
  17. }
  18. }
  19. #presentation-previous {left: 0; }
  20. #presentation-next {right: 0; }
  21. #properties {
  22. position: absolute;
  23. right: 0px;
  24. padding: 10px;
  25. font-size: 0px;
  26. white-space: nowrap;
  27. height: 100%;
  28. pointer-events: none;
  29. @include transition( all 0.25s ease-in-out);
  30. @include translate3d(0, 0, 0);
  31. // @include backface-visibility(hidden);
  32. -webkit-perspective: 1000;
  33. -moz-perspective: 1000;
  34. -ms-perspective: 1000;
  35. perspective: 1000;
  36. .panel-toggles {
  37. @include transition( all 0.15s ease-in-out);
  38. display: inline-block;
  39. vertical-align: middle;
  40. > div {
  41. background-color: $dark !important;
  42. color: $light;
  43. border-radius: $radius;
  44. font-size: 0px;
  45. // border-top-right-radius: 0 !important;
  46. // border-bottom-right-radius: 0 !important;
  47. }
  48. > div > * {
  49. height: 0px;
  50. // pointer-events: auto;
  51. display: block !important;
  52. overflow: hidden;
  53. @include transition( height 0.125s ease-in-out);
  54. }
  55. > div > .in {
  56. pointer-events: auto;
  57. cursor: pointer;
  58. height: 60px;
  59. }
  60. }
  61. .panels {
  62. @include transition( all 0.15s ease-in-out);
  63. height: 100%;
  64. display: inline-block;
  65. vertical-align: middle;
  66. position: relative;
  67. margin-right: 10px;
  68. .panel-wrap {
  69. display: table;
  70. position: absolute;
  71. height: 100%;
  72. right: 0px;
  73. pointer-events: none;
  74. @include scale(0,0);
  75. @include user-select(none);
  76. @include transform-origin(center right);
  77. @include transition( all 0.125s ease-in-out);
  78. &.active {
  79. @include scale(1,1);
  80. .panel > div {
  81. @include rotateX(0deg);
  82. pointer-events: auto !important;
  83. }
  84. }
  85. .panel {
  86. display: table-cell;
  87. vertical-align: middle;
  88. // @include backface-visibility(hidden);
  89. -webkit-perspective: 1000;
  90. -moz-perspective: 1000;
  91. -ms-perspective: 1000;
  92. perspective: 1000;
  93. z-index: 1000;
  94. @include perspective-origin(center right);
  95. pointer-events: none;
  96. > div {
  97. @include rotateY(-90deg);
  98. @include transform-origin(center right);
  99. @include backface-visibility(hidden);
  100. /* Other transform properties here */
  101. pointer-events: none;
  102. @include transition(all 0.2s ease-in-out);
  103. position: relative;
  104. background-color: $dark !important;
  105. color: $light;
  106. border-radius: $radius;
  107. // overflow: hidden;
  108. .section {
  109. border-top: 2px solid rgba(0,0,0,0.1);
  110. padding: 12px;
  111. text-align: center;
  112. min-width: 200px;
  113. .label-sm {margin-bottom: 0px !important; pointer-events: none;}
  114. .label-sm + input {margin-top: -8px !important; }
  115. .label-sm + .btn-group {margin-top: -8px !important; }
  116. .input {
  117. height: 45px;
  118. line-height: 45px;
  119. }
  120. }
  121. }
  122. }
  123. }
  124. }
  125. }
  126. #property-rotate {
  127. overflow: hidden;
  128. width: 60px;
  129. height: 60px;
  130. display: inline-block;
  131. vertical-align: middle;
  132. @include transition( all 0.25s ease-in-out);
  133. &.inactive {
  134. width: 0px;
  135. }
  136. }
  137. #selection-tools {
  138. position: absolute;
  139. top: 50%;
  140. left: 50%;
  141. @include translate (-50%, -50%);
  142. }
  143. .unit {
  144. font-family: 'open sans', sans-serif;
  145. font-size: 9px;
  146. margin-left: 3px;
  147. text-transform: uppercase;
  148. display: none;
  149. }
  150. #tools {
  151. @include transition( all 0.25s ease-in-out);
  152. position: absolute;
  153. left: 0px;
  154. padding: 10px;
  155. font-size: 0;
  156. height: 100%;
  157. pointer-events: none;
  158. z-index: 10;
  159. > .btn-group {
  160. background-color: $dark !important;
  161. color: $light;
  162. border-radius: $radius;
  163. pointer-events: auto;
  164. @include clearfix;
  165. display: inline-block;
  166. position: relative;
  167. white-space: nowrap;
  168. font-size: 0px;
  169. text-align: center;
  170. font-size: 0px;
  171. line-height: 0px;
  172. // border-top-left-radius: 0 !important;
  173. // border-bottom-left-radius: 0 !important;
  174. .btn {
  175. display: block;
  176. }
  177. .btn.btn-divider {
  178. min-height: 2px;
  179. min-width: 60px;
  180. width: 60px;
  181. height: 2px !important;
  182. padding: 0px;
  183. background-color: rgba(0, 0, 0, 0.1);
  184. margin: -1px 0;
  185. opacity: 1;
  186. z-index: 1000;
  187. position: relative;
  188. }
  189. }
  190. }
  191. // #tools {
  192. // position: absolute;
  193. // top: 10px;
  194. // width: 100%;
  195. // @include transition( all 0.25s ease-in-out);
  196. // z-index: 2000;
  197. // pointer-events: none;
  198. // -webkit-backface-visibility: hidden;
  199. // -moz-backface-visibility: hidden;
  200. // -ms-backface-visibility: hidden;
  201. // backface-visibility: hidden;
  202. // .btn {
  203. // div {
  204. // position: absolute;
  205. // width: 100%;
  206. // }
  207. // &.fill-color-1 .jewel{ background-color: #4a2f7e; }
  208. // &.fill-color-2 .jewel{ background-color: #9b59b6; }
  209. // &.fill-color-3 .jewel{ background-color: #3498db; }
  210. // &.fill-color-4 .jewel{ background-color: #2ecc71; }
  211. // &.fill-color-5 .jewel{ background-color: #f1c40f; }
  212. // &.fill-color-6 .jewel{ background-color: #e67e22; }
  213. // &.fill-color-7 .jewel{ background-color: #d55c4b; }
  214. // &.fill-color-8 .jewel{ background-color: #6f4021; }
  215. // &.fill-color-9 .jewel{ background-color: #ffffff; }
  216. // &.fill-color-10 .jewel{ background-color: #95a5a6; }
  217. // &.fill-color-11 .jewel{ background-color: #252525; }
  218. // &.fill-color-12 .jewel{ background-color: transparent !important;
  219. // background-image: url('../images/opacity-grid.png');
  220. // background-size: contain;
  221. // }
  222. // &.stroke-color-1 .jewel{ background-color: #4a2f7e;}
  223. // &.stroke-color-2 .jewel{ background-color: #9b59b6;}
  224. // &.stroke-color-3 .jewel{ background-color: #3498db;}
  225. // &.stroke-color-4 .jewel{ background-color: #2ecc71;}
  226. // &.stroke-color-5 .jewel{ background-color: #f1c40f;}
  227. // &.stroke-color-6 .jewel{ background-color: #e67e22;}
  228. // &.stroke-color-7 .jewel{ background-color: #d55c4b;}
  229. // &.stroke-color-8 .jewel{ background-color: #6f4021;}
  230. // &.stroke-color-9 .jewel{ background-color: #ffffff;}
  231. // &.stroke-color-10 .jewel{ background-color: #95a5a6;}
  232. // &.stroke-color-11 .jewel{ background-color: #252525;}
  233. // &.stroke-color-12 .jewel{ background-color: transparent !important;
  234. // background-image: url('../images/opacity-grid.png');
  235. // background-size: contain;
  236. // }
  237. // }
  238. // }
  239. // .tool-set {
  240. // @include user-select(none);
  241. // pointer-events: none;
  242. // text-align: center;
  243. // font-size: 0px;
  244. // width: auto;
  245. // white-space: nowrap;
  246. // &#sub-tools,
  247. // &#main-tools{
  248. // @include transition( all 0.15s ease-in-out);
  249. // }
  250. // &#main-tools {
  251. // top: 10px;
  252. // }
  253. // &#sub-tools {
  254. // top: 72px;
  255. // -webkit-perspective: 1000;
  256. // -moz-perspective: 1000;
  257. // -ms-perspective: 1000;
  258. // perspective: 1000;
  259. // > div {
  260. // @include rotateX(-90deg);
  261. // -webkit-backface-visibility: hidden;
  262. // -moz-backface-visibility: hidden;
  263. // -ms-backface-visibility: hidden;
  264. // backface-visibility: hidden;
  265. // /* Other transform properties here */
  266. // top: 0px;
  267. // position: absolute;
  268. // width: 100%;
  269. // pointer-events: none;
  270. // @include opacity(0);
  271. // @include transition( all 0.2s ease-in-out);
  272. // height: 0px !important;
  273. // &.in {
  274. // @include rotateX(0deg);
  275. // @include opacity(1);
  276. // pointer-events: auto !important;
  277. // }
  278. // }
  279. // }
  280. // > .btn-group {
  281. // background-color: $dark !important;
  282. // color: $light;
  283. // border-radius: $radius;
  284. // @include clearfix;
  285. // display: inline-block;
  286. // position: relative;
  287. // white-space: nowrap;
  288. // font-size: 0px;
  289. // text-align: center;
  290. // font-size: 0px;
  291. // line-height: 0px;
  292. // .btn {
  293. // pointer-events: auto;
  294. // }
  295. // }
  296. // }