_layout.scss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. .crowi { // {{{
  2. h1, h2, h3, h4, h5, h6 {
  3. font-weight: 500;
  4. }
  5. &.main-container { // {{{
  6. .navbar-top-links { // {{{
  7. .confidential {
  8. a {
  9. // border: solid 2px #f00;
  10. // background: #fff;
  11. // color: #f00;
  12. // font-weight: bold;
  13. // height: 42px;
  14. // margin-top: 5px;
  15. // padding: 10px;
  16. // margin-right: 5px;
  17. }
  18. }
  19. } // }}}
  20. .main {
  21. padding: 0; // cancel bootstrap padding
  22. .header-wrap {
  23. padding: 16px 16px 0 16px;
  24. min-height: 70px;
  25. }
  26. .content-main {
  27. padding: 8px 16px;
  28. }
  29. }
  30. .layout-control { // {{{
  31. transition: .3s ease;
  32. -webkit-transition: .3s ease;
  33. position: fixed;
  34. display: block;
  35. text-align: center;
  36. right: 25%;
  37. bottom: 25px;
  38. padding: 5px 8px;
  39. border: solid 1px #ccc;
  40. border-right: none;
  41. // background: $crowiAsideBackground;
  42. border-radius: 5px 0 0 5px;
  43. z-index: 1039;
  44. font-size: .8em;
  45. // color: darken($link-color, 15%);
  46. &:hover {
  47. // color: darken($link-color, 25%);
  48. // background: darken($crowiAsideBackground, 10%);
  49. text-decoration: none;
  50. cursor: pointer;
  51. }
  52. } // }}}
  53. } // }}}
  54. } // }}}
  55. .crowi.single { // {{{
  56. } // }}}
  57. .crowi.single.nologin { // {{{
  58. //background: lighten($crowiHeaderBackground, 15%);
  59. // background: $crowiHeaderBackground;
  60. .installer-header {
  61. margin-top: 100px;
  62. text-align: center;
  63. h1 {
  64. margin: 40px 0 40px;
  65. color: #fff;
  66. font-size: 1.6em;
  67. }
  68. }
  69. .main {
  70. margin: 0;
  71. padding: 0;
  72. }
  73. h1.login-page {
  74. margin-top: 80px;
  75. color: #fff;
  76. font-size: 1.6em;
  77. padding: 10px;
  78. text-align: center;
  79. text-shadow: 0px 0px 6px rgba(0,0,0,.5);
  80. line-height: 100%;
  81. }
  82. .login-dialog-container {
  83. margin: 40px auto;
  84. float: none;
  85. .login-dialog {
  86. position: relative;
  87. form {
  88. margin-top: 10px;
  89. .input-group {
  90. margin-bottom: 10px;
  91. }
  92. }
  93. .login-dialog-inner, .register-dialog-inner {
  94. top: 0;
  95. left: 0;
  96. padding: 42px 48px;
  97. background: #fff;
  98. position: absolute;
  99. margin-bottom: 40px;
  100. width: 100%;
  101. box-shadow: 0 1px 40px 0 rgba(0,0,0,0.3);
  102. border-radius: 3px;
  103. h2 {
  104. margin: 0 0 28px;
  105. font-size: 1.3em;
  106. text-align: center;
  107. }
  108. }
  109. p.bottom-text {
  110. text-align: right;
  111. margin: 20px 0 0;
  112. }
  113. }
  114. }
  115. } // }}}
  116. @media (max-width: $screen-sm-max) { // {{{
  117. } // }}}
  118. @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { // {{{ tablet size
  119. .crowi.main-container { // {{{
  120. .main {
  121. article header {
  122. .bookmark-link {
  123. font-size: 1.3em;
  124. }
  125. h1 {
  126. font-size: 1.4em;
  127. margin-bottom: 0;
  128. }
  129. &.affix {
  130. width: 100%;
  131. }
  132. }
  133. }
  134. }
  135. } // }}}
  136. @media (max-width: $screen-xs-max) { // {{{ iPhone size
  137. .crowi.main-container { // {{{
  138. .main {
  139. article header {
  140. .bookmark-link {
  141. font-size: 1em;
  142. }
  143. h1 {
  144. font-size: 1.1em;
  145. }
  146. &.affix {
  147. h1 {
  148. font-size: 1.1em;
  149. }
  150. width: 100%;
  151. padding: 5px;
  152. box-shadow: 0 0px 2px #999;
  153. p.stopper {
  154. right: 20px;
  155. }
  156. }
  157. }
  158. }
  159. }
  160. }
  161. @media print { // {{{ printable style
  162. .crowi.main-container { // {{{
  163. padding: 30px;
  164. a:after {
  165. display: none !important;
  166. }
  167. .main {
  168. article header {
  169. border-bottom: solid 1px #666;
  170. h1 {
  171. font-size: 2em;
  172. color: #000;
  173. }
  174. }
  175. .revision-toc {
  176. float: none;
  177. font-size: .9em;
  178. border: solid 1px #aaa;
  179. border-radius: 5px;
  180. max-width: 100%;
  181. margin-bottom: 20px;
  182. .revision-toc-head {
  183. display: inline-block;
  184. float: none;
  185. }
  186. .revision-toc-content.collapse {
  187. display: block;
  188. height: auto;
  189. }
  190. }
  191. .meta {
  192. border-top: solid 1px #ccc;
  193. margin-top: 32px;
  194. color: #666;
  195. }
  196. }
  197. }
  198. } // }}}