_mobile.scss 2.3 KB

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