settings.scss 18 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304
  1. /* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
  2. This file is licensed under the Affero General Public License version 3 or later.
  3. See the COPYING-README file. */
  4. @use 'variables';
  5. @use 'sass:math';
  6. @import 'functions';
  7. input {
  8. &#openid, &#webdav {
  9. width: 20em;
  10. }
  11. }
  12. /* PERSONAL */
  13. .clear {
  14. clear: both;
  15. }
  16. /* icons for sidebar */
  17. .nav-icon-personal-settings {
  18. @include icon-color('personal', 'settings', variables.$color-black);
  19. }
  20. .nav-icon-security {
  21. @include icon-color('toggle-filelist', 'settings', variables.$color-black);
  22. }
  23. .nav-icon-clientsbox {
  24. @include icon-color('change', 'settings', variables.$color-black);
  25. }
  26. .nav-icon-federated-cloud {
  27. @include icon-color('share', 'settings', variables.$color-black);
  28. }
  29. .nav-icon-second-factor-backup-codes, .nav-icon-ssl-root-certificate {
  30. @include icon-color('password', 'settings', variables.$color-black);
  31. }
  32. #personal-settings-avatar-container {
  33. display: inline-grid;
  34. grid-template-columns: 1fr;
  35. grid-template-rows: 2fr 1fr 2fr;
  36. vertical-align: top;
  37. }
  38. .profile-settings-container {
  39. display: inline-grid;
  40. grid-template-columns: 1fr 1fr 1fr;
  41. }
  42. .personal-show-container {
  43. width: 100%;
  44. }
  45. .personal-settings-setting-box {
  46. .section {
  47. padding: 10px 30px;
  48. .headerbar-label {
  49. margin-bottom: 0;
  50. }
  51. input {
  52. &[type='text'], &[type='email'], &[type='tel'], &[type='url'] {
  53. width: 100%;
  54. }
  55. }
  56. }
  57. &-profile {
  58. grid-row: 3/5;
  59. }
  60. &-detail {
  61. grid-row: 5;
  62. }
  63. &-detail--without-profile {
  64. grid-row: 3;
  65. }
  66. }
  67. select {
  68. &#timezone {
  69. width: 100%;
  70. }
  71. }
  72. #personal-settings {
  73. display: grid;
  74. padding: 20px;
  75. max-width: 1700px;
  76. grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  77. grid-column-gap: 10px;
  78. .section {
  79. padding: 10px 10px;
  80. border: 0;
  81. h2 {
  82. margin-bottom: 12px;
  83. }
  84. h3 {
  85. > label {
  86. font-weight: bold;
  87. }
  88. }
  89. }
  90. .personal-info {
  91. margin-right: 10%;
  92. margin-bottom: 12px;
  93. margin-top: 12px;
  94. }
  95. .personal-info[class^='icon-'], .personal-info[class*=' icon-'] {
  96. background-position: 0px 2px;
  97. padding-left: 30px;
  98. opacity: 0.7;
  99. }
  100. }
  101. // Button for 'Reasons to use Nextcloud in your organization'
  102. .development-notice {
  103. text-align: center;
  104. a:not(.link-button) {
  105. text-decoration: underline;
  106. }
  107. }
  108. .link-button {
  109. display: inline-block;
  110. margin: 16px;
  111. padding: 14px 20px;
  112. background-color: var(--color-primary-element);
  113. color: var(--color-primary-element-text);
  114. border-radius: var(--border-radius-pill);
  115. border: 1px solid var(--color-primary-element);
  116. box-shadow: 0 2px 9px var(--color-box-shadow);
  117. &:active,
  118. &:hover,
  119. &:focus,
  120. &:focus-visible {
  121. box-shadow: 0 0 0 4px var(--color-main-background) !important;
  122. outline: 2px solid var(--color-main-text) !important;
  123. }
  124. &.icon-file {
  125. padding-left: 48px;
  126. background-position: 24px;
  127. }
  128. }
  129. .personal-settings-container {
  130. display: inline-grid;
  131. grid-template-columns: 1fr 1fr 1fr;
  132. &:after {
  133. clear: both;
  134. }
  135. > div {
  136. h3 {
  137. position: relative;
  138. display: inline-flex;
  139. flex-wrap: nowrap;
  140. justify-content: flex-start;
  141. width: 100%;
  142. align-items: center;
  143. gap: 8px;
  144. > label {
  145. white-space: nowrap;
  146. text-overflow: ellipsis;
  147. overflow: hidden;
  148. }
  149. }
  150. > form span {
  151. &[class^='icon-checkmark'], &[class^='icon-error'] {
  152. position: relative;
  153. right: 8px;
  154. top: -28px;
  155. pointer-events: none;
  156. float: right;
  157. }
  158. }
  159. }
  160. .verify {
  161. position: relative;
  162. left: 100%;
  163. top: 0;
  164. height: 0;
  165. img {
  166. padding: 12px 7px 6px;
  167. }
  168. }
  169. .verify-action {
  170. cursor: pointer;
  171. }
  172. input:disabled {
  173. background-color: white;
  174. color: black;
  175. border: none;
  176. opacity: 100;
  177. }
  178. }
  179. /* verify accounts */
  180. /* only show pointer cursor when popup will be there */
  181. .verification-dialog {
  182. display: none;
  183. right: -9px;
  184. top: 40px;
  185. width: 275px;
  186. p {
  187. padding: 10px;
  188. }
  189. .verificationCode {
  190. font-family: monospace;
  191. display: block;
  192. overflow-wrap: break-word;
  193. }
  194. }
  195. .federation-menu {
  196. position: relative;
  197. cursor: pointer;
  198. width: 44px;
  199. height: 44px;
  200. padding: 10px;
  201. margin: 0;
  202. background: none;
  203. border: none;
  204. &:hover,
  205. &:focus {
  206. background-color: var(--color-background-hover);
  207. border-radius: var(--border-radius-pill);
  208. .icon-federation-menu {
  209. opacity: 0.8;
  210. }
  211. }
  212. .icon-federation-menu {
  213. padding-left: 16px;
  214. background-size: 16px;
  215. background-position: left center;
  216. opacity: .3;
  217. cursor: inherit;
  218. .icon-triangle-s {
  219. display: inline-block;
  220. vertical-align: middle;
  221. cursor: inherit;
  222. }
  223. }
  224. .federationScopeMenu {
  225. top: 44px;
  226. &.popovermenu {
  227. .menuitem {
  228. // override h3 heading font size
  229. font-size: 12.8px;
  230. line-height: 1.6em;
  231. .menuitem-text-detail {
  232. opacity: .75;
  233. }
  234. &.active {
  235. box-shadow: inset 2px 0 var(--color-primary-element);
  236. .menuitem-text {
  237. font-weight: bold;
  238. }
  239. }
  240. &.disabled {
  241. opacity: .5;
  242. cursor: default;
  243. * {
  244. cursor: default;
  245. }
  246. }
  247. }
  248. }
  249. }
  250. }
  251. .clientsbox img {
  252. height: 60px;
  253. }
  254. #sslCertificate {
  255. tr.expired {
  256. background-color: rgba(255, 0, 0, 0.5);
  257. }
  258. td {
  259. padding: 5px;
  260. }
  261. }
  262. #displaynameerror,
  263. #displaynamechanged {
  264. display: none;
  265. }
  266. input#identity {
  267. width: 20em;
  268. }
  269. #showWizard {
  270. display: inline-block;
  271. }
  272. .msg {
  273. &.success {
  274. color: #fff;
  275. background-color: #47a447;
  276. padding: 3px;
  277. }
  278. &.error {
  279. color: #fff;
  280. background-color: #d2322d;
  281. padding: 3px;
  282. }
  283. }
  284. table.nostyle {
  285. label {
  286. margin-right: 2em;
  287. }
  288. td {
  289. padding: 0.2em 0;
  290. }
  291. }
  292. #security-password {
  293. #passwordform {
  294. display: flex;
  295. flex-wrap: wrap;
  296. flex-direction: column;
  297. gap: 1rem;
  298. .input-control {
  299. display: flex;
  300. flex-wrap: wrap;
  301. flex-direction: column;
  302. label {
  303. margin-bottom: 0.5rem;
  304. }
  305. }
  306. #pass1, .personal-show-container {
  307. flex-shrink: 1;
  308. width: 300px;
  309. min-width: 150px;
  310. }
  311. // Extremely fragile code, to be replaced by PasswordField component soon
  312. .personal-show-container {
  313. #pass2 {
  314. position: relative;
  315. top: 0.5rem;
  316. }
  317. .personal-show-label {
  318. top: 34px !important;
  319. margin-right: 0;
  320. margin-top: 0 !important;
  321. right: 3px;
  322. }
  323. }
  324. #pass2 {
  325. width: 100%;
  326. }
  327. .password-state {
  328. display: inline-block;
  329. }
  330. .strengthify-wrapper {
  331. position: absolute;
  332. left: 0;
  333. width: 100%;
  334. border-radius: 0 0 2px 2px;
  335. margin-top: 5px;
  336. overflow: hidden;
  337. height: 3px;
  338. }
  339. }
  340. }
  341. /* Two-Factor Authentication (2FA) */
  342. #two-factor-auth {
  343. h3 {
  344. margin-top: 24px;
  345. }
  346. li > div {
  347. margin-left: 20px;
  348. }
  349. .two-factor-provider-settings-icon {
  350. width: 16px;
  351. height: 16px;
  352. vertical-align: sub;
  353. filter: var(--background-invert-if-dark);
  354. }
  355. }
  356. /* USERS */
  357. .isgroup {
  358. .groupname {
  359. width: 85%;
  360. display: block;
  361. overflow: hidden;
  362. text-overflow: ellipsis;
  363. }
  364. &.active .groupname {
  365. width: 65%;
  366. }
  367. }
  368. li.active {
  369. .delete,
  370. .rename {
  371. display: block;
  372. }
  373. }
  374. .app-navigation-entry-utils {
  375. .delete,
  376. .rename {
  377. display: none;
  378. }
  379. }
  380. #usersearchform {
  381. position: absolute;
  382. top: 2px;
  383. right: 0;
  384. input {
  385. width: 150px;
  386. }
  387. label {
  388. font-weight: bold;
  389. }
  390. }
  391. /* display table at full width */
  392. table.grid {
  393. width: 100%;
  394. th {
  395. height: 2em;
  396. padding: 0 1em 0 0;
  397. border-bottom: 1px solid var(--color-border);
  398. text-align: left;
  399. font-weight: normal;
  400. }
  401. td {
  402. border-bottom: 1px solid var(--color-border);
  403. padding: 0 1em 0 0;
  404. text-align: left;
  405. font-weight: normal;
  406. }
  407. }
  408. td, th {
  409. &.name {
  410. padding-left: .8em;
  411. min-width: 5em;
  412. max-width: 12em;
  413. text-overflow: ellipsis;
  414. overflow: hidden;
  415. }
  416. &.password {
  417. padding-left: .8em;
  418. > img {
  419. visibility: hidden;
  420. }
  421. }
  422. &.displayName > img {
  423. visibility: hidden;
  424. }
  425. &.password,
  426. &.mailAddress {
  427. min-width: 5em;
  428. max-width: 12em;
  429. cursor: pointer;
  430. span {
  431. width: 90%;
  432. display: inline-block;
  433. text-overflow: ellipsis;
  434. overflow: hidden;
  435. }
  436. }
  437. &.mailAddress {
  438. cursor: pointer;
  439. }
  440. &.password > span {
  441. margin-right: 1.2em;
  442. color: #C7C7C7;
  443. }
  444. }
  445. span.usersLastLoginTooltip {
  446. white-space: nowrap;
  447. }
  448. /* APPS */
  449. #app-content > svg.app-filter {
  450. float: left;
  451. height: 0;
  452. width: 0;
  453. }
  454. #app-category-app-bundles {
  455. margin-bottom: 20px;
  456. }
  457. .appinfo {
  458. margin: 1em 40px;
  459. }
  460. #app-navigation {
  461. /* Navigation icons */
  462. img {
  463. margin-bottom: -3px;
  464. margin-right: 6px;
  465. width: 16px;
  466. }
  467. li span.no-icon {
  468. padding-left: 32px;
  469. }
  470. ul li.active > span.utils {
  471. .delete, .rename {
  472. display: block;
  473. }
  474. }
  475. .appwarning {
  476. background: #fcc;
  477. }
  478. &.appwarning:hover {
  479. background: #fbb;
  480. }
  481. .app-external {
  482. color: var(--color-text-maxcontrast);
  483. }
  484. }
  485. span.version {
  486. margin-left: 1em;
  487. margin-right: 1em;
  488. color: var(--color-text-maxcontrast);
  489. }
  490. .app-version {
  491. color: var(--color-text-maxcontrast);
  492. }
  493. .app-settings-content {
  494. #searchresults {
  495. display: none;
  496. }
  497. }
  498. #apps-list.store {
  499. .section {
  500. border: 0;
  501. }
  502. .app-name {
  503. display: block;
  504. margin: 5px 0;
  505. }
  506. .app-image-icon .icon-settings-dark {
  507. width: 100%;
  508. height: 150px;
  509. background-size: 45px;
  510. opacity: 0.5;
  511. }
  512. .app-score-image {
  513. height: 14px;
  514. }
  515. .actions {
  516. margin-top: 10px;
  517. button {
  518. margin: 10px 0;
  519. }
  520. }
  521. }
  522. #app-sidebar #app-details-view {
  523. h2 {
  524. .icon-settings-dark,
  525. svg {
  526. display: inline-block;
  527. width: 16px;
  528. height: 16px;
  529. margin-right: 10px;
  530. opacity: .7;
  531. }
  532. }
  533. .app-author, .app-licence {
  534. color: var(--color-text-maxcontrast);
  535. }
  536. .app-dependencies {
  537. margin: 10px 0;
  538. }
  539. .app-description p {
  540. margin: 10px 0;
  541. }
  542. .close {
  543. position: absolute;
  544. top: 0;
  545. right: 0;
  546. padding: 14px;
  547. opacity: 0.5;
  548. z-index: 1;
  549. width: 44px;
  550. height: 44px;
  551. }
  552. .actions {
  553. display: flex;
  554. align-items: center;
  555. .app-groups {
  556. padding: 5px;
  557. }
  558. }
  559. .appslink {
  560. text-decoration: underline;
  561. margin-right: 5px;
  562. }
  563. .app-level,
  564. .actions,
  565. .documentation,
  566. .app-dependencies,
  567. .app-description {
  568. margin: 20px 0;
  569. }
  570. }
  571. @media only screen and (min-width: 1601px) {
  572. .store .section {
  573. width: 25%;
  574. }
  575. .with-app-sidebar .store .section {
  576. width: 33%;
  577. }
  578. }
  579. @media only screen and (max-width: 1600px) {
  580. .store .section {
  581. width: 25%;
  582. }
  583. .with-app-sidebar .store .section {
  584. width: 33%;
  585. }
  586. }
  587. @media only screen and (max-width: 1400px) {
  588. .store .section {
  589. width: 33%;
  590. }
  591. .with-app-sidebar .store .section {
  592. width: 50%;
  593. }
  594. }
  595. @media only screen and (max-width: 900px) {
  596. .store .section {
  597. width: 50%;
  598. }
  599. .with-app-sidebar .store .section {
  600. width: 100%;
  601. }
  602. }
  603. @media only screen and (max-width: variables.$breakpoint-mobile) {
  604. .store .section {
  605. width: 50%;
  606. }
  607. }
  608. @media only screen and (max-width: 480px) {
  609. .store .section {
  610. width: 100%;
  611. }
  612. }
  613. /* hide app version and level on narrower screens */
  614. @media only screen and (max-width: 900px) {
  615. .apps-list.installed {
  616. .app-version, .app-level {
  617. display: none !important;
  618. }
  619. }
  620. }
  621. @media only screen and (max-width: 500px) {
  622. .apps-list.installed .app-groups {
  623. display: none !important;
  624. }
  625. }
  626. .section {
  627. margin-bottom: 0;
  628. /* section divider lines, none needed for last one */
  629. &:not(:last-child) {
  630. border-bottom: 1px solid var(--color-border);
  631. }
  632. /* correctly display help icons next to headings */
  633. h2 {
  634. margin-bottom: 22px;
  635. .icon-info {
  636. padding: 6px 20px;
  637. vertical-align: text-bottom;
  638. display: inline-block;
  639. }
  640. }
  641. }
  642. .followupsection {
  643. display: block;
  644. padding: 0 30px 30px 30px;
  645. }
  646. .app-image {
  647. position: relative;
  648. height: 150px;
  649. opacity: 1;
  650. overflow: hidden;
  651. }
  652. .app-description-toggle-show, .app-description-toggle-hide {
  653. clear: both;
  654. padding: 7px 0;
  655. cursor: pointer;
  656. opacity: .5;
  657. }
  658. .app-description-container {
  659. clear: both;
  660. position: relative;
  661. top: 7px;
  662. }
  663. .app-description {
  664. clear: both;
  665. }
  666. #app-category-1 {
  667. margin-bottom: 18px;
  668. }
  669. /* capitalize 'Other' category */
  670. #app-category-925 {
  671. text-transform: capitalize;
  672. }
  673. .app-dependencies {
  674. color: #ce3702;
  675. }
  676. .missing-dependencies {
  677. list-style: initial;
  678. list-style-type: initial;
  679. list-style-position: inside;
  680. }
  681. .apps-list {
  682. $toolbar-padding: 8px;
  683. $toolbar-height: 44px + $toolbar-padding * 2;
  684. .app-list-move {
  685. transition: transform 1s;
  686. }
  687. #app-list-update-all {
  688. margin-left: 10px;
  689. }
  690. .toolbar {
  691. height: $toolbar-height;
  692. padding: $toolbar-padding;
  693. // Leave room for app-navigation-toggle
  694. padding-left: $toolbar-height;
  695. width: 100%;
  696. background-color: var(--color-main-background);
  697. position: sticky;
  698. top: 0;
  699. z-index: 1;
  700. display: flex;
  701. align-items: center;
  702. }
  703. &.installed {
  704. .apps-list-container {
  705. display: table;
  706. width: 100%;
  707. height: auto;
  708. white-space: normal;
  709. }
  710. margin-bottom: 100px;
  711. .section {
  712. display: table-row;
  713. padding: 0;
  714. margin: 0;
  715. > * {
  716. display: table-cell;
  717. height: initial;
  718. vertical-align: middle;
  719. float: none;
  720. border-bottom: 1px solid var(--color-border);
  721. padding: 6px;
  722. box-sizing: border-box;
  723. }
  724. > .actions {
  725. display: flex;
  726. gap: 8px;
  727. flex-wrap: wrap;
  728. justify-content: end;
  729. }
  730. &.selected {
  731. background-color: var(--color-background-dark);
  732. }
  733. }
  734. .groups-enable {
  735. margin-top: 0;
  736. label {
  737. margin-right: 3px;
  738. }
  739. }
  740. .app-image {
  741. width: 44px;
  742. height: auto;
  743. text-align: right;
  744. }
  745. .app-image-icon svg,
  746. .app-image-icon .icon-settings-dark {
  747. margin-top: 5px;
  748. width: 20px;
  749. height: 20px;
  750. opacity: .5;
  751. background-size: cover;
  752. display: inline-block;
  753. }
  754. .actions {
  755. text-align: right;
  756. .icon-loading-small {
  757. display: inline-block;
  758. top: 4px;
  759. margin-right: 10px;
  760. }
  761. }
  762. }
  763. &:not(.installed) .app-image-icon svg {
  764. position: absolute;
  765. bottom: 43px;
  766. /* position halfway vertically */
  767. width: 64px;
  768. height: 64px;
  769. opacity: .1;
  770. }
  771. display: flex;
  772. flex-wrap: wrap;
  773. align-content: flex-start;
  774. &.hidden {
  775. display: none;
  776. }
  777. .section {
  778. position: relative;
  779. flex: 0 0 auto;
  780. h2.app-name {
  781. display: block;
  782. margin: 8px 0;
  783. }
  784. &:hover {
  785. background-color: var(--color-background-dark);
  786. }
  787. }
  788. .app-description {
  789. p {
  790. margin: 10px 0;
  791. }
  792. ul {
  793. list-style: disc;
  794. }
  795. ol {
  796. list-style: decimal;
  797. ol, ul {
  798. padding-left: 15px;
  799. }
  800. }
  801. > {
  802. ul, ol {
  803. margin-left: 19px;
  804. }
  805. }
  806. ul {
  807. ol, ul {
  808. padding-left: 15px;
  809. }
  810. }
  811. }
  812. /* Bundle header */
  813. .apps-header {
  814. position: relative;
  815. div {
  816. display: table-cell;
  817. height: 70px;
  818. }
  819. h2 {
  820. padding-left: 6px;
  821. padding-top: 15px;
  822. margin-bottom: 12px;
  823. .enable {
  824. position: relative;
  825. top: -1px;
  826. margin-left: 12px;
  827. }
  828. + .section {
  829. margin-top: 50px;
  830. }
  831. }
  832. }
  833. }
  834. // Display buttons above each other on mobile
  835. @media (max-width: math.div(variables.$breakpoint-mobile, 2)) {
  836. .apps-list.installed .section > .actions {
  837. display: table-cell;
  838. }
  839. }
  840. #apps-list-search {
  841. .section {
  842. h2 {
  843. margin-bottom: 0;
  844. }
  845. }
  846. }
  847. /* LOG */
  848. #log {
  849. white-space: normal;
  850. margin-bottom: 14px;
  851. }
  852. #lessLog {
  853. display: none;
  854. }
  855. table.grid td.date {
  856. white-space: nowrap;
  857. }
  858. #log-section p {
  859. margin-top: 20px;
  860. }
  861. #security-warning-state-ok,
  862. #security-warning-state-warning,
  863. #security-warning-state-failure,
  864. #security-warning-state-loading {
  865. span {
  866. vertical-align: middle;
  867. &.message {
  868. padding: 12px;
  869. }
  870. &.icon {
  871. width: 32px;
  872. height: 32px;
  873. background-position: center center;
  874. display: inline-block;
  875. border-radius: 50%;
  876. }
  877. &.icon-checkmark-white {
  878. background-color: var(--color-success);
  879. }
  880. &.icon-error-white {
  881. background-color: var(--color-warning);
  882. }
  883. &.icon-close-white {
  884. background-color: var(--color-error);
  885. }
  886. }
  887. }
  888. #shareAPI {
  889. &.loading > div {
  890. display: none;
  891. }
  892. p {
  893. padding-bottom: 0.8em;
  894. }
  895. .indent {
  896. padding-left: 28px;
  897. }
  898. .double-indent {
  899. padding-left: 56px;
  900. }
  901. .nocheckbox {
  902. padding-left: 20px;
  903. }
  904. #s2id_linksExcludedGroups {
  905. width: 200px !important;
  906. }
  907. }
  908. #shareApiDefaultPermissionsSection label {
  909. margin-right: 20px;
  910. }
  911. #fileSharingSettings h3 {
  912. display: inline-block;
  913. }
  914. #publicShareDisclaimerText {
  915. width: calc(100% - 23px);
  916. /* 20 px left margin, 3 px right margin */
  917. max-width: 600px;
  918. height: 150px;
  919. margin-left: 20px;
  920. box-sizing: border-box;
  921. }
  922. /* correctly display help icons next to headings */
  923. .icon-info {
  924. padding: 11px 20px;
  925. vertical-align: text-bottom;
  926. opacity: .5;
  927. }
  928. #two-factor-auth h2,
  929. #shareAPI h2,
  930. #mail_general_settings h2 {
  931. display: inline-block;
  932. }
  933. .mail_settings p {
  934. label:first-child {
  935. display: inline-block;
  936. width: 300px;
  937. text-align: right;
  938. }
  939. select:nth-child(2),
  940. input:not([type='button']) {
  941. width: 143px;
  942. }
  943. }
  944. @media (max-width: calc(variables.$breakpoint-mobile * 0.75)) {
  945. .mail_settings p label:first-child {
  946. width: unset;
  947. text-align: left;
  948. display: block;
  949. margin-top: calc(var(--default-grid-baseline) * 2);
  950. }
  951. }
  952. #mail_smtpport {
  953. width: 60px;
  954. }
  955. .cronlog {
  956. margin-left: 10px;
  957. }
  958. .status {
  959. display: inline-block;
  960. height: 16px;
  961. width: 16px;
  962. vertical-align: text-bottom;
  963. &.success {
  964. border-radius: 50%;
  965. }
  966. }
  967. #selectGroups select {
  968. box-sizing: border-box;
  969. display: inline-block;
  970. height: 36px;
  971. padding: 7px 10px;
  972. }
  973. #log .log-message {
  974. word-break: break-all;
  975. min-width: 180px;
  976. }
  977. span {
  978. &.success {
  979. background-color: var(--color-success);
  980. border-radius: var(--border-radius);
  981. }
  982. &.error {
  983. background-color: var(--color-error);
  984. }
  985. &.indeterminate {
  986. background-color: var(--color-warning);
  987. border-radius: 40% 0;
  988. }
  989. }
  990. /* OPERA hack for strengthify*/
  991. doesnotexist:-o-prefocus, .strengthify-wrapper {
  992. left: 185px;
  993. width: 129px;
  994. }
  995. .trusted-domain-warning {
  996. color: #fff;
  997. padding: 5px;
  998. background: #ce3702;
  999. border-radius: 5px;
  1000. font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  1001. }
  1002. #postsetupchecks {
  1003. ul {
  1004. margin-left: 44px;
  1005. list-style: disc;
  1006. li {
  1007. margin: 10px 0;
  1008. }
  1009. ul {
  1010. list-style: circle;
  1011. }
  1012. }
  1013. .loading {
  1014. height: 50px;
  1015. background-position: left center;
  1016. }
  1017. .errors, .errors a {
  1018. color: var(--color-error);
  1019. }
  1020. .warnings, .warnings a {
  1021. color: var(--color-warning);
  1022. }
  1023. .hint {
  1024. margin: 20px 0;
  1025. }
  1026. }
  1027. #security-warning {
  1028. a {
  1029. text-decoration: underline;
  1030. }
  1031. .extra-top-margin {
  1032. margin-top: 12px;
  1033. }
  1034. }
  1035. .security-warning__heading {
  1036. display: flex;
  1037. flex-wrap: wrap;
  1038. margin-bottom: calc(var(--default-grid-baseline) * 8);
  1039. > h2 {
  1040. margin-bottom: 0px;
  1041. }
  1042. > a {
  1043. width: 44px;
  1044. }
  1045. }
  1046. #admin-tips li {
  1047. list-style: initial;
  1048. a {
  1049. display: inline-block;
  1050. padding: 3px 0;
  1051. }
  1052. }
  1053. #warning {
  1054. color: red;
  1055. }
  1056. .settings-hint {
  1057. margin-top: -12px;
  1058. margin-bottom: 12px;
  1059. opacity: .7;
  1060. }
  1061. .animated {
  1062. animation: blink-animation 1s steps(5, start) 4;
  1063. }
  1064. @keyframes blink-animation {
  1065. to {
  1066. opacity: 0.6;
  1067. }
  1068. }
  1069. @-webkit-keyframes blink-animation {
  1070. to {
  1071. opacity: 1;
  1072. }
  1073. }