swage.scss 18 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229
  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. %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-importExport {
  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. display: inline-block;
  84. width: auto;
  85. margin: 20px 0 5px;
  86. padding: 5px 20px;
  87. font-size: 1.4em;
  88. clear: both;
  89. background: darken( $color_light, 10%);
  90. }
  91. label {
  92. min-height: 25px;
  93. }
  94. textarea {
  95. width: 360px;
  96. height: 100px;
  97. @extend %input;
  98. background: darken( $color_light, 10% );
  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. display: inline-block;
  197. min-height: 35px;
  198. min-width: 15px;
  199. margin: 0;
  200. padding: 5px 10px;
  201. font-size: 0.9rem;
  202. vertical-align: middle;
  203. cursor: pointer;
  204. overflow: hidden;
  205. background: $color_nav;
  206. border: none;
  207. color: $color_light;
  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. font-size: 0.9em;
  358. background: $color_light;
  359. border: none;
  360. color: darken( $color_light, 40% );
  361. text-shadow: 0 0 1px $color_light;
  362. > a {
  363. text-decoration: underline;
  364. color: inherit;
  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. text-align: center;
  389. font-size: 0.8em;
  390. background: darken( $color_light, 10%);
  391. color: $color_text;
  392. .item {
  393. &.pager-current {
  394. font-weight: bold;
  395. font-size: 1.5em;
  396. background: $color_aside;
  397. color: darken( $color_light, 10%);
  398. }
  399. a {
  400. display: block;
  401. font-style: italic;
  402. line-height: 3em;
  403. text-decoration: none;
  404. color: $color_text;
  405. &:hover {
  406. background: $color_aside;
  407. color: darken( $color_light, 10%);
  408. }
  409. }
  410. }
  411. .loading,
  412. a:hover.loading {
  413. font-size: 0;
  414. background: url(loader.gif) center center no-repeat $color_aside;
  415. }
  416. }
  417. .content {
  418. padding: 20px 10px;
  419. .pagination {
  420. margin: 0;
  421. padding: 0;
  422. }
  423. hr {
  424. margin: 30px 10px;
  425. height: 1px;
  426. background: darken( $color_light, 10%);
  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. color: $color_bad;
  446. background: $color_light;
  447. border: 1px solid $color_light;
  448. }
  449. blockquote {
  450. display: block;
  451. margin: 0;
  452. padding: 5px 20px;
  453. border-top: 1px solid darken( $color_light, 10%);
  454. border-bottom: 1px solid darken( $color_light, 10%);
  455. background: $color_light;
  456. color: darken( $color_light, 40% );
  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. position: absolute;
  510. top: 5px;
  511. right: 10px;
  512. border: 0;
  513. background: none;
  514. font-weight: bold;
  515. box-shadow: none;
  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. position: relative;
  529. padding: 0 10px;
  530. background: $color_aside;
  531. line-height: 2.3rem;
  532. font-size: 1rem;
  533. height: 35px;
  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. background: $color_aside;
  618. padding: 35px 0;
  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. position: absolute;
  643. right: 0;
  644. margin: 6px 0;
  645. padding: 0 10px;
  646. font-size: 0.9rem;
  647. line-height: 1.5rem;
  648. background: inherit;
  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. text-align: center;
  690. font-size: 1em;
  691. background: $color_nav;
  692. position: fixed;
  693. bottom: 48px;
  694. z-index: 900;
  695. left: 0;
  696. @extend %aside-width;
  697. line-height: 1.5em;
  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. font-size: 0;
  726. background-color: $color_nav;
  727. position: fixed;
  728. width: 100%;
  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. &.not_read {
  753. background: $color_unread;
  754. &:not(.current):hover .item.title {
  755. background: $color_unread;
  756. }
  757. }
  758. &.favorite,{
  759. background: $color_stared;
  760. &:not(.current):hover .item.title {
  761. background: $color_stared;
  762. }
  763. }
  764. .date {
  765. font-size: 0.7rem;
  766. color: darken( $color_light, 40% );
  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. text-align: center;
  789. font-weight: bold;
  790. font-size: 1em;
  791. padding: 10px 0;
  792. z-index: 10;
  793. vertical-align: middle;
  794. background: darken( $color_light, 10%);
  795. color: darken( $color_light, 40% );
  796. border: none;
  797. position: fixed;
  798. bottom: 48px;
  799. left: 0;
  800. top: auto;
  801. @extend %aside-width;
  802. height: auto;
  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. height: 55px;
  874. background: $color_aside;
  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-left: 5px solid;
  891. border-right: 1px darken( $color_light, 10%);
  892. border-top: 1px darken( $color_light, 10%);
  893. border-bottom: 1px darken( $color_light, 10%);
  894. }
  895. }
  896. .loglist {
  897. overflow: hidden;
  898. border: 1px solid darken( $color_light, 40% );
  899. }
  900. .log {
  901. padding: 5px 2%;
  902. overflow: auto;
  903. font-size: 0.8rem;
  904. background: $color_light;
  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. .dropdown-header, .dropdown-menu > .item {
  931. padding: 12px;
  932. }
  933. #new-article {
  934. width: 100%;
  935. bottom: initial;
  936. }
  937. .header {
  938. display: table;
  939. .item.title .logo {
  940. display: none;
  941. }
  942. }
  943. .header > .item.title h1 a {
  944. display: block;
  945. position: absolute;
  946. top: -35px;
  947. left: 10px;
  948. font-size: 0.6em;
  949. }
  950. .header .item.configure,
  951. button.read_all.btn {
  952. display: none;
  953. }
  954. .flux .item.manage,
  955. .flux_header .item.website {
  956. width: 35px;
  957. text-align: center;
  958. }
  959. .aside {
  960. width: 0;
  961. transition: width 200ms linear;
  962. .toggle_aside {
  963. display: block;
  964. height: 50px;
  965. line-height: 50px;
  966. text-align: right;
  967. padding-right: 10px;
  968. background: $color_aside;
  969. }
  970. &.aside_feed {
  971. padding: 0;
  972. }
  973. &:target {
  974. width: 78%;
  975. }
  976. }
  977. .nav_menu {
  978. position: initial;
  979. height: 71px;
  980. .btn {
  981. margin: 5px 10px;
  982. }
  983. .stick {
  984. margin: 0 10px;
  985. .btn {
  986. margin: 5px 0;
  987. }
  988. }
  989. .search {
  990. position: absolute !important;
  991. top: 35px;
  992. left: 55px;
  993. input {
  994. width: 85%;
  995. }
  996. }
  997. }
  998. .pagination {
  999. margin: 0 0 3.5em;
  1000. }
  1001. #panel .close {
  1002. display: block;
  1003. height: 50px;
  1004. line-height: 50px;
  1005. text-align: right;
  1006. padding-right: 10px;
  1007. background: $color_aside;
  1008. }
  1009. .day .name {
  1010. font-size: 1.1rem;
  1011. }
  1012. .notification {
  1013. width: 100%;
  1014. a.close {
  1015. display: block;
  1016. left: 0;
  1017. background: transparent;
  1018. &:hover {
  1019. opacity: 0.5;
  1020. }
  1021. .icon {
  1022. display: none;
  1023. }
  1024. }
  1025. }
  1026. #nav_entries {
  1027. width: 100% !important;
  1028. }
  1029. div#stream {
  1030. margin-top: 0px;
  1031. }
  1032. a.btn.toggle_aside {
  1033. position: absolute;
  1034. top: 29px;
  1035. }
  1036. form#mark-read-menu,
  1037. a#actualize,
  1038. a#toggle-order,
  1039. div#nav_menu_actions,
  1040. div#nav_menu_views {
  1041. position: absolute;
  1042. }
  1043. form#mark-read-menu {
  1044. right: 46px;
  1045. top: 30px;
  1046. z-index: 1100;
  1047. }
  1048. a#actualize,
  1049. a#toggle-order {
  1050. right: 0px;
  1051. }
  1052. a#actualize {
  1053. top: 29px;
  1054. }
  1055. a#toggle-order,
  1056. div#nav_menu_actions,
  1057. div#nav_menu_views {
  1058. top: 65px;
  1059. }
  1060. div#nav_menu_actions {
  1061. left: 0px;
  1062. }
  1063. div#nav_menu_views {
  1064. right: 50px;
  1065. }
  1066. }
  1067. @media(max-width: 410px) {
  1068. .nav_menu .stick {
  1069. margin: 0;
  1070. }
  1071. }
  1072. @media(max-width: 374px) {
  1073. #nav_menu_views {
  1074. display: none;
  1075. }
  1076. }
  1077. button.as-link {
  1078. color: $color_light;
  1079. outline: none;
  1080. }
  1081. .dropdown-target:target ~ .btn.dropdown-toggle {
  1082. background: darken( $color_nav, 10%);
  1083. }
  1084. .tree-folder.active .tree-folder-title {
  1085. background: darken( $color_nav, 10%);
  1086. font-weight: bold;
  1087. }
  1088. .feed.item {
  1089. &.empty {
  1090. color: $color_alert;
  1091. &.active {
  1092. background: $color_alert;
  1093. color: $color_light;
  1094. > a {
  1095. color: $color_light;
  1096. }
  1097. }
  1098. > a {
  1099. color: $color_alert;
  1100. }
  1101. }
  1102. &.error {
  1103. color: lighten( $color_bad, 10%);
  1104. &.active {
  1105. background: lighten( $color_bad, 10%);
  1106. color: $color_light;
  1107. > a {
  1108. color: $color_light;
  1109. }
  1110. }
  1111. > a {
  1112. color: lighten( $color_bad, 10%);
  1113. }
  1114. }
  1115. }
  1116. #dropdown-query ~ .dropdown-menu .dropdown-header .icon {
  1117. vertical-align: middle;
  1118. float: right;
  1119. }
  1120. #stream.reader .flux {
  1121. padding: 0 0 50px;
  1122. background: $color_light;
  1123. color: $color_aside;
  1124. border: none;
  1125. .author {
  1126. margin: 0 0 10px;
  1127. font-size: 90%;
  1128. color: darken( $color_light, 40% );
  1129. }
  1130. }
  1131. #nav_menu_actions, #nav_menu_read_all {
  1132. ul.dropdown-menu {
  1133. left: 0px;
  1134. }
  1135. }
  1136. #slider {
  1137. label {
  1138. min-height: initial;
  1139. }
  1140. .form-group {
  1141. &:hover {
  1142. background: inital;
  1143. }
  1144. }
  1145. }