code.gitea.io/gitea@v1.21.7/web_src/css/editor/fileeditor.css (about)

     1  .repository.file.editor .tab[data-tab="write"] {
     2    padding: 0 !important;
     3  }
     4  
     5  .repository.file.editor .tab[data-tab="write"] .editor-toolbar {
     6    border: 0 !important;
     7  }
     8  
     9  .repository.file.editor .tab[data-tab="write"] .CodeMirror {
    10    border-left: 0;
    11    border-right: 0;
    12    border-bottom: 0;
    13  }
    14  
    15  .repo-editor-header {
    16    display: flex;
    17    margin: 1rem 0;
    18    padding: 3px 0;
    19  }
    20  
    21  .editor-toolbar {
    22    border-color: var(--color-secondary);
    23  }
    24  
    25  .editor-toolbar.fullscreen {
    26    background: var(--color-body);
    27  }
    28  
    29  .editor-toolbar button {
    30    border: none !important;
    31    color: var(--color-text-light);
    32  }
    33  
    34  .editor-toolbar button:not(:hover) {
    35    background-color: transparent !important;
    36  }
    37  
    38  .editor-toolbar i.separator {
    39    border-left: none;
    40    border-right-color: var(--color-secondary);
    41  }
    42  
    43  .editor-toolbar button:hover {
    44    background: var(--color-hover);
    45  }
    46  
    47  .editor-toolbar button.active {
    48    background: var(--color-active);
    49  }
    50  
    51  /* hide preview button, we have the preview tab for this */
    52  .editor-toolbar:not(.fullscreen) .preview {
    53    display: none;
    54  }
    55  
    56  /* hide revert button in fullscreen, it breaks the page */
    57  .editor-toolbar.fullscreen .revert-to-textarea {
    58    display: none;
    59  }
    60  
    61  .editor-preview {
    62    background-color: var(--color-body);
    63  }
    64  
    65  .editor-preview-side {
    66    border-color: var(--color-secondary);
    67  }
    68  
    69  .editor-statusbar {
    70    color: var(--color-text-light);
    71  }
    72  
    73  .editor-loading {
    74    padding: 1rem;
    75    text-align: center;
    76  }
    77  
    78  .edit-diff {
    79    padding: 0 !important;
    80  }
    81  
    82  .edit-diff > div > .ui.table {
    83    border-top: none !important;
    84    border-bottom: none !important;
    85  }