| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599 |
- .crowi { // {{{
- font-family: 'Maven Pro', '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;
- }
- .navbar-collapse {
- background: $crowiHeaderBackground;
- }
- > 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 {
- }
- }
- } // }}}
- .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;
- }
- } // }}}
- aside.sidebar { // {{{
- z-index: 1030;
- position: fixed;
- padding: 65px 0 0 0;
- margin-bottom: $crowiFooterHeight;
- color: #333;
- height: 100%;
- right: 0;
- top: 0;
- overflow: auto;
- border-left: solid 1px #ccc;
- background: $crowiAsideBackground;
- transition: .3s ease;
- -webkit-transition: .3s ease;
- .page-meta {
- padding: 15px 15px 5px 15px;
- color: #666;
- font-size: .9em;
- line-height: 1.4em;
- border-bottom: solid 1px #ccc;
- .creator-picture {
- text-align: center;
- img {
- width: 48px;
- height: 48px;
- box-shadow: 0 0 2px #333;
- }
- }
- .creator {
- font-size: 1.3em;
- font-weight: bold;
- }
- .created-at {
- }
- .like-box {
- padding-bottom: 0;
- .dl-horizontal {
- margin-bottom: 0;
- dt, dd {
- border-top: solid 1px #ccc;
- padding-top: 5px;
- padding-bottom: 5px;
- }
- dt {
- width: 80px;
- }
- dd {
- margin-left: 90px;
- text-align: right;
- }
- }
- .btn-bookmark {
- color: #e6b422;
- &.bookmarked {
- color: #fff;
- }
- }
- }
- .liker-list, .contributor-list, .seen-user-list {
- .picture-rounded {
- box-shadow: 0 0 2px #666;
- }
- }
- .liker-count, .contributor-count, .seen-user-count {
- font-size: 1.2em;
- font-weight: bold;
- margin-bottom: 5px;
- }
- .contributor-list, .seen-user-list {
- }
- }
- .side-content {
- margin-bottom: $crowiFooterHeight + $crowiHeaderHeight;
- padding: 15px;
- h3 {
- font-size: 1.1em;
- }
- a {
- color: #ccc;
- &:hover { color: #aaa;}
- }
- ul.revision-history {
- padding: 0;
- li {
- position: relative;
- list-style: none;
- a {
- color: #666;
- padding: 3px 5px 3px 40px;
- display: block;
- &:hover {
- background: darken($crowiAsideBackground, 10%);
- text-decoration: none;
- color: darken($link-color, 35%);
- }
- }
- }
- .picture {
- position: absolute;
- left: 5px;
- top: 12px;
- }
- }
- ul.fitted-list {
- padding-left: 0;
- li {
- margin-bottom: 2px;
- .input-group-addon {
- padding: 5px 6px;
- }
- }
- }
- }
- } // }}}
- .main { // {{{
- transition: .5s ease;
- -webkit-transition: .5s ease;
- background: #fff;
- padding: 20px;
- //margin-left: 10px;
- //padding: 10px;
- //
- article {
- background: #fff;
- }
- article header {
- background: #fff;
- width: 100%;
- p.stopper {
- display: none;
- }
- &.affix {
- width: 100%;
- top: 0;
- left: 0;
- padding: 5px 20px;
- z-index: 1039;
- background: rgba(255, 255, 255, .9);
- box-shadow: 0 0px 2px #999;
- h1 {
- font-size: 1.8em;
- }
- p.stopper {
- display: block;
- position: absolute;
- bottom: -30px;
- right: 10px;
- background: #fff;
- padding: 7px 14px;
- margin: 0;
- border: solid 1px #ccc;
- border-top: none;
- border-radius: 0 0 5px 5px;
- font-size: .8em;
- }
- }
- }
- &.col-md-12 article header.affix {
- width: 100%;
- }
- article header h1 {
- margin-top: 0;
- a:last-child {
- color: #D1E2E4;
- opacity: .7;
- &:hover {
- color: inherit;
- }
- }
- }
- } // }}}
- .main.grant-restricted,
- .main.grant-specified,
- .main.grant-owner {
- background: #333;
- padding: 20px 10px;
- .page-grant {
- color: #ccc;
- }
- article {
- border-radius: 5px;
- padding: 20px;
- }
- }
- .footer { // {{{
- position: fixed;
- width: 100%;
- bottom: 0px;
- height: 26px;
- padding: 4px;
- color: #444;
- background: $crowiAsideBackground;
- border-top-left-radius: 5px;
- z-index: 1055;
- a {
- color: #666;
- }
- } // }}}
- } // }}}
- &.main-container.aside-hidden { // {{{
- .layout-control {
- right: 0;
- i {
- transform: rotate(180deg);
- }
- }
- aside.sidebar { // {{{
- right: -25%;
- } // }}}
- .main { // {{{
- width: 100%;
- article header.affix {
- width: 100%;
- }
- } // }}}
- } // }}}
- // override bootstrap modals
- //.modal-backdrop {
- // z-index: 1052;
- //}
- //.modal {
- // z-index: 1055;
- //}
- } // }}}
- .crowi.main-container .main {
- .wiki-content {
- }
- .content-main {
- .tab-content {
- margin-top: 30px;
- }
- }
- // on-edit
- .content-main.on-edit {
- position: fixed;
- z-index: 1060;
- background: #fff;
- top: 0;
- left: 0;
- height: 100%;
- width: 100%;
- padding: 16px;
- .nav {
- margin-top: 8px;
- max-height: 8%;
- }
- .tab-content {
- margin-top: 1%;
- height: 83%;
- .edit-form {
- height: 100%;
- .row {
- height: 100%;
- .col-md-6 {
- height: 100%;
- form {
- height: 100%;
- textarea {
- height: 100%;
- }
- }
- .preview-body {
- height: 100%;
- padding-top: 5px;
- padding-bottom: 5px;
- overflow: scroll;
- }
- }
- }
- }
- }
- .form-group.form-submit-group {
- position: fixed;
- bottom: 0;
- width: 100%;
- left: 0;
- padding: 8px;
- max-height: 8%;
- background: rgba(255,255,255,.8);
- border-top: solid 1px #ccc;
- margin-bottom: 0;
- }
- }
- }
- .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 {
- .facebook-info {
- border-radius: 4px;
- border: solid 1px #ccc;
- padding: 10px;
- margin-bottom: 15px;
- }
- 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 (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { // {{{ tablet size
- .crowi.main-container { // {{{
- .main {
- article header {
- h1 {
- font-size: 1.4em;
- margin-bottom: 0;
- }
- &.affix {
- width: 100%;
- }
- }
- }
- }
- } // }}}
- @media (max-width: $screen-xs-max) { // {{{ iPhone size
- .crowi.main-container { // {{{
- .main {
- padding: 10px;
- article header {
- 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;
- margin-bottom: 20px;
- 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 #999;
- margin-top: 20px;
- color: #666;
- }
- }
- }
- } // }}}
|