_layout.scss 3.5 KB

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