swage.scss 19 KB

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