style.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828
  1. html, body {
  2. margin: 0;
  3. padding: 0;
  4. height: 100%;
  5. width: 100%;
  6. font-family: 'Prompt', sans-serif;
  7. min-width: 1200px;
  8. }
  9. a{
  10. text-decoration: none;
  11. }
  12. a:hover,a:visited,a:link{
  13. text-decoration: none;
  14. }
  15. #main {
  16. position: relative;
  17. z-index: 99;
  18. height: 100%;
  19. width: 100%;
  20. /* background: #ffffff; */
  21. background-color: rgba(245, 245, 245, 1);
  22. overflow: hidden;
  23. }
  24. /*.hidden {
  25. display: none;
  26. }*/
  27. #blocklyDiv {
  28. border: 10;
  29. margin: 0;
  30. width: 100%;
  31. height: 480px !important;
  32. min-height: 100%;
  33. outline: none;
  34. z-index: 400;
  35. }
  36. #parametersdiv {
  37. display: none;
  38. }
  39. #statusdiv {
  40. display: none;
  41. }
  42. #languageMenu {
  43. /*display:none;*/
  44. margin-top: 20;
  45. }
  46. /* style for resizable render pane */
  47. .ui-icon { width: 46px; height: 46px; background-image: url(http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/themes/base/images/ui-icons_222222_256x240.png)/*{iconsContent}*/; }
  48. .ui-resizable { position: absolute;}
  49. .ui-resizable-handle { position: absolute;font-size: 1px;z-index: 99999; display: block;}
  50. .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
  51. .ui-resizable-n { cursor: n-resize; height: 37px; width: 100%; top: -5px; left: 0px; }
  52. .ui-resizable-s { cursor: s-resize; height: 20px; width: 100%; bottom: -17px; left: 0px; }
  53. .ui-resizable-e { cursor: e-resize; width: 37px; right: -5px; top: 0px; height: 100%; }
  54. .ui-resizable-w { cursor: w-resize; width: 20px; left: -17px; top: 0px; height: 100%; }
  55. .ui-resizable-se { cursor: se-resize; width: 19px; height: 19px; right: 1px; bottom: 1px; }
  56. .ui-resizable-sw { cursor: sw-resize; width: 30px; height: 30px; left: -20px; bottom: -20px; }
  57. .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
  58. .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}
  59. .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
  60. .ui-widget-content {
  61. background: #cedc98;
  62. border: 1px solid #DDDDDD;
  63. color: #333333;
  64. }
  65. /*.resizableDivWrapper{
  66. position: relative;
  67. width: 40%;
  68. height: 100%;
  69. float: right;
  70. }*/
  71. .resizableDiv {
  72. position: absolute;
  73. z-index: 300;
  74. top: 0px !important;
  75. right: 12px;
  76. width: 36%;
  77. height: 100%;
  78. }
  79. #renderDiv {
  80. position: absolute;
  81. top: 0;
  82. right: 0;
  83. left: 0;
  84. bottom: 150px;
  85. overflow: hidden;
  86. box-shadow: 3px 5px 18px rgba(0, 0, 0, 0.34);
  87. }
  88. #renderDiv>div{
  89. height: 99%;
  90. }
  91. .vbut {
  92. padding: 3px;
  93. width: 34px;
  94. height: 34px;
  95. }
  96. #paneContainer {
  97. position: absolute;
  98. width: 100%;
  99. height: 130px;
  100. bottom: 0;
  101. overflow: hidden;
  102. background-color: #fff;
  103. box-shadow: 3px 5px 8px #ccc;
  104. padding: 15px;
  105. box-shadow: 3px 5px 18px rgba(0, 0, 0, 0.24);
  106. }
  107. /*.changeable {
  108. display: inline-block;
  109. text-align: center;
  110. }*/
  111. #renderButton, #abortButton {
  112. position: absolute;
  113. left: 5px;
  114. top: 3px;
  115. width: 102px;
  116. height: 52px;
  117. margin: 0 auto;
  118. white-space: normal;
  119. padding: 2px 6px;
  120. }
  121. #abortButton {
  122. text-shadow: none;
  123. }
  124. /*#abortButton {
  125. position: absolute;
  126. left: 15px;
  127. top: 1px;
  128. padding: 5px;
  129. display: none;
  130. }*/
  131. #render-ongoing {
  132. position: absolute;
  133. left: 120px;
  134. top: 15px;
  135. display: none;
  136. font-size: 18px;
  137. }
  138. #error-message {
  139. position: absolute;
  140. left: 15px;
  141. top: 50%;
  142. font-size: 14px;
  143. overflow: auto;
  144. transform: translateY(-50%);
  145. -webkit-transform: translateY(-50%);
  146. -ms-transform: translateY(-50%);
  147. -moz-transform: translateY(-50%);
  148. }
  149. #resolution_radio {
  150. width: 300px;
  151. }
  152. .btn-over-blockly {
  153. position: absolute;
  154. top: -8px;
  155. left: 40%;
  156. z-index: 299;
  157. }
  158. .proj-input {
  159. max-width: 30%;
  160. }
  161. #viewMenu {
  162. /* position: relative;
  163. vertical-align: middle;
  164. margin: 5px 0;
  165. z-index: 500;*/
  166. -webkit-appearance: menulist-button;
  167. height: 34px;
  168. padding:0px;
  169. }
  170. #viewReset {
  171. position: relative;
  172. z-index: 500;
  173. }
  174. /*#axesButton {
  175. position:absolute;
  176. bottom: 0px;
  177. right: 3px;
  178. z-index: 500;
  179. }*/
  180. /*#cameraButton {
  181. position:absolute;
  182. bottom: 0px;
  183. right: 53px;
  184. z-index: 500;
  185. }*/
  186. #picButton {
  187. position: absolute;
  188. bottom: 0px;
  189. left: 2px;
  190. z-index: 500;
  191. }
  192. #rPicButton {
  193. position: absolute;
  194. bottom: 0px;
  195. left: 100px;
  196. z-index: 500;
  197. }
  198. /*.defaultColor {
  199. position:relative;
  200. z-index: 500;
  201. }*/
  202. .sp-replacer {
  203. border-color:#ccc;
  204. padding:0px;
  205. }
  206. .sp-preview {
  207. border: 1px solid #555;
  208. margin:4px;
  209. width: 24px;
  210. height: 24px;
  211. }
  212. .giant-yes {
  213. width:125px;
  214. white-space: normal;
  215. height: 52px;
  216. display: inline-block;
  217. text-align: center;
  218. padding: 2px 6px;
  219. /* padding-left: 45px;
  220. padding-right: 45px;*/
  221. }
  222. .confirm-yes {
  223. width:80px;
  224. white-space: normal;
  225. display: inline-block;
  226. }
  227. .save-message {
  228. position:relative;
  229. top:3px;
  230. display:inline-block;
  231. padding-right:15px;
  232. font-size: 18px;
  233. }
  234. .content {
  235. margin: 0;
  236. padding: 20px;
  237. position: absolute;
  238. top: 0px;
  239. direction: ltr;
  240. width: 100%;
  241. height:100%;
  242. overflow: auto;
  243. }
  244. /* override bootstrap css */
  245. .tab-content {
  246. position: relative;
  247. }
  248. .tab-content>.tab-pane {
  249. display: block;
  250. visibility: hidden;
  251. }
  252. .tab-content>.active {
  253. display: block;
  254. visibility: visible;
  255. background-color: #fff;
  256. }
  257. .dropdown-toggle {
  258. font-size: 16px;
  259. }
  260. .btn-big {
  261. font-size: 16px;
  262. font-weight: bold;
  263. margin: 0px;
  264. color: #666;
  265. border: none;
  266. background-color: transparent;
  267. background-image: none;
  268. outline: none;
  269. background-repeat:no-repeat;
  270. height: 50px;
  271. border-radius: 0px;
  272. box-shadow: none;
  273. -webkit-box-shadow: none;
  274. padding: 0px 12px;
  275. }
  276. .navbar-brand {
  277. font-size: 20px;
  278. }
  279. .navbar-collapse.collapse {
  280. display: block!important;
  281. }
  282. .navbar-nav>li, .navbar-nav{
  283. float: left !important;
  284. }
  285. .navbar-nav{
  286. float: right !important;
  287. }
  288. .navbar-right {
  289. margin-right: 0px !important;
  290. }
  291. .navbar-narrow {
  292. min-height: 35px;
  293. margin-bottom: 0px;
  294. height: 35px !important;
  295. line-height: 1;
  296. }
  297. .navbar-right {
  298. float: right!important;
  299. }
  300. .nav-pills>li.active>a {
  301. background-color:#ededed;
  302. color:#111;
  303. }
  304. .nav-pills>li.active>a:hover,
  305. .nav-pills>li.active>a:focus {
  306. background-color:#ededed;
  307. color:#111;
  308. }
  309. body .modal-md {
  310. width: 70%;
  311. left: 15%;
  312. }
  313. #projectView {
  314. display:block;
  315. overflow-y: scroll;
  316. margin: 0 auto;
  317. height: 92%;
  318. width:90%;
  319. left:1%;
  320. }
  321. .proj-to-download {
  322. font-weight: bold;
  323. }
  324. .proj-header {
  325. margin-left: 8px;
  326. margin-right: 10%;
  327. padding: 4px;
  328. font-size: 24px;
  329. }
  330. .table-striped>tbody>tr:nth-of-type(odd) {
  331. background-color: #f6f6ff;
  332. }
  333. .table>tbody>tr>td {
  334. vertical-align : middle;
  335. }
  336. #projTable td > * {
  337. vertical-align : middle;
  338. }
  339. /* Sortable tables */
  340. table.sortable thead {
  341. background-color:#eee;
  342. color:#666666;
  343. font-weight: bold;
  344. cursor: default;
  345. }
  346. table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after {
  347. content: " \25B4\25BE"
  348. }
  349. th {
  350. border: solid 1px #d0d0d0;
  351. }
  352. .vc {
  353. margin-top:15px;
  354. }
  355. .vcenter {
  356. vertical-align: top;
  357. margin-top: 0;
  358. margin-right: 5%;
  359. float: right;
  360. }
  361. .spacey {
  362. vertical-align: top;
  363. margin-top: 0;
  364. margin-left:30px;
  365. }
  366. .search {
  367. vertical-align: top;
  368. height:33px;
  369. border-radius:15px;
  370. margin-left:30px;
  371. text-indent:5px;
  372. background-image: url('../imgs/mag.jpg');
  373. background-repeat: no-repeat;
  374. background-position: 96% 50%;
  375. }
  376. input.search:focus {
  377. outline-width: 0;
  378. }
  379. .noselect {
  380. -webkit-touch-callout: none; /* iOS Safari */
  381. -webkit-user-select: none; /* Chrome/Safari/Opera */
  382. -khtml-user-select: none; /* Konqueror */
  383. -moz-user-select: none; /* Firefox */
  384. -ms-user-select: none; /* Internet Explorer/Edge */
  385. user-select: none; /* Non-prefixed version, currently
  386. not supported by any browser */
  387. }
  388. .form-error-message {
  389. display: inline-block;
  390. padding: 3px;
  391. margin-left: 5px;
  392. white-space: nowrap;
  393. background-color: #b04444;
  394. color: white;
  395. }
  396. .error-message {
  397. display: table;
  398. margin: 0 auto;
  399. padding: 3px;
  400. background-color: #b04444;
  401. color: white;
  402. text-align: left;
  403. margin-top: 10px;
  404. }
  405. .form-error {
  406. display: inline-block;
  407. position: absolute;
  408. }
  409. .mycl {
  410. display: inline-block;
  411. margin-right:20px;
  412. float: left;
  413. clear: left;
  414. width: 30%;
  415. text-align: left;
  416. }
  417. .reginput {
  418. display: inline-block;
  419. float: left;
  420. }
  421. .password {
  422. -webkit-text-security:disc;
  423. text-security:disc;
  424. }
  425. /* Sprited icons. */
  426. .icon21 {
  427. height: 21px;
  428. width: 21px;
  429. background-image: url(../icons.png);
  430. }
  431. .trash {
  432. background-position: 0px 0px;
  433. }
  434. /* scrollbar on long variable dropdown lists */
  435. .goog-menu-vertical {
  436. overflow-y: scroll;
  437. max-height: 350px;
  438. }
  439. /* added to make submenus work with bootstrap 3 */
  440. .dropdown-menu>li
  441. { position:relative;
  442. -webkit-user-select: none; /* Chrome/Safari */
  443. -moz-user-select: none; /* Firefox */
  444. -ms-user-select: none; /* IE10+ */
  445. /* Rules below not implemented in browsers yet */
  446. -o-user-select: none;
  447. user-select: none;
  448. cursor:pointer;
  449. }
  450. .dropdown-menu .sub-menu {
  451. left: 100%;
  452. position: absolute;
  453. top: 0;
  454. display:none;
  455. margin-top: -1px;
  456. border-top-left-radius:0;
  457. border-bottom-left-radius:0;
  458. border-left-color:#fff;
  459. box-shadow:none;
  460. }
  461. .right-caret:after
  462. { content:"";
  463. border-bottom: 5px solid transparent;
  464. border-top: 5px solid transparent;
  465. border-left: 5px solid gray;
  466. display: inline-block;
  467. height: 0;
  468. opacity: 0.8;
  469. vertical-align: middle;
  470. width: 0;
  471. margin-left:5px;
  472. margin-bottom:2px;
  473. }
  474. .left-caret:after
  475. { content:"";
  476. border-bottom: 5px solid transparent;
  477. border-top: 5px solid transparent;
  478. border-right: 5px solid gray;
  479. display: inline-block;
  480. height: 0;
  481. opacity: 0.8;
  482. vertical-align: middle;
  483. width: 0;
  484. margin-left:5px;
  485. margin-bottom:2px;
  486. }
  487. /* change padding on bootstrap container-fluid to move icon farther left */
  488. /*.container-fluid {
  489. padding-right: 15px;
  490. padding-left: 5px;
  491. margin-right: auto;
  492. margin-left: auto;
  493. }*/
  494. /* I CHANGED */
  495. @media (min-width: 979px) {
  496. .navbar-nav > .dropdown:hover > ul.dropdown-menu {
  497. display: block;
  498. }
  499. a.dropdown-toggle: hover {
  500. background-color: #4B6DB4;
  501. }
  502. }
  503. #top-navigation-bar {
  504. /*remove navbar-default*/
  505. height: 60px;
  506. margin-bottom: 0px;
  507. background-color: #3C78D8;
  508. border-radius: 0;
  509. }
  510. a.dropdown-toggle {
  511. color: white;
  512. }
  513. /*.navbar-nav > .dropdown:hover {
  514. background-color: #4B6DB4 !important;
  515. }*/
  516. .nav > li > a:hover{
  517. background-color:#4B6DB4;
  518. }
  519. #displayBlocks, #displayCode{
  520. position: absolute;
  521. left: 148px;
  522. top: 24.5px;
  523. height: 36px;
  524. width: 60px;
  525. text-align: center;
  526. line-height: 36px;
  527. border-radius: 6px;
  528. border-bottom-right-radius: 0;
  529. border-bottom-left-radius: 0;
  530. z-index: 500;
  531. background-color: white;
  532. border: 1px solid lightgrey;
  533. border-bottom: 0;
  534. color:#bb5b06;
  535. }
  536. #displayCode{
  537. transform: translateX(60px);
  538. border-bottom: 1px solid lightgrey;
  539. color:#333;
  540. }
  541. #undoButton, #redoButton, #trashButton {
  542. position: absolute;
  543. left: 42%;
  544. top:28px;
  545. z-index: 100;
  546. height: 56px;
  547. width: 50px;
  548. border-radius: 50px;
  549. box-shadow: 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12), 0 2px 4px -1px rgba(0,0,0,.2);
  550. }
  551. #undoButton{
  552. transform: translateX(0px);
  553. }
  554. #redoButton{
  555. transform: translateX(60px);
  556. }
  557. #trashButton{
  558. transform: translateX(120px);
  559. }
  560. .btn:focus,
  561. .btn:active:focus,
  562. .btn.active:focus,
  563. .btn.focus,
  564. .btn:active.focus,
  565. .btn.active.focus {
  566. outline: none;
  567. /*box-shadow: none;
  568. background-image: none;
  569. -webkit-box-shadow: none;*/
  570. }
  571. #playButton {
  572. position: relative;
  573. top: 10px;
  574. width: 40px;
  575. margin-left: 16px;
  576. height: 28px;
  577. }
  578. /* I CHANGED */
  579. .navbar-center{
  580. height: 60px;
  581. }
  582. .nav, .navbar-nav{
  583. height: 100%;
  584. }
  585. /*.mar-top5{
  586. margin-top:8px;
  587. }
  588. .mar-top5>img{
  589. height: 40px;
  590. width: 160px;
  591. filter: invert(1);
  592. }*/
  593. /*project name*/
  594. .project-name-wrapper{
  595. position: relative;
  596. display: inline-block;
  597. margin-left: 40px;
  598. width: 200px;
  599. margin-top:10px;
  600. }
  601. .project-name-input{
  602. height: 34px;
  603. width: 200px;
  604. padding: 6px 12px;
  605. font-size: 14px;
  606. line-height: 1.42857143;
  607. color: white;
  608. background-color: rgba(0, 0, 0, 0);
  609. background-image: none;
  610. border: 1px solid #ccc;
  611. border-radius: 4px;
  612. transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  613. /*box-shadow: inset 0 1px 1px rgba(0,0,0,.075);*/
  614. border: none;
  615. border-radius: 0;
  616. }
  617. .project-name-input:focus,
  618. .project-name-input:active:focus,
  619. .project-name-input:active {
  620. outline: none;
  621. border-bottom: 1px solid white;
  622. }
  623. .pro-name-edit{
  624. position: absolute;
  625. right: 0;
  626. height: 30px;
  627. width: 30px;
  628. top:3px;
  629. }
  630. #project-name::placeholder {
  631. color: white;
  632. }
  633. .blocklySvg{
  634. width: 58%;
  635. box-shadow: 3px 5px 18px rgba(0, 0, 0, 0.24);
  636. /*box-shadow: 3px 5px 8px #A9A9A9;*/
  637. }
  638. .blocklyZoom{
  639. transform:translate(760,200) !important;
  640. z-index: 100;
  641. }
  642. .blocklyToolboxDiv{
  643. left:0 !important;
  644. background-color: #6DA5E1;
  645. }
  646. .blocklyToolboxDiv div{
  647. background-color: #6DA5E1 !important;
  648. }
  649. .blocklyScrollbarHorizontal{
  650. display: none;
  651. }
  652. /*#renderButton, #zInButton, #zOutButton,
  653. #cameraButton {
  654. border-radius: 50%;
  655. height: 50px;
  656. width: 50px;
  657. box-shadow: 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12), 0 2px 4px -1px rgba(0,0,0,.2);
  658. }
  659. #zInButton, #zOutButton, #cameraButton {
  660. min-width: 40px;
  661. height: 40px;
  662. width: 40px;
  663. }*/
  664. .btn-default {
  665. border: none;
  666. box-shadow: inset 0 0 0 rgba(255,255,255,.15), 0 0 0 rgba(0,0,0,.075);
  667. }
  668. .btn {
  669. border-radius: 0;
  670. background: white;
  671. }
  672. #zResetButton {
  673. padding: 4px;
  674. }
  675. #viewerButtons {
  676. font-size: 0;
  677. }
  678. .sp-replacer {
  679. width: 34px;
  680. height: 34px;
  681. }
  682. #viewMenu {
  683. border-radius: 0;
  684. margin: 0;
  685. }
  686. #global {
  687. font-size: 40px;
  688. margin-top: -10px;
  689. }
  690. .dropdown-toggle {
  691. padding: 0;
  692. }
  693. #editView{
  694. position: relative;
  695. padding: 60px 20px 100px 20px;
  696. box-sizing: content-box;
  697. background-color: rgba(245, 245, 245, 1);
  698. }
  699. #blocklyContainer{
  700. background-color: rgba(245, 245, 245, 1);
  701. }
  702. #viewerButtons {
  703. height: 35px;
  704. bottom: 93px;
  705. /* border: 1px solid #ccc; */
  706. z-index: 500;
  707. /* overflow: auto; */
  708. }
  709. #viewerDefaults {
  710. padding-top: 10px;
  711. height: 35px;
  712. bottom: 59px;
  713. z-index: 400;
  714. }
  715. #viewerButtons, #viewerDefaults {
  716. }
  717. #renderButton, #abortButton {
  718. position: absolute;
  719. left: 30px;
  720. top: 15px;
  721. width: 60px;
  722. height: 60px;
  723. margin: 0 auto;
  724. white-space: normal;
  725. padding: 2px 6px;
  726. border-radius: 50%
  727. }
  728. .has-error {
  729. width: 100%;
  730. }
  731. #renderPane {
  732. position: absolute;
  733. height: 60px;
  734. width: 300px;
  735. bottom: 0px;
  736. overflow: auto;
  737. }
  738. .paneButtonWrapper{
  739. margin-left: 25%;
  740. height: auto;
  741. background-color: #fff;
  742. }
  743. .navbar-nav>li>a{
  744. padding-bottom: 23px;
  745. }
  746. .navbar-nav a.first-link{
  747. padding-bottom: 9px;
  748. }
  749. @font-face {
  750. font-family: "GT Walsheim Pro Trial";
  751. src: url("./font/GT-Walsheim-Pro-Trial-Black.otf");
  752. }
  753. .mar-top5{
  754. margin-top:16px;
  755. font-family: "GT Walsheim Pro Trial";
  756. color: #fff;
  757. font-size: 28px;
  758. }
  759. .btn-danger{
  760. font-size: 14px;
  761. }