space-sections.scss 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  1. @import "vars";
  2. @import "mixins";
  3. .confirm {
  4. position: relative;
  5. z-index: 100;
  6. @include transition( all 0.1s ease-in-out);
  7. &.open {
  8. .confirmation {
  9. .btn {color: white; }
  10. @include scale(1,1);
  11. opacity: 1;
  12. pointer-events: auto;
  13. }
  14. }
  15. .confirmation {
  16. @include transition( all 0.1s ease-in-out);
  17. @include scale(0.8,0.8);
  18. opacity: 0;
  19. pointer-events: none;
  20. position: absolute;
  21. top: 100%;
  22. width: 100%;
  23. background-color: $light;
  24. padding-top: 18px !important;
  25. .btn-cluster {
  26. border-radius: 3px;
  27. border-radius: 60px !important;
  28. // border-top: 2px solid rgba(0,0,0,0.025);
  29. background-color: $red;
  30. }
  31. }
  32. }
  33. .spacedeck-logo {
  34. font-size: 20px;
  35. line-height: 44px;
  36. color: $darker;
  37. padding-left: 0.5em;
  38. padding-right: 10px;
  39. &.white {
  40. color: $light;
  41. }
  42. }
  43. .version-date {
  44. text-align: left;
  45. display: block !important;
  46. line-height: 1.8;
  47. padding-left: 10px !important;
  48. }
  49. .present-mode {
  50. #space { margin-bottom: 0px; }
  51. .column-border,
  52. .section-empty,
  53. .section-selected,
  54. .section-padding-corner,
  55. .section-padding,
  56. .section-border {display: none !important;}
  57. .artifact {
  58. iframe, a, video, audio {
  59. pointer-events: all !important;
  60. }
  61. .link-wrapper, a.link {
  62. position: absolute;
  63. left: 0;
  64. top: 0;
  65. right: 0;
  66. bottom: 0;
  67. display: block;
  68. opacity: 0;
  69. height: 100%;
  70. margin-top: 0;
  71. }
  72. .oembed-cloak {
  73. display: none;
  74. }
  75. }
  76. }
  77. .background-image,
  78. .cover-image {
  79. overflow: hidden;
  80. background-size: cover;
  81. background-position: center;
  82. z-index: 0;
  83. position: relative;
  84. .updating-image {
  85. background-color: rgba(233, 233, 233, 0.9);
  86. }
  87. }
  88. #offline-indicator {
  89. pointer-events: none;
  90. opacity: 0;
  91. transition: all 1s linear;
  92. -webkit-transition: all 1s linear;
  93. &.offline {
  94. opacity: 1;
  95. pointer-events: all;
  96. }
  97. }
  98. .embedded.board {
  99. overflow: hidden !important;
  100. }
  101. .board {
  102. padding: 0 !important;
  103. .wrapper {
  104. border: 1px dotted rgba(128,128,128,0.5);
  105. transition-duration: 0.25s;
  106. transition-property: width, height, background-color;
  107. background-repeat: no-repeat;
  108. background-size: cover;
  109. }
  110. width: 100%;
  111. height: 100%;
  112. max-width: 100%;
  113. max-height: 100%;
  114. position: relative;
  115. overflow: scroll;
  116. /** {
  117. -moz-user-select: none !important; // firefox has selection problems
  118. }*/
  119. }
  120. .snap-ruler-h {
  121. pointer-events: none;
  122. position: fixed;
  123. z-index: 0;
  124. right: 0px;
  125. height: 1px;
  126. background-color: rgba(0,0,0,0.5);
  127. left: 0px;
  128. }
  129. .snap-ruler-v {
  130. pointer-events: none;
  131. position: fixed;
  132. z-index: 0;
  133. top: 0px;
  134. bottom: 0px;
  135. width: 1px;
  136. background-color: rgba(0,0,0,0.5);
  137. }
  138. .cursor {
  139. position: absolute;
  140. z-index: 3000;
  141. pointer-events: none;
  142. .icon {
  143. margin-left: -12px;
  144. margin-top: -3px;
  145. margin-right: -6px;
  146. }
  147. }
  148. .present-mode {
  149. .artifact:hover {
  150. &:before,
  151. &:after {
  152. display: none !important;
  153. }
  154. }
  155. }
  156. .table .wrapper,
  157. .article .wrapper {
  158. max-width: 800px;
  159. min-height: 100%;
  160. .content {
  161. min-height: 100%;
  162. padding-bottom: 60px;
  163. padding-top: 60px;
  164. }
  165. }
  166. .article {
  167. img {max-width: 100%; }
  168. }
  169. .table {
  170. .table-wrapper {
  171. max-width: 100%;
  172. position: relative;
  173. width: auto;
  174. margin-left: -$font-size;
  175. margin-right: -$font-size;
  176. margin-top: -$font-size;
  177. margin-bottom: -$font-size;
  178. }
  179. table {
  180. width: 100%;
  181. table-layout: auto;
  182. border-collapse: separate;
  183. border-spacing: $font-size $font-size;
  184. }
  185. tr {
  186. border-top: 1px solid rgba(255,255,255,0.125);
  187. }
  188. td,
  189. th {
  190. border: none;
  191. vertical-align: top;
  192. text-align: left;
  193. }
  194. }
  195. .section .wrapper {
  196. position: absolute;
  197. }
  198. #space {
  199. /*-webkit-user-select: all;
  200. -ms-user-select: all;
  201. -moz-user-select: all;
  202. user-select: all;*/
  203. position: relative;
  204. height: 100% !important;
  205. //padding-top: 64px !important;
  206. background-color: #eee;
  207. }
  208. #made-with {
  209. position: fixed;
  210. width: 100%;
  211. bottom: 0;
  212. padding: 12px;
  213. opacity: 0.25;
  214. a {color: $dark; }
  215. p {
  216. text-align: center;
  217. font-size: 11px;
  218. }
  219. }
  220. #baseline {
  221. position: absolute;
  222. width: 100%;
  223. pointer-events: none;
  224. z-index: 10000;
  225. list-style: none;
  226. padding: 0;
  227. margin: 0;
  228. opacity: 0.05;
  229. top: 0;
  230. display: none;
  231. li {
  232. height: $line-height/4;
  233. border-bottom: 1px solid $blue;
  234. }
  235. }
  236. #space-header {
  237. .item-meta {
  238. color: $medium;
  239. .item-social {
  240. float: right;
  241. padding-right: 8px;
  242. //border-right: 2px solid rgba(0,0,0,0.025);
  243. color: $medium;
  244. .item-likes.active .icon-heart {
  245. color: $red;
  246. }
  247. .item-likes,
  248. .item-comments,
  249. .item-shares {
  250. position: relative;
  251. cursor: pointer;
  252. .number {
  253. width: auto;
  254. }
  255. }
  256. }
  257. }
  258. }
  259. .space-bounds {
  260. position: absolute;
  261. left: 0px;
  262. top: 0px;
  263. pointer-events: none;
  264. background-size: cover;
  265. background-repeat: no-repeat;
  266. min-width: 100%;
  267. min-height: 100%;
  268. background-color: white;
  269. }
  270. @-webkit-keyframes shake {
  271. 0% { -webkit-transform: translate(2px, 1px) rotate(0deg); }
  272. 10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); }
  273. 20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); }
  274. 30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
  275. 40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
  276. 50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
  277. 60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
  278. 70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
  279. 80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
  280. 90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
  281. 100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
  282. }
  283. @-webkit-keyframes section-appear {
  284. from { opacity: 0;}
  285. to { opacity: 1; }
  286. }
  287. #minimap {
  288. background-color: transparent;
  289. position: absolute;
  290. right: 30px;
  291. bottom: 20px;
  292. z-index: 20000;
  293. border-radius: $radius;
  294. border: 1px solid rgba(0,0,0,0.2);
  295. overflow: hidden;
  296. div {
  297. background-color: rgba(0, 0, 0, 0.1);
  298. position: absolute;
  299. z-index: 1;
  300. pointer-events: none;
  301. }
  302. div.window {
  303. background-color:rgba(255,255,255,0.01);
  304. border: 1px solid rgba(255,255,255,0.5);
  305. }
  306. }
  307. .pro-teaser-colorpicker {
  308. background-image: image-url("images/pro-teaser-colorpicker.png");
  309. background-size: cover;
  310. background-repeat: no-repeat;
  311. background-position: center;
  312. width: 100%;
  313. height: 400px;
  314. text-align: center;
  315. p {
  316. padding: 30px;
  317. padding-bottom: 110px;
  318. background-color: rgba(255,255,255,0.8);
  319. }
  320. button {
  321. margin-top: 40px;
  322. }
  323. }
  324. .jewel-pro {
  325. color:white !important;
  326. background-color:$blue !important;
  327. top: -5px !important;
  328. right: -5px !important;
  329. }
  330. .disabled-pro {
  331. opacity: 0.7;
  332. }
  333. #space-loading {
  334. position: fixed;
  335. z-index: 10000;
  336. display: table;
  337. width: 200px;
  338. height: 200px;
  339. left: 50%;
  340. top: 50%;
  341. margin-top: -100px;
  342. margin-left: -100px;
  343. background-color: white;
  344. border-radius: 100px;
  345. opacity: 0;
  346. pointer-events: none;
  347. transition: opacity 1s ease-out;
  348. > div {
  349. display: table-cell;
  350. vertical-align: middle;
  351. text-align: center;
  352. }
  353. .spinner {
  354. background-image: url('/images/hourglass.gif');
  355. }
  356. &.active {
  357. opacity: 1;
  358. }
  359. }