github.com/hernad/nomad@v1.6.112/ui/app/styles/components/job-diff.scss (about) 1 /** 2 * Copyright (c) HashiCorp, Inc. 3 * SPDX-License-Identifier: MPL-2.0 4 */ 5 6 .job-diff { 7 color: $grey-blue; 8 font-family: $family-monospace; 9 10 &.is-added, 11 &.is-deleted { 12 padding-left: 1ch; 13 } 14 15 &.is-edited { 16 padding-left: 2ch; 17 } 18 19 .diff-section-label { 20 text-indent: 0; 21 padding-left: 2ch; 22 23 &.is-added { 24 text-indent: -2ch; 25 } 26 27 &.is-edited { 28 text-indent: -4ch; 29 } 30 31 &.is-deleted { 32 text-indent: -2ch; 33 } 34 35 .marker { 36 &.is-added { 37 color: $nomad-green; 38 } 39 40 &.is-edited { 41 color: $orange; 42 } 43 44 &.is-deleted { 45 color: $red; 46 } 47 } 48 } 49 50 .diff-section-block { 51 padding-left: 0; 52 } 53 54 .diff-section-bold { 55 color: $white; 56 font-weight: $weight-bold; 57 } 58 59 .diff-section-change { 60 color: $white; 61 font-weight: $weight-bold; 62 } 63 64 .diff-section-table { 65 display: table; 66 } 67 68 .diff-section-table-row { 69 display: table-row; 70 } 71 72 .diff-section-table-cell { 73 display: table-cell; 74 75 & + .diff-section-table-cell { 76 text-indent: 1ch; 77 } 78 } 79 }