diff options
author | silverwind <me@silverwind.io> | 2023-03-15 03:20:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 22:20:19 -0400 |
commit | 202803fc69d21763a06d8d0f5a4c46509c18f6f1 (patch) | |
tree | 4e273829061a640ceb6b3a33e563b3e8d842a8ae /web_src/less/code | |
parent | bf730528cadc4727eab8844934b6a0716d327243 (diff) | |
download | gitea-202803fc69d21763a06d8d0f5a4c46509c18f6f1.tar.gz gitea-202803fc69d21763a06d8d0f5a4c46509c18f6f1.zip |
Replace Less with CSS (#23481)
Ran most of the Less files through the Less compiler and Prettier and
then followed up with a round of manual fixes.
The Less compiler had unfortunately stripped all `//` style comments
that I had to restore (It did preserve `/* */` comments). Other fixes
include duplicate selector removal which were revealed after the
transpilation and which weren't caught by stylelint before but now are.
Fixes: https://github.com/go-gitea/gitea/issues/15565
Diffstat (limited to 'web_src/less/code')
-rw-r--r-- | web_src/less/code/linebutton.less | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/web_src/less/code/linebutton.less b/web_src/less/code/linebutton.less deleted file mode 100644 index a2956ffc1f..0000000000 --- a/web_src/less/code/linebutton.less +++ /dev/null @@ -1,24 +0,0 @@ -.code-view .lines-num:hover { - color: var(--color-text-dark) !important; -} - -.code-line-menu { - width: auto !important; -} - -.code-line-button { - background-color: var(--color-menu); - color: var(--color-text-light); - border: 1px solid var(--color-secondary); - border-radius: var(--border-radius); - padding: 1px 10px; - position: absolute; - font-family: var(--fonts-regular); - left: 0; - transform: translateX(-70%); - cursor: pointer; - - &:hover { - color: var(--color-primary); - } -} |