swage.scss 18 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430
  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. main#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. }
  182. .form-group::after {
  183. @extend %after;
  184. }
  185. .stick {
  186. vertical-align: middle;
  187. font-size: 0;
  188. &.configure-feeds {
  189. @extend %aside-width;
  190. }
  191. }
  192. .btn {
  193. margin: 0;
  194. padding: 5px 10px;
  195. background: $color_nav;
  196. display: inline-block;
  197. color: $color_light;
  198. font-size: 0.9rem;
  199. border: none;
  200. min-height: 35px;
  201. min-width: 15px;
  202. vertical-align: middle;
  203. cursor: pointer;
  204. overflow: hidden;
  205. &.active,
  206. :active,
  207. :hover {
  208. background: darken( $color_nav, 10%);
  209. text-decoration: none;
  210. }
  211. }
  212. .btn-important, .btn-attention {
  213. font-weight: normal;
  214. background: $color_alert;
  215. color: $color_light;
  216. &:hover,
  217. :active {
  218. background: darken( $color_alert, 10%) !important;
  219. }
  220. }
  221. .nav-list {
  222. .nav-header {
  223. @extend %nav-list;
  224. padding: 0 10px;
  225. font-weight: bold;
  226. background: $color_aside;
  227. color: $color_light;
  228. cursor: default;
  229. }
  230. .item {
  231. @extend %nav-list;
  232. &:hover,
  233. &.active {
  234. background: darken( $color_nav, 10%);
  235. color: $color_light;
  236. a {
  237. color: $color_light;
  238. }
  239. &.empty a,
  240. .error a {
  241. color: $color_light;
  242. }
  243. &.empty a {
  244. background: $color_alert;
  245. }
  246. &.error a {
  247. background: lighten( $color_bad, 10%);
  248. }
  249. }
  250. > a {
  251. padding: 0 10px;
  252. }
  253. &.empty a {
  254. color: $color_alert;
  255. }
  256. &.error a {
  257. color: lighten( $color_bad, 10%);
  258. }
  259. }
  260. .disable {
  261. text-align: center;
  262. background: $color_light;
  263. color: darken( $color_light, 40% );
  264. }
  265. .nav-form {
  266. padding: 3px;
  267. text-align: center;
  268. }
  269. a:hover {
  270. text-decoration: none;
  271. }
  272. }
  273. .nav-head {
  274. margin: 0;
  275. text-align: right;
  276. background: $color_aside;
  277. color: $color_light;
  278. a {
  279. color: $color_light;
  280. }
  281. .item {
  282. padding: 5px 10px;
  283. font-size: 0.9rem;
  284. line-height: 1.5rem;
  285. }
  286. }
  287. .horizontal-list {
  288. margin: 0;
  289. padding: 0;
  290. .item {
  291. vertical-align: middle;
  292. }
  293. }
  294. .dropdown-menu {
  295. padding: 5px 0;
  296. font-size: 0.8rem;
  297. text-align: left;
  298. border: none;
  299. background-color: darken( $color_nav, 10%);
  300. .dropdown-header {
  301. cursor: default;
  302. }
  303. > {
  304. .item {
  305. @extend %dropdown;
  306. padding: 0;
  307. margin-left: 10px;
  308. > a,
  309. > span,
  310. > .as-link,
  311. button {
  312. @extend %dropdown;
  313. }
  314. > a {
  315. min-width: initial;
  316. white-space: nowrap;
  317. }
  318. &:hover {
  319. background: $color_nav;
  320. color: $color_light;
  321. > a {
  322. text-decoration: none;
  323. color: $color_light;
  324. }
  325. }
  326. }
  327. .item[aria-checked="true"] > a::before {
  328. font-weight: bold;
  329. margin: 0 0 0 -14px;
  330. }
  331. }
  332. .input {
  333. select,
  334. input {
  335. margin: 0 auto 5px;
  336. padding: 2px 5px;
  337. }
  338. }
  339. }
  340. .dropdown-header {
  341. padding: 0 5px 5px;
  342. font-weight: bold;
  343. text-align: left;
  344. color: $color_light;
  345. }
  346. .separator {
  347. margin: 5px 0;
  348. border-bottom: 1px solid darken( $color_light, 10%);
  349. cursor: default;
  350. }
  351. .alert {
  352. margin: 5px auto;
  353. padding: 10px 15px;
  354. background: $color_light;
  355. color: darken( $color_light, 40% );
  356. font-size: 0.9em;
  357. border: none;
  358. text-shadow: 0 0 1px $color_light;
  359. > a {
  360. color: inherit;
  361. text-decoration: underline;
  362. }
  363. }
  364. .alert-head {
  365. font-size: 1.15em;
  366. }
  367. .alert-warn,
  368. .alert-success,
  369. .alert-error {
  370. border: none;
  371. }
  372. .alert-warn {
  373. background: $color_light;
  374. color: $color_alert;
  375. }
  376. .alert-success {
  377. background: $color_light;
  378. color: $color_good;
  379. }
  380. .alert-error {
  381. background: $color_light;
  382. color: $color_bad;
  383. }
  384. .pagination {
  385. background: darken( $color_light, 10%);
  386. color: $color_text;
  387. font-size: 0.8em;
  388. text-align: center;
  389. .item {
  390. &.pager-current {
  391. background: $color_aside;
  392. color: darken( $color_light, 10%);
  393. font-size: 1.5em;
  394. font-weight: bold;
  395. }
  396. a {
  397. display: block;
  398. color: $color_text;
  399. font-style: italic;
  400. line-height: 3em;
  401. text-decoration: none;
  402. &:hover {
  403. background: $color_aside;
  404. color: darken( $color_light, 10%);
  405. }
  406. }
  407. }
  408. .loading,
  409. a:hover.loading {
  410. background: url(loader.gif) center center no-repeat $color_aside;
  411. font-size: 0;
  412. }
  413. }
  414. .content {
  415. padding: 20px 10px;
  416. .pagination {
  417. margin: 0;
  418. padding: 0;
  419. }
  420. hr {
  421. margin: 30px 10px;
  422. background: darken( $color_light, 10%);
  423. height: 1px;
  424. border: 0;
  425. box-shadow: 0 2px 5px darken( $color_light, 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: darken( $color_light, 40% );
  452. border-top: 1px solid darken( $color_light, 10%);
  453. border-bottom: 1px solid darken( $color_light, 10%);
  454. p {
  455. margin: 0;
  456. }
  457. }
  458. > h1.title > a {
  459. color: $color_text;
  460. }
  461. }
  462. .box {
  463. border: 1px solid darken( $color_light, 10%);
  464. .box-title {
  465. margin: 0;
  466. padding: 5px 10px;
  467. background: darken( $color_light, 10%);
  468. color: darken( $color_light, 40% );
  469. border-bottom: 1px solid darken( $color_light, 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: darken( $color_light, 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: darken( $color_nav, 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: darken( $color_nav, 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. .tree-folder-title > .title:not([data-unread="0"])::after {
  629. margin: 6px 0;
  630. padding: 0 10px;
  631. background: inherit;
  632. font-size: 0.9rem;
  633. position: absolute;
  634. right: 0;
  635. line-height: 1.5rem;
  636. }
  637. .tree-folder-items .dropdown-menu::after {
  638. left: 2px;
  639. }
  640. }
  641. .post {
  642. padding: 10px 50px;
  643. font-size: 0.9em;
  644. input {
  645. background: darken( $color_light, 10% );
  646. &.long {
  647. height: 33px;
  648. margin-top: 0px;
  649. }
  650. }
  651. form {
  652. margin: 10px 0;
  653. }
  654. &.content {
  655. max-width: 550px;
  656. }
  657. }
  658. .prompt {
  659. text-align: center;
  660. label {
  661. text-align: left;
  662. }
  663. form {
  664. margin: 10px auto 20px auto;
  665. width: 200px;
  666. }
  667. input {
  668. margin: 5px auto;
  669. width: 100%;
  670. }
  671. p {
  672. margin: 20px 0;
  673. }
  674. }
  675. #new-article {
  676. background: $color_nav;
  677. font-size: 1em;
  678. text-align: center;
  679. position: fixed;
  680. bottom: 48px;
  681. z-index: 900;
  682. left: 0;
  683. line-height: 1.5em;
  684. @extend %aside-width;
  685. &:hover {
  686. background: darken( $color_nav, 10%);
  687. }
  688. > a {
  689. line-height: 1.5em;
  690. font-weight: bold;
  691. color: $color_light;
  692. &:hover {
  693. text-decoration: none;
  694. }
  695. }
  696. }
  697. .day {
  698. padding: 0 10px;
  699. font-weight: bold;
  700. line-height: 3em;
  701. text-align: center;
  702. .name {
  703. display: none;
  704. }
  705. }
  706. .nav {
  707. a {
  708. color: $color_light;
  709. }
  710. }
  711. .nav_menu {
  712. width: 100%;
  713. font-size: 0;
  714. background-color: $color_nav;
  715. position: fixed;
  716. z-index: 900;
  717. .item.search {
  718. display: inline-block;
  719. position: fixed;
  720. right: 40px;
  721. }
  722. }
  723. .flux {
  724. padding-right: 10px;
  725. background: $color_light;
  726. &::after {
  727. @extend %after;
  728. margin: 0 auto;
  729. width: 90%;
  730. border-top: 1px solid darken( $color_light, 10%);
  731. }
  732. &:hover,
  733. .current {
  734. background: $color_hover;
  735. &:not(.current):hover .item.title {
  736. background: $color_hover;
  737. }
  738. }
  739. &.favorite:not(.current) {
  740. background: $color_stared;
  741. &:hover .item.title {
  742. background: $color_stared;
  743. }
  744. }
  745. &.not_read:not(.current) {
  746. background: $color_unread;
  747. &:hover .item.title {
  748. background: $color_unread;
  749. }
  750. }
  751. .item {
  752. &.date {
  753. color: darken( $color_light, 40% );
  754. font-size: 0.7rem;
  755. }
  756. }
  757. .bottom {
  758. font-size: 0.8rem;
  759. text-align: center;
  760. }
  761. .website .favicon {
  762. padding: 5px;
  763. }
  764. label {
  765. color: $color_light;
  766. cursor: pointer;
  767. }
  768. }
  769. .flux_header {
  770. font-size: 0.8rem;
  771. cursor: pointer;
  772. .title {
  773. font-size: 0.9rem;
  774. }
  775. }
  776. .notification {
  777. padding: 10px 0;
  778. background: darken( $color_light, 10%);
  779. height: auto;
  780. color: darken( $color_light, 40% );
  781. font-size: 1em;
  782. border: none;
  783. text-align: center;
  784. font-weight: bold;
  785. z-index: 10;
  786. vertical-align: middle;
  787. position: fixed;
  788. bottom: 48px;
  789. left: 0;
  790. top: auto;
  791. @extend %aside-width;
  792. &.good,
  793. .bad {
  794. color: $color_light;
  795. }
  796. &.good {
  797. background: $color_good;
  798. a.close:hover {
  799. background: $color_good;
  800. }
  801. }
  802. &.bad {
  803. background: lighten( $color_bad, 10%);
  804. a.close:hover {
  805. background: lighten( $color_bad, 10%);
  806. }
  807. }
  808. &#actualizeProgress {
  809. line-height: 2em;
  810. }
  811. a.close {
  812. display: none;
  813. }
  814. }
  815. #bigMarkAsRead {
  816. text-align: center;
  817. text-decoration: none;
  818. background: darken( $color_light, 10%);
  819. &:hover {
  820. background: $color_aside;
  821. color: $color_light;
  822. }
  823. }
  824. #nav_entries {
  825. margin: 0;
  826. text-align: center;
  827. line-height: 3em;
  828. table-layout: fixed;
  829. @extend %aside-width;
  830. background: $color_aside;
  831. }
  832. .stat {
  833. margin: 10px 0 20px;
  834. th,
  835. td,
  836. tr {
  837. border: none;
  838. }
  839. > table {
  840. td,
  841. th {
  842. border-bottom: 1px solid darken( $color_light, 10%);
  843. }
  844. }
  845. > .horizontal-list {
  846. margin: 0 0 5px;
  847. .item {
  848. overflow: hidden;
  849. white-space: nowrap;
  850. text-overflow: ellipsis;
  851. &:first-child {
  852. width: 270px;
  853. }
  854. }
  855. }
  856. }
  857. .formLogin {
  858. #global {
  859. height: 0;
  860. }
  861. .header {
  862. background: $color_aside;
  863. height: 55px;
  864. > .item {
  865. &.configure {
  866. width: 200px;
  867. position: unset;
  868. }
  869. }
  870. }
  871. a.signin {
  872. color: $color_light;
  873. padding-left: 5px;
  874. }
  875. input {
  876. border-top: 1px darken( $color_light, 10%);
  877. border-right: 1px darken( $color_light, 10%);
  878. border-bottom: 1px darken( $color_light, 10%);
  879. border-left: 5px solid;
  880. }
  881. }
  882. .loglist {
  883. overflow: hidden;
  884. border: 1px solid darken( $color_light, 40% );
  885. }
  886. .log {
  887. padding: 5px 2%;
  888. background: $color_light;
  889. font-size: 0.8rem;
  890. overflow: auto;
  891. > .date {
  892. margin: 0 10px 0 0;
  893. padding: 5px 10px;
  894. }
  895. &.error > .date {
  896. background: lighten( $color_bad, 10%);
  897. color: $color_light;
  898. }
  899. &.warning > .date {
  900. background: $color_alert;
  901. color: $color_light;
  902. }
  903. &.notice > .date {
  904. background: darken( $color_light, 10%);
  905. color: $color_light;
  906. }
  907. &.debug > .date {
  908. background: $color_text;
  909. color: $color_light;
  910. }
  911. }
  912. @media (max-width: 840px) {
  913. .formLogin .header {
  914. display: none;
  915. }
  916. .form-group .group-name {
  917. padding-bottom: 0;
  918. text-align: left;
  919. }
  920. .dropdown-header, .dropdown-menu > .item {
  921. padding: 12px;
  922. }
  923. #new-article {
  924. width: 100%;
  925. position: sticky;
  926. top: 0;
  927. }
  928. .header {
  929. display: table;
  930. .item.title .logo {
  931. display: none;
  932. }
  933. .item.configure {
  934. padding: 0;
  935. position: absolute;
  936. right: 77px;
  937. }
  938. }
  939. .header > .item.title a {
  940. display: block;
  941. position: absolute;
  942. top: -35px;
  943. left: 10px;
  944. }
  945. button.read_all.btn {
  946. display: none;
  947. }
  948. .flux .item.manage,
  949. .flux_header .item.website {
  950. width: 35px;
  951. text-align: center;
  952. }
  953. .aside {
  954. width: 0;
  955. transition: width 200ms linear;
  956. .toggle_aside {
  957. background: $color_aside;
  958. display: block;
  959. height: 50px;
  960. line-height: 50px;
  961. text-align: right;
  962. padding-right: 10px;
  963. }
  964. &.aside_feed {
  965. padding: 0;
  966. }
  967. &.aside_feed .configure-feeds {
  968. display: flex;
  969. margin-top: 0;
  970. margin-left: auto;
  971. margin-right: auto;
  972. }
  973. &:target {
  974. width: 78%;
  975. z-index: 1000;
  976. }
  977. }
  978. .nav_menu {
  979. position: initial;
  980. height: 71px;
  981. .btn {
  982. margin: 0;
  983. }
  984. .stick {
  985. margin: 0;
  986. .btn {
  987. margin: 0;
  988. }
  989. }
  990. .search {
  991. position: absolute !important;
  992. top: 3px;
  993. left: 37px;
  994. form {
  995. display: block;
  996. }
  997. input {
  998. width: 85%;
  999. }
  1000. }
  1001. }
  1002. .pagination {
  1003. margin: 0 0 3.5em;
  1004. }
  1005. #panel .close,
  1006. .dropdown-menu .toggle_aside {
  1007. background: $color_aside;
  1008. display: block;
  1009. height: 50px;
  1010. line-height: 50px;
  1011. text-align: right;
  1012. padding-right: 10px;
  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: darken( $color_nav, 10%);
  1091. }
  1092. .tree-folder.active .tree-folder-title {
  1093. background: darken( $color_nav, 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: lighten( $color_bad, 10%);
  1112. &.active {
  1113. background: lighten( $color_bad, 10%);
  1114. color: $color_light;
  1115. > a {
  1116. color: $color_light;
  1117. }
  1118. }
  1119. > a {
  1120. color: lighten( $color_bad, 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: darken( $color_light, 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. }