swage.scss 17 KB

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