_mobile.scss 2.3 KB

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