Skip to content

Commit

Permalink
Version 3.4.1
Browse files Browse the repository at this point in the history
Fixed a design issue in switches.
  • Loading branch information
USBA committed Dec 30, 2020
1 parent c77468d commit 8d25469
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 188 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file added mcOS11-GTK/.DS_Store
Binary file not shown.
187 changes: 0 additions & 187 deletions mcOS11-GTK/gtk-3.0/assets/switch-symbols-symbolic.svg

This file was deleted.

Binary file not shown.
3 changes: 2 additions & 1 deletion mcOS11-GTK/gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,8 @@ scrollbar.horizontal button.up { -gtk-icon-source: -gtk-icontheme("pan-start-sym
treeview ~ scrollbar.vertical { border-top: 1px solid #e0e0e0; margin-top: -1px; }

/********** Switch * */
switch { font-size: 0; outline-offset: -4px; min-width: 36px; min-height: 18px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); border: 2px solid #cccccc; border-radius: 999px; background-color: #cccccc; color: #ffffff; background-image: image(-gtk-recolor(url("assets/switch-symbols-symbolic.svg")), -gtk-recolor(url("assets/switch-symbols-symbolic.symbolic.png"))); background-repeat: no-repeat; background-position: center; background-size: contain; }

switch { font-size: 0; outline-offset: -4px; min-width: 36px; min-height: 18px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); border: 0px solid #cccccc; border-radius: 999px; background-color: #cccccc; color: transparent; }

switch:checked { border-color: #007aff; background-color: #007aff; box-shadow: 0 2px 4px rgba(0, 122, 255, 0.3); }

Expand Down

0 comments on commit 8d25469

Please sign in to comment.