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

188 lines
2.7 KiB
SCSS
Raw Normal View History

.new-wiki-page {
.new-wiki-page-slug-tip {
display: inline-block;
max-width: 100%;
margin-top: 5px;
}
}
2018-02-05 12:17:21 -05:00
.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;
}
2016-11-15 04:17:44 -05:00
.wiki-page-header {
@extend .top-area;
position: relative;
.wiki-breadcrumb {
border-bottom: 1px solid $white-normal;
padding: 11px 0;
}
2016-11-15 04:17:44 -05:00
.wiki-page-title {
margin: 0;
font-size: 22px;
}
2016-12-20 09:15:56 -05:00
.wiki-last-edit-by {
display: block;
2016-12-30 15:18:27 -05:00
color: $gl-text-color-secondary;
2016-11-15 04:17:44 -05:00
strong {
color: $gl-text-color;
}
}
2016-11-15 04:17:44 -05:00
.light {
font-weight: $gl-font-weight-normal;
2016-12-30 15:18:27 -05:00
color: $gl-text-color-secondary;
2016-11-15 04:17:44 -05:00
}
2016-11-15 02:45:03 -05:00
.git-access-header {
padding: $gl-padding 0 $gl-padding-top;
2016-11-15 02:45:03 -05:00
}
.git-clone-holder {
2016-11-15 04:17:44 -05:00
width: 100%;
2016-11-15 02:45:03 -05:00
padding-bottom: 40px;
}
2016-11-15 04:17:44 -05:00
button.sidebar-toggle {
position: absolute;
right: 0;
top: 11px;
display: block;
}
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(sm) {
&.has-sidebar-toggle {
padding-right: 40px;
}
2016-11-15 04:17:44 -05:00
2016-11-15 02:45:03 -05:00
.git-clone-holder {
2016-11-15 04:17:44 -05:00
width: 480px;
padding-bottom: $gl-padding;
2016-11-15 04:17:44 -05:00
}
.nav-controls {
width: auto;
min-width: 50%;
}
2016-11-15 04:17:44 -05:00
}
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(md) {
&.has-sidebar-toggle {
padding-right: 0;
}
2016-11-15 04:17:44 -05:00
button.sidebar-toggle {
display: none;
2016-11-15 02:45:03 -05: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 02:45:03 -05:00
}
}
.right-sidebar.wiki-sidebar {
2017-08-02 19:13:16 -04:00
padding: 0;
&.right-sidebar-collapsed {
display: none;
}
2017-08-02 19:13:16 -04:00
.sidebar-container {
padding: $gl-padding 0;
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;
}
.block {
width: 100%;
}
a {
color: $layout-link-gray;
&:hover,
&.active {
2017-12-04 06:00:52 -05:00
text-decoration: none;
span {
text-decoration: underline;
}
}
}
2016-11-15 02:44:43 -05:00
.active > a {
color: $black;
}
ul.wiki-pages,
ul.wiki-pages li {
list-style: none;
padding: 0;
margin: 0;
}
2016-11-15 02:44:43 -05:00
ul.wiki-pages li {
margin: 5px 0 10px;
}
2016-12-19 00:13:26 -05:00
ul.wiki-pages ul {
padding-left: 15px;
}
.wiki-sidebar-header {
padding: 0 $gl-padding $gl-padding;
.gutter-toggle {
margin-top: 0;
}
}
}
2016-12-19 00:13:26 -05:00
ul.wiki-pages-list.content-list {
ul {
2016-12-19 00:13:26 -05:00
list-style: none;
margin-left: 0;
padding-left: 15px;
2017-07-12 05:50:26 -04:00
li {
padding: 5px 0;
}
2016-12-19 00:13:26 -05:00
}
}
2017-04-27 07:28:53 -04:00
.wiki {
table {
@include markdown-table;
}
}