Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: web client style #2609

Merged
merged 4 commits into from
Feb 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions web/.gitattributes
@@ -0,0 +1,2 @@
transmission-app.js -diff -merge
transmission-app.js linguist-generated=true
2 changes: 1 addition & 1 deletion web/public_html/transmission-app.js

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion web/style/transmission-app.scss
Expand Up @@ -103,6 +103,7 @@ $image-upload-download: 'images/up-and-down-arrows.svg';
--color-fg-disabled: #{$grey-400};
--color-fg-error: #{$red-500};
--color-fg-name: #{$grey-800};
--color-fg-on-popup: #{$grey-800};
--color-fg-port-closed: #{$red-500};
--color-fg-port-open: #{$green-500};
@media (prefers-color-scheme: dark) {
Expand Down Expand Up @@ -210,6 +211,7 @@ $toolbar-height: $toolbar-height-number * 1px;
background-position: center;
background-repeat: no-repeat;
border: 0;
border-radius: 10px;
cursor: pointer;
height: $toolbar-height;
margin-right: 6px;
Expand Down Expand Up @@ -1216,6 +1218,7 @@ $popup-top: 61px; // TODO: ugly that this is hardcoded

background: $background-color;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
color: var(--color-fg-on-popup);
position: absolute;
z-index: $z-index-popup;

Expand Down Expand Up @@ -1255,6 +1258,7 @@ $popup-top: 61px; // TODO: ugly that this is hardcoded
);
border-radius: 8px;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
color: var(--color-fg-on-popup);
padding: 20px;
position: fixed;
width: 200px;
Expand Down Expand Up @@ -1285,7 +1289,6 @@ $popup-top: 61px; // TODO: ugly that this is hardcoded
a,
button,
label {
color: var(--color-fg-primary);
font-size: 1em;

&:disabled {
Expand Down Expand Up @@ -1449,6 +1452,7 @@ $logo-size: 64px;
}

.dialog-window {
color: var(--color-fg-on-popup);
display: grid;
grid-column-gap: 12px;
grid-template-areas:
Expand Down