editor.less 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056
  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. .entity-label {
  432. display: none;
  433. }
  434. }
  435. .entity-folder {
  436. position: relative;
  437. .toggle {
  438. position: absolute;
  439. top: 0;
  440. left: 0;
  441. display: inline-block;
  442. width: 16px;
  443. padding: 4px;
  444. }
  445. }
  446. .entity-project {
  447. .clickable {
  448. margin-left: 0;
  449. }
  450. }
  451. .entity-list {
  452. padding-left: 0px;
  453. }
  454. .entity-list .entity-list {
  455. padding-left: 10px;
  456. }
  457. .droppable-folder-hover, {
  458. background:lighten(#eddc89, 0%);
  459. }
  460. li.selected, .entity-list-item.selected {
  461. background-color: rgb(185,201,227);
  462. .border-radius(5px 0 0 5px);
  463. color: #3d5979;
  464. .dropdown-caret {
  465. display: block;
  466. padding: 4px 6px 4px 4px;
  467. position: absolute;
  468. top: 0;
  469. right: 0;
  470. bottom: 0;
  471. background-color: rgb(185,201,227);
  472. &:before {
  473. content: " ";
  474. #gradient > .horizontal(rgba(185,201,227,0), rgb(185,201,227));
  475. background-color: transparent;
  476. width: 12px;
  477. height: 100%;
  478. position: absolute;
  479. top: 0;
  480. bottom: 0;
  481. right: 20px
  482. }
  483. i {
  484. vertical-align: top;
  485. margin: 0;
  486. }
  487. }
  488. }
  489. .entity-list-item.show-label {
  490. .dropdown-caret {
  491. display: none;
  492. }
  493. .entity-label {
  494. display: block;
  495. position: absolute;
  496. top: 3px;
  497. right: 3px;
  498. font-size: 13px;
  499. line-height: 13px;
  500. padding: 2px 6px 3px;
  501. background-color: hsl(100, 80%, 42%);
  502. font-weight: normal;
  503. text-shadow: none;
  504. &:hover {
  505. background-color: hsl(100, 80%, 35%)
  506. }
  507. }
  508. }
  509. .entity-list-item.folder-open.show-label {
  510. .entity-label {
  511. display: none;
  512. }
  513. }
  514. li img, .entity-list-item i {
  515. margin: 4px;
  516. vertical-align: -7px;
  517. min-width: 16px;
  518. min-height: 16px;
  519. }
  520. input.rename{
  521. margin: -1px 0 0 -1px;
  522. padding: 1px;
  523. width: 120px;
  524. }
  525. input.checkbox {
  526. float: left;
  527. margin-left: 5px;
  528. margin-top: 7px;
  529. width: 16px;
  530. opacity: 0.5;
  531. &:hover {
  532. opacity: 1;
  533. }
  534. }
  535. .multi-selected input.checkbox {
  536. opacity: 1;
  537. }
  538. .actions {
  539. margin: 4px 4px 4px 26px;
  540. > div {
  541. display: inline;
  542. margin-right: 8px;
  543. }
  544. a {
  545. color: #333;
  546. }
  547. .rename-btn, .delete-btn {
  548. margin-top: 4px;
  549. }
  550. .text {
  551. margin-left: 4px;
  552. }
  553. .new-entity .dropdown-menu {
  554. left: -12px;
  555. margin: 0;
  556. }
  557. .new-entity.open .dropdown-toggle {
  558. background: none;
  559. text-decoration: underline;
  560. }
  561. }
  562. .new-entity ul.dropdown-menu a {
  563. padding: 0 5px;
  564. }
  565. }
  566. table#addUserTable, table#addUserTable td{
  567. border:none;
  568. border-left:none;
  569. }
  570. table {
  571. margin: 1em 0;
  572. clear: both;
  573. }
  574. .addUserForm {
  575. padding: 12px;
  576. input, button, select {
  577. margin: 6px;
  578. }
  579. }
  580. .auto-complete-menu {
  581. border: 1px solid #999;
  582. background-color: white;
  583. margin: 0;
  584. padding: 5px;
  585. list-style: none;
  586. color: #888;
  587. z-index: 10;
  588. li {
  589. padding: 0 4px;
  590. cursor: pointer;
  591. }
  592. li.selected, li:hover {
  593. strong {
  594. color: white;
  595. }
  596. color: #ddd;
  597. background-color: blue;
  598. }
  599. strong {
  600. font-weight: normal;
  601. color: black;
  602. }
  603. }
  604. .context-menu {
  605. display: block;
  606. left: auto;
  607. .border-radius(0);
  608. }
  609. .clear-modal-backdrop {
  610. background: none;
  611. }
  612. .sharelatex-spelling-highlight {
  613. position: absolute;
  614. background-image: url(/img/spellcheck-underline.png);
  615. background-repeat: repeat-x;
  616. background-position: bottom left;
  617. }
  618. @defaultCursorColor: rgb(14, 158, 0);
  619. .sharelatex-remote-cursor {
  620. position: absolute;
  621. z-index: 2;
  622. .name {
  623. font-size: 0.8em;
  624. background-color: @defaultCursorColor;
  625. color: white;
  626. padding: 2px 6px;
  627. .border-radius(3px 3px 3px 0);
  628. position: absolute;
  629. left: -4px;
  630. }
  631. .nubbin {
  632. height: 6px;
  633. width: 6px;
  634. background-color: @defaultCursorColor;
  635. position: absolute;
  636. left: -4px;
  637. }
  638. }
  639. @cursorGreen: rgb(14,158,0);
  640. @cursorBlue: rgb(0,25,168);
  641. @cursorRed: rgb(220,36,31);
  642. @cursorPurple: rgb(117,16,86);
  643. @cursorBrown: rgb(137,78,36);
  644. @cursorOrange: rgb(255,127,0);
  645. @cursorGrey: rgb(65,75,86);
  646. @cursorLightBlue: rgb(0,175,173);
  647. .sharelatex-remote-cursor-0 {
  648. border-left: 2px solid @cursorGreen;
  649. .name, .nubbin {
  650. background-color: @cursorGreen;
  651. }
  652. }
  653. .sharelatex-remote-cursor-1 {
  654. border-left: 2px solid @cursorBlue;
  655. .name, .nubbin {
  656. background-color: @cursorBlue;
  657. }
  658. }
  659. .sharelatex-remote-cursor-2 {
  660. border-left: 2px solid @cursorRed;
  661. .name, .nubbin {
  662. background-color: @cursorRed;
  663. }
  664. }
  665. .sharelatex-remote-cursor-3 {
  666. border-left: 2px solid @cursorPurple;
  667. .name, .nubbin {
  668. background-color: @cursorPurple;
  669. }
  670. }
  671. .sharelatex-remote-cursor-4 {
  672. border-left: 2px solid @cursorBrown;
  673. .name, .nubbin {
  674. background-color: @cursorBrown;
  675. }
  676. }
  677. .sharelatex-remote-cursor-5 {
  678. border-left: 2px solid @cursorOrange;
  679. .name, .nubbin {
  680. background-color: @cursorOrange;
  681. }
  682. }
  683. .sharelatex-remote-cursor-6 {
  684. border-left: 2px solid @cursorGrey;
  685. .name, .nubbin {
  686. background-color: @cursorGrey;
  687. }
  688. }
  689. .sharelatex-remote-cursor-7 {
  690. border-left: 2px solid @cursorLightBlue;
  691. .name, .nubbin {
  692. background-color: @cursorLightBlue;
  693. }
  694. }
  695. .spell-check-menu {
  696. position: absolute;
  697. margin-left: 1px;
  698. .btn {
  699. padding: 1px 4px 4px;
  700. margin-top: -4px;
  701. line-height: normal;
  702. }
  703. .underlined {
  704. background-image: url(/img/spellcheck-underline.png);
  705. background-repeat: repeat-x;
  706. background-position: bottom left;
  707. }
  708. .dropdown-menu {
  709. min-width: 0;
  710. left: auto;
  711. right: 0;
  712. a {
  713. padding: 1px 8px;
  714. }
  715. }
  716. }
  717. .ace_search {
  718. background-color: #ddd;
  719. border: 1px solid #cbcbcb;
  720. border-top: 0 none;
  721. max-width: 500px;
  722. overflow: hidden;
  723. margin: 0;
  724. padding: 4px;
  725. position: absolute;
  726. top: 0px;
  727. right: 0;
  728. z-index: 99;
  729. border-radius: 0px 0px 0px 5px;
  730. border-right: 0 none;
  731. }
  732. .icon-chevron-up, .icon-chevron-down, .icon-trash, .icon-plus, .icon-pencil {
  733. display: inline-block;
  734. width: 14px;
  735. height: 14px;
  736. line-height: 14px;
  737. vertical-align: text-top;
  738. background-image: url(@iconSpritePath);
  739. background-position: 14px 14px;
  740. background-repeat: no-repeat;
  741. .ie7-restore-right-whitespace();
  742. }
  743. .icon-white {
  744. background-image: url(@iconWhiteSpritePath);
  745. }
  746. .icon-chevron-up { background-position: -288px -120px; }
  747. .icon-chevron-down { background-position: -313px -119px; }
  748. .icon-trash { background-position: -456px 0; }
  749. .icon-plus { background-position: -408px -96px; }
  750. .icon-pencil { background-position: 0 -72px; }
  751. .ace_search_form {
  752. margin-bottom: 4px;
  753. }
  754. .ace_searchbtn:last-child,
  755. .ace_replacebtn:last-child {
  756. border-top-right-radius: 3px;
  757. border-bottom-right-radius: 3px;
  758. }
  759. .ace_searchbtn_close {
  760. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;
  761. border-radius: 50%;
  762. border: 0 none;
  763. color: #656565;
  764. cursor: pointer;
  765. display: block;
  766. position: absolute;
  767. top: 3px;
  768. right: 6px;
  769. font-family: Arial;
  770. font-size: 16px;
  771. height: 14px;
  772. line-height: 16px;
  773. margin: 5px 1px 9px 5px;
  774. padding: 0;
  775. text-align: center;
  776. width: 14px;
  777. }
  778. .ace_searchbtn_close:hover {
  779. background-color: #656565;
  780. background-position: 50% 100%;
  781. color: white;
  782. }
  783. i[class*="sprite-"] {
  784. display: inline-block;
  785. height: 16px;
  786. width: 16px;
  787. }
  788. .sprite-folder {
  789. background-image: url(/img/nide/folder.png);
  790. }
  791. .sprite-project {
  792. background-image: url(/img/project.png);
  793. }
  794. .sprite-file {
  795. background-image: url(/img/file.png);
  796. }
  797. .sprite-doc {
  798. background-image: url(/img/nide/doc.png);
  799. }
  800. .hotkeys {
  801. .hotkeys-column {
  802. width: 50%;
  803. float: left;
  804. }
  805. .hotkey {
  806. margin: 8px 0;
  807. }
  808. .combination {
  809. padding: 3px 6px;
  810. .border-radius(4px);
  811. background-color: #444;
  812. color: white;
  813. margin-right: 4px;
  814. }
  815. .description {
  816. font-weight: bold;
  817. }
  818. .clear {
  819. .clearfix();
  820. }
  821. }
  822. #fileViewArea {
  823. text-align: center;
  824. background-color: #ddd;
  825. img {
  826. max-width: 600px;
  827. max-height: 600px;
  828. border: 1px solid #999;
  829. background-color: white;
  830. padding: 10px;
  831. margin-top: 20px;
  832. }
  833. .no-preview {
  834. color: #666;
  835. font-size: 32px;
  836. margin-top: 20px;
  837. }
  838. .download {
  839. margin-top: 16px;
  840. }
  841. }
  842. #socialSharing {
  843. .share-button {
  844. display: inline-block;
  845. margin-right: 8px;
  846. margin-bottom: 8px;
  847. }
  848. }
  849. .project-description {
  850. textarea {
  851. min-height: 120px;
  852. }
  853. label {
  854. border-bottom: 1px solid #eeeeee;
  855. font-size: 1.2em;
  856. line-height: 1.8em;
  857. margin-bottom: 6px;
  858. }
  859. }
  860. .btn-facebook {
  861. color: #ffffff;
  862. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  863. background-color: #2b4b90;
  864. *background-color: #133783;
  865. background-image: -moz-linear-gradient(top, #3b5998, #133783);
  866. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3b5998), to(#133783));
  867. background-image: -webkit-linear-gradient(top, #3b5998, #133783);
  868. background-image: -o-linear-gradient(top, #3b5998, #133783);
  869. background-image: linear-gradient(to bottom, #3b5998, #133783);
  870. background-repeat: repeat-x;
  871. border-color: #133783 #133783 #091b40;
  872. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  873. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3b5998', endColorstr='#ff133783', GradientType=0);
  874. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  875. }
  876. .btn-facebook:hover,
  877. .btn-facebook:focus,
  878. .btn-facebook:active,
  879. .btn-facebook.active,
  880. .btn-facebook.disabled,
  881. .btn-facebook[disabled] {
  882. color: #ffffff;
  883. background-color: #133783;
  884. *background-color: #102e6d;
  885. }
  886. .btn-facebook:active,
  887. .btn-facebook.active {
  888. background-color: #0d2456 \9;
  889. }
  890. .btn-twitter {
  891. color: #ffffff;
  892. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  893. background-color: #1c95d0;
  894. *background-color: #0271bf;
  895. background-image: -moz-linear-gradient(top, #2daddc, #0271bf);
  896. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2daddc), to(#0271bf));
  897. background-image: -webkit-linear-gradient(top, #2daddc, #0271bf);
  898. background-image: -o-linear-gradient(top, #2daddc, #0271bf);
  899. background-image: linear-gradient(to bottom, #2daddc, #0271bf);
  900. background-repeat: repeat-x;
  901. border-color: #0271bf #0271bf #014473;
  902. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  903. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2daddc', endColorstr='#ff0271bf', GradientType=0);
  904. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  905. }
  906. .btn-twitter:hover,
  907. .btn-twitter:focus,
  908. .btn-twitter:active,
  909. .btn-twitter.active,
  910. .btn-twitter.disabled,
  911. .btn-twitter[disabled] {
  912. color: #ffffff;
  913. background-color: #0271bf;
  914. *background-color: #0262a6;
  915. }
  916. .btn-twitter:active,
  917. .btn-twitter.active {
  918. background-color: #01538d \9;
  919. }
  920. .btn-google-plus {
  921. color: #ffffff;
  922. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  923. background-color: #d34332;
  924. *background-color: #c53727;
  925. background-image: -moz-linear-gradient(top, #dd4b39, #c53727);
  926. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dd4b39), to(#c53727));
  927. background-image: -webkit-linear-gradient(top, #dd4b39, #c53727);
  928. background-image: -o-linear-gradient(top, #dd4b39, #c53727);
  929. background-image: linear-gradient(to bottom, #dd4b39, #c53727);
  930. background-repeat: repeat-x;
  931. border-color: #c53727 #c53727 #85251a;
  932. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  933. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd4b39', endColorstr='#ffc53727', GradientType=0);
  934. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  935. }
  936. .btn-google-plus:hover,
  937. .btn-google-plus:focus,
  938. .btn-google-plus:active,
  939. .btn-google-plus.active,
  940. .btn-google-plus.disabled,
  941. .btn-google-plus[disabled] {
  942. color: #ffffff;
  943. background-color: #c53727;
  944. *background-color: #b03123;
  945. }
  946. .btn-google-plus:active,
  947. .btn-google-plus.active {
  948. background-color: #9a2b1f \9;
  949. }
  950. #errorMessages {
  951. z-index: 10000;
  952. top: 4px;
  953. width: 300px;
  954. position: absolute;
  955. left: 50%;
  956. margin-left: -154px;
  957. #connectionLostMessage {
  958. background-color: rgb(250, 199, 199);
  959. padding: 4px;
  960. text-align: center;
  961. border: 2px solid red;
  962. margin-bottom: 6px;
  963. }
  964. #savingProblems {
  965. background-color: #FFE9C2;
  966. padding: 4px;
  967. text-align: center;
  968. border: 2px solid rgb(255, 163, 0);
  969. margin-bottom: 6px;
  970. }
  971. }