|
@@ -4,101 +4,107 @@
|
|
|
.crowi.main-container {
|
|
.crowi.main-container {
|
|
|
// padding controll of .header-wrap and .content-main are moved to _layout and _form
|
|
// 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;
|
|
|
|
|
|
|
+ /*
|
|
|
|
|
+ * header
|
|
|
|
|
+ */
|
|
|
|
|
+ header {
|
|
|
|
|
+ .btn-copy, .btn-edit {
|
|
|
|
|
+ @extend .text-muted;
|
|
|
|
|
+ opacity: 0.3;
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ &:not(:hover) {
|
|
|
|
|
+ background-color: transparent;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ // change button opacity
|
|
|
|
|
+ &:hover {
|
|
|
|
|
+ .btn.btn-copy, .btn.btn-edit {
|
|
|
|
|
+ opacity: unset;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- article header {
|
|
|
|
|
- background: #fff;
|
|
|
|
|
- width: 100%;
|
|
|
|
|
|
|
+ .like-button {
|
|
|
|
|
+ font-size: 1.2em;
|
|
|
|
|
+ line-height: 0.8em;
|
|
|
|
|
+ &.active {
|
|
|
|
|
+ @extend .btn-info;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .bookmark-link {
|
|
|
|
|
+ font-size: 1.2em;
|
|
|
|
|
+ line-height: 0.8em;
|
|
|
|
|
+ &.active {
|
|
|
|
|
+ @extend .btn-warning;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- &.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;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ .flex-title-line {
|
|
|
|
|
+ line-height: 1;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
|
|
|
|
|
+ .flex-item-title {
|
|
|
|
|
+ flex-basis: auto;
|
|
|
|
|
+ margin-right: auto;
|
|
|
|
|
+ }
|
|
|
|
|
+ .flex-item-action {
|
|
|
|
|
+ flex-basis: 2em;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ padding: 0 2px;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- &.col-md-12 article header.affix {
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ h1 {
|
|
|
|
|
+ font-size: 28px;
|
|
|
|
|
+ margin-top: 0;
|
|
|
|
|
+ margin-bottom: 0;
|
|
|
|
|
|
|
|
- article header { // not affixed
|
|
|
|
|
- .bookmark-link {
|
|
|
|
|
- color: #e6b422;
|
|
|
|
|
- font-size: 2em;
|
|
|
|
|
- &.bookmarked {
|
|
|
|
|
- //color: #fff;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ .btn-copy-container {
|
|
|
|
|
+ font-size: 0.65em;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .flex-title-line {
|
|
|
|
|
- line-height: 1;
|
|
|
|
|
- display: -webkit-flex;
|
|
|
|
|
- display: flex;
|
|
|
|
|
- -webkit-align-items: center;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
-
|
|
|
|
|
- .flex-item-title {
|
|
|
|
|
- -webkit-flex-basis: auto;
|
|
|
|
|
- flex-basis: auto;
|
|
|
|
|
- margin-right: auto;
|
|
|
|
|
- }
|
|
|
|
|
- .flex-item-action {
|
|
|
|
|
- -webkit-flex-basis: 2em;
|
|
|
|
|
- flex-basis: 2em;
|
|
|
|
|
- text-align: center;
|
|
|
|
|
- padding: 0 2px;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ //// TODO crowi layout only
|
|
|
|
|
+ // a.last-path {
|
|
|
|
|
+ // color: #D1E2E4;
|
|
|
|
|
+ // opacity: .4;
|
|
|
|
|
|
|
|
- h1 {
|
|
|
|
|
- font-size: 28px;
|
|
|
|
|
- margin-top: 0;
|
|
|
|
|
- margin-bottom: 0;
|
|
|
|
|
|
|
+ // &:hover {
|
|
|
|
|
+ // color: inherit;
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
- .btn-copy-container {
|
|
|
|
|
- font-size: 0.65em;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- a.last-path {
|
|
|
|
|
- color: #D1E2E4;
|
|
|
|
|
- opacity: .4;
|
|
|
|
|
|
|
+ .url-line {
|
|
|
|
|
+ color: #999;
|
|
|
|
|
+ font-size: 1rem;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- &:hover {
|
|
|
|
|
- color: inherit;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // affix
|
|
|
|
|
+ &.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;
|
|
|
}
|
|
}
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- .url-line {
|
|
|
|
|
- color: #999;
|
|
|
|
|
- font-size: 1rem;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- // change button opacity
|
|
|
|
|
- .btn.btn-muted {
|
|
|
|
|
- opacity: 0.3;
|
|
|
|
|
- }
|
|
|
|
|
- &:hover .btn.btn-muted {
|
|
|
|
|
- opacity: unset;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ /*
|
|
|
|
|
+ .main { // {{{ .main of layout related
|
|
|
|
|
+ transition: .5s ease;
|
|
|
|
|
+ -webkit-transition: .5s ease;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+
|
|
|
|
|
+ article {
|
|
|
|
|
+ background: #fff;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.content-main {
|
|
.content-main {
|
|
@@ -219,7 +225,6 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
.side-content {
|
|
.side-content {
|
|
|
// margin-bottom: $crowiFooterHeight + $crowiHeaderHeight;
|
|
// margin-bottom: $crowiFooterHeight + $crowiHeaderHeight;
|
|
|
color: #666;
|
|
color: #666;
|
|
@@ -247,7 +252,9 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
} // }}}
|
|
} // }}}
|
|
|
|
|
+ */
|
|
|
|
|
|
|
|
|
|
+ /*
|
|
|
.footer { // {{{
|
|
.footer { // {{{
|
|
|
position: fixed;
|
|
position: fixed;
|
|
|
width: calc(25% - 18px);
|
|
width: calc(25% - 18px);
|
|
@@ -284,8 +291,9 @@
|
|
|
}
|
|
}
|
|
|
} // }}}
|
|
} // }}}
|
|
|
} // }}}
|
|
} // }}}
|
|
|
-
|
|
|
|
|
|
|
+ */
|
|
|
}
|
|
}
|
|
|
|
|
+/*
|
|
|
.crowi.main-container .main .content-main .revision-history { // {{{
|
|
.crowi.main-container .main .content-main .revision-history { // {{{
|
|
|
h1 {
|
|
h1 {
|
|
|
padding-bottom: 0.3em;
|
|
padding-bottom: 0.3em;
|
|
@@ -355,8 +363,10 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
} // }}}
|
|
} // }}}
|
|
|
|
|
+*/
|
|
|
|
|
|
|
|
// for not_found.html
|
|
// for not_found.html
|
|
|
|
|
+/*
|
|
|
.crowi.main-container {
|
|
.crowi.main-container {
|
|
|
.message-not-found {
|
|
.message-not-found {
|
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
@@ -369,3 +379,4 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+*/
|