| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285 |
- .crowi { // {{{
- font-family: 'Open Sans', 'Helvetica Neue', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
- h1, h2, h3, h4, h5, h6 {
- font-weight: 500;
- }
- &.main-container { // {{{
- .crowi-header { // {{{
- z-index: 1040;
- background: $crowiHeaderBackground;
- height: $crowiHeaderHeight;
- border-radius: 0;
- border: none;
- margin-bottom: 0;
- box-shadow: 0 3px 10px 0px rgba(0,0,0,.3);
- .navbar-brand {
- font-weight: bold;
- img {
- display: inline;
- margin-right: 8px;
- }
- }
- .navbar-collapse {
- background: $crowiHeaderBackground;
- }
- > div > .navbar-nav li button {
- margin: 10px;
- }
- > div > a ,
- > div > ul > li > a {
- color: #ccc;
- &:hover {
- color: #aaa;
- }
- }
- .confidential {
- a {
- border: solid 2px #f00;
- background: #fff;
- color: #f00;
- font-weight: bold;
- height: 42px;
- margin-top: 5px;
- padding: 10px;
- margin-right: 5px;
- }
- }
- .navbar-toggle {
- position: absolute;
- top: 0;
- right: 0;
- }
- .navbar-collapse.collapse.in {
- .confidential {
- }
- }
- } // }}}
- .main {
- padding: 0; // cancel bootstrap padding
- .header-wrap {
- padding: 16px 16px 0 16px;
- }
- .content-main {
- padding: 16px;
- }
- }
- .layout-control { // {{{
- transition: .3s ease;
- -webkit-transition: .3s ease;
- position: fixed;
- display: block;
- text-align: center;
- right: 25%;
- bottom: 25px;
- padding: 5px 8px;
- border: solid 1px #ccc;
- border-right: none;
- background: $crowiAsideBackground;
- border-radius: 5px 0 0 5px;
- z-index: 1039;
- font-size: .8em;
- color: darken($link-color, 15%);
- &:hover {
- color: darken($link-color, 25%);
- background: darken($crowiAsideBackground, 10%);
- text-decoration: none;
- cursor: pointer;
- }
- } // }}}
- } // }}}
- } // }}}
- .crowi.single { // {{{
- } // }}}
- .crowi.single.nologin { // {{{
- //background: lighten($crowiHeaderBackground, 15%);
- background: $crowiHeaderBackground;
- .installer-header {
- margin-top: 100px;
- text-align: center;
- h1 {
- margin: 40px 0 40px;
- color: #fff;
- font-size: 1.6em;
- }
- }
- .main {
- margin: 0;
- padding: 0;
- }
- h1.login-page {
- margin-top: 80px;
- color: #fff;
- font-size: 1.6em;
- padding: 10px;
- text-align: center;
- text-shadow: 0px 0px 6px rgba(0,0,0,.5);
- line-height: 100%;
- }
- .login-dialog-container {
- margin: 40px auto;
- float: none;
- .login-dialog {
- position: relative;
- form {
- margin-top: 10px;
- .input-group {
- margin-bottom: 10px;
- }
- }
- .login-dialog-inner, .register-dialog-inner {
- top: 0;
- left: 0;
- padding: 42px 48px;
- background: #fff;
- position: absolute;
- margin-bottom: 40px;
- width: 100%;
- box-shadow: 0 1px 40px 0 rgba(0,0,0,0.3);
- border-radius: 3px;
- h2 {
- margin: 0 0 28px;
- font-size: 1.3em;
- text-align: center;
- }
- }
- p.bottom-text {
- text-align: right;
- margin: 20px 0 0;
- }
- }
- }
- } // }}}
- @media (max-width: $screen-sm-max) { // {{{
- } // }}}
- @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { // {{{ tablet size
- .crowi.main-container { // {{{
- .main {
- article header {
- .bookmark-link {
- font-size: 1.3em;
- }
- h1 {
- font-size: 1.4em;
- margin-bottom: 0;
- }
- &.affix {
- width: 100%;
- }
- }
- }
- }
- } // }}}
- @media (max-width: $screen-xs-max) { // {{{ iPhone size
- .crowi.main-container { // {{{
- .main {
- article header {
- .bookmark-link {
- font-size: 1em;
- }
- h1 {
- font-size: 1.1em;
- }
- &.affix {
- h1 {
- font-size: 1.1em;
- }
- width: 100%;
- padding: 5px;
- box-shadow: 0 0px 2px #999;
- p.stopper {
- right: 20px;
- }
- }
- }
- }
- }
- }
- @media print { // {{{ printable style
- .crowi.main-container { // {{{
- padding: 30px;
- a:after {
- display: none !important;
- }
- .main {
- article header {
- border-bottom: solid 1px #666;
- h1 {
- font-size: 2em;
- color: #000;
- }
- }
- .revision-toc {
- float: none;
- font-size: .9em;
- border: solid 1px #aaa;
- border-radius: 5px;
- max-width: 100%;
- margin-bottom: 20px;
- .revision-toc-head {
- display: inline-block;
- float: none;
- }
- .revision-toc-content.collapse {
- display: block;
- height: auto;
- }
- }
- .meta {
- border-top: solid 1px #ccc;
- margin-top: 32px;
- color: #666;
- }
- }
- }
- } // }}}
|