_mobile.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. /*=== MOBILE */
  2. /*===========*/
  3. @media(max-width: 840px) {
  4. html, body{
  5. // font-size: 1rem;
  6. }
  7. ul.nav{
  8. .item{
  9. width: 100%;
  10. img{
  11. display: none;
  12. }
  13. a{
  14. display: inline-block;
  15. padding: 1rem 1rem 1rem 2.5rem;
  16. color: $sid-font-color;
  17. width: 100%;
  18. background: url("../../themes/icons/logout.svg") no-repeat $sid-bg-dark 3% center;
  19. @include transition(all, 0.2s, ease-in-out);
  20. &:hover,
  21. &:active{
  22. background: url("../../themes/icons/logout.svg") no-repeat $alert-bg 3% center;
  23. text-decoration: none;
  24. }
  25. }
  26. }
  27. }
  28. .aside {
  29. @include transition(all, 0.2s, ease-in-out);
  30. &.aside_feed {
  31. padding: 0;
  32. }
  33. .tree .tree-folder .tree-folder-items .item a{
  34. padding: 0.5rem 1rem;
  35. }
  36. }
  37. .aside .toggle_aside,
  38. #panel .close {
  39. display: block;
  40. width: 100%;
  41. height: 50px;
  42. line-height: 50px;
  43. text-align: center;
  44. background: $main-first-alt;
  45. }
  46. .header{
  47. padding: 0.5rem;
  48. .item{
  49. &.title{
  50. display: none;
  51. }
  52. &.search{
  53. input{
  54. width: 90%;
  55. height: 3.5rem;
  56. &:focus{
  57. width: 100%;
  58. }
  59. }
  60. .btn{
  61. min-height: 49px;
  62. padding: 0.5rem 2rem;
  63. }
  64. }
  65. &.configure{
  66. width: 2.75rem;
  67. top: 3.125rem;
  68. .dropdown{
  69. .btn{
  70. padding: 1.125rem;
  71. }
  72. }
  73. }
  74. }
  75. }
  76. .nav_menu{
  77. .btn {
  78. margin: 0;
  79. padding: 0.85rem 1.25rem;
  80. }
  81. .stick {
  82. margin: 0.5rem 0.5rem;
  83. .btn{
  84. margin: 0;
  85. padding: 0.85rem 1.25rem;
  86. &.read_all{
  87. padding: 0.85rem 1.25rem;
  88. }
  89. }
  90. }
  91. .search {
  92. display: none;
  93. max-width: 97%;
  94. .input{
  95. max-width: 97%;
  96. width: 90px;
  97. &::focus{
  98. width: 400px;
  99. }
  100. }
  101. }
  102. }
  103. #stream{
  104. .flux{
  105. .flux_header{
  106. padding: 0.5rem 0;
  107. }
  108. }
  109. }
  110. .day{
  111. text-align: center;
  112. padding: 1rem 0;
  113. .name {
  114. // font-size: 1.1rem;
  115. display: block;
  116. padding: 0;
  117. width: 100%;
  118. line-height: 1.5rem;
  119. margin-bottom: 1rem;
  120. }
  121. }
  122. .pagination {
  123. margin: 0 0 3.5em;
  124. }
  125. #nav_entries{
  126. line-height: 4.5rem;
  127. }
  128. .notification {
  129. border-radius: 0;
  130. a.close {
  131. display: block;
  132. left: 0;
  133. background: transparent;
  134. }
  135. a.close:hover {
  136. opacity: 0.5;
  137. }
  138. a.close .icon {
  139. display: none;
  140. }
  141. }
  142. }