| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301 |
- .crowi.main-container {
- // padding controll of .header-wrap and .content-main are moved to _layout and _form
- .main { // {{{ .main of layout related
- transition: .5s ease;
- -webkit-transition: .5s ease;
- background: #fff;
- 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 { // not affixed
- .bookmark-link {
- float: right;
- color: #e6b422;
- font-size: 2em;
- &.bookmarked {
- //color: #fff;
- }
- }
- h1 {
- font-size: 28px;
- margin-top: 0;
- margin-bottom: 0;
- a:last-child {
- color: #D1E2E4;
- opacity: .4;
- &:hover {
- color: inherit;
- }
- }
- }
- }
- .content-main {
- .tab-content {
- margin-top: 30px;
- }
- }
- } // }}}
- // {{{ grant related style
- .main.grant-restricted,
- .main.grant-specified,
- .main.grant-owner {
- background: #333;
- padding: 16px;
- .page-grant {
- color: #ccc;
- }
- article {
- border-radius: 5px;
- }
- }
- // }}}
- .page-attachments { // {{{
- p {
- font-weight: bold;
- }
- ul {
- }
- } // }}}
- 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 1px #666;
- }
- }
- .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;
- }
- }
- }
- .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;
- color: #666;
- padding: 15px;
- h3 {
- font-size: 1.1em;
- }
- a {
- color: #ccc;
- &:hover { color: #aaa;}
- }
- ul.fitted-list {
- padding-left: 0;
- li {
- margin-bottom: 2px;
- .input-group-addon {
- padding: 5px 6px;
- }
- }
- }
- }
- } // }}}
- .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;
- }
- } // }}}
- &.aside-hidden { // {{{
- .layout-control {
- right: 0;
- i {
- transform: rotate(180deg);
- }
- }
- aside.sidebar { // {{{
- right: -25%;
- } // }}}
- .main { // {{{
- width: 100%;
- article header.affix {
- width: 100%;
- }
- } // }}}
- } // }}}
- }
- .crowi.main-container .main .content-main .revision-history { // {{{
- h1 {
- padding-bottom: 0.3em;
- font-size: 2.3em;
- font-weight: bold;
- border-bottom: solid 1px #ccc;
- }
- .revision-history-list {
- .revision-hisory-outer {
- margin-top: 8px;
- .picture {
- float: left;
- width: 32px;
- height: 32px;
- }
- .revision-history-main {
- margin-left: 40px;
- .revision-history-author {
- color: #666;
- }
- .revision-history-comment {
- }
- .revision-history-meta {
- }
- }
- }
- 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%);
- }
- }
- }
- }
- } // }}}
|