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