settings.scss 18 KB

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