editor.less 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886
  1. @import './editor/file-tree.less';
  2. @import './editor/history.less';
  3. @import './editor/toolbar.less';
  4. @import './editor/left-menu.less';
  5. @import './editor/pdf.less';
  6. @import './editor/error-boundary.less';
  7. @import './editor/share.less';
  8. @import './editor/chat.less';
  9. @import './editor/file-view.less';
  10. @import './editor/search.less';
  11. @import './editor/publish-template.less';
  12. @import './editor/online-users.less';
  13. @import './editor/hotkeys.less';
  14. @import './editor/review-panel.less';
  15. @import './editor/rich-text.less';
  16. @import './editor/publish-modal.less';
  17. @import './editor/outline.less';
  18. @import './editor/logs.less';
  19. @import './editor/dictionary.less';
  20. @ui-layout-toggler-def-height: 50px;
  21. @ui-resizer-size: 7px;
  22. @keyframes blink {
  23. 0% {
  24. opacity: 0.2;
  25. }
  26. 20% {
  27. opacity: 1;
  28. }
  29. 100% {
  30. opacity: 0.2;
  31. }
  32. }
  33. .editor-menu-icon {
  34. &.fa {
  35. width: 1em;
  36. background: @editor-header-logo-background;
  37. &::before {
  38. // Disable the font-awesome icon when in Overleaf by replacing it with a
  39. // non-breakable space instead (otherwise the browser would render a
  40. // zero-width element).
  41. content: '\00a0';
  42. }
  43. }
  44. }
  45. .full-size {
  46. position: absolute;
  47. top: 0;
  48. bottom: 0;
  49. left: 0;
  50. right: 0;
  51. }
  52. .global-alerts {
  53. height: 0;
  54. margin-top: 2px;
  55. text-align: center;
  56. .alert {
  57. display: inline-block;
  58. text-align: left;
  59. min-width: 400px;
  60. padding: @global-alerts-padding;
  61. font-size: 14px;
  62. margin-bottom: (@line-height-computed / 4);
  63. position: relative;
  64. z-index: 20;
  65. }
  66. }
  67. #try-reconnect-now-button {
  68. margin-left: 20px;
  69. }
  70. #synctex-more-info-button {
  71. margin-left: 20px;
  72. }
  73. #ide-body {
  74. background-color: @pdf-bg;
  75. .full-size;
  76. top: @ide-body-top-offset;
  77. &.ide-history-open {
  78. top: @ide-body-top-offset + @editor-toolbar-height;
  79. }
  80. }
  81. #editor,
  82. #editor-rich-text {
  83. .full-size;
  84. top: @editor-toolbar-height;
  85. }
  86. .pdf-empty,
  87. .no-history-available,
  88. .no-file-selection,
  89. .multi-selection-ongoing {
  90. &::before {
  91. .full-size;
  92. left: 20px;
  93. content: '';
  94. background: url(../../../public/img/ol-brand/overleaf-o-grey.svg) center /
  95. 200px no-repeat;
  96. opacity: 0.2;
  97. pointer-events: none;
  98. }
  99. }
  100. .no-history-available,
  101. .no-file-selection-message,
  102. .multi-selection-message {
  103. width: 50%;
  104. margin: 0 auto;
  105. text-align: center;
  106. padding: @line-height-computed 0;
  107. }
  108. .faster-compiles-feedback {
  109. position: absolute;
  110. bottom: 0;
  111. right: 0.5rem; // scrollbar
  112. margin: 1rem;
  113. padding: 10px;
  114. .btn {
  115. margin: 0 0 0 10px;
  116. }
  117. .faster-compiles-feedback-options {
  118. display: inline;
  119. white-space: nowrap;
  120. }
  121. .faster-compiles-feedback-option {
  122. background: #1d4c82;
  123. }
  124. .faster-compiles-feedback-dismiss {
  125. border: 0;
  126. margin: 0 0 0 5px;
  127. color: #1d4c82;
  128. right: 0;
  129. top: 0;
  130. float: right;
  131. }
  132. }
  133. .toolbar-editor {
  134. height: @editor-toolbar-height;
  135. background-color: @editor-toolbar-bg;
  136. padding: 0 5px;
  137. overflow: hidden;
  138. position: relative;
  139. z-index: 10; // Prevent track changes showing over toolbar
  140. justify-content: space-between;
  141. .btn-recompile-group {
  142. margin-right: -5px;
  143. border-radius: @btn-border-radius-base 0 0 @btn-border-radius-base;
  144. margin-left: 6px;
  145. &.btn-recompile-group-has-changes {
  146. // prettier-ignore
  147. #gradient > .striped(@color: rgba(255, 255, 255, 0.2), @angle: -45deg);
  148. background-size: @stripe-width @stripe-width;
  149. .animation(pdf-toolbar-stripes 2s linear infinite);
  150. }
  151. .btn-recompile {
  152. border-radius: @btn-border-radius-base 0 0 @btn-border-radius-base;
  153. }
  154. }
  155. &.toolbar-wrap {
  156. min-height: @editor-toolbar-height;
  157. height: unset; // Allow to grow if buttons wrap
  158. .toolbar-line-wrapper {
  159. flex-wrap: wrap;
  160. }
  161. }
  162. .formatting-buttons {
  163. flex: 1 1 auto;
  164. width: unset;
  165. min-width: 0;
  166. overflow: hidden;
  167. }
  168. .toolbar-pdf-right {
  169. justify-content: flex-end;
  170. flex: 0 0 auto;
  171. }
  172. .toolbar-line-wrapper {
  173. display: flex;
  174. flex: 1 1 auto;
  175. flex-wrap: nowrap;
  176. min-width: 0;
  177. overflow: hidden;
  178. }
  179. }
  180. .loading-screen {
  181. display: flex;
  182. flex-direction: column;
  183. justify-content: center;
  184. align-items: center;
  185. width: 100%;
  186. height: 100%;
  187. background-color: #fff;
  188. }
  189. .loading-screen-brand-container {
  190. width: 15%;
  191. min-width: 200px;
  192. text-align: center;
  193. }
  194. .loading-screen-brand {
  195. position: relative;
  196. width: 100%;
  197. padding-top: @editor-loading-logo-padding-top;
  198. height: 0;
  199. background: @editor-loading-logo-background-url no-repeat bottom / 100%;
  200. &::after {
  201. content: '';
  202. position: absolute;
  203. height: inherit;
  204. right: 0;
  205. bottom: 0;
  206. left: 0;
  207. background: @editor-loading-logo-foreground-url no-repeat bottom / 100%;
  208. transition: height 0.5s;
  209. }
  210. }
  211. .loading-screen-label {
  212. margin: 0;
  213. padding-top: 1em;
  214. font-size: 2em;
  215. color: @gray-dark;
  216. }
  217. .loading-screen-ellip {
  218. animation: blink 1.4s both infinite;
  219. &:nth-child(2) {
  220. animation-delay: 0.2s;
  221. }
  222. &:nth-child(3) {
  223. animation-delay: 0.4s;
  224. }
  225. }
  226. .loading-screen-error {
  227. margin: 0;
  228. padding-top: 1em;
  229. color: @state-danger-text;
  230. }
  231. .loading-panel {
  232. .full-size;
  233. padding-top: 10rem;
  234. font-family: @font-family-serif;
  235. text-align: center;
  236. background-color: #fafafa;
  237. }
  238. .loading-panel-file-view {
  239. background-color: @gray-lightest;
  240. }
  241. .error-panel {
  242. .full-size;
  243. padding: @line-height-computed;
  244. background-color: #fafafa;
  245. .alert {
  246. max-width: 400px;
  247. margin: auto;
  248. }
  249. }
  250. .project-name {
  251. .name {
  252. display: inline-block;
  253. overflow: hidden;
  254. text-overflow: ellipsis;
  255. vertical-align: top;
  256. padding: 6px;
  257. color: @project-name-color;
  258. font-weight: 700;
  259. white-space: nowrap;
  260. }
  261. input {
  262. height: 30px;
  263. margin-top: 4px;
  264. text-align: center;
  265. padding: 6px;
  266. font-weight: 700;
  267. max-width: 500px;
  268. }
  269. a.rename {
  270. visibility: hidden;
  271. display: inline-block;
  272. color: @project-rename-link-color;
  273. padding: 5px;
  274. border-radius: @border-radius-small;
  275. cursor: pointer;
  276. &:hover {
  277. text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  278. color: @project-rename-link-color-hover;
  279. text-decoration: none;
  280. }
  281. }
  282. &:hover {
  283. a.rename {
  284. visibility: visible;
  285. }
  286. }
  287. }
  288. /**************************************
  289. Ace
  290. ***************************************/
  291. // The internal components of the aceEditor directive
  292. .ace-editor-wrapper {
  293. .full-size;
  294. .undo-conflict-warning {
  295. position: absolute;
  296. top: 0;
  297. right: 0;
  298. left: 0;
  299. z-index: 10;
  300. }
  301. .ace-editor-body {
  302. width: 100%;
  303. height: 100%;
  304. }
  305. .spelling-highlight {
  306. z-index: 3;
  307. position: absolute;
  308. background-image: url(../../../public/img/spellcheck-underline.png);
  309. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  310. background-image: url(../../../public/img/spellcheck-underline@2x.png);
  311. background-size: 5px 4px;
  312. }
  313. background-repeat: repeat-x;
  314. background-position: bottom left;
  315. }
  316. .remote-cursor {
  317. position: absolute;
  318. border-left: 2px solid transparent;
  319. // Adds "nubbin" top right of cursor, which inherits the injected color
  320. &::before {
  321. content: '';
  322. position: absolute;
  323. left: -2px;
  324. top: -5px;
  325. height: 5px;
  326. width: 5px;
  327. border-top-width: 3px;
  328. border-right-width: 3px;
  329. border-bottom-width: 2px;
  330. border-left-width: 2px;
  331. border-style: solid;
  332. border-color: inherit;
  333. }
  334. }
  335. .annotation-label {
  336. padding: (@line-height-computed / 4) (@line-height-computed / 2);
  337. font-size: 0.8rem;
  338. z-index: 100;
  339. font-family: @font-family-sans-serif;
  340. color: white;
  341. font-weight: 700;
  342. white-space: nowrap;
  343. }
  344. .annotation {
  345. position: absolute;
  346. z-index: 2;
  347. }
  348. .highlights-before-label,
  349. .highlights-after-label {
  350. position: absolute;
  351. right: @line-height-computed;
  352. z-index: 1;
  353. }
  354. .highlights-before-label {
  355. top: @line-height-computed / 2;
  356. }
  357. .highlights-after-label {
  358. bottom: @line-height-computed / 2;
  359. }
  360. }
  361. .strike-through-foreground::after {
  362. content: '';
  363. position: absolute;
  364. width: 100%;
  365. top: 50%;
  366. margin-top: -1px;
  367. height: 2px;
  368. background: currentColor;
  369. }
  370. // Hack to solve an issue where scrollbars aren't visible in Safari.
  371. // Safari seems to clip part of the scrollbar element. By giving the
  372. // element a background, we're telling Safari that it *really* needs to
  373. // paint the whole area. See https://github.com/ajaxorg/ace/issues/2872
  374. .ace_scrollbar-inner {
  375. background-color: #fff;
  376. opacity: 0.01;
  377. .ace_dark & {
  378. background-color: #000;
  379. }
  380. }
  381. /**************************************
  382. CodeMirror
  383. ***************************************/
  384. .cm-editor-wrapper {
  385. position: relative;
  386. height: 100%;
  387. }
  388. .cm-editor-body {
  389. height: 100%;
  390. }
  391. // CM (for some reason) has height set to 300px in it's stylesheet
  392. .CodeMirror {
  393. height: 100%;
  394. }
  395. .ui-layout-resizer {
  396. width: @ui-resizer-size !important;
  397. background-color: @editor-resizer-bg-color;
  398. /* Over-ride z-index set on element by JQuery Layout */
  399. z-index: 0 !important;
  400. &.ui-layout-resizer-closed {
  401. &::before,
  402. &::after {
  403. content: none;
  404. }
  405. }
  406. &::before,
  407. &::after {
  408. content: '\2847';
  409. display: block;
  410. position: absolute;
  411. text-align: center;
  412. left: -2px;
  413. -webkit-font-smoothing: antialiased;
  414. width: 100%;
  415. font-size: 24px;
  416. top: 25%;
  417. color: @ol-blue-gray-2;
  418. }
  419. &::after {
  420. top: 75%;
  421. }
  422. }
  423. .ui-layout-toggler {
  424. display: none !important;
  425. }
  426. .custom-toggler {
  427. position: absolute;
  428. display: flex;
  429. align-items: center;
  430. justify-content: center;
  431. width: @ui-resizer-size !important;
  432. height: 50px;
  433. margin-top: -25px;
  434. top: 50%;
  435. background-color: @editor-toggler-bg-color;
  436. &:hover,
  437. &:focus {
  438. outline: none;
  439. text-decoration: none;
  440. }
  441. // Increase hit area
  442. &::before {
  443. content: '';
  444. display: block;
  445. position: absolute;
  446. top: 0;
  447. right: -3px;
  448. bottom: 0;
  449. left: -3px;
  450. }
  451. &::after {
  452. font-family: FontAwesome;
  453. -webkit-font-smoothing: antialiased;
  454. -moz-osx-font-smoothing: grayscale;
  455. font-size: 65%;
  456. font-weight: bold;
  457. color: #fff;
  458. user-select: none;
  459. pointer-events: none;
  460. }
  461. &:hover {
  462. background-color: @editor-toggler-hover-bg-color;
  463. }
  464. }
  465. .custom-toggler-east::after {
  466. content: '\f105';
  467. }
  468. .custom-toggler-west::after {
  469. content: '\f104';
  470. }
  471. .custom-toggler-closed.custom-toggler-east::after {
  472. content: '\f104';
  473. }
  474. .custom-toggler-closed.custom-toggler-west::after {
  475. content: '\f105';
  476. }
  477. .ui-layout-resizer-dragging {
  478. background-color: @editor-resizer-bg-color-dragging;
  479. z-index: 1000 !important;
  480. }
  481. .context-menu {
  482. position: fixed;
  483. z-index: 100;
  484. }
  485. .editor-dark {
  486. color: @gray-lighter;
  487. background-color: @editor-dark-background-color;
  488. .ui-layout-resizer {
  489. background-color: darken(@editor-dark-background-color, 10%);
  490. border: none;
  491. }
  492. .btn-default {
  493. color: white;
  494. background-color: @gray;
  495. border-color: darken(@gray-dark, 10%);
  496. &:hover {
  497. background-color: darken(@gray, 5%);
  498. border-color: darken(@gray-dark, 20%);
  499. }
  500. }
  501. }
  502. .modal-alert {
  503. margin-top: 10px;
  504. margin-bottom: 0px;
  505. }
  506. // vertically centre the "connection down" modal so it does not hide
  507. // the reconnecting indicator
  508. .modal.lock-editor-modal {
  509. display: flex !important;
  510. background-color: rgba(0, 0, 0, 0.3);
  511. overflow-y: hidden;
  512. pointer-events: none;
  513. .modal-dialog {
  514. top: @line-height-computed;
  515. }
  516. }
  517. .out-of-sync-modal {
  518. .text-preview {
  519. margin-top: @line-height-computed / 2;
  520. .scroll-container {
  521. max-height: 360px;
  522. width: 100%;
  523. background-color: white;
  524. font-size: 0.8em;
  525. line-height: 1.1em;
  526. overflow: auto;
  527. border: 1px solid @gray-lighter;
  528. padding-left: 12px;
  529. padding-right: 12px;
  530. padding-top: 8px;
  531. padding-bottom: 8px;
  532. text-align: left;
  533. white-space: pre;
  534. font-family: monospace;
  535. }
  536. }
  537. }
  538. .sl_references_search_hint {
  539. position: relative;
  540. top: 100%;
  541. }
  542. .sl_references_search_hint {
  543. position: relative;
  544. left: -1px;
  545. text-align: center;
  546. padding: 2px;
  547. background: rgb(202, 214, 250);
  548. border: 1px solid lightgray;
  549. box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
  550. span {
  551. color: black;
  552. }
  553. }
  554. .bibtex-hint-banner,
  555. .references-search-banner {
  556. position: absolute;
  557. top: 8px;
  558. right: 8px;
  559. left: 8px;
  560. z-index: 10;
  561. display: flex;
  562. justify-content: space-between;
  563. padding: 5px 10px;
  564. }
  565. .references-search-banner {
  566. align-items: center;
  567. }
  568. .bibtex-hint-banner {
  569. align-items: flex-start;
  570. .bibtex-hint-close {
  571. color: inherit;
  572. margin-left: 10px;
  573. font-size: 24px;
  574. padding: 0;
  575. line-height: 1;
  576. border-radius: 0;
  577. &,
  578. &:hover,
  579. &:focus,
  580. &:active {
  581. background-color: transparent;
  582. }
  583. }
  584. }
  585. // -- References Search Modal --
  586. .references-search-modal-backdrop {
  587. // don't grey out the editor when the
  588. // modal is active
  589. background-color: transparent;
  590. }
  591. .references-search-modal {
  592. // upgrade prompt
  593. .references-search-upgrade-prompt {
  594. padding: 24px;
  595. padding-bottom: 48px;
  596. .upgrade-prompt {
  597. text-align: center;
  598. width: 400px;
  599. padding-top: 14px;
  600. padding-bottom: 14px;
  601. padding-left: 38px;
  602. padding-right: 38px;
  603. margin: auto;
  604. background: white;
  605. opacity: 0.95;
  606. border-radius: 8px;
  607. .message {
  608. margin-top: 15px;
  609. &.call-to-action {
  610. font-weight: bold;
  611. }
  612. ul.list-unstyled {
  613. text-align: left;
  614. }
  615. }
  616. a.btn {
  617. opacity: 1;
  618. }
  619. }
  620. }
  621. .search-form {
  622. // position the spinner inside the input element
  623. i.fa-spinner {
  624. margin-top: -30px;
  625. }
  626. }
  627. .alert-danger {
  628. margin-top: 12px;
  629. margin-bottom: 0px;
  630. }
  631. // search result items list
  632. .search-results {
  633. font-size: 12px;
  634. .no-results-message,
  635. .too-many-results-message {
  636. font-size: 16px;
  637. }
  638. .search-results-scroll-container {
  639. max-height: calc(100vh - 225px);
  640. overflow-y: auto;
  641. }
  642. .search-result-hit {
  643. &:hover {
  644. cursor: pointer;
  645. }
  646. border-bottom: 1px solid #ddd;
  647. padding: 8px;
  648. &:last-child {
  649. border-bottom: 1px solid transparent;
  650. }
  651. border-left: 4px solid transparent;
  652. &.selected-search-result-hit {
  653. color: @brand-success;
  654. }
  655. .hit-title {
  656. font-size: 1.3em;
  657. font-style: italic;
  658. }
  659. }
  660. }
  661. }
  662. .referencesImportModal {
  663. .referencesImportPreviewScroller {
  664. font-family: monospace;
  665. font-size: 0.8em;
  666. max-height: 360px;
  667. overflow: scroll;
  668. white-space: pre;
  669. padding: 8px 12px;
  670. margin-bottom: 15px;
  671. border: 1px solid @gray-lighter;
  672. background-color: @gray-lightest;
  673. }
  674. }
  675. .teaser-title,
  676. .dropbox-teaser-title {
  677. margin-top: 0;
  678. text-align: center;
  679. }
  680. .teaser-refresh-label {
  681. text-align: center;
  682. }
  683. .teaser-img,
  684. .dropbox-teaser-img {
  685. .img-responsive;
  686. margin-bottom: 5px;
  687. }
  688. .teaser-video-container,
  689. .dropbox-teaser-video-container {
  690. margin-top: -@modal-inner-padding;
  691. margin-left: -@modal-inner-padding;
  692. margin-right: -@modal-inner-padding;
  693. margin-bottom: 5px;
  694. overflow: hidden;
  695. }
  696. .teaser-video,
  697. .dropbox-teaser-video {
  698. width: 100%;
  699. height: auto;
  700. border-bottom: 1px solid @modal-header-border-color;
  701. }
  702. .spell-check-menu {
  703. > .dropdown-menu > li > a {
  704. padding: 2px 15px;
  705. }
  706. }
  707. .spell-check-menu-from-bottom {
  708. > .dropdown-menu {
  709. top: auto;
  710. bottom: 100%;
  711. }
  712. }
  713. // The source editor container is managed by jQuery's UI layout library, which adds an `overflow: hidden`
  714. // rule to it. This is problematic because we need overflowing content to be visible (the review panel
  715. // previews are shown on hover, visually outside the source editor container). As the `overflow: hidden`
  716. // rule is added automatically (inline and not configurable), the only workaround is to use `!important`.
  717. .editor-container {
  718. overflow: visible !important;
  719. }
  720. .pdf-preview-messages {
  721. position: absolute;
  722. right: @margin-sm;
  723. top: @margin-xl;
  724. z-index: @zindex-popover;
  725. }
  726. .compile-time-warning {
  727. padding: @padding-sm;
  728. background-color: @ol-green;
  729. width: 420px;
  730. box-shadow: 5px 5px 6px rgba(0, 0, 0, 0.3);
  731. .warning-content {
  732. display: flex;
  733. align-items: center;
  734. justify-content: space-between;
  735. margin-right: 32px;
  736. }
  737. .warning-text {
  738. max-width: 300px;
  739. padding-right: @alert-padding;
  740. display: inline-block;
  741. font-size: @font-size-small;
  742. }
  743. .upgrade-prompt {
  744. display: inline-flex;
  745. }
  746. button.btn {
  747. background-color: @ol-darker-green;
  748. &.close {
  749. background-color: @ol-green;
  750. }
  751. }
  752. }
  753. .cm6-switch-away-survey {
  754. padding: @padding-sm;
  755. box-shadow: 5px 5px 6px rgba(0, 0, 0, 0.3);
  756. background-color: @ol-blue;
  757. width: 530px;
  758. position: absolute;
  759. right: @margin-sm;
  760. bottom: @margin-xl;
  761. z-index: @zindex-popover;
  762. .btn.close {
  763. background-color: transparent;
  764. color: #fff;
  765. opacity: 1;
  766. }
  767. .warning-content {
  768. display: flex;
  769. align-items: center;
  770. justify-content: space-between;
  771. margin-right: 32px;
  772. }
  773. .warning-text {
  774. padding-right: @alert-padding;
  775. display: inline-block;
  776. font-size: @font-size-small;
  777. }
  778. }
  779. .grammarly-warning {
  780. width: 500px;
  781. &.alert.alert-info {
  782. padding: @padding-sm;
  783. }
  784. .btn.close {
  785. background-color: transparent;
  786. color: @white;
  787. opacity: 1;
  788. }
  789. .warning-content {
  790. padding-right: @alert-padding;
  791. font-size: @font-size-small;
  792. margin-right: 32px;
  793. .warning-link {
  794. font-weight: 700;
  795. text-decoration: none;
  796. &:hover {
  797. text-decoration: underline;
  798. }
  799. }
  800. }
  801. }