mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 06:39:40 +01:00
5adf32b48e
### File path before/after <img width="522" alt="Screenshot 2023-05-01 at 13 23 33" src="https://user-images.githubusercontent.com/115237/235445636-57776038-c98e-4cab-8abe-045138a76958.png"> <img width="522" alt="Screenshot 2023-05-01 at 13 24 08" src="https://user-images.githubusercontent.com/115237/235445638-70bef62a-1b70-41f8-ba51-728db4d54402.png"> ### File edit before/after <img width="499" alt="Screenshot 2023-05-01 at 13 24 46" src="https://user-images.githubusercontent.com/115237/235445676-7b3cc23e-289b-40a6-8d4f-0d7fb2efb55e.png"> <img width="497" alt="Screenshot 2023-05-01 at 13 24 52" src="https://user-images.githubusercontent.com/115237/235445677-db9f3974-8456-46de-a32b-9198110c0540.png"> ### Cherry-pick before/after <img width="590" alt="Screenshot 2023-05-01 at 13 25 30" src="https://user-images.githubusercontent.com/115237/235445717-99445024-1bb2-46d4-9bd8-8086bad57d34.png"> <img width="582" alt="Screenshot 2023-05-01 at 13 25 37" src="https://user-images.githubusercontent.com/115237/235445720-9c1dc497-eb23-4e10-a727-27f4d6df69e6.png">
87 lines
1.6 KiB
CSS
87 lines
1.6 KiB
CSS
.repository.file.editor .tab[data-tab="write"] {
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.repository.file.editor .tab[data-tab="write"] .editor-toolbar {
|
|
border: 0 !important;
|
|
}
|
|
|
|
.repository.file.editor .tab[data-tab="write"] .CodeMirror {
|
|
border-left: 0;
|
|
border-right: 0;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.repo-editor-header {
|
|
display: flex;
|
|
margin: 1rem 0;
|
|
padding: 3px 0;
|
|
}
|
|
|
|
.editor-toolbar {
|
|
border-color: var(--color-secondary);
|
|
}
|
|
|
|
.editor-toolbar.fullscreen {
|
|
background: var(--color-body);
|
|
}
|
|
|
|
.editor-toolbar button {
|
|
border: none !important;
|
|
color: var(--color-text-light);
|
|
}
|
|
|
|
.editor-toolbar button:not(:hover) {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.editor-toolbar i.separator {
|
|
border-left: none;
|
|
border-right-color: var(--color-secondary);
|
|
}
|
|
|
|
.editor-toolbar button:hover {
|
|
background: var(--color-hover);
|
|
}
|
|
|
|
.editor-toolbar button.active {
|
|
background: var(--color-active);
|
|
}
|
|
|
|
/* hide preview button, we have the preview tab for this */
|
|
.editor-toolbar:not(.fullscreen) .preview {
|
|
display: none;
|
|
}
|
|
|
|
/* hide revert button in fullscreen, it breaks the page */
|
|
.editor-toolbar.fullscreen .revert-to-textarea {
|
|
display: none;
|
|
}
|
|
|
|
.editor-preview {
|
|
background-color: var(--color-body);
|
|
}
|
|
|
|
.editor-preview-side {
|
|
border-color: var(--color-secondary);
|
|
}
|
|
|
|
.editor-statusbar {
|
|
color: var(--color-text-light);
|
|
}
|
|
|
|
.editor-loading {
|
|
padding: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.edit-diff {
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.edit-diff > div > .ui.table {
|
|
border-top: none !important;
|
|
border-bottom: none !important;
|
|
border-left: 1px solid var(--color-secondary) !important;
|
|
border-right: 1px solid var(--color-secondary) !important;
|
|
}
|