editor.less 19 KB

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