debian-mirror-gitlab/app/assets/stylesheets/pages/wiki.scss

193 lines
2.7 KiB
SCSS
Raw Normal View History

2017-08-17 22:00:37 +05:30
.new-wiki-page {
.new-wiki-page-slug-tip {
display: inline-block;
max-width: 100%;
margin-top: 5px;
}
}
2018-03-17 18:26:18 +05:30
.wiki-form {
.edit-wiki-page-slug-tip {
display: inline-block;
max-width: 100%;
margin-top: 5px;
}
}
2014-09-02 18:07:02 +05:30
.title .edit-wiki-header {
width: 780px;
margin-left: auto;
margin-right: auto;
padding-right: 7px;
}
2017-08-17 22:00:37 +05:30
.wiki-page-header {
@extend .top-area;
position: relative;
.wiki-breadcrumb {
border-bottom: 1px solid $white-normal;
padding: 11px 0;
}
.wiki-page-title {
margin: 0;
font-size: 22px;
}
.wiki-last-edit-by {
display: block;
color: $gl-text-color-secondary;
strong {
color: $gl-text-color;
}
}
.light {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2017-08-17 22:00:37 +05:30
color: $gl-text-color-secondary;
}
.git-access-header {
2017-09-10 17:25:29 +05:30
padding: $gl-padding 0 $gl-padding-top;
2017-08-17 22:00:37 +05:30
}
.git-clone-holder {
width: 100%;
padding-bottom: 40px;
}
button.sidebar-toggle {
position: absolute;
right: 0;
top: 11px;
display: block;
}
@media (min-width: $screen-sm-min) {
&.has-sidebar-toggle {
padding-right: 40px;
}
.git-clone-holder {
width: 480px;
2017-09-10 17:25:29 +05:30
padding-bottom: $gl-padding;
2017-08-17 22:00:37 +05:30
}
.nav-controls {
width: auto;
min-width: 50%;
}
}
@media (min-width: $screen-md-min) {
&.has-sidebar-toggle {
padding-right: 0;
}
button.sidebar-toggle {
display: none;
}
}
}
.wiki-git-access {
margin: $gl-padding 0;
h3 {
2017-09-10 17:25:29 +05:30
font-size: 19px;
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2017-09-10 17:25:29 +05:30
margin: $gl-padding 0;
2017-08-17 22:00:37 +05:30
}
}
.right-sidebar.wiki-sidebar {
2017-09-10 17:25:29 +05:30
padding: 0;
2017-08-17 22:00:37 +05:30
&.right-sidebar-collapsed {
display: none;
}
2017-09-10 17:25:29 +05:30
.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;
}
2017-08-17 22:00:37 +05:30
.blocks-container {
padding: 0 $gl-padding;
}
.block {
width: 100%;
}
a {
color: $layout-link-gray;
&:hover,
&.active {
2018-03-17 18:26:18 +05:30
text-decoration: none;
span {
text-decoration: underline;
}
2017-08-17 22:00:37 +05:30
}
}
.active > a {
color: $black;
}
ul.wiki-pages,
ul.wiki-pages li {
list-style: none;
padding: 0;
margin: 0;
}
ul.wiki-pages li {
margin: 5px 0 10px;
}
ul.wiki-pages ul {
padding-left: 15px;
}
.wiki-sidebar-header {
padding: 0 $gl-padding $gl-padding;
.gutter-toggle {
margin-top: 0;
}
}
}
ul.wiki-pages-list.content-list {
2017-09-10 17:25:29 +05:30
ul {
2017-08-17 22:00:37 +05:30
list-style: none;
margin-left: 0;
padding-left: 15px;
2018-03-17 18:26:18 +05:30
li {
padding: 5px 0;
}
2017-08-17 22:00:37 +05:30
}
}
2018-03-27 19:54:05 +05:30
.wiki-holder {
overflow-x: auto;
overflow-y: hidden;
}
2017-08-17 22:00:37 +05:30
.wiki {
table {
@include markdown-table;
}
}