Skip to content
代码片段 群组 项目
提交 71b94884 编辑于 作者: Annabel Dunstone Gray's avatar Annabel Dunstone Gray
浏览文件

Update wiki CSS

上级 cc698930
No related branches found
No related tags found
无相关合并请求
......@@ -61,7 +61,7 @@
.header-content {
a {
color: var(--gl-text-color-heading);
color: var(--gl-text-color-default);
&:hover {
color: var(--blue-600, $blue-600);
......
......@@ -37,7 +37,7 @@
&:hover {
a {
color: var(--black, $black);
color: var(--gl-text-color-default);
}
}
......@@ -48,13 +48,6 @@
}
}
.wiki-list-expand-button,
.wiki-list-collapse-button {
color: $gray-400;
position: absolute;
right: $gl-spacing-scale-2;
}
ul.wiki-pages,
ul.wiki-pages li {
list-style: none;
......@@ -68,10 +61,6 @@
}
ul.wiki-pages-list.content-list {
a {
color: var(--blue-600, $blue-600);
}
ul {
list-style: none;
margin-left: 0;
......
......@@ -18,8 +18,8 @@
.gl-flex.gl-place-content-between.gl-items-center.gl-pb-3.gl-pr-1{ class: (@sidebar_page ? 'js-wiki-expand-pages-list wiki-list collapsed gl-pl-0' : 'gl-pl-3') }
.gl-flex.gl-items-center
- if @sidebar_page
= render Pajamas::ButtonComponent.new(category: :tertiary, size: :small, icon: 'chevron-right', button_options: { class: "js-wiki-list-expand-button wiki-list-expand-button !gl-static gl-mr-2", data: { testid: 'expand-pages-list' } })
= render Pajamas::ButtonComponent.new(category: :tertiary, size: :small, icon: 'chevron-down', button_options: { class: "js-wiki-list-collapse-button wiki-list-collapse-button !gl-static gl-mr-2", data: { testid: 'expand-pages-list' } })
= render Pajamas::ButtonComponent.new(category: :tertiary, size: :small, icon: 'chevron-right', button_options: { class: "js-wiki-list-expand-button wiki-list-expand-button gl-mr-2", data: { testid: 'expand-pages-list' } })
= render Pajamas::ButtonComponent.new(category: :tertiary, size: :small, icon: 'chevron-down', button_options: { class: "js-wiki-list-collapse-button wiki-list-collapse-button gl-mr-2", data: { testid: 'expand-pages-list' } })
%h2.gl-text-lg.gl-my-0.gl-mr-3= s_('Wiki|Pages')
= gl_badge_tag @wiki_pages_count
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册