_mobile.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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. .dropdown-menu .toggle_aside {
  45. background: $main-first-alt;
  46. display: block;
  47. width: 100%;
  48. height: 50px;
  49. line-height: 50px;
  50. text-align: center;
  51. }
  52. .header {
  53. padding: 0.5rem;
  54. .item {
  55. &.search {
  56. display: block;
  57. form {
  58. display: inherit;
  59. }
  60. .stick {
  61. display: flex;
  62. }
  63. input {
  64. width: 90%;
  65. height: 3.5rem;
  66. &:focus {
  67. width: 100%;
  68. }
  69. }
  70. .btn {
  71. min-height: 49px;
  72. padding: 0.5rem 2rem;
  73. }
  74. }
  75. }
  76. }
  77. .post {
  78. padding-left: 1rem;
  79. padding-right: 1rem;
  80. }
  81. .nav_menu {
  82. .btn {
  83. margin: 0;
  84. padding: 0.85rem 1.25rem;
  85. }
  86. .stick {
  87. margin: 0.5rem 0.5rem;
  88. .btn {
  89. margin: 0;
  90. padding: 0.85rem 1.25rem;
  91. &.read_all {
  92. padding: 0.85rem 1.25rem;
  93. }
  94. }
  95. }
  96. .search {
  97. display: none;
  98. max-width: 97%;
  99. .input {
  100. max-width: 97%;
  101. width: 90px;
  102. &:focus {
  103. width: 400px;
  104. }
  105. }
  106. }
  107. }
  108. #stream {
  109. .flux {
  110. .flux_header {
  111. padding: 0.5rem 0;
  112. }
  113. }
  114. }
  115. .day {
  116. text-align: center;
  117. padding: 1rem 0;
  118. .name {
  119. padding: 0;
  120. // font-size: 1.1rem;
  121. display: block;
  122. width: 100%;
  123. line-height: 1.5rem;
  124. margin-bottom: 1rem;
  125. }
  126. }
  127. .pagination {
  128. margin: 0 0 3.5em;
  129. }
  130. #nav_entries {
  131. line-height: 4.5rem;
  132. }
  133. .notification {
  134. border-radius: 0;
  135. a.close {
  136. background: transparent;
  137. display: block;
  138. left: 0;
  139. }
  140. a.close:hover {
  141. opacity: 0.5;
  142. }
  143. a.close .icon {
  144. display: none;
  145. }
  146. }
  147. }