gitlab-org--gitlab-foss/app/assets/stylesheets/pages/wiki.scss

188 lines
2.9 KiB
SCSS
Raw Normal View History

.new-wiki-page {
.new-wiki-page-slug-tip {
display: inline-block;
max-width: 100%;
margin-top: 5px;
}
}
.wiki-history,
.wiki-page,
.edit-wiki-page {
margin-right: $gutter-width;
}
.edit-wiki-page {
@media only screen and (min-width: map-get($grid-breakpoints, lg) + (2 * $gutter-width)) and (max-width: map-get($grid-breakpoints, lg) + (3 * $gutter-width)) {
margin-right: $gutter-width * 1.5;
}
}
.wiki-form {
.edit-wiki-page-slug-tip {
display: inline-block;
max-width: 100%;
margin-top: 5px;
}
}
.title .edit-wiki-header {
width: 780px;
margin-left: auto;
margin-right: auto;
padding-right: 7px;
}
.container-fluid.wiki-page,
.container-fluid.edit-wiki-page {
width: initial;
}
.wiki-history.breadcrumbs {
min-height: (2 * $gl-padding) + 22;
}
2016-11-15 09:17:44 +00:00
.wiki-page-header {
position: relative;
.wiki-breadcrumb {
border-bottom: 1px solid $white-normal;
padding: 11px 0;
}
2016-11-15 09:17:44 +00:00
.wiki-page-title {
margin: 0;
font-size: 22px;
}
2016-12-20 14:15:56 +00:00
.wiki-last-edit-by {
display: block;
2016-12-30 20:18:27 +00:00
color: $gl-text-color-secondary;
2016-11-15 09:17:44 +00:00
strong {
color: $gl-text-color;
}
}
2016-11-15 09:17:44 +00:00
.light {
font-weight: $gl-font-weight-normal;
2016-12-30 20:18:27 +00:00
color: $gl-text-color-secondary;
2016-11-15 09:17:44 +00:00
}
2016-11-15 07:45:03 +00:00
.git-clone-holder {
.input-group-prepend,
.input-group-append {
background-color: transparent;
}
2016-11-15 07:45:03 +00:00
}
2016-11-15 09:17:44 +00:00
button.sidebar-toggle {
position: absolute;
right: 0;
top: 11px;
display: block;
}
&.has-sidebar-toggle .git-access-header {
padding-right: $sidebar-toggle-width;
2016-11-15 09:17:44 +00:00
}
2018-04-09 15:26:28 +00:00
@include media-breakpoint-up(md) {
&.has-sidebar-toggle {
padding-right: 0;
}
2016-11-15 09:17:44 +00:00
button.sidebar-toggle {
display: none;
2016-11-15 07:45:03 +00:00
}
}
}
.wiki-git-access {
margin: $gl-padding 0;
h3 {
font-size: 19px;
font-weight: $gl-font-weight-normal;
margin: $gl-padding 0;
2016-11-15 07:45:03 +00:00
}
}
.right-sidebar.wiki-sidebar {
2017-08-02 23:13:16 +00:00
padding: 0;
&.right-sidebar-collapsed {
display: none;
}
2017-08-02 23:13:16 +00:00
.sidebar-container {
padding-bottom: $gl-padding;
2017-08-02 23:13:16 +00:00
width: calc(100% + 100px);
padding-right: 100px;
height: 100%;
overflow-y: scroll;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
.blocks-container {
padding: 0 $gl-padding;
}
a {
color: $layout-link-gray;
&:hover,
&.active {
2017-12-04 11:00:52 +00:00
text-decoration: none;
span {
text-decoration: underline;
}
}
}
2016-11-15 07:44:43 +00:00
.active > a {
color: $black;
}
ul.wiki-pages,
ul.wiki-pages li {
list-style: none;
padding: 0;
margin: 0;
}
2016-11-15 07:44:43 +00:00
ul.wiki-pages li {
margin: 5px 0 10px;
}
2016-12-19 05:13:26 +00:00
ul.wiki-pages ul {
padding-left: 15px;
}
.wiki-sidebar-header {
padding: $gl-padding;
.gutter-toggle {
margin-top: 0;
}
}
}
2016-12-19 05:13:26 +00:00
ul.wiki-pages-list.content-list {
a {
color: $blue-600;
}
ul {
2016-12-19 05:13:26 +00:00
list-style: none;
margin-left: 0;
padding-left: 15px;
2017-07-12 09:50:26 +00:00
li {
padding: 5px 0;
}
2016-12-19 05:13:26 +00:00
}
}