editor.less 18 KB

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