|
| 1 | +// stylelint-disable max-nesting-depth, selector-max-compound-selectors |
| 2 | + |
| 3 | +.file-renderer-container { |
| 4 | + width: 100%; |
| 5 | + height: 1150px; |
| 6 | + display: flex; |
| 7 | + flex-direction: column; |
| 8 | + align-items: flex-start; |
| 9 | + justify-content: flex-start; |
| 10 | + |
| 11 | + .file-container { |
| 12 | + width: 100%; |
| 13 | + height: 1100px; |
| 14 | + display: flex; |
| 15 | + flex-direction: column; |
| 16 | + align-items: flex-start; |
| 17 | + justify-content: flex-start; |
| 18 | + } |
| 19 | + |
| 20 | + .details-container { |
| 21 | + width: 100%; |
| 22 | + height: 50px; |
| 23 | + display: flex; |
| 24 | + flex-direction: row; |
| 25 | + align-items: center; |
| 26 | + justify-content: flex-start; |
| 27 | + |
| 28 | + .name-container { |
| 29 | + width: 60%; |
| 30 | + height: 50px; |
| 31 | + overflow: hidden; |
| 32 | + display: flex; |
| 33 | + flex-direction: row; |
| 34 | + align-items: center; |
| 35 | + justify-content: space-between; |
| 36 | + |
| 37 | + .name, |
| 38 | + .version { |
| 39 | + display: flex; |
| 40 | + flex-direction: row; |
| 41 | + align-items: center; |
| 42 | + justify-content: flex-start; |
| 43 | + height: 25px; |
| 44 | + } |
| 45 | + } |
| 46 | + |
| 47 | + .version-container { |
| 48 | + width: 40%; |
| 49 | + height: 50px; |
| 50 | + display: flex; |
| 51 | + flex-direction: row; |
| 52 | + align-items: center; |
| 53 | + justify-content: flex-end; |
| 54 | + |
| 55 | + .version-menu { |
| 56 | + background-color: $color-bg-white; |
| 57 | + border: 1px solid rgba(0, 0, 0, 0.15); |
| 58 | + border-radius: 4px; |
| 59 | + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); |
| 60 | + padding: 5px; |
| 61 | + margin: 2px 0 0; |
| 62 | + |
| 63 | + ul { |
| 64 | + list-style: none; |
| 65 | + padding-inline-start: 0; |
| 66 | + } |
| 67 | + |
| 68 | + .li-container { |
| 69 | + margin-top: 10px; |
| 70 | + margin-bottom: 10px; |
| 71 | + |
| 72 | + .btn { |
| 73 | + display: inline-block; |
| 74 | + margin-bottom: 0; |
| 75 | + font-weight: 400; |
| 76 | + text-align: center; |
| 77 | + white-space: nowrap; |
| 78 | + touch-action: manipulation; |
| 79 | + cursor: pointer; |
| 80 | + background-image: none; |
| 81 | + border: 1px solid transparent; |
| 82 | + border-radius: 2px; |
| 83 | + padding: 6px 12px; |
| 84 | + font-size: 14px; |
| 85 | + line-height: 1.42857; |
| 86 | + user-select: none; |
| 87 | + vertical-align: middle; |
| 88 | + color: $color-text-white; |
| 89 | + } |
| 90 | + |
| 91 | + .btn-primary { |
| 92 | + color: $color-text-white; |
| 93 | + background-color: $color-bg-blue-dark; |
| 94 | + border-color: #2e6da4; |
| 95 | + } |
| 96 | + } |
| 97 | + } |
| 98 | + } |
| 99 | + } |
| 100 | + |
| 101 | + &.mobile { |
| 102 | + height: 500px; |
| 103 | + |
| 104 | + .file-container { |
| 105 | + height: 400px; |
| 106 | + } |
| 107 | + |
| 108 | + .details-container { |
| 109 | + height: 100px; |
| 110 | + flex-direction: column; |
| 111 | + |
| 112 | + .version-container, |
| 113 | + .name-container { |
| 114 | + height: 50px; |
| 115 | + width: 100%; |
| 116 | + justify-content: center; |
| 117 | + align-items: flex-start; |
| 118 | + flex-direction: column; |
| 119 | + } |
| 120 | + } |
| 121 | + } |
| 122 | +} |
0 commit comments