swage.scss 19 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444
  1. @charset "UTF-8";
  2. //colors
  3. $color_text: #181621;
  4. $color_light: #fcfcfc;
  5. $color_nav: #0062be;
  6. $color_aside: #22303d;
  7. $color_alert: #fa8052;
  8. $color_good: #5eaabf;
  9. $color_bad: #b0425b;
  10. $color_stared: #fff6da;
  11. $color_unread: #fff3ed;
  12. $color_hover: #fff;
  13. // @extend-elements
  14. %input {
  15. min-height: 25px;
  16. margin-top: 4px;
  17. line-height: 25px;
  18. vertical-align: middle;
  19. background: $color_light;
  20. border: none;
  21. padding-left: 5px;
  22. }
  23. %invalid {
  24. color: $color_bad;
  25. border-color: $color_bad;
  26. box-shadow: none;
  27. }
  28. %nav-list {
  29. height: 2.5em;
  30. line-height: 2.5em;
  31. font-size: 0.9rem;
  32. }
  33. %dropdown {
  34. padding: 0 22px;
  35. color: $color_light;
  36. font-size: 0.8rem;
  37. line-height: 2.5em;
  38. }
  39. %after {
  40. content: "";
  41. display: block;
  42. clear: both;
  43. }
  44. %aside-width {
  45. width: 231px;
  46. }
  47. // /@extend-elements
  48. html,
  49. body {
  50. height: 100%;
  51. font-family: Helvetica, Arial, sans-serif;
  52. }
  53. a {
  54. color: darken( $color_nav, 10%);
  55. outline: none;
  56. &.btn {
  57. min-height: 25px;
  58. line-height: 25px;
  59. text-decoration: none;
  60. &:hover {
  61. background: darken( $color_nav, 10%);
  62. }
  63. }
  64. &#btn-subscription {
  65. width: 76%;
  66. }
  67. &#btn-add {
  68. width: 5%;
  69. }
  70. }
  71. img {
  72. &.icon:hover {
  73. background: none;
  74. }
  75. }
  76. div#stream {
  77. margin-top: 35px;
  78. }
  79. sup {
  80. top: -0.3em;
  81. }
  82. legend {
  83. margin: 20px 0 5px;
  84. padding: 5px 20px;
  85. background: darken( $color_light, 10%);
  86. display: inline-block;
  87. width: auto;
  88. font-size: 1.4em;
  89. clear: both;
  90. }
  91. label {
  92. min-height: 25px;
  93. }
  94. textarea {
  95. background: darken( $color_light, 10% );
  96. width: 360px;
  97. height: 100px;
  98. @extend %input;
  99. &:focus {
  100. border-color: darken( $color_nav, 10%);
  101. }
  102. }
  103. input,
  104. select {
  105. @extend %input;
  106. &:focus {
  107. border-color: darken( $color_nav, 10%);
  108. }
  109. &:invalid {
  110. @extend %invalid;
  111. }
  112. &:disabled {
  113. background: $color_light;
  114. }
  115. }
  116. select {
  117. background: darken( $color_light, 10% );
  118. }
  119. input {
  120. &.extend {
  121. transition: width 200ms linear;
  122. }
  123. }
  124. option {
  125. padding: 0 .5em;
  126. }
  127. table {
  128. border-collapse: collapse;
  129. }
  130. tr,
  131. td,
  132. th {
  133. padding: 0.5em;
  134. border: 1px solid darken( $color_light, 10%);
  135. }
  136. th {
  137. background: $color_light;
  138. }
  139. form {
  140. td,
  141. th {
  142. font-weight: normal;
  143. text-align: center;
  144. }
  145. }
  146. .category {
  147. .title.error::before {
  148. display: inline-block;
  149. padding-right: 7px;
  150. width: 16px;
  151. content: url(../Swage/icons/error.svg);
  152. }
  153. }
  154. .form-group {
  155. padding: 5px;
  156. border: 1px solid transparent;
  157. &:hover {
  158. background: $color_light;
  159. border: 1px solid $color_light;
  160. }
  161. &.form-actions {
  162. margin: 15px 0 25px;
  163. padding: 5px 0;
  164. background: darken( $color_light, 10%);
  165. border-top: 3px solid darken( $color_light, 10%);
  166. .btn {
  167. margin: 0 10px;
  168. }
  169. }
  170. .group-name {
  171. padding: 10px 0;
  172. text-align: right;
  173. }
  174. .group-controls {
  175. min-height: 25px;
  176. padding: 5px 0;
  177. .control {
  178. line-height: 2.0em;
  179. }
  180. }
  181. table {
  182. margin: 10px 0 0 220px;
  183. }
  184. }
  185. .form-group::after {
  186. @extend %after;
  187. }
  188. .stick {
  189. vertical-align: middle;
  190. font-size: 0;
  191. &.configure-feeds {
  192. @extend %aside-width;
  193. }
  194. }
  195. .btn {
  196. margin: 0;
  197. padding: 5px 10px;
  198. background: $color_nav;
  199. display: inline-block;
  200. color: $color_light;
  201. font-size: 0.9rem;
  202. border: none;
  203. min-height: 35px;
  204. min-width: 15px;
  205. vertical-align: middle;
  206. cursor: pointer;
  207. overflow: hidden;
  208. &.active,
  209. :active,
  210. :hover {
  211. background: darken( $color_nav, 10%);
  212. text-decoration: none;
  213. }
  214. }
  215. .btn-important, .btn-attention {
  216. font-weight: normal;
  217. background: $color_alert;
  218. color: $color_light;
  219. &:hover,
  220. :active {
  221. background: darken( $color_alert, 10%) !important;
  222. }
  223. }
  224. .nav-list {
  225. .nav-header {
  226. @extend %nav-list;
  227. padding: 0 10px;
  228. font-weight: bold;
  229. background: $color_aside;
  230. color: $color_light;
  231. cursor: default;
  232. }
  233. .item {
  234. @extend %nav-list;
  235. &:hover,
  236. &.active {
  237. background: darken( $color_nav, 10%);
  238. color: $color_light;
  239. a {
  240. color: $color_light;
  241. }
  242. &.empty a,
  243. .error a {
  244. color: $color_light;
  245. }
  246. &.empty a {
  247. background: $color_alert;
  248. }
  249. &.error a {
  250. background: lighten( $color_bad, 10%);
  251. }
  252. }
  253. > a {
  254. padding: 0 10px;
  255. }
  256. &.empty a {
  257. color: $color_alert;
  258. }
  259. &.error a {
  260. color: lighten( $color_bad, 10%);
  261. }
  262. }
  263. .disable {
  264. text-align: center;
  265. background: $color_light;
  266. color: darken( $color_light, 40% );
  267. }
  268. .nav-form {
  269. padding: 3px;
  270. text-align: center;
  271. }
  272. a:hover {
  273. text-decoration: none;
  274. }
  275. }
  276. .nav-head {
  277. margin: 0;
  278. text-align: right;
  279. background: $color_aside;
  280. color: $color_light;
  281. a {
  282. color: $color_light;
  283. }
  284. .item {
  285. padding: 5px 10px;
  286. font-size: 0.9rem;
  287. line-height: 1.5rem;
  288. }
  289. }
  290. .horizontal-list {
  291. margin: 0;
  292. padding: 0;
  293. .item {
  294. vertical-align: middle;
  295. }
  296. }
  297. .dropdown-menu {
  298. padding: 5px 0;
  299. font-size: 0.8rem;
  300. text-align: left;
  301. border: none;
  302. background-color: darken( $color_nav, 10%);
  303. .dropdown-header {
  304. cursor: default;
  305. }
  306. > {
  307. .item {
  308. @extend %dropdown;
  309. padding: 0;
  310. margin-left: 10px;
  311. > a,
  312. > span,
  313. > .as-link,
  314. button {
  315. @extend %dropdown;
  316. }
  317. > a {
  318. min-width: initial;
  319. white-space: nowrap;
  320. }
  321. &:hover {
  322. background: $color_nav;
  323. color: $color_light;
  324. > a {
  325. text-decoration: none;
  326. color: $color_light;
  327. }
  328. }
  329. }
  330. .item[aria-checked="true"] > a::before {
  331. font-weight: bold;
  332. margin: 0 0 0 -14px;
  333. }
  334. }
  335. .input {
  336. select,
  337. input {
  338. margin: 0 auto 5px;
  339. padding: 2px 5px;
  340. }
  341. }
  342. }
  343. .dropdown-header {
  344. padding: 0 5px 5px;
  345. font-weight: bold;
  346. text-align: left;
  347. color: $color_light;
  348. }
  349. .separator {
  350. margin: 5px 0;
  351. border-bottom: 1px solid darken( $color_light, 10%);
  352. cursor: default;
  353. }
  354. .alert {
  355. margin: 5px auto;
  356. padding: 10px 15px;
  357. background: $color_light;
  358. color: darken( $color_light, 40% );
  359. font-size: 0.9em;
  360. border: none;
  361. text-shadow: 0 0 1px $color_light;
  362. > a {
  363. color: inherit;
  364. text-decoration: underline;
  365. }
  366. }
  367. .alert-head {
  368. font-size: 1.15em;
  369. }
  370. .alert-warn,
  371. .alert-success,
  372. .alert-error {
  373. border: none;
  374. }
  375. .alert-warn {
  376. background: $color_light;
  377. color: $color_alert;
  378. }
  379. .alert-success {
  380. background: $color_light;
  381. color: $color_good;
  382. }
  383. .alert-error {
  384. background: $color_light;
  385. color: $color_bad;
  386. }
  387. .pagination {
  388. background: darken( $color_light, 10%);
  389. color: $color_text;
  390. font-size: 0.8em;
  391. text-align: center;
  392. .item {
  393. &.pager-current {
  394. background: $color_aside;
  395. color: darken( $color_light, 10%);
  396. font-size: 1.5em;
  397. font-weight: bold;
  398. }
  399. a {
  400. display: block;
  401. color: $color_text;
  402. font-style: italic;
  403. line-height: 3em;
  404. text-decoration: none;
  405. &:hover {
  406. background: $color_aside;
  407. color: darken( $color_light, 10%);
  408. }
  409. }
  410. }
  411. .loading,
  412. a:hover.loading {
  413. background: url(loader.gif) center center no-repeat $color_aside;
  414. font-size: 0;
  415. }
  416. }
  417. .content {
  418. padding: 20px 10px;
  419. .pagination {
  420. margin: 0;
  421. padding: 0;
  422. }
  423. hr {
  424. margin: 30px 10px;
  425. background: darken( $color_light, 10%);
  426. height: 1px;
  427. border: 0;
  428. box-shadow: 0 2px 5px darken( $color_light, 10%);
  429. }
  430. pre {
  431. margin: 10px auto;
  432. padding: 10px 20px;
  433. overflow: auto;
  434. background: $color_text;
  435. color: $color_light;
  436. font-size: 0.9rem;
  437. code {
  438. background: transparent;
  439. color: $color_light;
  440. border: none;
  441. }
  442. }
  443. code {
  444. padding: 2px 5px;
  445. background: $color_light;
  446. color: $color_bad;
  447. border: 1px solid $color_light;
  448. }
  449. blockquote {
  450. margin: 0;
  451. padding: 5px 20px;
  452. background: $color_light;
  453. display: block;
  454. color: darken( $color_light, 40% );
  455. border-top: 1px solid darken( $color_light, 10%);
  456. border-bottom: 1px solid darken( $color_light, 10%);
  457. p {
  458. margin: 0;
  459. }
  460. }
  461. > h1.title > a {
  462. color: $color_text;
  463. }
  464. }
  465. .box {
  466. border: 1px solid darken( $color_light, 10%);
  467. .box-title {
  468. margin: 0;
  469. padding: 5px 10px;
  470. background: darken( $color_light, 10%);
  471. color: darken( $color_light, 40% );
  472. border-bottom: 1px solid darken( $color_light, 10%);
  473. }
  474. .box-content {
  475. max-height: 260px;
  476. .item {
  477. padding: 0 10px;
  478. font-size: 0.9rem;
  479. line-height: 2.5em;
  480. .configure {
  481. visibility: hidden;
  482. .icon {
  483. vertical-align: middle;
  484. background-color: darken( $color_light, 10%);
  485. }
  486. }
  487. &:hover .configure {
  488. visibility: visible;
  489. }
  490. }
  491. }
  492. &.category {
  493. .box-title .title {
  494. font-weight: normal;
  495. text-decoration: none;
  496. text-align: left;
  497. }
  498. &:not([data-unread="0"]) .box-title {
  499. background: $color_nav;
  500. &:active {
  501. background: darken( $color_nav, 10%);
  502. }
  503. .title {
  504. font-weight: bold;
  505. color: $color_light;
  506. }
  507. }
  508. .title:not([data-unread="0"])::after {
  509. background: none;
  510. border: 0;
  511. box-shadow: none;
  512. position: absolute;
  513. top: 5px;
  514. right: 10px;
  515. font-weight: bold;
  516. text-shadow: none;
  517. }
  518. .item.feed {
  519. padding: 2px 10px;
  520. font-size: 0.8rem;
  521. }
  522. }
  523. }
  524. .tree {
  525. margin: 10px 0;
  526. }
  527. .tree-folder-title {
  528. padding: 0 10px;
  529. background: $color_aside;
  530. height: 35px;
  531. font-size: 1rem;
  532. position: relative;
  533. line-height: 2.3rem;
  534. .title {
  535. background: inherit;
  536. color: $color_light;
  537. &:hover {
  538. text-decoration: none;
  539. }
  540. }
  541. }
  542. .tree-folder-items {
  543. background: $color_aside;
  544. > .item {
  545. padding: 0 10px;
  546. line-height: 2.5rem;
  547. font-size: 0.8rem;
  548. &.active {
  549. background: darken( $color_nav, 10%);
  550. }
  551. > a {
  552. text-decoration: none;
  553. color: $color_light;
  554. }
  555. }
  556. }
  557. @supports (scrollbar-width: thin) {
  558. #sidebar {
  559. scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
  560. }
  561. #sidebar:hover {
  562. scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
  563. }
  564. }
  565. @supports not (scrollbar-width: thin) {
  566. #sidebar::-webkit-scrollbar-thumb {
  567. background: rgba(255, 255, 255, 0.1);
  568. }
  569. #sidebar:hover::-webkit-scrollbar-thumb {
  570. background: rgba(255, 255, 255, 0.3);
  571. }
  572. }
  573. .header {
  574. > .item {
  575. vertical-align: middle;
  576. &.title {
  577. @extend %aside-width;
  578. position: absolute;
  579. h1 {
  580. margin: 0;
  581. display: block;
  582. a {
  583. text-decoration: none;
  584. color: $color_light;
  585. }
  586. }
  587. .logo {
  588. display: inline-block;
  589. height: 26px;
  590. vertical-align: top;
  591. position: relative;
  592. top: 5px;
  593. }
  594. }
  595. &.search input {
  596. width: 230px;
  597. }
  598. }
  599. .item.search input:focus {
  600. width: 350px;
  601. }
  602. .item.search {
  603. display: none;
  604. }
  605. .item.configure {
  606. position: fixed;
  607. right: 0px;
  608. z-index: 1000;
  609. width: 35px;
  610. }
  611. h1 {
  612. text-align: center;
  613. font-size: 1.5em;
  614. }
  615. }
  616. .aside {
  617. padding: 35px 0;
  618. background: $color_aside;
  619. @extend %aside-width;
  620. &.aside_feed {
  621. .tree {
  622. margin: 0 0 50px;
  623. }
  624. .nav-form {
  625. input,
  626. select {
  627. width: 140px;
  628. }
  629. .dropdown {
  630. .dropdown-menu {
  631. right: -20px;
  632. }
  633. .dropdown-menu::after {
  634. right: 33px;
  635. }
  636. }
  637. }
  638. }
  639. }
  640. .aside_feed {
  641. .tree-folder-title > .title:not([data-unread="0"])::after {
  642. margin: 6px 0;
  643. padding: 0 10px;
  644. background: inherit;
  645. font-size: 0.9rem;
  646. position: absolute;
  647. right: 0;
  648. line-height: 1.5rem;
  649. }
  650. .tree-folder-items .dropdown-menu::after {
  651. left: 2px;
  652. }
  653. }
  654. .post {
  655. padding: 10px 50px;
  656. font-size: 0.9em;
  657. input {
  658. background: darken( $color_light, 10% );
  659. &.long {
  660. height: 33px;
  661. margin-top: 0px;
  662. }
  663. }
  664. form {
  665. margin: 10px 0;
  666. }
  667. &.content {
  668. max-width: 550px;
  669. }
  670. }
  671. .prompt {
  672. text-align: center;
  673. label {
  674. text-align: left;
  675. }
  676. form {
  677. margin: 10px auto 20px auto;
  678. width: 200px;
  679. }
  680. input {
  681. margin: 5px auto;
  682. width: 100%;
  683. }
  684. p {
  685. margin: 20px 0;
  686. }
  687. }
  688. #new-article {
  689. background: $color_nav;
  690. font-size: 1em;
  691. text-align: center;
  692. position: fixed;
  693. bottom: 48px;
  694. z-index: 900;
  695. left: 0;
  696. line-height: 1.5em;
  697. @extend %aside-width;
  698. &:hover {
  699. background: darken( $color_nav, 10%);
  700. }
  701. > a {
  702. line-height: 1.5em;
  703. font-weight: bold;
  704. color: $color_light;
  705. &:hover {
  706. text-decoration: none;
  707. }
  708. }
  709. }
  710. .day {
  711. padding: 0 10px;
  712. font-weight: bold;
  713. line-height: 3em;
  714. text-align: center;
  715. .name {
  716. display: none;
  717. }
  718. }
  719. .nav {
  720. a {
  721. color: $color_light;
  722. }
  723. }
  724. .nav_menu {
  725. width: 100%;
  726. font-size: 0;
  727. background-color: $color_nav;
  728. position: fixed;
  729. z-index: 900;
  730. .item.search {
  731. display: inline-block;
  732. position: fixed;
  733. right: 40px;
  734. }
  735. }
  736. .flux {
  737. padding-right: 10px;
  738. background: $color_light;
  739. &::after {
  740. @extend %after;
  741. margin: 0 auto;
  742. width: 90%;
  743. border-top: 1px solid darken( $color_light, 10%);
  744. }
  745. &:hover,
  746. .current {
  747. background: $color_hover;
  748. &:not(.current):hover .item.title {
  749. background: $color_hover;
  750. }
  751. }
  752. &.favorite:not(.current) {
  753. background: $color_stared;
  754. &:hover .item.title {
  755. background: $color_stared;
  756. }
  757. }
  758. &.not_read:not(.current) {
  759. background: $color_unread;
  760. &:hover .item.title {
  761. background: $color_unread;
  762. }
  763. }
  764. .date {
  765. color: darken( $color_light, 40% );
  766. font-size: 0.7rem;
  767. }
  768. .bottom {
  769. font-size: 0.8rem;
  770. text-align: center;
  771. }
  772. .website .favicon {
  773. padding: 5px;
  774. }
  775. label {
  776. color: $color_light;
  777. cursor: pointer;
  778. }
  779. }
  780. .flux_header {
  781. font-size: 0.8rem;
  782. cursor: pointer;
  783. .title {
  784. font-size: 0.9rem;
  785. }
  786. }
  787. .notification {
  788. padding: 10px 0;
  789. background: darken( $color_light, 10%);
  790. height: auto;
  791. color: darken( $color_light, 40% );
  792. font-size: 1em;
  793. border: none;
  794. text-align: center;
  795. font-weight: bold;
  796. z-index: 10;
  797. vertical-align: middle;
  798. position: fixed;
  799. bottom: 48px;
  800. left: 0;
  801. top: auto;
  802. @extend %aside-width;
  803. &.good,
  804. .bad {
  805. color: $color_light;
  806. }
  807. &.good {
  808. background: $color_good;
  809. a.close:hover {
  810. background: $color_good;
  811. }
  812. }
  813. &.bad {
  814. background: lighten( $color_bad, 10%);
  815. a.close:hover {
  816. background: lighten( $color_bad, 10%);
  817. }
  818. }
  819. &#actualizeProgress {
  820. line-height: 2em;
  821. }
  822. a.close {
  823. display: none;
  824. }
  825. }
  826. #bigMarkAsRead {
  827. text-align: center;
  828. text-decoration: none;
  829. background: darken( $color_light, 10%);
  830. &:hover {
  831. background: $color_aside;
  832. color: $color_light;
  833. }
  834. }
  835. #nav_entries {
  836. margin: 0;
  837. text-align: center;
  838. line-height: 3em;
  839. table-layout: fixed;
  840. @extend %aside-width;
  841. background: $color_aside;
  842. }
  843. .stat {
  844. margin: 10px 0 20px;
  845. th,
  846. td,
  847. tr {
  848. border: none;
  849. }
  850. > table {
  851. td,
  852. th {
  853. border-bottom: 1px solid darken( $color_light, 10%);
  854. }
  855. }
  856. > .horizontal-list {
  857. margin: 0 0 5px;
  858. .item {
  859. overflow: hidden;
  860. white-space: nowrap;
  861. text-overflow: ellipsis;
  862. &:first-child {
  863. width: 270px;
  864. }
  865. }
  866. }
  867. }
  868. .formLogin {
  869. #global {
  870. height: 0;
  871. }
  872. .header {
  873. background: $color_aside;
  874. height: 55px;
  875. > .item {
  876. &.configure {
  877. width: 200px;
  878. position: unset;
  879. }
  880. &.title h1 {
  881. display: unset;
  882. }
  883. }
  884. }
  885. a.signin {
  886. color: $color_light;
  887. padding-left: 5px;
  888. }
  889. input {
  890. border-top: 1px darken( $color_light, 10%);
  891. border-right: 1px darken( $color_light, 10%);
  892. border-bottom: 1px darken( $color_light, 10%);
  893. border-left: 5px solid;
  894. }
  895. }
  896. .loglist {
  897. overflow: hidden;
  898. border: 1px solid darken( $color_light, 40% );
  899. }
  900. .log {
  901. padding: 5px 2%;
  902. background: $color_light;
  903. font-size: 0.8rem;
  904. overflow: auto;
  905. > .date {
  906. margin: 0 10px 0 0;
  907. padding: 5px 10px;
  908. }
  909. &.error > .date {
  910. background: lighten( $color_bad, 10%);
  911. color: $color_light;
  912. }
  913. &.warning > .date {
  914. background: $color_alert;
  915. color: $color_light;
  916. }
  917. &.notice > .date {
  918. background: darken( $color_light, 10%);
  919. color: $color_light;
  920. }
  921. &.debug > .date {
  922. background: $color_text;
  923. color: $color_light;
  924. }
  925. }
  926. @media (max-width: 840px) {
  927. .formLogin .header {
  928. display: none;
  929. }
  930. .form-group .group-name {
  931. padding-bottom: 0;
  932. text-align: left;
  933. }
  934. .box .box-title .configure,
  935. .box .box-content .item .configure {
  936. visibility: visible;
  937. }
  938. .dropdown-header, .dropdown-menu > .item {
  939. padding: 12px;
  940. }
  941. #new-article {
  942. width: 100%;
  943. position: sticky;
  944. top: 0;
  945. }
  946. .header {
  947. display: table;
  948. .item.title .logo {
  949. display: none;
  950. }
  951. }
  952. .header > .item.title h1 a {
  953. display: block;
  954. position: absolute;
  955. top: -35px;
  956. left: 10px;
  957. font-size: 0.6em;
  958. }
  959. .header .item.configure,
  960. button.read_all.btn {
  961. display: none;
  962. }
  963. .flux .item.manage,
  964. .flux_header .item.website {
  965. width: 35px;
  966. text-align: center;
  967. }
  968. .aside {
  969. width: 0;
  970. transition: width 200ms linear;
  971. .toggle_aside {
  972. background: $color_aside;
  973. display: block;
  974. height: 50px;
  975. line-height: 50px;
  976. text-align: right;
  977. padding-right: 10px;
  978. }
  979. &.aside_feed {
  980. padding: 0;
  981. }
  982. &.aside_feed .configure-feeds {
  983. display: flex;
  984. margin-top: 0;
  985. margin-left: auto;
  986. margin-right: auto;
  987. }
  988. &:target {
  989. width: 78%;
  990. z-index: 1000;
  991. }
  992. }
  993. .nav_menu {
  994. position: initial;
  995. height: 71px;
  996. .btn {
  997. margin: 5px 10px;
  998. }
  999. .stick {
  1000. margin: 0 10px;
  1001. .btn {
  1002. margin: 5px 0;
  1003. }
  1004. }
  1005. .search {
  1006. position: absolute !important;
  1007. top: 35px;
  1008. left: 55px;
  1009. input {
  1010. width: 85%;
  1011. }
  1012. }
  1013. }
  1014. .pagination {
  1015. margin: 0 0 3.5em;
  1016. }
  1017. #panel .close {
  1018. background: $color_aside;
  1019. display: block;
  1020. height: 50px;
  1021. line-height: 50px;
  1022. text-align: right;
  1023. padding-right: 10px;
  1024. }
  1025. .day .name {
  1026. font-size: 1.1rem;
  1027. }
  1028. .notification {
  1029. width: 100%;
  1030. a.close {
  1031. background: transparent;
  1032. display: block;
  1033. left: 0;
  1034. &:hover {
  1035. opacity: 0.5;
  1036. }
  1037. .icon {
  1038. display: none;
  1039. }
  1040. }
  1041. }
  1042. #nav_entries {
  1043. width: 100% !important;
  1044. }
  1045. .post {
  1046. padding-left: 15px;
  1047. padding-right: 15px;
  1048. }
  1049. div#stream {
  1050. margin-top: 0px;
  1051. }
  1052. a.btn.toggle_aside {
  1053. position: absolute;
  1054. top: 29px;
  1055. }
  1056. form#mark-read-menu,
  1057. a#actualize,
  1058. a#toggle-order,
  1059. div#nav_menu_actions,
  1060. div#nav_menu_views {
  1061. position: absolute;
  1062. }
  1063. form#mark-read-menu {
  1064. right: 46px;
  1065. top: 30px;
  1066. z-index: 1100;
  1067. }
  1068. a#actualize,
  1069. a#toggle-order {
  1070. right: 0px;
  1071. }
  1072. a#actualize {
  1073. top: 29px;
  1074. }
  1075. a#toggle-order,
  1076. div#nav_menu_actions,
  1077. div#nav_menu_views {
  1078. top: 65px;
  1079. }
  1080. div#nav_menu_actions {
  1081. left: 0px;
  1082. }
  1083. div#nav_menu_views {
  1084. right: 50px;
  1085. }
  1086. }
  1087. @media (max-width: 410px) {
  1088. .nav_menu .stick {
  1089. margin: 0;
  1090. }
  1091. }
  1092. @media (max-width: 374px) {
  1093. #nav_menu_views {
  1094. display: none;
  1095. }
  1096. }
  1097. button.as-link {
  1098. color: $color_light;
  1099. outline: none;
  1100. }
  1101. .dropdown-target:target ~ .btn.dropdown-toggle {
  1102. background: darken( $color_nav, 10%);
  1103. }
  1104. .tree-folder.active .tree-folder-title {
  1105. background: darken( $color_nav, 10%);
  1106. font-weight: bold;
  1107. }
  1108. .feed.item {
  1109. &.empty {
  1110. color: $color_alert;
  1111. &.active {
  1112. background: $color_alert;
  1113. color: $color_light;
  1114. > a {
  1115. color: $color_light;
  1116. }
  1117. }
  1118. > a {
  1119. color: $color_alert;
  1120. }
  1121. }
  1122. &.error {
  1123. color: lighten( $color_bad, 10%);
  1124. &.active {
  1125. background: lighten( $color_bad, 10%);
  1126. color: $color_light;
  1127. > a {
  1128. color: $color_light;
  1129. }
  1130. }
  1131. > a {
  1132. color: lighten( $color_bad, 10%);
  1133. }
  1134. }
  1135. }
  1136. #dropdown-query ~ .dropdown-menu .dropdown-header .icon {
  1137. vertical-align: middle;
  1138. float: right;
  1139. }
  1140. #stream.reader .flux {
  1141. padding: 0 0 50px;
  1142. background: $color_light;
  1143. color: $color_aside;
  1144. border: none;
  1145. .author {
  1146. margin: 0 0 10px;
  1147. color: darken( $color_light, 40% );
  1148. font-size: 90%;
  1149. }
  1150. }
  1151. #nav_menu_actions, #nav_menu_read_all {
  1152. ul.dropdown-menu {
  1153. left: 0px;
  1154. }
  1155. }
  1156. #slider {
  1157. label {
  1158. min-height: initial;
  1159. }
  1160. .form-group {
  1161. &:hover {
  1162. background: inital;
  1163. }
  1164. }
  1165. }