editor.less 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026
  1. @padding-top : 40px;
  2. body.editor {
  3. height: 100%;
  4. overflow: hidden;
  5. padding-top: 0;
  6. background-color: white;
  7. }
  8. @-webkit-keyframes dot {
  9. 0% { background-color: rgb(40,40,40); }
  10. 50% { background-color: white; }
  11. 100% { background-color: rgb(40,40,40); }
  12. }
  13. .animation-delay(@time) {
  14. -webkit-animation-delay: @time;
  15. animation-delay: @time;
  16. }
  17. #loadingScreen {
  18. background-color: #eeeeee;
  19. text-align: center;
  20. padding-top: 120px;
  21. position: absolute;
  22. top: 0;
  23. bottom: 0;
  24. left: 0;
  25. right: 0;
  26. z-index: 1040;
  27. h3 {
  28. font-size: 22px;
  29. background-image: url(/brand/logo/logo-128.png);
  30. background-repeat: no-repeat;
  31. background-position: center 0px;
  32. padding-top: 130px;
  33. }
  34. p {
  35. font-size: 14px;
  36. padding-top: 6px;
  37. }
  38. }
  39. .content-with-navigation-sidebar {
  40. padding-left: 200px;
  41. padding-right: 20px;
  42. }
  43. .sidebar-navigation {
  44. background: rgb(40,40,40);
  45. border-right: 1px solid #999;
  46. position: fixed;
  47. left: 0;
  48. top: 0;
  49. bottom: 0;
  50. width: 40px;
  51. overflow: hidden;
  52. z-index: 10;
  53. ul {
  54. list-style: none;
  55. margin: 0;
  56. li {
  57. a {
  58. color: #ccc;
  59. width: 100%;
  60. display: block;
  61. .content {
  62. padding: 12px 0;
  63. }
  64. &:hover {
  65. .box-shadow(inset 0 0 15px #111);
  66. text-decoration: none;
  67. color: white;
  68. }
  69. }
  70. }
  71. li.active {
  72. background-color: @blue;
  73. a {
  74. color: white;
  75. &:hover {
  76. .box-shadow(none);
  77. }
  78. }
  79. }
  80. }
  81. .image-button {
  82. margin-top: 4px;
  83. margin-right: 8px;
  84. cursor: pointer;
  85. }
  86. a.tab-link {
  87. background-position: 12px center;
  88. background-repeat: no-repeat;
  89. padding-left: 40px;
  90. height: 40px;
  91. }
  92. a.code-tab {
  93. background-image: url(/brand/icons/code.png);
  94. }
  95. a.history-tab {
  96. background-image: url(/brand/icons/history.png);
  97. }
  98. a.settings-tab, a.account-settings-tab {
  99. background-image: url(/brand/icons/settings.png);
  100. }
  101. a.collaborators-tab {
  102. background-image: url(/brand/icons/collaborators.png);
  103. }
  104. a.project-list-tab {
  105. background-image: url(/brand/icons/projects.png);
  106. }
  107. a.subscription-tab {
  108. background-image: url(/brand/icons/subscription.png);
  109. }
  110. #toolbar-footer {
  111. position: absolute;
  112. bottom: 0;
  113. left: 0;
  114. width: 180px;
  115. padding-bottom: 16px;
  116. text-align: center;
  117. a {
  118. font-size: 12px;
  119. color: #ddd;
  120. &:hover {
  121. color: white;
  122. }
  123. }
  124. > div {
  125. margin-top: 3px;
  126. }
  127. }
  128. }
  129. .ui-layout-resizer {
  130. width: 6px;
  131. background-color: #eee;
  132. .ui-layout-toggler {
  133. background-color: #ddd;
  134. background-image: url(/img/resizer.png);
  135. background-repeat: no-repeat;
  136. background-position: center center;
  137. }
  138. }
  139. .ui-layout-resizer-dragging {
  140. background-color: #ddd;
  141. }
  142. .splitter-bar-vertical-docked {
  143. width: 15px;
  144. }
  145. #content{
  146. border-left: 1px solid #aaa;
  147. iframe{
  148. width: 100%;
  149. height: 100%;
  150. }
  151. .fullEditorArea, #pdfArea, #imageArea iframe{
  152. position: absolute;
  153. top: 0;
  154. left: 0;
  155. bottom: 0;
  156. right: 0;
  157. }
  158. #editorArea {
  159. width: 100%;
  160. height: 100%;
  161. #editorSplitter {
  162. width: 100%;
  163. height: 100%;
  164. }
  165. #editor {
  166. width: 100%;
  167. height: 100%;
  168. }
  169. #editorWrapper {
  170. height: 100%;
  171. width: 100%;
  172. }
  173. #rightEditorPanel {
  174. border-left: 1px solid #aaa;
  175. }
  176. #leftEditorPanel {
  177. border-right: 1px solid #aaa;
  178. }
  179. .loading {
  180. background: url('/img/spin.gif') center center no-repeat, url('/img/noise.png') #aaa;
  181. position: absolute;
  182. top: 0;
  183. left: 0;
  184. right: 0;
  185. bottom: 0;
  186. z-index: 100;
  187. }
  188. #trackChangesPanel {
  189. width: 100%;
  190. height: 100%;
  191. }
  192. }
  193. #undoConflictWarning {
  194. position: absolute;
  195. top: 0;
  196. right: 0;
  197. left: 0;
  198. z-index: 10;
  199. padding: 8px;
  200. background-color: rgb(255, 210, 210);
  201. .js-hide {
  202. display: inline;
  203. float: right;
  204. }
  205. }
  206. #pdfArea {
  207. background-color: #eee;
  208. #pdfToolBar{
  209. padding: 5px 5px 3px 5px;
  210. margin: 0;
  211. background-color: white;
  212. border-bottom: 1px solid #aaa;
  213. i {
  214. display: block;
  215. height: 18px;
  216. width: 24px;
  217. background-repeat: no-repeat
  218. }
  219. i.icon-flatview {
  220. background-image: url(/img/flatview.png);
  221. }
  222. i.icon-splitview {
  223. background-image: url(/img/splitview.png);
  224. }
  225. }
  226. #pdfAreaContent {
  227. #logArea, #rawLogArea, .pdfjs-list-view {
  228. height: 100%;
  229. width: 100%;
  230. }
  231. }
  232. .compiling-message {
  233. z-index: 100;
  234. position: absolute;
  235. top: 45px;
  236. left: 10px;
  237. padding: 20px;
  238. .border-radius(5px);
  239. border: 1px solid #999;
  240. background-color: #eee;
  241. background-image: url(/img/spin1.gif);
  242. background-repeat: no-repeat;
  243. background-position: 10px center;
  244. padding-left: 50px;
  245. }
  246. .not-compiled-yet-message {
  247. padding: 9px;
  248. background: url(/img/silk/arrow-up.png) 20px 7px no-repeat;
  249. padding-left: 43px;
  250. font-size: 16px;
  251. }
  252. #logArea {
  253. overflow: auto;
  254. ul {
  255. margin: 0px;
  256. padding: 10px;
  257. li {
  258. cursor:pointer;
  259. list-style: none;
  260. margin-bottom: 10px;
  261. }
  262. }
  263. button {
  264. margin-left: 10px;
  265. margin-bottom: 20px;
  266. }
  267. background: url('/img/noise.png') #eee;
  268. .alert-warning {
  269. border-color: lighten(#f89406, 35%);
  270. background-color: lighten(#f89406, 40%);
  271. color: #f89406;
  272. text-shadow: none;
  273. }
  274. .small {
  275. color: #666;
  276. margin-top: 6px;
  277. white-space: pre-wrap;
  278. }
  279. }
  280. #rawLogArea {
  281. overflow: auto;
  282. background: url('/img/noise.png') #eee;
  283. pre {
  284. background: none;
  285. border: none;
  286. }
  287. }
  288. .pdfjs-viewer {
  289. position: relative;
  290. height: 100%;
  291. width: 100%;
  292. .pdfjs-list-view {
  293. overflow: scroll;
  294. canvas {
  295. background: white;
  296. box-shadow: black 0px 0px 10px;
  297. }
  298. .page-container {
  299. margin: 10px auto;
  300. padding: 0 10px;
  301. }
  302. }
  303. .btn-group {
  304. position: absolute;
  305. top: 15px;
  306. left: 20px;
  307. z-index: 50;
  308. img {
  309. vertical-align: middle;
  310. }
  311. }
  312. .progress {
  313. width: 200px;
  314. position: absolute;
  315. bottom: 15px;
  316. left: 20px;
  317. z-index: 50;
  318. border: 1px solid #666;
  319. height: 32px;
  320. .bar {
  321. height: 32px;
  322. }
  323. span {
  324. position: absolute;
  325. width: 100%;
  326. text-align: center;
  327. top: 8px;
  328. }
  329. }
  330. }
  331. }
  332. #loading{
  333. background: url('/img/spin.gif') center center no-repeat, url('/img/noise.png') #aaa;
  334. }
  335. #projectDeleted {
  336. background: url('/img/noise.png') #aaa;
  337. }
  338. #mainAreaMessage {
  339. margin-top: 100px;
  340. font-size: 1.4em;
  341. text-align: center;
  342. }
  343. .projectSettings {
  344. overflow: scroll;
  345. padding: 0 12px 12px 12px;
  346. }
  347. }
  348. #tab-content {
  349. position: absolute;
  350. top: 0;
  351. bottom: 0;
  352. left: 40px;
  353. right: 0;
  354. #collaborators-tab, #settings-tab {
  355. padding: 10px;
  356. overflow: scroll;
  357. }
  358. #collaborators-tab, #settings-tab, #history-tab {
  359. background: url('/img/noise.png') #eee;
  360. position: absolute;
  361. top: 0;
  362. bottom: 0;
  363. left: 140px;
  364. right: 0;
  365. }
  366. }
  367. #sections{
  368. -moz-user-select: none;
  369. -webkit-user-select: none;
  370. overflow: auto;
  371. }
  372. #options {
  373. position: absolute;
  374. left: 0;
  375. width: 100%;
  376. height: 20px;
  377. padding: 0 0 5px 0;
  378. bottom: 0;
  379. overflow: hidden;
  380. }
  381. #options button, button.gradient {
  382. background: #fafafa;
  383. border: 1px solid rgba(0,0,0,0.25);
  384. box-shadow: 0 -10px rgba(0,0,0,0.05) inset, 0 1px 2px white;
  385. padding: 2px 4px;
  386. vertical-align: -10%;
  387. margin: 0 0 0 -1px;
  388. height: 26px;
  389. }
  390. #options button:active, button.gradient:active {
  391. background: #b7cbe1;
  392. }
  393. #options button:hover, button.gradient:hover {
  394. background: #ffffff;
  395. }
  396. #saving-area{
  397. float: right;
  398. padding-top:3px;
  399. padding-right:10px;
  400. }
  401. #search {
  402. display: none;
  403. }
  404. #sidebar {
  405. width: 250px;
  406. overflow: hidden;
  407. cursor: default;
  408. border-right: 1px solid #aaa;
  409. background-color: rgb(238,238,238);
  410. padding: 6px 0 0 6px;
  411. ul {
  412. margin: 8px 0;
  413. padding-left: 0;
  414. list-style: none;
  415. }
  416. .entity-list-item {
  417. color: #444;
  418. font-family: 'Lucida Grande', 'Segoe UI', 'Ubuntu', sans-serif;
  419. font-size: 9pt;
  420. list-style: none;
  421. white-space: nowrap;
  422. cursor: pointer;
  423. position: relative;
  424. .clickable {
  425. height: 24px;
  426. margin-left: 20px;
  427. }
  428. .dropdown-caret {
  429. display: none;
  430. }
  431. }
  432. .entity-folder {
  433. position: relative;
  434. .toggle {
  435. position: absolute;
  436. top: 0;
  437. left: 0;
  438. display: inline-block;
  439. width: 16px;
  440. padding: 4px;
  441. }
  442. }
  443. .entity-project {
  444. .clickable {
  445. margin-left: 0;
  446. }
  447. }
  448. .entity-list {
  449. padding-left: 0px;
  450. }
  451. .entity-list .entity-list {
  452. padding-left: 10px;
  453. }
  454. .droppable-folder-hover, {
  455. background:lighten(#eddc89, 0%);
  456. }
  457. li.selected, .entity-list-item.selected {
  458. background-color: rgb(185,201,227);
  459. .border-radius(5px 0 0 5px);
  460. color: #3d5979;
  461. .dropdown-caret {
  462. display: block;
  463. padding: 4px 6px 4px 4px;
  464. position: absolute;
  465. top: 0;
  466. right: 0;
  467. bottom: 0;
  468. background-color: rgb(185,201,227);
  469. &:before {
  470. content: " ";
  471. #gradient > .horizontal(rgba(185,201,227,0), rgb(185,201,227));
  472. background-color: transparent;
  473. width: 12px;
  474. height: 100%;
  475. position: absolute;
  476. top: 0;
  477. bottom: 0;
  478. right: 20px
  479. }
  480. i {
  481. vertical-align: top;
  482. margin: 0;
  483. }
  484. }
  485. }
  486. li img, .entity-list-item i {
  487. margin: 4px;
  488. vertical-align: -7px;
  489. min-width: 16px;
  490. min-height: 16px;
  491. }
  492. input.rename{
  493. margin: -1px 0 0 -1px;
  494. padding: 1px;
  495. width: 120px;
  496. }
  497. input.checkbox {
  498. float: left;
  499. margin-left: 5px;
  500. margin-top: 7px;
  501. width: 16px;
  502. opacity: 0.5;
  503. &:hover {
  504. opacity: 1;
  505. }
  506. }
  507. .multi-selected input.checkbox {
  508. opacity: 1;
  509. }
  510. .actions {
  511. margin: 4px 4px 4px 26px;
  512. > div {
  513. display: inline;
  514. margin-right: 8px;
  515. }
  516. a {
  517. color: #333;
  518. }
  519. .rename-btn, .delete-btn {
  520. margin-top: 4px;
  521. }
  522. .text {
  523. margin-left: 4px;
  524. }
  525. .new-entity .dropdown-menu {
  526. left: -12px;
  527. margin: 0;
  528. }
  529. .new-entity.open .dropdown-toggle {
  530. background: none;
  531. text-decoration: underline;
  532. }
  533. }
  534. .new-entity ul.dropdown-menu a {
  535. padding: 0 5px;
  536. }
  537. }
  538. table#addUserTable, table#addUserTable td{
  539. border:none;
  540. border-left:none;
  541. }
  542. table {
  543. margin: 1em 0;
  544. clear: both;
  545. }
  546. .addUserForm {
  547. padding: 12px;
  548. input, button, select {
  549. margin: 6px;
  550. }
  551. }
  552. .auto-complete-menu {
  553. border: 1px solid #999;
  554. background-color: white;
  555. margin: 0;
  556. padding: 5px;
  557. list-style: none;
  558. color: #888;
  559. z-index: 10;
  560. li {
  561. padding: 0 4px;
  562. cursor: pointer;
  563. }
  564. li.selected, li:hover {
  565. strong {
  566. color: white;
  567. }
  568. color: #ddd;
  569. background-color: blue;
  570. }
  571. strong {
  572. font-weight: normal;
  573. color: black;
  574. }
  575. }
  576. .context-menu {
  577. display: block;
  578. left: auto;
  579. .border-radius(0);
  580. }
  581. .clear-modal-backdrop {
  582. background: none;
  583. }
  584. .sharelatex-spelling-highlight {
  585. position: absolute;
  586. background-image: url(/img/spellcheck-underline.png);
  587. background-repeat: repeat-x;
  588. background-position: bottom left;
  589. }
  590. @defaultCursorColor: rgb(14, 158, 0);
  591. .sharelatex-remote-cursor {
  592. position: absolute;
  593. z-index: 2;
  594. .name {
  595. font-size: 0.8em;
  596. background-color: @defaultCursorColor;
  597. color: white;
  598. padding: 2px 6px;
  599. .border-radius(3px 3px 3px 0);
  600. position: absolute;
  601. left: -4px;
  602. }
  603. .nubbin {
  604. height: 6px;
  605. width: 6px;
  606. background-color: @defaultCursorColor;
  607. position: absolute;
  608. left: -4px;
  609. }
  610. }
  611. @cursorGreen: rgb(14,158,0);
  612. @cursorBlue: rgb(0,25,168);
  613. @cursorRed: rgb(220,36,31);
  614. @cursorPurple: rgb(117,16,86);
  615. @cursorBrown: rgb(137,78,36);
  616. @cursorOrange: rgb(255,127,0);
  617. @cursorGrey: rgb(65,75,86);
  618. @cursorLightBlue: rgb(0,175,173);
  619. .sharelatex-remote-cursor-0 {
  620. border-left: 2px solid @cursorGreen;
  621. .name, .nubbin {
  622. background-color: @cursorGreen;
  623. }
  624. }
  625. .sharelatex-remote-cursor-1 {
  626. border-left: 2px solid @cursorBlue;
  627. .name, .nubbin {
  628. background-color: @cursorBlue;
  629. }
  630. }
  631. .sharelatex-remote-cursor-2 {
  632. border-left: 2px solid @cursorRed;
  633. .name, .nubbin {
  634. background-color: @cursorRed;
  635. }
  636. }
  637. .sharelatex-remote-cursor-3 {
  638. border-left: 2px solid @cursorPurple;
  639. .name, .nubbin {
  640. background-color: @cursorPurple;
  641. }
  642. }
  643. .sharelatex-remote-cursor-4 {
  644. border-left: 2px solid @cursorBrown;
  645. .name, .nubbin {
  646. background-color: @cursorBrown;
  647. }
  648. }
  649. .sharelatex-remote-cursor-5 {
  650. border-left: 2px solid @cursorOrange;
  651. .name, .nubbin {
  652. background-color: @cursorOrange;
  653. }
  654. }
  655. .sharelatex-remote-cursor-6 {
  656. border-left: 2px solid @cursorGrey;
  657. .name, .nubbin {
  658. background-color: @cursorGrey;
  659. }
  660. }
  661. .sharelatex-remote-cursor-7 {
  662. border-left: 2px solid @cursorLightBlue;
  663. .name, .nubbin {
  664. background-color: @cursorLightBlue;
  665. }
  666. }
  667. .spell-check-menu {
  668. position: absolute;
  669. margin-left: 1px;
  670. .btn {
  671. padding: 1px 4px 4px;
  672. margin-top: -4px;
  673. line-height: normal;
  674. }
  675. .underlined {
  676. background-image: url(/img/spellcheck-underline.png);
  677. background-repeat: repeat-x;
  678. background-position: bottom left;
  679. }
  680. .dropdown-menu {
  681. min-width: 0;
  682. left: auto;
  683. right: 0;
  684. a {
  685. padding: 1px 8px;
  686. }
  687. }
  688. }
  689. .ace_search {
  690. background-color: #ddd;
  691. border: 1px solid #cbcbcb;
  692. border-top: 0 none;
  693. max-width: 500px;
  694. overflow: hidden;
  695. margin: 0;
  696. padding: 4px;
  697. position: absolute;
  698. top: 0px;
  699. right: 0;
  700. z-index: 99;
  701. border-radius: 0px 0px 0px 5px;
  702. border-right: 0 none;
  703. }
  704. .icon-chevron-up, .icon-chevron-down, .icon-trash, .icon-plus, .icon-pencil {
  705. display: inline-block;
  706. width: 14px;
  707. height: 14px;
  708. line-height: 14px;
  709. vertical-align: text-top;
  710. background-image: url(@iconSpritePath);
  711. background-position: 14px 14px;
  712. background-repeat: no-repeat;
  713. .ie7-restore-right-whitespace();
  714. }
  715. .icon-white {
  716. background-image: url(@iconWhiteSpritePath);
  717. }
  718. .icon-chevron-up { background-position: -288px -120px; }
  719. .icon-chevron-down { background-position: -313px -119px; }
  720. .icon-trash { background-position: -456px 0; }
  721. .icon-plus { background-position: -408px -96px; }
  722. .icon-pencil { background-position: 0 -72px; }
  723. .ace_search_form {
  724. margin-bottom: 4px;
  725. }
  726. .ace_searchbtn:last-child,
  727. .ace_replacebtn:last-child {
  728. border-top-right-radius: 3px;
  729. border-bottom-right-radius: 3px;
  730. }
  731. .ace_searchbtn_close {
  732. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;
  733. border-radius: 50%;
  734. border: 0 none;
  735. color: #656565;
  736. cursor: pointer;
  737. display: block;
  738. position: absolute;
  739. top: 3px;
  740. right: 6px;
  741. font-family: Arial;
  742. font-size: 16px;
  743. height: 14px;
  744. line-height: 16px;
  745. margin: 5px 1px 9px 5px;
  746. padding: 0;
  747. text-align: center;
  748. width: 14px;
  749. }
  750. .ace_searchbtn_close:hover {
  751. background-color: #656565;
  752. background-position: 50% 100%;
  753. color: white;
  754. }
  755. i[class*="sprite-"] {
  756. display: inline-block;
  757. height: 16px;
  758. width: 16px;
  759. }
  760. .sprite-folder {
  761. background-image: url(/img/nide/folder.png);
  762. }
  763. .sprite-project {
  764. background-image: url(/img/project.png);
  765. }
  766. .sprite-file {
  767. background-image: url(/img/file.png);
  768. }
  769. .sprite-doc {
  770. background-image: url(/img/nide/doc.png);
  771. }
  772. .hotkeys {
  773. .hotkeys-column {
  774. width: 50%;
  775. float: left;
  776. }
  777. .hotkey {
  778. margin: 8px 0;
  779. }
  780. .combination {
  781. padding: 3px 6px;
  782. .border-radius(4px);
  783. background-color: #444;
  784. color: white;
  785. margin-right: 4px;
  786. }
  787. .description {
  788. font-weight: bold;
  789. }
  790. .clear {
  791. .clearfix();
  792. }
  793. }
  794. #fileViewArea {
  795. text-align: center;
  796. background-color: #ddd;
  797. img {
  798. max-width: 600px;
  799. max-height: 600px;
  800. border: 1px solid #999;
  801. background-color: white;
  802. padding: 10px;
  803. margin-top: 20px;
  804. }
  805. .no-preview {
  806. color: #666;
  807. font-size: 32px;
  808. margin-top: 20px;
  809. }
  810. .download {
  811. margin-top: 16px;
  812. }
  813. }
  814. #socialSharing {
  815. .share-button {
  816. display: inline-block;
  817. margin-right: 8px;
  818. margin-bottom: 8px;
  819. }
  820. }
  821. .project-description {
  822. textarea {
  823. min-height: 120px;
  824. }
  825. label {
  826. border-bottom: 1px solid #eeeeee;
  827. font-size: 1.2em;
  828. line-height: 1.8em;
  829. margin-bottom: 6px;
  830. }
  831. }
  832. .btn-facebook {
  833. color: #ffffff;
  834. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  835. background-color: #2b4b90;
  836. *background-color: #133783;
  837. background-image: -moz-linear-gradient(top, #3b5998, #133783);
  838. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3b5998), to(#133783));
  839. background-image: -webkit-linear-gradient(top, #3b5998, #133783);
  840. background-image: -o-linear-gradient(top, #3b5998, #133783);
  841. background-image: linear-gradient(to bottom, #3b5998, #133783);
  842. background-repeat: repeat-x;
  843. border-color: #133783 #133783 #091b40;
  844. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  845. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3b5998', endColorstr='#ff133783', GradientType=0);
  846. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  847. }
  848. .btn-facebook:hover,
  849. .btn-facebook:focus,
  850. .btn-facebook:active,
  851. .btn-facebook.active,
  852. .btn-facebook.disabled,
  853. .btn-facebook[disabled] {
  854. color: #ffffff;
  855. background-color: #133783;
  856. *background-color: #102e6d;
  857. }
  858. .btn-facebook:active,
  859. .btn-facebook.active {
  860. background-color: #0d2456 \9;
  861. }
  862. .btn-twitter {
  863. color: #ffffff;
  864. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  865. background-color: #1c95d0;
  866. *background-color: #0271bf;
  867. background-image: -moz-linear-gradient(top, #2daddc, #0271bf);
  868. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2daddc), to(#0271bf));
  869. background-image: -webkit-linear-gradient(top, #2daddc, #0271bf);
  870. background-image: -o-linear-gradient(top, #2daddc, #0271bf);
  871. background-image: linear-gradient(to bottom, #2daddc, #0271bf);
  872. background-repeat: repeat-x;
  873. border-color: #0271bf #0271bf #014473;
  874. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  875. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2daddc', endColorstr='#ff0271bf', GradientType=0);
  876. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  877. }
  878. .btn-twitter:hover,
  879. .btn-twitter:focus,
  880. .btn-twitter:active,
  881. .btn-twitter.active,
  882. .btn-twitter.disabled,
  883. .btn-twitter[disabled] {
  884. color: #ffffff;
  885. background-color: #0271bf;
  886. *background-color: #0262a6;
  887. }
  888. .btn-twitter:active,
  889. .btn-twitter.active {
  890. background-color: #01538d \9;
  891. }
  892. .btn-google-plus {
  893. color: #ffffff;
  894. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  895. background-color: #d34332;
  896. *background-color: #c53727;
  897. background-image: -moz-linear-gradient(top, #dd4b39, #c53727);
  898. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dd4b39), to(#c53727));
  899. background-image: -webkit-linear-gradient(top, #dd4b39, #c53727);
  900. background-image: -o-linear-gradient(top, #dd4b39, #c53727);
  901. background-image: linear-gradient(to bottom, #dd4b39, #c53727);
  902. background-repeat: repeat-x;
  903. border-color: #c53727 #c53727 #85251a;
  904. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  905. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd4b39', endColorstr='#ffc53727', GradientType=0);
  906. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  907. }
  908. .btn-google-plus:hover,
  909. .btn-google-plus:focus,
  910. .btn-google-plus:active,
  911. .btn-google-plus.active,
  912. .btn-google-plus.disabled,
  913. .btn-google-plus[disabled] {
  914. color: #ffffff;
  915. background-color: #c53727;
  916. *background-color: #b03123;
  917. }
  918. .btn-google-plus:active,
  919. .btn-google-plus.active {
  920. background-color: #9a2b1f \9;
  921. }
  922. #errorMessages {
  923. z-index: 10000;
  924. top: 4px;
  925. width: 300px;
  926. position: absolute;
  927. left: 50%;
  928. margin-left: -154px;
  929. #connectionLostMessage {
  930. background-color: rgb(250, 199, 199);
  931. padding: 4px;
  932. text-align: center;
  933. border: 2px solid red;
  934. margin-bottom: 6px;
  935. }
  936. #savingProblems {
  937. background-color: #FFE9C2;
  938. padding: 4px;
  939. text-align: center;
  940. border: 2px solid rgb(255, 163, 0);
  941. margin-bottom: 6px;
  942. }
  943. }