Giter Club home page Giter Club logo

Comments (1)

EliverLara avatar EliverLara commented on August 18, 2024

There is a version available without MAC style buttons in gnome-look, but if you want to do it manually check out the following diffs:

widgets/_windows.scss

diff --git a/gtk-3.20/widgets/_windows.scss b/gtk-3.20/widgets/_windows.scss
index 0b08f8a..29ba6f2 100644
--- a/gtk-3.20/widgets/_windows.scss
+++ b/gtk-3.20/widgets/_windows.scss
@@ -66,45 +66,6 @@ decoration {
   }
 }
 
-// Window Close button
-button.titlebutton {
-  background-repeat: no-repeat;
-  background-position: center;
-  min-height: 32px;
-  padding: 0 3px;
-  box-shadow: none;
-  
-  &.close {
-    background-image: -gtk-scaled(url("../assets/close.png"),url("../assets/[email protected]"));
-    &:hover,&:active {
-      background-image: -gtk-scaled(url("../assets/close_prelight.png"),url("../assets/[email protected]"));
-    }
-  }
-  &.maximize {
-    background-image: -gtk-scaled(url("../assets/maximize.png"),url("../assets/[email protected]"));
-    &:hover,&:active {
-      background-image: -gtk-scaled(url("../assets/maximize_prelight.png"),url("../assets/[email protected]"));
-    }
-  }
-  &.minimize {
-    background-image: -gtk-scaled(url("../assets/min.png"),url("../assets/[email protected]"));
-    &:hover,&:active {
-      background-image: -gtk-scaled(url("../assets/min_prelight.png"),url("../assets/[email protected]"));
-    }
-  }
-
-  .selection-mode & {
-    @extend %button.flat.suggested-action;
-
-    @extend %nobg_selected_items;
-  }
-
-  &:backdrop { 
-    -gtk-icon-shadow: none; 
-    background-image: -gtk-scaled(url("../assets/close_unfocused.png"),url("../assets/[email protected]"));    
-  }
-}
-
 headerbar.selection-mode button.titlebutton,
 .titlebar.selection-mode button.titlebutton {
   @include _button_text_shadow(white, $selected_bg_color);

widgets/_header-bars.scss

diff --git a/gtk-3.20/widgets/_header-bars.scss b/gtk-3.20/widgets/_header-bars.scss
index 73e414b..d1d8b44 100644
--- a/gtk-3.20/widgets/_header-bars.scss
+++ b/gtk-3.20/widgets/_header-bars.scss
@@ -112,20 +112,6 @@ headerbar {
       }
     }
 
-    //Reset style
-    &.titlebutton {
-      color: transparent;
-      box-shadow: none;
-
-      &:hover,
-      &:active,
-      &:checked,
-      &:backdrop,
-      &:backdrop:hover,* {
-        color: transparent;
-        box-shadow: none;
-      }
-    }
   }
   .linked > button,
   .linked > button:hover,

from ant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.