Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
364c2ee1
Commit
364c2ee1
authored
Jun 25, 2020
by
derek-knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update styling for SSE markdown editor
parent
91895122
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
19 deletions
+39
-19
app/assets/stylesheets/components/rich_content_editor.scss
app/assets/stylesheets/components/rich_content_editor.scss
+34
-19
changelogs/unreleased/35347-styling-of-sse-markdown-mode.yml
changelogs/unreleased/35347-styling-of-sse-markdown-mode.yml
+5
-0
No files found.
app/assets/stylesheets/components/rich_content_editor.scss
View file @
364c2ee1
...
...
@@ -2,30 +2,45 @@
* Overrides styles from ToastUI editor
*/
// Toolbar buttons
.tui-editor-defaultUI-toolbar
.toolbar-button
{
color
:
$gl-gray-600
;
border
:
0
;
&
:hover
,
&
:active
{
color
:
$blue-500
;
.tui-editor-defaultUI
{
// Toolbar buttons
.tui-editor-defaultUI-toolbar
.toolbar-button
{
color
:
$gl-gray-600
;
border
:
0
;
&
:hover
,
&
:active
{
color
:
$blue-500
;
border
:
0
;
}
}
}
// Contextual menu's & popups
.tui-editor-defaultUI
.tui-popup-wrapper
{
@include
gl-overflow-hidden
;
@include
gl-rounded-base
;
@include
gl-border-gray-400
;
// Contextual menu's & popups
.tui-popup-wrapper
{
@include
gl-overflow-hidden
;
@include
gl-rounded-base
;
@include
gl-border-gray-400
;
hr
{
@include
gl-m-0
;
@include
gl-bg-gray-400
;
hr
{
@include
gl-m-0
;
@include
gl-bg-gray-400
;
}
button
{
@include
gl-text-gray-800
;
}
}
button
{
@include
gl-text-gray-800
;
/**
* Overrides styles from ToastUI's Code Mirror (markdown mode) editor.
* Toast UI internally overrides some of these using the `.tui-md-` prefix.
* https://codemirror.net/doc/manual.html#styling
*/
.te-md-container
.CodeMirror
*
{
@include
gl-font-monospace
;
@include
gl-font-size-monospace
;
@include
gl-line-height-20
;
}
}
changelogs/unreleased/35347-styling-of-sse-markdown-mode.yml
0 → 100644
View file @
364c2ee1
---
title
:
Update the static site editor's markdown mode text to monospace to better reflect a code-editing experience
merge_request
:
35347
author
:
Derek Knox
type
:
changed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment