Skip to content

[create-theme]: Hide Window Buttons #43

@n7itro

Description

@n7itro

Name

Hide Window Buttons

Description

Hide the minimize, maximize, and close window buttons

Homepage

No response

Image

https://i.imgur.com/mms4VdY.png

Theme Styles

/* Remove minimize window button */
@media (-moz-bool-pref: "uc.my-preference.hide-minimize") {
  .titlebar-min {
    display: none;
  }
}

/* Remove maximize window button */
@media (-moz-bool-pref: "uc.my-preference.hide-maximize") {
  .titlebar-max {
    display: none;
  }
  .titlebar-restore {
    display: none;
  }
}

/* Remove close window button */
@media (-moz-bool-pref: "uc.my-preference.hide-close") {
  .titlebar-close {
    display: none;
  }
}

Readme

With this theme you can remove the buttons for minimizing, maximizing or closing a window individually.
You can still perform these actions by pressing Alt + Space.

Preferences

{
  "uc.my-preference.hide-minimize": "Hide the minimize window button",
  "uc.my-preference.hide-maximize": "Hide the maximize window button",
  "uc.my-preference.hide-close": "Hide the close window button"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    new-themeSubmit a theme to be added to the theme library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions