editor.less 20 KB

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