diff options
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/css/base.css | 3 | ||||
-rw-r--r-- | web_src/css/features/imagediff.css | 6 | ||||
-rw-r--r-- | web_src/css/helpers.css | 1 | ||||
-rw-r--r-- | web_src/css/modules/button.css | 1 | ||||
-rw-r--r-- | web_src/css/modules/normalize.css | 8 | ||||
-rw-r--r-- | web_src/css/modules/select.css | 2 | ||||
-rw-r--r-- | web_src/css/repo.css | 8 | ||||
-rw-r--r-- | web_src/css/review.css | 6 | ||||
-rw-r--r-- | web_src/css/shared/settings.css | 2 | ||||
-rw-r--r-- | web_src/css/standalone/swagger.css | 4 |
10 files changed, 14 insertions, 27 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css index 2b62c24858..a876885632 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1573,7 +1573,7 @@ img.ui.avatar, position: absolute; display: block; background: linear-gradient(to right, var(--color-header-wrapper-transparent), var(--color-header-wrapper) 100%); - content: ''; + content: ""; right: 0; height: 39px; width: 60px; @@ -2168,7 +2168,6 @@ table th[data-sortt-desc] .svg { background: var(--color-secondary-dark-1) !important; } - /* https://github.com/go-gitea/gitea/pull/11486 */ .ui.sub.header { text-transform: none; diff --git a/web_src/css/features/imagediff.css b/web_src/css/features/imagediff.css index 85d04575d9..a7bce3f471 100644 --- a/web_src/css/features/imagediff.css +++ b/web_src/css/features/imagediff.css @@ -50,11 +50,7 @@ overflow: hidden; } -.image-diff-container - .diff-swipe - .swipe-frame - .swipe-container - .after-container { +.image-diff-container .diff-swipe .swipe-frame .swipe-container .after-container { position: absolute; right: 0; } diff --git a/web_src/css/helpers.css b/web_src/css/helpers.css index eb0cf02068..eae3d33757 100644 --- a/web_src/css/helpers.css +++ b/web_src/css/helpers.css @@ -40,7 +40,6 @@ Gitea's private styles use `g-` prefix. text-overflow: ellipsis !important; } - .g-table-auto-ellipsis td.auto-ellipsis { position: relative; } diff --git a/web_src/css/modules/button.css b/web_src/css/modules/button.css index a798291a0d..66814acef1 100644 --- a/web_src/css/modules/button.css +++ b/web_src/css/modules/button.css @@ -95,7 +95,6 @@ a.btn:hover { background: var(--color-hover); } - .ui.basic.buttons .button:active, .ui.basic.button:active, .ui.basic.buttons .active.button, diff --git a/web_src/css/modules/normalize.css b/web_src/css/modules/normalize.css index 406869f7fb..809ed3d7cc 100644 --- a/web_src/css/modules/normalize.css +++ b/web_src/css/modules/normalize.css @@ -144,9 +144,9 @@ Correct the inability to style clickable types in iOS and Safari. */ button, -[type='button'], -[type='reset'], -[type='submit'] { +[type="button"], +[type="reset"], +[type="submit"] { -webkit-appearance: button; } @@ -206,7 +206,7 @@ Correct the cursor style of increment and decrement buttons in Safari. 2. Correct the outline style in Safari. */ -[type='search'] { +[type="search"] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; /* 2 */ } diff --git a/web_src/css/modules/select.css b/web_src/css/modules/select.css index 57a87888e0..1d7d749d4a 100644 --- a/web_src/css/modules/select.css +++ b/web_src/css/modules/select.css @@ -13,7 +13,7 @@ top: 12px; right: 8px; pointer-events: none; - content: ''; + content: ""; width: 14px; height: 14px; mask-size: cover; diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 546fff32f4..4c42f9f085 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -1844,7 +1844,6 @@ border: none; } - @media (max-width: 991.98px) { .diff-file-box { scroll-margin-top: 77px; /* match .repository .diff-detail-box */ @@ -1854,9 +1853,9 @@ /* TODO: this can potentially be made "global" by removing the class prefix */ .diff-file-box .ui.attached.header, .diff-file-box .ui.attached.table { - margin: 0; /* remove fomantic negative margins */; - width: initial; /* remove fomantic over 100% width */; - max-width: initial; /* remove fomantic over 100% width */; + margin: 0; /* remove fomantic negative margins */ + width: initial; /* remove fomantic over 100% width */ + max-width: initial; /* remove fomantic over 100% width */ } .repository .diff-stats { @@ -1908,7 +1907,6 @@ flex: 1 } - .repository.packages .empty { padding-top: 70px; padding-bottom: 100px; diff --git a/web_src/css/review.css b/web_src/css/review.css index 4b35764c7a..dce23bcd74 100644 --- a/web_src/css/review.css +++ b/web_src/css/review.css @@ -95,11 +95,7 @@ .comment-code-cloud .comments .comment { display: flex; } - .comment-code-cloud - .comments - .comment - .comment-header-right.actions - .ui.basic.label { + .comment-code-cloud .comments .comment .comment-header-right.actions .ui.basic.label { display: none; } .comment-code-cloud .comments .comment .avatar { diff --git a/web_src/css/shared/settings.css b/web_src/css/shared/settings.css index 297b691a48..33f88615e0 100644 --- a/web_src/css/shared/settings.css +++ b/web_src/css/shared/settings.css @@ -21,7 +21,7 @@ details.toggleable-item summary::-webkit-details-marker /* Safari */ { details.toggleable-item summary::after { transition: transform 0.25s ease; - content: ''; + content: ""; width: 14px; height: 14px; mask-size: cover; diff --git a/web_src/css/standalone/swagger.css b/web_src/css/standalone/swagger.css index 46b00d34ab..c32e392036 100644 --- a/web_src/css/standalone/swagger.css +++ b/web_src/css/standalone/swagger.css @@ -34,9 +34,9 @@ body { background: #1e1e1e; } .swagger-ui, .swagger-back-link { - filter: invert(88%) hue-rotate(180deg); + filter: invert(88%) hue-rotate(180deg); } .swagger-ui .microlight { - filter: invert(100%) hue-rotate(180deg); + filter: invert(100%) hue-rotate(180deg); } } |