diff --git a/abbith-gtk-theme/.editorconfig b/abbith-gtk-theme/.editorconfig new file mode 100644 index 0000000..cc42978 --- /dev/null +++ b/abbith-gtk-theme/.editorconfig @@ -0,0 +1,33 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# editorconfig.org + +root = true + + +[*] + +# change these settings to your own preference +indent_style = space +indent_size = 4 + +# we recommend you to keep these unchanged +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[*.yml] +indent_style = space +indent_size = 2 + +[Makefile] +indent_style = tab +indent_size = 4 + +[*.sh] +indent_style = tab +indent_size = 4 diff --git a/abbith-gtk-theme/.github/CONTRIBUTING.md b/abbith-gtk-theme/.github/CONTRIBUTING.md new file mode 100644 index 0000000..1df3271 --- /dev/null +++ b/abbith-gtk-theme/.github/CONTRIBUTING.md @@ -0,0 +1,247 @@ +# Contributing to the Numix Project + +:+1::tada: First off, thanks for taking the time to contribute! :tada::+1: + +The following is a set of guidelines for contributing to the Numix Project and its visual works, which are hosted in the [Numix Project Organization](https://github.com/numixproject) on GitHub. +These are just guidelines, not rules, use your best judgment and feel free to propose changes to this document in a pull request. + +#### Table Of Contents + +[What should I know before I get started?](#what-should-i-know-before-i-get-started) + * [Code of Conduct](#code-of-conduct) + +[How Can I Contribute?](#how-can-i-contribute) + * [Reporting Bugs](#reporting-bugs) + * [Suggesting Enhancements](#suggesting-enhancements) + * [Your First Code Contribution](#your-first-code-contribution) + * [Pull Requests](#pull-requests) + +[Style Guides](#styleguides) + * [Git Commit Messages](#git-commit-messages) + +[Additional Notes](#additional-notes) + * [Issue and Pull Request Labels](#issue-and-pull-request-labels) + +## What should I know before I get started? + +### Code of Conduct + +This project adheres to the Contributor Covenant [code of conduct](/CODE_OF_CONDUCT.md). +By participating, you are expected to uphold this code. +Please report unacceptable behavior to [numixproject@github.com](mailto:numixproject@github.com). + +## How Can I Contribute? + +### Reporting Bugs + +This section guides you through submitting a bug report for a Numix product/project. Following these guidelines helps maintainers and the community understand your report :pencil:, reproduce the behavior :computer: :computer:, and find related reports :mag_right:. + +Before creating bug reports, please check [this list](#before-submitting-a-bug-report) as you might find out that you don't need to create one. When you are creating a bug report, please [include as many details as possible](#how-do-i-submit-a-good-bug-report). Please try not to deviate away from the predefined issue template's format as doing so will delay the review of your issue. + +#### Before Submitting A Bug Report + +* **Most importantly**, check to see if you can reproduce the problem while using the latest version of the product/project from its [`master` branch](https://github.com/numixproject/numix-gtk-theme/tree/master). +* **Perform a [cursory search](https://github.com/issues?q=+is%3Aissue+user%3Anumixproject)** to see if the problem has already been reported. If it has, add a *thumbs up* reaction to the existing issue instead of opening a new one. Only add comments to issues when you have new information to provide that is relevant to the issue. + +#### How Do I Submit A (Good) Bug Report? + +Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). After you've determined [which repository](http://github.com/numixproject) your bug is related to, create an issue on that repository and provide the following information. + +Explain the problem and include additional details to help maintainers reproduce the problem: + +* **Use a clear and descriptive title** for the issue to identify the problem. The **preferred format for issue titles** is: + * `General Scope :: Specialized Scope :: One-sentence description of the issue` + * Example: `GTK 3.20 :: Nautilus :: Active tab is not easily distinguishable from other tabs` +* **Describe the exact steps which reproduce the problem** in as many details as possible. +* **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior. +* **Explain which behavior you expected to see instead and why.** +* **Include screenshots and, when applicable, animated GIFs** which clearly demonstrate the problem. You can use [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) to create animated GIFs on Linux. + +Provide more context by answering these questions when applicable: + +* **Did the problem start happening recently** (e.g. after updating to a new version of the product) or was this always a problem? +* If the problem started happening recently, **can you reproduce the problem in an older version of the product?** What's the most recent version in which the problem doesn't happen? You can download older versions of the product from [its releases page](https://github.com/numixproject/). +* **Can you reliably reproduce the issue?** If not, provide details about how often the problem happens and under which conditions it normally happens. + +Include details about your configuration and environment: + +* **Which version of the product are you using?** +* **What's the name and version of the distribution you're using**? +* **Which version of GTK do you have installed?** + +#### Template For Submitting Bug Reports + +When you create a new issue, you will see that a structured template has been pre-filled for you. Please try not to deviate away from the template. + +### Suggesting Enhancements + +This section guides you through submitting an enhancement suggestion for a Numix product/project, including completely new features/designs and minor improvements to existing features/designs. Following these guidelines helps maintainers and the community understand your suggestion :pencil: and find related suggestions :mag_right:. + +Before creating enhancement suggestions, please check [this list](#before-submitting-an-enhancement-suggestion) as you might find out that you don't need to create one. When you are creating an enhancement suggestion, please [include as many details as possible](#how-do-i-submit-a-good-enhancement-suggestion). Try not to deviate away from the predefined issue template's format as doing so will delay the review of your issue. + +#### Before Submitting An Enhancement Suggestion + +* **Perform a [cursory search](https://github.com/issues?q=+is%3Aissue+user%3Anumixproject)** to see if the enhancement has already been suggested. If it has, add a *thumbs up* reaction to the existing issue instead of opening a new one. + +#### How Do I Submit A (Good) Enhancement Suggestion? + +Enhancement suggestions are tracked as [GitHub issues](https://guides.github.com/features/issues/). After you've determined [which repository](http://github.com/numixproject) your enhancement suggestions is related to, create an issue on that repository and provide the following information: + +* **Use a clear and descriptive title** for the issue to identify the problem. The **preferred format for issue titles** is: + * `General Scope :: Specialized Scope :: One-sentence description of the suggested enhancement` + * Example: `MATE Desktop :: Panel :: Add support for MATE Panel` +* **Provide a detailed description of the suggested enhancement**. +* **Include screenshots and, where applicable, animated GIFs** which help you demonstrate the current vs. desired results or to point out the part of the product/project to which the suggestion relates. You can use [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) to create animated GIFs on Linux. +* **Explain why this enhancement is needed**. +* **Specify which version of the product/project you're using.**. +* **Specify the name and version of the distribution you're using.** + +#### Template For Submitting Enhancement Suggestions + +When you create a new issue, you will see that a structured template has been pre-filled for you. Please try not to deviate away from the template. + +### Your First Code Contribution + +Unsure where to begin contributing to Numix? You can start by looking through these `beginner` and `help-wanted` issues: + +* [Beginner issues][beginner] - issues that should only require a few lines of code. +* [Help welcomed issues][help-welcomed] - issues that should be a bit more involved than `beginner` issues. + +Both issue lists are sorted by total number of *thumbs up* reactions which is a reasonable proxy for the impact a given change will have. + +### Pull Requests + +* Every pull request should directly address at least one existing github issue. All activity related to the review of a pull request will be tracked on the github issue targeted by the pull request including comments, questions, feedback, etc. +* If there is no existing github issue, you should create one prior to submitting your pull request. +* Your commit message should directly reference the issue it addresses ("Fix \#123" or "Fixes \#123"). +* Pull requests should not include large scale changes. **Always** break up large scale changes into multiple pull requests. +* Since most Numix products/projects are visual design oriented, **always** include before/after screenshots and, when applicable, animated GIFs in your pull requests. +* Follow the [Sass](#sass-styleguide) and [CSS](https://github.com/styleguide/css) style guides. +* End files with a newline. + +## Style Guides + +### Git Commit Messages + +* Use the present tense ("Add feature" not "Added feature") +* Limit the first line to 72 characters or less +* Reference issues and other pull requests liberally + +## Additional Notes + +### Issue and Pull Request Labels + +This section lists the labels we use to help us track and manage issues and pull requests. Most labels are used across all Numix repositories, but some are specific to `numixproject/numix-gtk-theme`. + +[GitHub search](https://help.github.com/articles/searching-issues/) makes it easy to use labels for finding groups of issues or pull requests you're interested in. For example, you might be interested in [open issues across `numixproject/numix-gtk-theme` and all Numix products/projects which are labeled as bugs, but still need to be confirmed (reliably reproduced)](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Abug+label%3Aneeds-confirmation) or perhaps [open pull requests in `numixproject/numix-gtk-theme` which haven't been reviewed yet](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Apr+repo%3Anumixproject%2Fnumix-gtk-theme+comments%3A0). + +To help you find issues and pull requests, each label is listed with search links for finding open items with that label in `numixproject/numix-gtk-theme` only as well as across all Numix repositories. We encourage you to read about [other search filters](https://help.github.com/articles/searching-issues/) which will help you write more focused queries. + +The labels are loosely grouped by their purpose, but it's not required that every issue have a label from every group nor that an issue can't have more than one label from the same group. + +Please open an issue on numixproject/numix-gtk-theme if you have suggestions for new labels, and if you notice some labels are missing on some repositories, then please open an issue on that repository. + +#### Type of Issue and Issue State + +| Label name | `numix-gtk-theme` :mag_right: | `numixproject`‑org :mag_right: | Description | +| --- | --- | --- | --- | +| `enhancement` | [search][search-numix-gtk-theme-repo-label-enhancement] | [search][search-numixproject-org-label-enhancement] | Feature requests. | +| `bug` | [search][search-numix-gtk-theme-repo-label-bug] | [search][search-numixproject-org-label-bug] | Confirmed bugs or reports that are very likely to be bugs. | +| `help-welcomed` | [search][search-numix-gtk-theme-repo-label-help-welcomed] | [search][search-numixproject-org-label-help-welcomed] | The Nunmix Project core team would appreciate help from the community in resolving these issues. | +| `beginner` | [search][search-numix-gtk-theme-repo-label-beginner] | [search][search-numixproject-org-label-beginner] | Less complex issues which would be good first issues to work on for users who want to contribute to Numix. | +| `needs-more-information` | [search][search-numix-gtk-theme-repo-label-needs-more-information] | [search][search-numixproject-org-label-needs-more-information] | More information needs to be collected about these problems or feature requests (e.g. steps to reproduce). | +| `needs-confirmation` | [search][search-numix-gtk-theme-repo-label-needs-confirmation] | [search][search-numixproject-org-label-needs-confirmation] | Likely bugs, but haven't been reliably reproduced. | +| `duplicate` | [search][search-numix-gtk-theme-repo-label-duplicate] | [search][search-numixproject-org-label-duplicate] | Issues which are duplicates of other issues, i.e. they have been reported before. | +| `wontfix` | [search][search-numix-gtk-theme-repo-label-wontfix] | [search][search-numixproject-org-label-wontfix] | The Numix Project core team has decided not to fix these issues for now, either because they're working as intended or for some other reason. | +| `invalid` | [search][search-numix-gtk-theme-repo-label-invalid] | [search][search-numixproject-org-label-invalid] | Issues which aren't valid (e.g. user errors). | + +#### Topic Categories + +| Label name | `numix-gtk-theme` :mag_right: | `numixproject`‑org :mag_right: | Description | +| --- | --- | --- | --- | +| `GTK` | [search][search-numix-gtk-theme-repo-label-gtk] | [search][search-numixproject-org-label-gtk] | Related to GTK. | +| `KDE` | [search][search-numix-gtk-theme-repo-label-kde] | [search][search-numixproject-org-label-kde] | Related to KDE. | +| `Xfce` | [search][search-numix-gtk-theme-repo-label-xfce] | [search][search-numixproject-org-label-xfce] | Related to Xfce. | +| `Openbox` | [search][search-numix-gtk-theme-repo-label-openbox] | [search][search-numixproject-org-label-openbox] | Related to Openbox. | +| `Unity` | [search][search-numix-gtk-theme-repo-label-unity] | [search][search-numixproject-org-label-unity] | Related to Unity. | +| `Cinnamon` | [search][search-numix-gtk-theme-repo-label-cinnamon] | [search][search-numixproject-org-label-cinnamon] | Related to Cinnamon. | +| `GNOME Shell` | [search][search-numix-gtk-theme-repo-label-gnome-shell] | [search][search-numixproject-org-label-gnome-shell] | Related to GNOME Shell. | +| `GTK 2.0` | [search][search-numix-gtk-theme-repo-label-gtk-2.0] | [search][search-numixproject-org-label-gtk-2.0] | Related to GTK 2.0. | +| `GTK 3.16` | [search][search-numix-gtk-theme-repo-label-gtk-3.16] | [search][search-numixproject-org-label-gtk-3.16] | Related to GTK 3.16. | +| `GTK 3.18` | [search][search-numix-gtk-theme-repo-label-gtk-3.18] | [search][search-numixproject-org-label-gtk-3.18] | Related to GTK 3.18. | +| `GTK 3.20` | [search][search-numix-gtk-theme-repo-label-gtk-3.20] | [search][search-numixproject-org-label-gtk-3.20] | Related to GTK 3.20. | +| `GTK 3.22` | [search][search-numix-gtk-theme-repo-label-gtk-3.22] | [search][search-numixproject-org-label-gtk-3.22] | Related to GTK 3.22. | +| `metacity/mutter` | [search][search-numix-gtk-theme-repo-label-metacity-mutter] | [search][search-numixproject-org-label-metacity-mutter] | Related to Metacity/Mutter. | + +#### Pull Request Labels + +| Label name | `numix-gtk-theme` :mag_right: | `numixproject`‑org :mag_right: | Description +| --- | --- | --- | --- | +| `work-in-progress` | [search][search-numix-gtk-theme-repo-label-work-in-progress] | [search][search-numixproject-org-label-work-in-progress] | Pull requests which are still being worked on, more changes will follow. | +| `needs-review` | [search][search-numix-gtk-theme-repo-label-needs-review] | [search][search-numixproject-org-label-needs-review] | Pull requests which need code review, and approval from maintainers or Numix Project core team. | +| `acknowledged` | [search][search-numix-gtk-theme-repo-label-acknowledged] | [search][search-numixproject-org-label-acknowledged] | Pull requests that have been acknowledged/claimed by a maintainer or Numix Project core team member for later review. | +| `under-review` | [search][search-numix-gtk-theme-repo-label-under-review] | [search][search-numixproject-org-label-under-review] | Pull requests being reviewed by maintainers or Numix Project core team. | +| `requires-changes` | [search][search-numix-gtk-theme-repo-label-requires-changes] | [search][search-numixproject-org-label-requires-changes] | Pull requests which need to be updated based on review comments and then reviewed again. | +| `needs-testing` | [search][search-numix-gtk-theme-repo-label-needs-testing] | [search][search-numixproject-org-label-needs-testing] | Pull requests which need manual testing. | + + +[search-numix-gtk-theme-repo-label-enhancement]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Aenhancement +[search-numixproject-org-label-enhancement]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Aenhancement +[search-numix-gtk-theme-repo-label-bug]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Abug +[search-numixproject-org-label-bug]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Abug +[search-numix-gtk-theme-repo-label-help-welcomed]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Ahelp-welcomed +[search-numixproject-org-label-help-welcomed]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Ahelp-welcomed +[search-numix-gtk-theme-repo-label-beginner]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Abeginner +[search-numixproject-org-label-beginner]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Abeginner +[search-numix-gtk-theme-repo-label-needs-more-information]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Aneeds-more-information +[search-numixproject-org-label-needs-more-information]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Aneeds-more-information +[search-numix-gtk-theme-repo-label-needs-confirmation]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Aneeds-confirmation +[search-numixproject-org-label-needs-confirmation]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Aneeds-confirmation +[search-numix-gtk-theme-repo-label-duplicate]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Aduplicate +[search-numixproject-org-label-duplicate]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Aduplicate +[search-numix-gtk-theme-repo-label-wontfix]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Awontfix +[search-numixproject-org-label-wontfix]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Awontfix +[search-numix-gtk-theme-repo-label-invalid]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Ainvalid +[search-numixproject-org-label-invalid]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Ainvalid + +[search-numix-gtk-theme-repo-label-gtk]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Agtk +[search-numixproject-org-label-gtk]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Agtk +[search-numix-gtk-theme-repo-label-kde]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Akde +[search-numixproject-org-label-kde]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Akde +[search-numix-gtk-theme-repo-label-xfce]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Axfce +[search-numixproject-org-label-xfce]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Axfce +[search-numix-gtk-theme-repo-label-openbox]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Aopenbox +[search-numixproject-org-label-openbox]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Aopenbox +[search-numix-gtk-theme-repo-label-unity]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Aunity +[search-numixproject-org-label-unity]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Aunity +[search-numix-gtk-theme-repo-label-cinnamon]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Acinnamon +[search-numixproject-org-label-cinnamon]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Acinnamon +[search-numix-gtk-theme-repo-label-gnome-shell]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Agnome-shell +[search-numixproject-org-label-gnome-shell]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Agnome-shell +[search-numix-gtk-theme-repo-label-gtk-2.0]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Agtk-2.0 +[search-numixproject-org-label-gtk-2.0]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Agtk-2.0 +[search-numix-gtk-theme-repo-label-gtk-3.16]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Agtk-3.16 +[search-numixproject-org-label-gtk-3.16]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Agtk-3.16 +[search-numix-gtk-theme-repo-label-gtk-3.18]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Agtk-3.18 +[search-numixproject-org-label-gtk-3.18]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Agtk-3.18 +[search-numix-gtk-theme-repo-label-gtk-3.20]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Agtk-3.20 +[search-numixproject-org-label-gtk-3.20]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Agtk-3.20 +[search-numix-gtk-theme-repo-label-gtk-3.22]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Agtk-3.22 +[search-numixproject-org-label-gtk-3.22]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Agtk-3.22 +[search-numix-gtk-theme-repo-label-metacity-mutter]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Ametacity-mutter +[search-numixproject-org-label-metacity-mutter]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Ametacity-mutter +[search-numix-gtk-theme-repo-label-work-in-progress]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Awork-in-progress +[search-numixproject-org-label-work-in-progress]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Awork-in-progress +[search-numix-gtk-theme-repo-label-needs-review]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Aneeds-review +[search-numixproject-org-label-needs-review]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Aneeds-review +[search-numix-gtk-theme-repo-label-acknowledged]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Aacknowledged +[search-numixproject-org-label-acknowledged]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Aacknowledged +[search-numix-gtk-theme-repo-label-under-review]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Aunder-review +[search-numixproject-org-label-under-review]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Aunder-review +[search-numix-gtk-theme-repo-label-requires-changes]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Arequires-changes +[search-numixproject-org-label-requires-changes]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Arequires-changes +[search-numix-gtk-theme-repo-label-needs-testing]: https://github.com/issues?q=is%3Aopen+is%3Aissue+repo%3Anumixproject%2Fnumix-gtk-theme+label%3Aneeds-testing +[search-numixproject-org-label-needs-testing]: https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Anumixproject+label%3Aneeds-testing + +[beginner]:https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+label%3Abeginner+label%3Ahelp-wanted+user%3Anumixproject+sort%3Acomments-desc +[help-wanted]:https://github.com/issues?q=is%3Aopen+is%3Aissue+label%3Ahelp-wanted+user%3Anumixproject+sort%3Acomments-desc diff --git a/abbith-gtk-theme/.gitignore b/abbith-gtk-theme/.gitignore new file mode 100644 index 0000000..cc94a59 --- /dev/null +++ b/abbith-gtk-theme/.gitignore @@ -0,0 +1,11 @@ +# Ignore Backup Copies from Text Editor +*~ + +# Ignore SASS files +.sass-cache +gtk.gresource +dist + +# Jetbrains IDEs +.idea +*.iml diff --git a/abbith-gtk-theme/.hound.yml b/abbith-gtk-theme/.hound.yml new file mode 100644 index 0000000..35b1a94 --- /dev/null +++ b/abbith-gtk-theme/.hound.yml @@ -0,0 +1,2 @@ +scss: + config_file: .scss-lint.yml diff --git a/abbith-gtk-theme/.scss-lint.yml b/abbith-gtk-theme/.scss-lint.yml new file mode 100644 index 0000000..c949232 --- /dev/null +++ b/abbith-gtk-theme/.scss-lint.yml @@ -0,0 +1,196 @@ +linters: + + BangFormat: + enabled: true + space_before_bang: true + space_after_bang: false + + BorderZero: + enabled: true + + ColorKeyword: + enabled: true + + ColorVariable: + enabled: true + + Comment: + enabled: false + + DebugStatement: + enabled: true + + DeclarationOrder: + enabled: true + + DisableLinterReason: + enabled: false + + DuplicateProperty: + enabled: true + + ElsePlacement: + enabled: true + style: same_line + + EmptyLineBetweenBlocks: + enabled: true + ignore_single_line_blocks: false + + EmptyRule: + enabled: true + + ExtendDirective: + enabled: false + + FinalNewline: + enabled: true + present: true + + HexLength: + enabled: true + style: short + + HexNotation: + enabled: true + style: lowercase + + HexValidation: + enabled: true + + IdSelector: + enabled: false + + ImportantRule: + enabled: true + + ImportPath: + enabled: true + leading_underscore: false + filename_extension: false + + Indentation: + enabled: true + character: space + width: 4 + + LeadingZero: + enabled: true + style: exclude_zero + + MergeableSelector: + enabled: false + + NameFormat: + enabled: false + convention: hyphenated_lowercase + + NestingDepth: + enabled: true + max_depth: 5 + + PlaceholderInExtend: + enabled: false + + PropertyCount: + enabled: false + + PropertySortOrder: + enabled: false + + PropertySpelling: + enabled: true + extra_properties: [ "icon-shadow", "outline-radius" ] + + PropertyUnits: + enabled: true + global: [ "px", "%", "s", "ms" ] + + PseudoElement: + enabled: false + + QualifyingElement: + enabled: false + allow_element_with_attribute: false + allow_element_with_class: false + allow_element_with_id: false + + SelectorDepth: + enabled: true + max_depth: 5 + + SelectorFormat: + enabled: false + convention: hyphenated_lowercase + + Shorthand: + enabled: true + + SingleLinePerProperty: + enabled: true + allow_single_line_rule_sets: true + + SingleLinePerSelector: + enabled: false + + SpaceAfterComma: + enabled: true + + SpaceAfterPropertyColon: + enabled: true + style: one_space + + SpaceAfterPropertyName: + enabled: true + + SpaceAfterVariableName: + enabled: true + + SpaceAroundOperator: + enabled: true + + SpaceBeforeBrace: + enabled: true + style: space + allow_single_line_padding: true + + SpaceBetweenParens: + enabled: true + spaces: 0 + + StringQuotes: + enabled: true + style: double_quotes + + TrailingSemicolon: + enabled: true + + TrailingZero: + enabled: true + + UnnecessaryMantissa: + enabled: true + + UnnecessaryParentReference: + enabled: true + + UrlFormat: + enabled: false + + UrlQuotes: + enabled: true + + VariableForProperty: + enabled: false + + VendorPrefix: + enabled: false + identifier_list: base + include: [] + exclude: [] + + ZeroUnit: + enabled: true + + Compass::*: + enabled: false diff --git a/abbith-gtk-theme/CHANGES b/abbith-gtk-theme/CHANGES new file mode 100644 index 0000000..5f34a5c --- /dev/null +++ b/abbith-gtk-theme/CHANGES @@ -0,0 +1,165 @@ +-------------->>>> 2.6.7 <<<<-------------------------->>>> 2.6.7 <<<<-------------------------->>>> 2.6.7 <<<<-------------- +[2017-10-14 13:52:32 +0530] Gtk-3.20: Add message summary and popover-list styles for geary Khurshid Alam {fd8e657} +[2017-10-14 13:49:06 +0530] Update readme for Ubuntu and Debian Khurshid Alam {5d031a3} +[2017-10-05 10:27:02 -0500] Update README.md Dustin Falgout {8d99a96} +[2017-10-05 10:23:02 -0500] Update urls for distro logo images in README.md Dustin Falgout {a0bd7d1} +[2017-08-30 00:16:16 +0100] Xfwm4: improve accessibility (wider bottom edge) Andrew Chadwick {6057a2d} +[2017-07-26 02:03:28 -0500] Update CONTRIBUTING.md Dustin Falgout {858e629} +[2017-07-26 02:01:53 -0500] Delete CODE_OF_CONDUCT.md Dustin Falgout {68d01fe} +[2017-07-26 02:01:29 -0500] Create CODE_OF_CONDUCT.md Dustin Falgout {88632d8} +[2017-06-15 14:27:30 +0530] [Gnome-Panel-3.24] Add style for tasklist-button Khurshid Alam {f2425ca} +[2017-06-13 20:10:05 +0530] [Gtk-2.0] Set inkscape-decoration & gtk--small-toolbar icon to 16px.. Khurshid Alam {abf6111} +[2017-06-13 02:39:50 +0530] [Gtk-3.20] Tilix: Do not bottom-border color Khurshid Alam {06be2fa} +[2017-06-13 02:34:23 +0530] [Gtk-3.20] Tilix: Add bottom border for active titlebar. Fixes #657 Khurshid Alam {82568c7} +[2017-06-06 12:53:28 +0530] [Gtk-3.20] Metacity: Use normal geometry-style for nautilus dialogs.. Khurshid Alam {deed3fb} +[2017-05-14 21:20:12 -0500] Update README.md Dustin Falgout {30ae59b} +[2017-05-10 20:03:46 +0530] Fix syntax error in previous commit Khurshid Alam {402fd48} +[2017-05-10 14:05:55 +0530] [Gtk-3.18] Fix white border on tilix. Fixes #655 Khurshid Alam {4289b97} +[2017-04-16 19:49:09 -0400] README: update Arch package name (#663) Ronan Jouchet {582f09f} +[2017-04-14 22:11:26 +0530] [Gtk-3.22] Tweaks in popover.events list for gnome-calendar Khurshid Alam {487d8e6} +[2017-04-08 22:58:43 +0530] Use darker background for solid-csd window. Fixes #659 Khurshid Alam {bf8f3b0} +[2017-03-29 21:44:29 +0530] Fix indentation Khurshid Alam {35e5463} +[2017-03-29 21:30:13 +0530] [Gtk-3.22] Re-Introduce disabled state under treeview.progressbar Khurshid Alam {ab172c2} +[2017-03-29 19:35:48 +0530] [Gtk-3.22] Progressbar under Treeview: Minor fixes Khurshid Alam {c8828c7} +[2017-03-21 01:23:40 -0500] Update README.md Dustin Falgout {deddc89} +[2017-03-21 01:22:27 -0500] Update README.md Dustin Falgout {f55b6a7} +[2017-03-13 22:38:18 +0530] [Gtk-3.22] Use box-shadow to draw border on Notebook tab Khurshid Alam {d99f46c} +[2017-02-15 13:29:13 +0530] [Gtk-3.22] Separate titlebar mixin from toolbar Khurshid Alam {f25d7e0} +[2017-02-15 12:46:53 +0530] Attempting to fix >1px height in linked combobox-button Khurshid Alam {f52633e} +[2017-02-09 22:15:04 +0530] [Gtk-3.22] Provide gap between buttons in message dialog. 3.22 fix .. Khurshid Alam {ec299d4} +[2017-02-09 22:06:13 +0530] [Gtk-3.22] Fixing & adjusting menu & modelbutton padding Khurshid Alam {653556d} +[2017-02-08 20:20:55 +0530] [Gtk-3.20][Gtk-3.22] GtkCalendar under popover menu Khurshid Alam {0220883} +[2017-02-07 16:06:37 +0530] [Gtk-3.22][Switches] Make slider to fall in-line with the text Khurshid Alam {23f1543} +[2017-02-06 20:15:39 +0530] [Button-Redesign] Lighten active a checked state button color for l.. Khurshid Alam {d2f201b} +[2017-02-06 18:25:09 +0530] Fixinng notebook-tab-active color and close button style Khurshid Alam {777d586} +[2017-02-05 10:39:36 +0530] [Gtk-3.22][Button-Redesign] Spinbutton: Fixing color and entry border Khurshid Alam {85138a0} +[2017-02-04 14:32:13 +0530] [Gtk-3.22][Button-Redesign] Fixed spinbutton hover-state color Khurshid Alam {8670cc0} +[2017-02-04 00:44:26 +0530] [Gtk-3.22] Redesign-Buttons (Phase1) Khurshid Alam {9e4844a} +[2017-01-30 22:22:09 +0530] Flatter button. More prominent shadow on hover. Fixing #370 Khurshid Alam {2363312} +[2017-01-30 22:09:37 +0530] [Gtk-3.22] Normalize Switches. Fixes #396 Khurshid Alam {3be320f} +[2017-01-23 12:43:55 +0100] [Gtk-3.22][Gtk-3.20] Fix iconview background for Unity-Control-Cent.. Csaba Jakosa {1a8c9bf} +[2017-01-22 19:20:32 +0100] [GTK 3.22] Add hover effect for menuitem under Unity-LIM. Fixes #632 Csaba Jakosa {45210ca} +[2017-01-12 21:39:54 +0530] Set Numix as default icon theme for MATE's theme picker. Fixes #488 Khurshid Alam {92b576f} +[2016-11-19 16:36:45 -0600] Update README.md Dustin Falgout {0e4a840} +[2016-11-19 23:34:56 +0100] Add Debian and Ubuntu official distro package, remove Ubuntu PPA. (.. Léo Andrès {b24ed9e} +-------------->>>> 2.6.6 <<<<-------------------------->>>> 2.6.6 <<<<-------------------------->>>> 2.6.6 <<<<-------------- +[2016-11-14 16:22:11 -0600] update utils.sh script Dustin Falgout {795932a} +[2016-11-10 05:37:27 +0100] [Gtk-3.20] Fixed gnome-terminal scrollbar color. Disable backdrop m.. Csaba Jakosa {9574a02} +[2016-11-01 18:10:06 +0100] Disable box-shadow for osd button in fine-tune mode. Fixes #561. Csaba Jakosa {ad37d7f} +[2016-11-01 19:08:14 +0200] [Gtk-3.20] Fix for volume OSD slider. Fixes #623 Nazar Mokrynskyi {14d2a48} +[2016-11-01 13:58:47 +0530] GTKHEADERB 3.22 :: Create global OSD file (#628) Khurshid Alam {9ec47ab} +[2016-11-01 09:21:28 +0100] * Fixed code. Megax {4d33256} +[2016-11-01 09:18:25 +0100] * Create global OSD file. Megax {b3ba2ee} +[2016-11-01 09:18:18 +0100] [Gtk-3.20] Fixed xfce4 code. Csaba Jakosa {a4cefd6} +[2016-10-31 18:58:14 +0100] [GTK-3.20] Code Cleanup Csaba Jakosa {6d54958} +[2016-10-30 18:30:58 +0200] [GTK-3.20] Added styling to Raven components of Budgie panel. Fixes.. Nazar Mokrynskyi {bbf9dd6} +[2016-10-28 21:19:49 +0200] [GTK 3.20] Optimized sidebar padding Csaba Jakosa {30132a0} +[2016-10-27 21:13:29 +0530] Fix syntax in previous commit Khurshid Alam {1d1d3a2} +[2016-10-27 21:09:47 +0530] Fix discrete filled block inside levelbar. Fixes #619 Khurshid Alam {32f0fec} +[2016-10-27 20:35:00 +0530] Tweak do_install in utils.sh Khurshid Alam {588a875} +[2016-10-25 12:43:37 +0200] [GTK 3.20] Fixed notebook asymmetrical padding Csaba Jakosa {2f94d4c} +[2016-10-24 08:39:15 +0200] [Gtk-3.20] Optimized notebook padding Csaba Jakosa {023bd6f} +[2016-10-23 16:33:14 -0500] fix notebook tab padding issues for some applications. Fixes #588 Dustin Falgout {7ac68f6} +[2016-10-23 17:15:11 +0200] * Nemo statusbar button padding fix. (#611) Csaba Jakosa {aea6d16} +[2016-10-23 02:14:28 -0500] also support Numix-Frost-Light Dustin Falgout {05e6198} +[2016-10-23 02:11:45 -0500] update zip task in Makefile to support both Numix and Numix-Frost Dustin Falgout {95fe512} +[2016-10-23 00:11:17 -0500] utils.sh :: support Numix and Numix Frost when generating CHANGES f.. Dustin Falgout {ee50385} +-------------->>>> 2.6.5 <<<<-------------------------->>>> 2.6.5 <<<<-------------------------->>>> 2.6.5 <<<<-------------- +[2016-10-22 20:36:07 -0500] add zip task to Makefile Dustin Falgout {5ccc199} +[2016-10-22 20:18:42 -0500] utils.sh :: fix errors in do_install function Dustin Falgout {5f85cec} +[2016-10-22 19:29:07 -0500] update utils.sh Dustin Falgout {b30fb3b} +[2016-10-22 19:04:32 -0500] add missing version marker to CHANGES file Dustin Falgout {64cccd8} +[2016-10-21 20:26:22 +0200] WebkitGtk Workaround. Fixes #572 Csaba Jakosa {7254e08} +[2016-10-21 20:14:48 +0200] [GTK-3.20] Fix backdrop mode in Ubuntu. Fixes #585 Csaba Jakosa {a457b8f} +[2016-10-21 17:19:04 +0200] Fixed openbox theme color. Fixes #369 Csaba Jakosa {25fa93c} +[2016-10-20 21:49:56 +0200] Fix title-bar padding in gnome-builder. Fixes #605 Csaba Jakosa {f14b4d4} +[2016-10-18 17:00:24 +0200] Optimized modelbutton code. Csaba Jakosa {690532b} +[2016-10-18 16:59:38 +0200] Create and Restructure all assets Adwaita and Arc-theme style. Csaba Jakosa {f1c11cd} +[2016-10-18 16:57:12 +0200] [Gtk-3.20] Fixed infobar structure and adding entry error and warn.. Csaba Jakosa {ed3e728} +[2016-10-18 16:39:39 +0200] [Gtk-3.20] Porting gnome-panel code. Fixes #550 Csaba Jakosa {9962ab9} +[2016-10-17 01:23:38 +0200] * Add a background to cellrendertext. Reference code: https://githu.. Csaba Jakosa {7304425} +[2016-10-17 01:23:04 +0200] * Fixed scrollbar horizontal icon name. Reference code: https://git.. Csaba Jakosa {dd13e3b} +[2016-10-16 20:03:53 +0200] [Gtk-3.20] Fix Combobox menu padding. Fixes #575 Csaba Jakosa {e4cb539} +[2016-10-16 20:00:35 +0200] Remove duplicated code. Csaba Jakosa {51f1578} +[2016-10-16 18:30:26 +0200] [Gtk-3.20] Optimized popover padding. Csaba Jakosa {16840bb} +[2016-10-16 07:27:34 +0200] Adding monospace code. Csaba Jakosa {e3fa52a} +[2016-10-16 07:27:02 +0200] Add conflict-row styling for nautilus. Fixes #576 Csaba Jakosa {fa648c5} +[2016-10-16 07:24:44 +0200] [Gtk-3.22] Changed font syntax from Pango-style to CSS-style. Fixes.. Csaba Jakosa {49943fb} +[2016-10-01 18:53:38 -0500] Update README.md Dustin Falgout {c138b78} +[2016-10-01 18:00:30 -0500] remove old svg files (part of #508) Dustin Falgout {1d56b33} +[2016-10-02 00:57:50 +0200] Adding single SVG asset file ready for batch export to PNG (#579) Set Hallstrom {f030e61} +[2016-09-25 15:48:37 +0200] * Fixes #548 (#568) Csaba Jakosa {df38463} +[2016-09-22 06:35:32 -0500] Update README.md Dustin Falgout {5a0ec95} +[2016-09-21 23:13:08 -0500] update utils.sh. fix missing new line in CHANGES file. Dustin Falgout {776e3f1} +-------------->>>> 2.6.4 <<<<-------------------------->>>> 2.6.4 <<<<-------------------------->>>> 2.6.4 <<<<-------------- +[2016-09-21 22:06:03 -0500] update install script for what should be the last time (at least fo.. Dustin Falgout {f8c7f0c} +[2016-09-21 22:05:08 -0500] move assets into src directory Dustin Falgout {8df9804} +[2016-09-21 22:04:17 -0500] move assets into src directory Dustin Falgout {c769c23} +[2016-09-21 22:01:55 -0500] move assets into src directory Dustin Falgout {a0f0e73} +[2016-09-22 01:21:54 +0530] Fix code in utils.sh Khurshid Alam {a50dee0} +[2016-09-21 13:13:52 -0500] reenable old xfce styles in 3.20 until we can rewrite them. Dustin Falgout {3dc0bbe} +[2016-09-21 21:43:04 +0530] Copy proper gtk.css in utils.sh. Fixes #569 Khurshid Alam {679bb1d} +[2016-09-20 22:12:57 +0530] [Gtk-3.18] Re-enable xfce style. Fixes #566 Khurshid Alam {a0263e7} +[2016-09-18 06:01:08 -0500] fix errors in do_install function Dustin Falgout {a3ab032} +[2016-09-18 05:50:46 -0500] update Makefile (moved install commands to utils script) Dustin Falgout {a8205ba} +[2016-09-18 05:15:06 -0500] move source files into subdirectory instead of being at repo root Dustin Falgout {62b93af} +[2016-09-18 05:02:05 -0500] Update README.md Dustin Falgout {75bebed} +[2016-09-18 04:59:57 -0500] Update README.md Dustin Falgout {2dccff1} +[2016-09-18 04:31:07 -0500] Update CHANGES Dustin Falgout {539076b} +[2016-09-18 04:23:37 -0500] add emacs mode string to CHANGES file (so hopefully, links to issue.. Dustin Falgout {ecfd664} +[2016-09-18 04:15:02 -0500] RELEASE PREP :: Update CHANGES file. Dustin Falgout {df8e66d} +[2016-09-18 04:14:33 -0500] add task to makefile for generating/updating CHANGES file before re.. Dustin Falgout {0e6c45b} +[2016-09-18 03:15:15 -0500] RELEASE PREP :: Update CHANGES file. Dustin Falgout {840c1ff} +[2016-09-18 02:57:43 -0500] add task to makefile for generating/updating CHANGES file before re.. Dustin Falgout {040b869} +[2016-09-18 02:26:56 -0500] add osd color variables to compiled css output Dustin Falgout {44d407e} +[2016-09-18 02:26:03 -0500] disable some unused styles for xfce Dustin Falgout {7e617ce} +[2016-09-18 02:24:17 -0500] move gtk3 styles for xfce4-notifyd into sass Dustin Falgout {30b14f7} +[2016-09-11 14:01:44 -0500] Updating readme to specifically list package names. Fixes #555 & #493 Naren Dasan {dbf231b} +[2016-09-11 20:59:22 +0200] Implement combobox vertical code. Csaba Jakosa {a6f9a10} +[2016-09-05 20:38:51 +0200] GTK 3.20 :: Fix #560 (#563) Csaba Jakosa {f7f927a} +[2016-09-05 15:40:39 +0200] [Gtk-3.20] Fix for default osd button color. Csaba Jakosa {69b3706} +[2016-09-04 08:37:08 +0200] [Gtk-3.18] Use icon-shadow instead of -gtk-icon-shadow. Fixes #558 Csaba Jakosa {90d74c5} +[2016-09-03 11:00:42 +0200] GTK 3.20 :: Clean code (#553) Csaba Jakosa {67bf7e2} +[2016-09-03 10:32:19 +0200] * Fixes #137 (#554) Csaba Jakosa {c997dd3} +[2016-09-03 10:31:53 +0200] * Removed osd duplicated code and fixed flowbox selected code. (#543) Csaba Jakosa {1c2185a} +[2016-09-03 10:31:24 +0200] * [GTK 3.20] Selection mode rewrite. Fixed #545 (#546) Csaba Jakosa {f8354bd} +[2016-09-03 10:29:40 +0200] * [GTK 3.20] Fixed #540 (#541) Csaba Jakosa {ae7ff0d} +[2016-09-02 17:21:19 +0200] [Gtk-3.20] Paned separator in the headerbar. Fixes #551 marmis85 {cb3e031} +[2016-09-02 17:19:32 +0200] [Gtk-3.20] Refactor toolbar code. Fixes #486 Csaba Jakosa {e2658ff} +[2016-08-31 20:08:31 +0200] [Gtk-3.20] Redecorate osd toolbar & fix volume slider. Fixes #463 Csaba Jakosa {ff98d44} +[2016-08-31 21:26:48 +0530] [Gtk-3.20] Re-adjust titlebar(for Unity), headerbar and toolbar hei.. Khurshid Alam {03bb8b3} +[2016-08-31 20:03:05 +0530] Merge pull request #542 from megax/patch15 Khurshid Alam {9c07db4} +[2016-08-31 13:42:27 +0200] * Minimal fix #452 Megax {8547acc} +[2016-08-31 15:47:06 +0530] [Gtk-3.20] Redecorate OSD: Implement spinbutton and entry. Fixes #457 Khurshid Alam {23fca70} +[2016-08-31 11:51:50 +0200] * Fixed #457 and implement spinbutton and entry osd style. Megax {644e633} +[2016-08-30 03:23:11 +0530] Optimize buttons. Fixes #452 Khurshid Alam {6cb9d03} +[2016-08-29 20:01:21 +0200] * [GTK 3.20] Fixed #430 (#523) Csaba Jakosa {4c2cf03} +[2016-08-29 08:55:26 +0200] Fix Firefox menu item separator color & optimize separator margin. .. Csaba Jakosa {cd2b2df} +[2016-08-29 08:02:56 +0200] [Gtk-3.20] Reduce menubar height to match gtk2 theme. Fixes #453 Csaba Jakosa {e86ef11} +[2016-08-28 18:43:49 +0200] Use predefined fg & bg color for backdrop windows. Fixes #447 Csaba Jakosa {c961b4d} +[2016-08-28 18:37:43 +0200] [GTK 3.20] Fixed unity-panel calendar color. Csaba Jakosa {9909cec} +[2016-08-28 18:36:10 +0200] [GTK 3.20] Unity-greeter rewrite sass format. Csaba Jakosa {27b4ce7} +[2016-08-28 15:46:08 +0200] * [GTK 3.20] Fixes #392 (#533) Csaba Jakosa {5e9ab2e} +[2016-08-28 15:35:09 +0200] Implement basic Gtk3 support for xfce4-notifyd. Fixes #511 Samuel Čavoj {245c355} +[2016-08-26 22:12:37 +0530] [Gtk-3.20] 3.20 port for Unity Khurshid Alam {57cb0b4} +[2016-08-25 17:57:29 +0200] [GTK 3.20] Do not use space among sub-menus. Fixes #439 Csaba Jakosa {d24e294} +[2016-08-25 17:46:51 +0200] [GTK 3.20] Fixed Circular button radius bug. Csaba Jakosa {622b1a2} +[2016-08-25 17:34:08 +0200] Fix selection checkboxes for Gnome apps. Fixes #304 Csaba Jakosa {5ea55ab} +[2016-08-25 17:12:59 +0200] [Gtk-3.20] Remove deprecated GtkStatusbar:shadow-type. Fixes #506 Csaba Jakosa {70dec4c} +[2016-08-25 17:04:46 +0200] [GTK 3.20] Use homogeneous margin on both side of headerbar separat.. Csaba Jakosa {85b5247} +[2016-08-24 15:52:29 +0200] * Readme update. (#519) Csaba Jakosa {ea2a171} +[2016-08-24 00:37:45 +0200] * Fixed button disabled. (#517) Csaba Jakosa {0612667} +[2016-08-23 06:24:23 -0500] Fixes #403 and Fixes #509 Dustin Falgout {d56f32f} +[2016-08-23 13:00:16 +0200] GTK 3.20 :: Color chooser rewirte (#423) Csaba Jakosa {bbf00f2} +[2016-08-23 12:25:38 +0200] * Removed run attribute. (#515) Csaba Jakosa {0bc870b} +[2016-08-23 12:21:26 +0200] GTK 3.20 :: Lightdm rewrite (#516) Csaba Jakosa {caa0540} +[2016-08-22 19:28:35 +0200] [GTK 3.20] Issue #484 fixed Csaba Jakosa {b1c1fe6} +[2016-08-22 11:02:05 +0200] [GTK 3.20] Use old link color. Fixes #499 Csaba Jakosa {220dc21} +[2016-07-27 23:47:11 +0530] [Gtk-3.18] Use old link color. Fixes #499 Khurshid Alam {c65721b} +[2016-07-27 11:49:25 -0400] Restore and fix Xfce desktop icon shadows. Fix #492 Jeremy Bicha {d2fecfd} +[2016-07-26 03:06:35 -0400] Don't install GTK3 source files. Fixes #503 (#504) Jeremy Bicha {b0aaf84} +[2016-07-21 01:20:28 +0530] [Gtk-3.18] Use dark mode tabs in gnometerminal (by default). Fixes .. Khurshid Alam {749cfa3} +[2016-07-20 00:37:58 +0530] Drop support for Gtk-3.16 Khurshid Alam {c565223} +[2016-07-20 00:21:53 +0530] [Gtk-3.18] Provide gap between buttons in message dialog. Fixes #498 Khurshid Alam {58642c3} +[2016-07-15 08:59:15 +0300] Fix for issue #492 (#496) Alexey Donoga {76321bb} +[2016-07-02 07:44:33 +0200] GTK 3.20 :: Optimized Nemo and Nautilus design and update searchbar.. Csaba Jakosa {bd780f0} diff --git a/abbith-gtk-theme/CREDITS b/abbith-gtk-theme/CREDITS new file mode 100644 index 0000000..ce26794 --- /dev/null +++ b/abbith-gtk-theme/CREDITS @@ -0,0 +1,4 @@ +Simon Steinbeiß +Joern Konopka +Georgi Karavasilev +David Barr diff --git a/abbith-gtk-theme/LICENSE b/abbith-gtk-theme/LICENSE new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/abbith-gtk-theme/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/abbith-gtk-theme/Makefile b/abbith-gtk-theme/Makefile new file mode 100755 index 0000000..d2735a9 --- /dev/null +++ b/abbith-gtk-theme/Makefile @@ -0,0 +1,63 @@ +SASS=scss +SASSFLAGS=--sourcemap=none +GLIB_COMPILE_RESOURCES=glib-compile-resources +RES_DIR=src/gtk-3.0 +SCSS_DIR=$(RES_DIR)/scss +DIST_DIR=$(RES_DIR)/dist +RES_DIR320=src/gtk-3.20 +SCSS_DIR320=$(RES_DIR320)/scss +DIST_DIR320=$(RES_DIR320)/dist +INSTALL_DIR=$(DESTDIR)/usr/share/themes/Numix +ROOT_DIR=${PWD} +UTILS=scripts/utils.sh + +all: clean gresource + +css: + $(SASS) --update $(SASSFLAGS) $(SCSS_DIR):$(DIST_DIR) + $(SASS) --update $(SASSFLAGS) $(SCSS_DIR320):$(DIST_DIR320) + +gresource: css + $(GLIB_COMPILE_RESOURCES) --sourcedir=$(RES_DIR) $(RES_DIR)/gtk.gresource.xml + $(GLIB_COMPILE_RESOURCES) --sourcedir=$(RES_DIR320) $(RES_DIR320)/gtk.gresource.xml + +watch: clean + while true; do \ + make gresource; \ + inotifywait @gtk.gresource -qr -e modify -e create -e delete $(RES_DIR); \ + done + +clean: + rm -rf $(DIST_DIR) + rm -f $(RES_DIR)/gtk.gresource + rm -rf $(DIST_DIR320) + rm -f $(RES_DIR320)/gtk.gresource + rm -rf $(ROOT_DIR)/dist + +install: all + $(UTILS) install $(INSTALL_DIR) + +uninstall: + rm -rf $(INSTALL_DIR) + +changes: + $(UTILS) changes + +zip: all + mkdir $(ROOT_DIR)/dist + $(UTILS) install $(ROOT_DIR)/dist/$$(basename $(INSTALL_DIR)) + cd $(ROOT_DIR)/dist && zip --symlinks -rq $$(basename $(INSTALL_DIR)) $$(basename $(INSTALL_DIR)) + + +.PHONY: all +.PHONY: css +.PHONY: watch +.PHONY: gresource +.PHONY: clean +.PHONY: install +.PHONY: uninstall +.PHONY: changes + +.DEFAULT_GOAL := all + +# vim: set ts=4 sw=4 tw=0 noet : diff --git a/abbith-gtk-theme/README.md b/abbith-gtk-theme/README.md new file mode 100644 index 0000000..e2badb9 --- /dev/null +++ b/abbith-gtk-theme/README.md @@ -0,0 +1,87 @@ +## Numix +##### A modern flat theme with a combination of light and dark elements. It supports GNOME, Unity, Xfce and Openbox. +[![By The Numix Project](https://img.shields.io/badge/By-The%20Numix%20Project-f0544c.svg?style=flat-square)](https://numixproject.org/)  [![Circle CI](https://img.shields.io/circleci/project/numixproject/numix-gtk-theme/master.svg?circle-token=b14acf911433d315298235b0c2fbf7b2670a92a8&maxAge=3600&style=flat-square)](https://circleci.com/gh/numixproject/numix-gtk-theme/tree/master)  [![GitHub release](https://img.shields.io/github/release/numixproject/numix-gtk-theme.svg?maxAge=3600&style=flat-square)](https://github.com/numixproject/numix-gtk-theme/releases/latest)  ![Supports GTK+ 3.18](https://img.shields.io/badge/GTK%2B-3.18-4a90d9.svg?style=flat-square)  ![Supports GTK+ 3.24](https://img.shields.io/badge/GTK%2B-3.24-4a90d9.svg?style=flat-square) + +## Install It + +### Distro Packages +|Distro|Install Command/Links| +|:----:|:----:| +|![arch][arch]  ![antergos][antergos]|`sudo pacman -S numix-gtk-theme`| +|![opensuse][opensuse]|[1 Click Install](http://software.opensuse.org/ymp/openSUSE:Factory/standard/numix-gtk-theme.ymp)  \|  [OBS Repo](http://software.opensuse.org/download.html?project=openSUSE%3AFactory&package=numix-gtk-theme)| +|![fedora][fedora]|`sudo dnf install numix-gtk-theme`| +|![debian][debian]  ![ubuntu][ubuntu]|`sudo apt install numix-gtk-theme`| + +## Build It + +First, you need to compile the theme using the [Sass](http://sass-lang.com/) compiler. + +To install Sass, install Ruby and the gem command using your distribution's package manager. Then install `sass` with the `gem` command, + +`gem install sass` (not needed for Ubuntu/Debian) + +You'll also need the ```glib-compile-schemas``` and ```gdk-pixbuf-pixdata``` commands in your path to generate the gresource binary. Install them using your distribution's package manager. + +|Distro|Commands| +|:----:|:----:| +|![arch][arch]  ![antergos][antergos]|`sudo pacman -S glib2 gdk-pixbuf2`| +|![opensuse][opensuse]|`sudo zypper install glib2-devel gdk-pixbuf-devel`| +|![fedora][fedora]|`sudo dnf install glib2-devel gdk-pixbuf2-devel`| +|![debian][debian]  ![ubuntu][ubuntu]|`sudo apt-get install ruby-sass libglib2.0-dev libgdk-pixbuf2.0-dev libxml2-utils`| + +After installing all the dependencies, change to the cloned directory and, run the following in Terminal, + +```sh +sudo make install +``` + +To set the theme in GNOME, run the following commands in Terminal, + +```sh +gsettings set org.gnome.desktop.interface gtk-theme "Numix" +gsettings set org.gnome.desktop.wm.preferences theme "Numix" +``` + +To set the theme in Xfce, run the following commands in Terminal, + +```sh +xfconf-query -c xsettings -p /Net/ThemeName -s "Numix" +xfconf-query -c xfwm4 -p /general/theme -s "Numix" +``` + +In Openbox you can set the theme with [ObConf](http://openbox.org/wiki/ObConf:About) tool. Alternatively, you can set the theme by changing the ` `key value to `Numix` in the `` section of your rc.xml file. + +### For contributors +Start by reviewing the [guidelines for contributing](https://github.com/numixproject/numix-gtk-theme/blob/master/.github/CONTRIBUTING.md). + +#### For developers +If you want to hack on the theme, make sure you have the `inotifywait` command available, which is used for watching and automatically building the files. + +To start watching for changes, run the following, + +```sh +make watch +``` + +If you change any assets, you'll need to regenerate the `gtk.gresource.xml` and `gtk.gresource` files. You can use [grrr](https://github.com/satya164/grrr) to do it easily. + +### Requirements + +GTK+ 3.18 or above + +Murrine theme engine + +### Code and license + +Report bugs or contribute at [GitHub](https://github.com/numixproject/numix-gtk-theme) + +License: GPL-3.0+ + + +[antergos]: https://antergos.com/distro-logos/logo-square26x26.png "antergos" +[arch]: https://antergos.com/distro-logos/archlogo26x26.png "arch" +[fedora]: https://antergos.com/distro-logos/fedora-logo.png "fedora" +[openSUSE]: https://antergos.com/distro-logos/Geeko-button-bling7.png "openSUSE" +[ubuntu]: https://antergos.com/distro-logos/ubuntu_orange_hex.png "ubuntu" +[debian]: https://antergos.com/distro-logos/openlogo-nd-25.png "debian" + diff --git a/abbith-gtk-theme/circle.yml b/abbith-gtk-theme/circle.yml new file mode 100644 index 0000000..c1756a5 --- /dev/null +++ b/abbith-gtk-theme/circle.yml @@ -0,0 +1,3 @@ +machine: + ruby: + version: 2.3.0 diff --git a/abbith-gtk-theme/scripts/render-assets.sh b/abbith-gtk-theme/scripts/render-assets.sh new file mode 100755 index 0000000..4b2f513 --- /dev/null +++ b/abbith-gtk-theme/scripts/render-assets.sh @@ -0,0 +1,34 @@ +#! /bin/bash + +INKSCAPE="/usr/bin/inkscape" +OPTIPNG="/usr/bin/optipng" + +SRC_FILE="../src/assets/all-assets.svg" +ASSETS_DIR="../src/assets" +INDEX="../src/assets/all-assets.txt" + +for i in `cat $INDEX` +do +if [ -f $ASSETS_DIR/$i.png ]; then + echo $ASSETS_DIR/$i.png exists. +else + echo + echo Rendering $ASSETS_DIR/$i.png + $INKSCAPE --export-id=$i \ + --export-id-only \ + --export-png=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null #\ + # && $OPTIPNG -o7 --quiet $ASSETS_DIR/$i.png +fi +if [ -f $ASSETS_DIR/$i@2.png ]; then + echo $ASSETS_DIR/$i@2.png exists. +else + echo + echo Rendering $ASSETS_DIR/$i@2.png + $INKSCAPE --export-id=$i \ + --export-dpi=180 \ + --export-id-only \ + --export-png=$ASSETS_DIR/$i@2.png $SRC_FILE >/dev/null #\ + # && $OPTIPNG -o7 --quiet $ASSETS_DIR/$i@2.png +fi +done +exit 0 diff --git a/abbith-gtk-theme/scripts/utils.sh b/abbith-gtk-theme/scripts/utils.sh new file mode 100755 index 0000000..a0117de --- /dev/null +++ b/abbith-gtk-theme/scripts/utils.sh @@ -0,0 +1,109 @@ +#!/bin/bash + +do_install() { + local GTKDIR GTK320DIR GTKVER INSTALL_DIR + INSTALL_DIR="$1" + GTKDIR="${INSTALL_DIR}/gtk-3.0" + GTK320DIR="${INSTALL_DIR}/gtk-3.20" + + install -dm755 "${INSTALL_DIR}" + + cd src + + cp index.theme "${INSTALL_DIR}" + + cp -rt "${INSTALL_DIR}" \ + assets gtk-2.0 metacity-1 openbox-3 xfce-notify-4.0 xfwm4 unity + + for _DIR in "${GTKDIR}" "${GTK320DIR}" + do + GTKVER="${_DIR##*/}" + + mkdir -p "${_DIR}" + + cp -t "${_DIR}" \ + "${GTKVER}/gtk.css" \ + "${GTKVER}/gtk-dark.css" \ + "${GTKVER}/gtk.gresource" \ + "${GTKVER}/thumbnail.png" + + cd "${_DIR}" + ln -srf ../assets assets + cd - + done +} + + +output_changes_file_version_marker() { + + line() { + dashes="$(printf '%0.s-' $(seq 1 13))" + echo "${dashes}>>>> $1 <<<<${dashes}" + } + + tag_line="$(line $1)" + + echo "-${tag_line}${tag_line}${tag_line}-" +} + + +update_changes_file() { + LAST_STABLE_RELEASE=$(git describe --abbrev=0 --tags $(git rev-list --tags --max-count=1)) + LAST_MAJOR_MINOR="${LAST_STABLE_RELEASE%.*}" + + LAST_MAJOR="${LAST_STABLE_RELEASE%%.*}" + LAST_MINOR="${LAST_MAJOR_MINOR#*.}" + LAST_PATCH="${LAST_STABLE_RELEASE##*.}" + + case "${PWD##*/}" in + numix-gtk-theme) + NEXT_PATCH=$(($LAST_PATCH + 1)) + + NEXT_STABLE_RELEASE="${LAST_MAJOR_MINOR}.${NEXT_PATCH}" + ;; + + Numix-Frost) + LAST_MAJOR=$(($LAST_MAJOR + 1)) + NEXT_STABLE_RELEASE="${LAST_MAJOR}.${LAST_MINOR}.${LAST_PATCH}" + LAST_PATCH=$(($LAST_PATCH - 1)) + + LAST_STABLE_RELEASE="${LAST_MAJOR}.${LAST_MINOR}.${LAST_PATCH}" + ;; + + *) + echo 'Unknown directory!' && exit 1 + ;; + esac + + [[ -f CHANGES ]] && mv CHANGES CHANGES.old + + output_changes_file_version_marker "${NEXT_STABLE_RELEASE}" > CHANGES + + { git log \ + --pretty=format:"[%ai] %<(69,trunc) %s %><(15) %aN {%h}" \ + --cherry-pick "${LAST_STABLE_RELEASE}...HEAD"; } >> CHANGES + + + [[ -f CHANGES.old ]] && echo "" >> CHANGES && cat CHANGES.old >> CHANGES && rm CHANGES.old + + git add CHANGES + git commit -m 'RELEASE PREP :: Update CHANGES file.' + git push +} + + + +case $1 in + changes) + update_changes_file + exit $? + ;; + + install) + do_install "$2" + ;; + + *) + exit 0 + ;; +esac diff --git a/abbith-gtk-theme/src/assets/all-assets.svg b/abbith-gtk-theme/src/assets/all-assets.svg new file mode 100644 index 0000000..6b2b9d7 --- /dev/null +++ b/abbith-gtk-theme/src/assets/all-assets.svg @@ -0,0 +1,4456 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abbith-gtk-theme/src/assets/all-assets.txt b/abbith-gtk-theme/src/assets/all-assets.txt new file mode 100644 index 0000000..6e738e3 --- /dev/null +++ b/abbith-gtk-theme/src/assets/all-assets.txt @@ -0,0 +1,38 @@ +checkbox-checked-dark +checkbox-checked-insensitive-dark +checkbox-checked-insensitive +checkbox-checked +checkbox-mixed-dark +checkbox-mixed-insensitive-dark +checkbox-mixed-insensitive +checkbox-mixed +checkbox-unchecked-dark +checkbox-unchecked-insensitive-dark +checkbox-unchecked-insensitive +checkbox-unchecked +grid-selection-checked-dark +grid-selection-checked +grid-selection-unchecked-dark +grid-selection-unchecked +menuitem-checkbox-checked-hover +menuitem-checkbox-checked-insensitive +menuitem-checkbox-checked +menuitem-checkbox-mixed-hover +menuitem-checkbox-mixed-insensitive +menuitem-checkbox-mixed +menuitem-radio-checked-hover +menuitem-radio-checked-insensitive +menuitem-radio-checked +pane-handle +radio-checked-dark +radio-checked-insensitive-dark +radio-checked-insensitive +radio-checked +radio-mixed-dark +radio-mixed-insensitive-dark +radio-mixed-insensitive +radio-mixed +radio-unchecked-dark +radio-unchecked-insensitive-dark +radio-unchecked-insensitive +radio-unchecked diff --git a/abbith-gtk-theme/src/assets/checkbox-checked-dark.png b/abbith-gtk-theme/src/assets/checkbox-checked-dark.png new file mode 100644 index 0000000..9729a49 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-checked-dark.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-checked-dark@2.png b/abbith-gtk-theme/src/assets/checkbox-checked-dark@2.png new file mode 100644 index 0000000..d252e4c Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-checked-dark@2.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-checked-insensitive-dark.png b/abbith-gtk-theme/src/assets/checkbox-checked-insensitive-dark.png new file mode 100644 index 0000000..d7b14aa Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-checked-insensitive-dark.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-checked-insensitive-dark@2.png b/abbith-gtk-theme/src/assets/checkbox-checked-insensitive-dark@2.png new file mode 100644 index 0000000..c5f162b Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-checked-insensitive-dark@2.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-checked-insensitive.png b/abbith-gtk-theme/src/assets/checkbox-checked-insensitive.png new file mode 100644 index 0000000..6203911 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-checked-insensitive.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-checked-insensitive@2.png b/abbith-gtk-theme/src/assets/checkbox-checked-insensitive@2.png new file mode 100644 index 0000000..8715a3e Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-checked-insensitive@2.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-checked.png b/abbith-gtk-theme/src/assets/checkbox-checked.png new file mode 100644 index 0000000..4779ff0 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-checked.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-checked@2.png b/abbith-gtk-theme/src/assets/checkbox-checked@2.png new file mode 100644 index 0000000..3d50662 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-checked@2.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-mixed-dark.png b/abbith-gtk-theme/src/assets/checkbox-mixed-dark.png new file mode 100644 index 0000000..72b0761 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-mixed-dark.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-mixed-dark@2.png b/abbith-gtk-theme/src/assets/checkbox-mixed-dark@2.png new file mode 100644 index 0000000..2b25729 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-mixed-dark@2.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-mixed-insensitive-dark.png b/abbith-gtk-theme/src/assets/checkbox-mixed-insensitive-dark.png new file mode 100644 index 0000000..fc00b44 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-mixed-insensitive-dark.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-mixed-insensitive-dark@2.png b/abbith-gtk-theme/src/assets/checkbox-mixed-insensitive-dark@2.png new file mode 100644 index 0000000..db0cb49 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-mixed-insensitive-dark@2.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-mixed-insensitive.png b/abbith-gtk-theme/src/assets/checkbox-mixed-insensitive.png new file mode 100644 index 0000000..a580627 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-mixed-insensitive.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-mixed-insensitive@2.png b/abbith-gtk-theme/src/assets/checkbox-mixed-insensitive@2.png new file mode 100644 index 0000000..2d0dc67 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-mixed-insensitive@2.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-mixed.png b/abbith-gtk-theme/src/assets/checkbox-mixed.png new file mode 100644 index 0000000..72b0761 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-mixed.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-mixed@2.png b/abbith-gtk-theme/src/assets/checkbox-mixed@2.png new file mode 100644 index 0000000..2b25729 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-mixed@2.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-unchecked-dark.png b/abbith-gtk-theme/src/assets/checkbox-unchecked-dark.png new file mode 100644 index 0000000..5a6a059 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-unchecked-dark.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-unchecked-dark@2.png b/abbith-gtk-theme/src/assets/checkbox-unchecked-dark@2.png new file mode 100644 index 0000000..3dfe21e Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-unchecked-dark@2.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-unchecked-insensitive-dark.png b/abbith-gtk-theme/src/assets/checkbox-unchecked-insensitive-dark.png new file mode 100644 index 0000000..57660fd Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-unchecked-insensitive-dark.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-unchecked-insensitive-dark@2.png b/abbith-gtk-theme/src/assets/checkbox-unchecked-insensitive-dark@2.png new file mode 100644 index 0000000..37e459c Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-unchecked-insensitive-dark@2.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-unchecked-insensitive.png b/abbith-gtk-theme/src/assets/checkbox-unchecked-insensitive.png new file mode 100644 index 0000000..98a75fe Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-unchecked-insensitive.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-unchecked-insensitive@2.png b/abbith-gtk-theme/src/assets/checkbox-unchecked-insensitive@2.png new file mode 100644 index 0000000..3977da7 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-unchecked-insensitive@2.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-unchecked.png b/abbith-gtk-theme/src/assets/checkbox-unchecked.png new file mode 100644 index 0000000..bf4966f Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-unchecked.png differ diff --git a/abbith-gtk-theme/src/assets/checkbox-unchecked@2.png b/abbith-gtk-theme/src/assets/checkbox-unchecked@2.png new file mode 100644 index 0000000..82bdd17 Binary files /dev/null and b/abbith-gtk-theme/src/assets/checkbox-unchecked@2.png differ diff --git a/abbith-gtk-theme/src/assets/grid-selection-checked-dark.png b/abbith-gtk-theme/src/assets/grid-selection-checked-dark.png new file mode 100644 index 0000000..0f7d4bc Binary files /dev/null and b/abbith-gtk-theme/src/assets/grid-selection-checked-dark.png differ diff --git a/abbith-gtk-theme/src/assets/grid-selection-checked-dark@2.png b/abbith-gtk-theme/src/assets/grid-selection-checked-dark@2.png new file mode 100644 index 0000000..e093105 Binary files /dev/null and b/abbith-gtk-theme/src/assets/grid-selection-checked-dark@2.png differ diff --git a/abbith-gtk-theme/src/assets/grid-selection-checked.png b/abbith-gtk-theme/src/assets/grid-selection-checked.png new file mode 100644 index 0000000..0f7d4bc Binary files /dev/null and b/abbith-gtk-theme/src/assets/grid-selection-checked.png differ diff --git a/abbith-gtk-theme/src/assets/grid-selection-checked@2.png b/abbith-gtk-theme/src/assets/grid-selection-checked@2.png new file mode 100644 index 0000000..e093105 Binary files /dev/null and b/abbith-gtk-theme/src/assets/grid-selection-checked@2.png differ diff --git a/abbith-gtk-theme/src/assets/grid-selection-unchecked-dark.png b/abbith-gtk-theme/src/assets/grid-selection-unchecked-dark.png new file mode 100644 index 0000000..09561c2 Binary files /dev/null and b/abbith-gtk-theme/src/assets/grid-selection-unchecked-dark.png differ diff --git a/abbith-gtk-theme/src/assets/grid-selection-unchecked-dark@2.png b/abbith-gtk-theme/src/assets/grid-selection-unchecked-dark@2.png new file mode 100644 index 0000000..709a058 Binary files /dev/null and b/abbith-gtk-theme/src/assets/grid-selection-unchecked-dark@2.png differ diff --git a/abbith-gtk-theme/src/assets/grid-selection-unchecked.png b/abbith-gtk-theme/src/assets/grid-selection-unchecked.png new file mode 100644 index 0000000..0ce5c35 Binary files /dev/null and b/abbith-gtk-theme/src/assets/grid-selection-unchecked.png differ diff --git a/abbith-gtk-theme/src/assets/grid-selection-unchecked@2.png b/abbith-gtk-theme/src/assets/grid-selection-unchecked@2.png new file mode 100644 index 0000000..f843151 Binary files /dev/null and b/abbith-gtk-theme/src/assets/grid-selection-unchecked@2.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-checkbox-checked-hover.png b/abbith-gtk-theme/src/assets/menuitem-checkbox-checked-hover.png new file mode 100644 index 0000000..39e2b46 Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-checkbox-checked-hover.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-checkbox-checked-hover@2.png b/abbith-gtk-theme/src/assets/menuitem-checkbox-checked-hover@2.png new file mode 100644 index 0000000..f461920 Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-checkbox-checked-hover@2.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-checkbox-checked-insensitive.png b/abbith-gtk-theme/src/assets/menuitem-checkbox-checked-insensitive.png new file mode 100644 index 0000000..71451fa Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-checkbox-checked-insensitive.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-checkbox-checked-insensitive@2.png b/abbith-gtk-theme/src/assets/menuitem-checkbox-checked-insensitive@2.png new file mode 100644 index 0000000..a664650 Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-checkbox-checked-insensitive@2.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-checkbox-checked.png b/abbith-gtk-theme/src/assets/menuitem-checkbox-checked.png new file mode 100644 index 0000000..6a63954 Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-checkbox-checked.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-checkbox-checked@2.png b/abbith-gtk-theme/src/assets/menuitem-checkbox-checked@2.png new file mode 100644 index 0000000..f4c7d6e Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-checkbox-checked@2.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed-hover.png b/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed-hover.png new file mode 100644 index 0000000..64a588e Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed-hover.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed-hover@2.png b/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed-hover@2.png new file mode 100644 index 0000000..e1586e9 Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed-hover@2.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed-insensitive.png b/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed-insensitive.png new file mode 100644 index 0000000..0a4379a Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed-insensitive.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed-insensitive@2.png b/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed-insensitive@2.png new file mode 100644 index 0000000..ccbd812 Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed-insensitive@2.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed.png b/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed.png new file mode 100644 index 0000000..e981c77 Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed@2.png b/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed@2.png new file mode 100644 index 0000000..f9c52e7 Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-checkbox-mixed@2.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-radio-checked-hover.png b/abbith-gtk-theme/src/assets/menuitem-radio-checked-hover.png new file mode 100644 index 0000000..c999625 Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-radio-checked-hover.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-radio-checked-hover@2.png b/abbith-gtk-theme/src/assets/menuitem-radio-checked-hover@2.png new file mode 100644 index 0000000..6e3baba Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-radio-checked-hover@2.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-radio-checked-insensitive.png b/abbith-gtk-theme/src/assets/menuitem-radio-checked-insensitive.png new file mode 100644 index 0000000..a60bbbc Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-radio-checked-insensitive.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-radio-checked-insensitive@2.png b/abbith-gtk-theme/src/assets/menuitem-radio-checked-insensitive@2.png new file mode 100644 index 0000000..8b298c9 Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-radio-checked-insensitive@2.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-radio-checked.png b/abbith-gtk-theme/src/assets/menuitem-radio-checked.png new file mode 100644 index 0000000..1dcd316 Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-radio-checked.png differ diff --git a/abbith-gtk-theme/src/assets/menuitem-radio-checked@2.png b/abbith-gtk-theme/src/assets/menuitem-radio-checked@2.png new file mode 100644 index 0000000..766d263 Binary files /dev/null and b/abbith-gtk-theme/src/assets/menuitem-radio-checked@2.png differ diff --git a/abbith-gtk-theme/src/assets/pane-handle.png b/abbith-gtk-theme/src/assets/pane-handle.png new file mode 100644 index 0000000..e67a9dc Binary files /dev/null and b/abbith-gtk-theme/src/assets/pane-handle.png differ diff --git a/abbith-gtk-theme/src/assets/pane-handle@2.png b/abbith-gtk-theme/src/assets/pane-handle@2.png new file mode 100644 index 0000000..8a2cd07 Binary files /dev/null and b/abbith-gtk-theme/src/assets/pane-handle@2.png differ diff --git a/abbith-gtk-theme/src/assets/radio-checked-dark.png b/abbith-gtk-theme/src/assets/radio-checked-dark.png new file mode 100644 index 0000000..57911a5 Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-checked-dark.png differ diff --git a/abbith-gtk-theme/src/assets/radio-checked-dark@2.png b/abbith-gtk-theme/src/assets/radio-checked-dark@2.png new file mode 100644 index 0000000..fd8cf1a Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-checked-dark@2.png differ diff --git a/abbith-gtk-theme/src/assets/radio-checked-insensitive-dark.png b/abbith-gtk-theme/src/assets/radio-checked-insensitive-dark.png new file mode 100644 index 0000000..ec46e52 Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-checked-insensitive-dark.png differ diff --git a/abbith-gtk-theme/src/assets/radio-checked-insensitive-dark@2.png b/abbith-gtk-theme/src/assets/radio-checked-insensitive-dark@2.png new file mode 100644 index 0000000..0cc0e82 Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-checked-insensitive-dark@2.png differ diff --git a/abbith-gtk-theme/src/assets/radio-checked-insensitive.png b/abbith-gtk-theme/src/assets/radio-checked-insensitive.png new file mode 100644 index 0000000..8600f8b Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-checked-insensitive.png differ diff --git a/abbith-gtk-theme/src/assets/radio-checked-insensitive@2.png b/abbith-gtk-theme/src/assets/radio-checked-insensitive@2.png new file mode 100644 index 0000000..74fa1aa Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-checked-insensitive@2.png differ diff --git a/abbith-gtk-theme/src/assets/radio-checked.png b/abbith-gtk-theme/src/assets/radio-checked.png new file mode 100644 index 0000000..57911a5 Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-checked.png differ diff --git a/abbith-gtk-theme/src/assets/radio-checked@2.png b/abbith-gtk-theme/src/assets/radio-checked@2.png new file mode 100644 index 0000000..fd8cf1a Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-checked@2.png differ diff --git a/abbith-gtk-theme/src/assets/radio-mixed-dark.png b/abbith-gtk-theme/src/assets/radio-mixed-dark.png new file mode 100644 index 0000000..96028af Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-mixed-dark.png differ diff --git a/abbith-gtk-theme/src/assets/radio-mixed-dark@2.png b/abbith-gtk-theme/src/assets/radio-mixed-dark@2.png new file mode 100644 index 0000000..30fce94 Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-mixed-dark@2.png differ diff --git a/abbith-gtk-theme/src/assets/radio-mixed-insensitive-dark.png b/abbith-gtk-theme/src/assets/radio-mixed-insensitive-dark.png new file mode 100644 index 0000000..12a90ac Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-mixed-insensitive-dark.png differ diff --git a/abbith-gtk-theme/src/assets/radio-mixed-insensitive-dark@2.png b/abbith-gtk-theme/src/assets/radio-mixed-insensitive-dark@2.png new file mode 100644 index 0000000..0aece34 Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-mixed-insensitive-dark@2.png differ diff --git a/abbith-gtk-theme/src/assets/radio-mixed-insensitive.png b/abbith-gtk-theme/src/assets/radio-mixed-insensitive.png new file mode 100644 index 0000000..c613d2a Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-mixed-insensitive.png differ diff --git a/abbith-gtk-theme/src/assets/radio-mixed-insensitive@2.png b/abbith-gtk-theme/src/assets/radio-mixed-insensitive@2.png new file mode 100644 index 0000000..548d19c Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-mixed-insensitive@2.png differ diff --git a/abbith-gtk-theme/src/assets/radio-mixed.png b/abbith-gtk-theme/src/assets/radio-mixed.png new file mode 100644 index 0000000..96028af Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-mixed.png differ diff --git a/abbith-gtk-theme/src/assets/radio-mixed@2.png b/abbith-gtk-theme/src/assets/radio-mixed@2.png new file mode 100644 index 0000000..30fce94 Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-mixed@2.png differ diff --git a/abbith-gtk-theme/src/assets/radio-unchecked-dark.png b/abbith-gtk-theme/src/assets/radio-unchecked-dark.png new file mode 100644 index 0000000..2cca072 Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-unchecked-dark.png differ diff --git a/abbith-gtk-theme/src/assets/radio-unchecked-dark@2.png b/abbith-gtk-theme/src/assets/radio-unchecked-dark@2.png new file mode 100644 index 0000000..f1ecb22 Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-unchecked-dark@2.png differ diff --git a/abbith-gtk-theme/src/assets/radio-unchecked-insensitive-dark.png b/abbith-gtk-theme/src/assets/radio-unchecked-insensitive-dark.png new file mode 100644 index 0000000..533fb9d Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-unchecked-insensitive-dark.png differ diff --git a/abbith-gtk-theme/src/assets/radio-unchecked-insensitive-dark@2.png b/abbith-gtk-theme/src/assets/radio-unchecked-insensitive-dark@2.png new file mode 100644 index 0000000..460d96a Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-unchecked-insensitive-dark@2.png differ diff --git a/abbith-gtk-theme/src/assets/radio-unchecked-insensitive.png b/abbith-gtk-theme/src/assets/radio-unchecked-insensitive.png new file mode 100644 index 0000000..e48050d Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-unchecked-insensitive.png differ diff --git a/abbith-gtk-theme/src/assets/radio-unchecked-insensitive@2.png b/abbith-gtk-theme/src/assets/radio-unchecked-insensitive@2.png new file mode 100644 index 0000000..eebaebf Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-unchecked-insensitive@2.png differ diff --git a/abbith-gtk-theme/src/assets/radio-unchecked.png b/abbith-gtk-theme/src/assets/radio-unchecked.png new file mode 100644 index 0000000..f10110d Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-unchecked.png differ diff --git a/abbith-gtk-theme/src/assets/radio-unchecked@2.png b/abbith-gtk-theme/src/assets/radio-unchecked@2.png new file mode 100644 index 0000000..96250ef Binary files /dev/null and b/abbith-gtk-theme/src/assets/radio-unchecked@2.png differ diff --git a/abbith-gtk-theme/src/gtk-2.0/gtkrc b/abbith-gtk-theme/src/gtk-2.0/gtkrc new file mode 100644 index 0000000..2729a57 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-2.0/gtkrc @@ -0,0 +1,808 @@ +# Numix GTK Theme + +gtk-color-scheme = "bg_color:#eeeeee\nfg_color:#555555\nbase_color:#ffffff\ntext_color:#333333\nselected_bg_color:#f0544c\nselected_fg_color:#ffffff\ntooltip_bg_color:#444444\ntooltip_fg_color:#eeeeee\ntitlebar_bg_color:#444444\ntitlebar_fg_color:#dddddd\nmenubar_bg_color:#444444\nmenubar_fg_color:#dddddd\ntoolbar_bg_color:#eeeeee\ntoolbar_fg_color:#555555\nmenu_bg_color:#444444\nmenu_fg_color:#dddddd\npanel_bg_color:#444444\npanel_fg_color:#dddddd\nlink_color:#f06860" + +gtk-icon-sizes = "inkscape-decoration=16,16:gtk-small-toolbar=16,16" + +# Default Style + +style "murrine-default" { + GtkArrow::arrow-scaling= 0.6 + + GtkButton::child-displacement-x = 0 + GtkButton::child-displacement-y = 0 + + GtkButton::default-border = { 0, 0, 0, 0 } + + GtkButtonBox::child-min-height = 26 + + GtkCheckButton::indicator-size = 16 + + # The following line hints to gecko (and possibly other appliations) + # that the entry should be drawn transparently on the canvas. + # Without this, gecko will fill in the background of the entry. + GtkEntry::honors-transparent-bg-hint = 1 + GtkEntry::state-hint = 0 + + GtkExpander::expander-size = 16 + + GtkImage::x-ayatana-indicator-dynamic = 1 + + GtkMenu::horizontal-padding = 0 + GtkMenu::vertical-padding = 0 + + GtkMenuBar::internal-padding = 0 + GtkMenuBar::window-dragging = 1 + + GtkMenuItem::arrow-scaling= 0.5 + + GtkPaned::handle-size = 1 + + GtkProgressBar::min-horizontal-bar-height = 12 + GtkProgressBar::min-vertical-bar-width = 12 + + GtkRange::trough-border = 0 + GtkRange::slider-width = 12 + GtkRange::stepper-size = 12 + GtkRange::stepper_spacing = 0 + GtkRange::trough-under-steppers = 1 + + GtkScale::slider-length = 16 + GtkScale::slider-width = 16 + GtkScale::trough-side-details = 1 + + GtkScrollbar::activate-slider = 1 + GtkScrollbar::has-backward-stepper = 0 + GtkScrollbar::has-forward-stepper = 0 + GtkScrollbar::has-secondary-backward-stepper = 0 + GtkScrollbar::has-secondary-forward-stepper = 0 + GtkScrollbar::min-slider-length = 80 + GtkScrollbar::slider-width = 12 + GtkScrollbar::trough-border = 0 + + GtkScrolledWindow::scrollbar-spacing = 0 + GtkScrolledWindow::scrollbars-within-bevel = 1 + + GtkSeparatorMenuItem::horizontal-padding = 0 + + GtkToolbar::internal-padding = 0 + + GtkTreeView::expander-size = 11 + GtkTreeView::vertical-separator = 0 + + GtkWidget::focus-line-width = 1 + # The following line prevents the Firefox tabs + # from jumping a few pixels when you create a new tab + GtkWidget::focus-padding = 0 + + GtkWidget::wide-separators = 1 + GtkWidget::separator-width = 1 + GtkWidget::separator-height = 1 + + GtkWindow::resize-grip-height = 0 + GtkWindow::resize-grip-width = 0 + + WnckTasklist::fade-overlay-rect = 0 + + GnomeHRef::link_color = @link_color + GtkHTML::link-color = @link_color + GtkIMHtmlr::hyperlink-color = @link_color + GtkIMHtml::hyperlink-color = @link_color + GtkWidget::link-color = @link_color + GtkWidget::visited-link-color = @text_color + + GtkToolbar::shadow-type = GTK_SHADOW_NONE # Makes toolbars flat and unified + GtkMenuBar::shadow-type = GTK_SHADOW_NONE # Makes menubars flat and unified + + xthickness = 1 + ythickness = 1 + + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @fg_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) + + bg[NORMAL] = @bg_color + bg[PRELIGHT] = shade (1.02, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.9, @bg_color) + bg[INSENSITIVE] = @bg_color + + base[NORMAL] = @base_color + base[PRELIGHT] = shade (0.95, @base_color) + base[SELECTED] = @selected_bg_color + base[ACTIVE] = @selected_bg_color + base[INSENSITIVE] = shade (0.85, @base_color) + + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @selected_fg_color + text[INSENSITIVE] = mix (0.5, @base_color, @text_color) + + engine "murrine" { + animation = FALSE + arrowstyle = 1 # 0 = normal arrows, 1 = filled arrows + border_shades = { 1.0, 1.0 } # gradient to draw on border + colorize_scrollbar = FALSE + comboboxstyle = 0 # 0 = normal combobox, 1 = colorized combobox below arrow + contrast = 0.8 # overal contrast with borders + focusstyle = 1 # 0 = none, 1 = grey dotted, 2 = colored with fill, 3 = colored glow + glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave, 3 = top curved highlight, 4 = beryl highlight + glowstyle = 0 # 0 = glow on top, 1 = glow on bottom, 2 = glow on top and bottom, 3 = glow on middle vertically, 4 = glow on middle horizontally, 5 = glow on all sides + glow_shade = 1.0 # amount of glow + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } # gradient to draw on widgets + highlight_shade = 1.0 # amount of highlight + lightborder_shade = 1.0 # amount of inset light border + lightborderstyle = 1 # 0 = lightborder on top side, 1 = lightborder on all sides + listviewheaderstyle = 0 # 0 = flat, 1 = glassy, 2 = raised + listviewstyle = 0 # 0 = none, 1 = dotted, 2 = line + menubaritemstyle = 0 # 0 = menuitem look, 1 = button look + menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped + menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped + menustyle = 0 # 0 = none, 1 = vertical striped + progressbarstyle = 0 # 0 = none, 1 = diagonal striped, 2 = vertical striped + reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient + roundness = 2 # roundness of widgets + scrollbarstyle = 0 # 0 = none, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles + sliderstyle = 0 # 0 = none, 1 = handles + stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles + toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient + } +} + +style "murrine-wide" { + xthickness = 2 + ythickness = 2 +} + +style "murrine-wider" { + xthickness = 3 + ythickness = 3 +} + +style "murrine-thin" { + xthickness = 0 + ythickness = 0 +} + +# Notebook + +style "murrine-notebook-bg" { + bg[NORMAL] = @base_color + bg[ACTIVE] = shade (0.87, @base_color) +} + +style "murrine-notebook" = "murrine-notebook-bg" { + xthickness = 2 + ythickness = 2 + + engine "murrine" { + roundness = 2 + } +} + +# Various Standard Widgets + +style "murrine-button" = "murrine-wider" { + bg[NORMAL] = shade (1.08, @bg_color) + bg[PRELIGHT] = shade (1.10, @bg_color) + bg[ACTIVE] = shade (0.95, @bg_color) + bg[INSENSITIVE] = shade (0.85, @bg_color) + + engine "murrine" { + } +} + +style "murrine-scrollbar" { + bg[NORMAL] = mix (0.21, @fg_color, @bg_color) + bg[PRELIGHT] = mix (0.31, @fg_color, @bg_color) + bg[ACTIVE] = @selected_bg_color + + engine "murrine" { + roundness = 0 + contrast = 0.0 + border_shades = { 0.9, 0.9 } + trough_shades = { 0.97, 0.97 } + trough_border_shades = { 1.0, 1.0 } + } +} + +style "murrine-overlay-scrollbar" { + bg[ACTIVE] = shade (0.8, @bg_color) + bg[INSENSITIVE] = shade (0.97, @bg_color) + + base[SELECTED] = shade (0.6, @base_color) + base[INSENSITIVE] = shade (0.85, @base_color) +} + +style "murrine-scale" = "murrine-thin" { + bg[NORMAL] = @bg_color + bg[ACTIVE] = @bg_color + bg[SELECTED] = @selected_bg_color + bg[INSENSITIVE] = shade (0.95, @bg_color) + + engine "murrine" { + roundness = 8 + gradient_shades = { 1.08, 1.08, 1.08, 1.08 } + border_shades = { 1.0, 1.0 } + trough_shades = { 1.08, 1.08 } + trough_border_shades = { 0.8, 0.8 } + } +} + +style "murrine-progressbar" = "murrine-thin" { + bg[NORMAL] = @bg_color + bg[ACTIVE] = shade (1.08, @bg_color) + + fg[PRELIGHT] = @selected_fg_color + + engine "murrine" { + roundness = 2 + border_shades = { 1.2, 1.2 } + trough_border_shades = { 0.8, 0.8 } + } +} + +style "murrine-treeview-header" = "murrine-button" { + engine "murrine" { + roundness = 0 + } +} + +style "murrine-treeview" { + engine "murrine" { + roundness = 0 + } +} + +style "murrine-frame-title" { + fg[NORMAL] = lighter (@fg_color) +} + +style "murrine-tooltips" { + xthickness = 5 + ythickness = 5 + + bg[NORMAL] = @tooltip_bg_color + bg[SELECTED] = @tooltip_bg_color + + fg[NORMAL] = @tooltip_fg_color + + engine "murrine" { + textstyle = 0 + roundness = 2 + rgba = FALSE + } +} + +style "murrine-spinbutton" = "murrine-button" { + engine "murrine" { + } +} + +style "murrine-radiocheck" = "murrine-default" { + bg[SELECTED] = @base_color + + text[NORMAL] = @selected_bg_color + text[PRELIGHT] = @selected_bg_color +} + +style "murrine-entry" = "murrine-wider" { + engine "murrine" { + border_shades = { 1.15, 1.15 } + } +} + +style "metacity-frame" = "murrine-default" { + bg[SELECTED] = @selected_bg_color +} + +style "murrine-statusbar" { } +style "murrine-comboboxentry" = "murrine-entry" { } +style "murrine-hscale" = "murrine-scale" { } +style "murrine-vscale" = "murrine-scale" { } +style "murrine-hscrollbar" = "murrine-scrollbar" { } +style "murrine-vscrollbar" = "murrine-scrollbar" { } + +# Menus + +style "murrine-menu" = "murrine-thin" { + bg[NORMAL] = @menu_bg_color + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @menu_bg_color + bg[INSENSITIVE] = @menu_bg_color + + fg[NORMAL] = @menu_fg_color + fg[PRELIGHT] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + text[NORMAL] = @menu_fg_color + text[PRELIGHT] = @selected_fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @selected_fg_color + text[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +style "murrine-menu-item" = "murrine-wider" { + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @selected_bg_color + + fg[NORMAL] = @menu_fg_color # Fix for XFCE menu text + fg[PRELIGHT] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + engine "murrine" { + textstyle = 0 + border_shades = { 1.2, 1.2 } + } +} + +style "murrine-separator-menu-item" = "murrine-thin" { } + +style "murrine-menubar" { + bg[NORMAL] = @menubar_bg_color + bg[PRELIGHT] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[SELECTED] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[ACTIVE] = shade (0.9, @menubar_bg_color) + bg[INSENSITIVE] = @menubar_bg_color + + fg[NORMAL] = @menubar_fg_color + fg[PRELIGHT] = shade (1.08, @menubar_fg_color) + fg[SELECTED] = shade (1.08, @menubar_fg_color) + fg[ACTIVE] = @menubar_fg_color + fg[INSENSITIVE] = mix (0.5, @menubar_bg_color, @menubar_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +style "murrine-menubaritem" { + bg[NORMAL] = @menubar_bg_color + bg[PRELIGHT] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[SELECTED] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[ACTIVE] = shade (0.9, @menubar_bg_color) + bg[INSENSITIVE] = @menubar_bg_color + + fg[NORMAL] = @menubar_fg_color + fg[PRELIGHT] = shade (1.08, @menubar_fg_color) + fg[SELECTED] = shade (1.08, @menubar_fg_color) + fg[ACTIVE] = @menubar_fg_color + fg[INSENSITIVE] = mix (0.5, @menubar_bg_color, @menubar_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +# Toolbars + +style "murrine-toolbar" = "murrine-thin" { + bg[NORMAL] = @bg_color + bg[PRELIGHT] = shade (1.02, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.9, @bg_color) + bg[INSENSITIVE] = @bg_color + + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @fg_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) + + engine "murrine" { + } +} + +style "murrine-toolbutton" = "murrine-button" { + bg[NORMAL] = shade (1.08, @bg_color) + bg[PRELIGHT] = shade (1.10, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.95, @bg_color) + bg[INSENSITIVE] = shade (0.85, @bg_color) + + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @fg_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) + + engine "murrine" { + } +} + +class "GtkToolbar" style "murrine-toolbar" +class "GtkHandleBox" style "murrine-toolbar" +widget_class "*Toolbar*.*Separator*" style "murrine-toolbar" + +# Panels + +style "murrine-panel" = "murrine-thin" { + xthickness = 2 + + bg[NORMAL] = @panel_bg_color + bg[PRELIGHT] = mix (0.21, @panel_fg_color, @panel_bg_color) + bg[SELECTED] = mix (0.21, @panel_fg_color, @panel_bg_color) + bg[ACTIVE] = shade (0.8, @panel_bg_color) + bg[INSENSITIVE] = @panel_bg_color + + fg[NORMAL] = @panel_fg_color + fg[PRELIGHT] = shade (1.08, @panel_fg_color) + fg[SELECTED] = shade (1.08, @panel_fg_color) + fg[ACTIVE] = @panel_fg_color + fg[INSENSITIVE] = mix (0.5, @panel_bg_color, @panel_fg_color) + + base[NORMAL] = @panel_bg_color + base[PRELIGHT] = mix (0.21, @panel_fg_color, @panel_bg_color) + base[SELECTED] = mix (0.21, @panel_fg_color, @panel_bg_color) + base[ACTIVE] = shade (0.9, @panel_bg_color) + base[INSENSITIVE] = @panel_bg_color + + text[NORMAL] = @panel_fg_color + text[PRELIGHT] = shade (1.08, @panel_fg_color) + text[SELECTED] = shade (1.08, @panel_fg_color) + text[ACTIVE] = @panel_fg_color + text[INSENSITIVE] = mix (0.5, @panel_bg_color, @panel_fg_color) + + engine "murrine" { + roundness = 0 + contrast = 0.0 + } +} + +widget "*PanelWidget*" style "murrine-panel" +widget "*PanelApplet*" style "murrine-panel" +widget "*fast-user-switch*" style "murrine-panel" +widget "*CPUFreq*Applet*" style "murrine-panel" +widget "*indicator-applet*" style "murrine-panel" +class "PanelApp*" style "murrine-panel" +class "PanelToplevel*" style "murrine-panel" +widget_class "*PanelToplevel*" style "murrine-panel" +widget_class "*notif*" style "murrine-panel" +widget_class "*Notif*" style "murrine-panel" +widget_class "*Tray*" style "murrine-panel" +widget_class "*tray*" style "murrine-panel" +widget_class "*computertemp*" style "murrine-panel" +widget_class "*Applet*Tomboy*" style "murrine-panel" +widget_class "*Applet*Netstatus*" style "murrine-panel" +widget "*gdm-user-switch-menubar*" style "murrine-panel" + +# LXPanel (code based on Lubuntu-default theme's gtkrc file) +widget "*.tclock.*" style "murrine-panel" +widget "*.taskbar.*" style "murrine-panel" +widget_class "*GtkBgbox*" style "murrine-panel" + +style "bold-panel-item" { + font_name = "Bold" + + engine "murrine" { + roundness = 0 + } +} + +widget "*Panel*MenuBar*" style "bold-panel-item" +widget "*gimmie*" style "bold-panel-item" + +# widget_class "*Mail*" style "murrine-panel" # Disabled to fix Evolution bug +# class "*Panel*" style "murrine-panel" # Disabled to fix bug + +# XFCE Styles + +style "workspace-switcher" = "murrine-panel" { + bg[ACTIVE] = @selected_bg_color + bg[SELECTED] = @selected_bg_color +} + +style "xfce-header" { + bg[NORMAL] = shade (0.9, @bg_color) + base[NORMAL] = shade (1.18, @bg_color) +} + +style "xfdesktop-windowlist" { + bg[NORMAL] = @base_color + fg[INSENSITIVE] = shade (0.95, @base_color) + text[INSENSITIVE] = shade (0.95, @base_color) +} + +style "xfdesktop-icon-view" { + XfdesktopIconView::label-alpha = 0 + XfdesktopIconView::selected-label-alpha = 60 + XfdesktopIconView::shadow-x-offset = 0 + XfdesktopIconView::shadow-y-offset = 1 + XfdesktopIconView::selected-shadow-x-offset = 0 + XfdesktopIconView::selected-shadow-y-offset = 1 + XfdesktopIconView::shadow-color = "#000000" + XfdesktopIconView::selected-shadow-color = "#000000" + XfdesktopIconView::shadow-blur-radius = 2 + XfdesktopIconView::cell-spacing = 2 + XfdesktopIconView::cell-padding = 6 + XfdesktopIconView::cell-text-width-proportion = 1.9 + + fg[NORMAL] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + +} + +style "xfwm-tabwin" { + Xfwm4TabwinWidget::border-width = 1 + Xfwm4TabwinWidget::border-alpha = 1.0 + Xfwm4TabwinWidget::icon-size = 64 + Xfwm4TabwinWidget::alpha = 1.0 + Xfwm4TabwinWidget::border-radius = 2 + + bg[NORMAL] = @menu_bg_color + bg[SELECTED] = @menu_bg_color + + fg[NORMAL] = @menu_fg_color + + engine "murrine" { + contrast = 0.0 + border_shades = { 0.9, 0.9 } + } +} + +style "xfwm-tabwin-button" { + font_name = "bold" + + bg[SELECTED] = @selected_bg_color +} + +style "xfsm-logout" { + bg[NORMAL] = @menu_bg_color + bg[ACTIVE] = @menu_bg_color + bg[PRELIGHT] = shade (1.1, @menu_bg_color) + bg[SELECTED] = shade (0.5, @menu_bg_color) + bg[INSENSITIVE] = shade (1.3, @menu_bg_color) + + fg[NORMAL] = @menu_fg_color + fg[PRELIGHT] = @menu_fg_color + + text[NORMAL] = @menu_fg_color + + engine "murrine" { + } +} + +style "xfsm-logout-button" { + bg[NORMAL] = shade (1.2, @menu_bg_color) + bg[PRELIGHT] = shade (1.4, @menu_bg_color) + + engine "murrine" { + } +} + +widget "*Pager*" style "workspace-switcher" + +widget "*Xfce*Panel*" style "murrine-panel" +class "*Xfce*Panel*" style "murrine-panel" + +# Thunar Styles + +style "sidepane" { + base[NORMAL] = @bg_color + base[INSENSITIVE] = mix (0.4, shade (1.35, @selected_bg_color), shade (0.9, @base_color)) + bg[NORMAL] = @bg_color + text[NORMAL] = mix (0.9, @fg_color, @bg_color) +} + +widget_class "*ThunarShortcutsView*" style "sidepane" +widget_class "*ThunarTreeView*" style "sidepane" +widget_class "*ThunarLocationEntry*" style "murrine-entry" + +style "whiskermenu" { + bg[NORMAL] = @menu_bg_color + bg[ACTIVE] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[PRELIGHT] = @selected_bg_color + + fg[NORMAL] = @menu_fg_color + fg[ACTIVE] = @menu_fg_color + fg[PRELIGHT] = @menu_fg_color +} + +style "whiskermenu-scrollbar" = "murrine-scrollbar" { + bg[NORMAL] = mix (0.21, @fg_color, @bg_color) + bg[PRELIGHT] = mix (0.31, @fg_color, @bg_color) + bg[ACTIVE] = @selected_bg_color + + engine "murrine" { + trough_shades = { 4.97, 4.97 } + trough_border_shades = { 5.0, 5.0 } + } +} + +widget "whiskermenu-window*" style "whiskermenu" +widget "*whisker*GtkVScrollbar" style "whiskermenu-scrollbar" + +# Gtk2 Open-File Dialog + +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView*" style "sidepane" +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.." style "murrine-treeview-header" + +# Google Chrome/Chromium Styles (requires 9.0.597 or newer) + +style "chromium-toolbar-button" { + engine "murrine" { + roundness = 2 + textstyle = 0 + } +} + +style "chrome-gtk-frame" { + ChromeGtkFrame::frame-color = @titlebar_bg_color + ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color + + ChromeGtkFrame::frame-gradient-size = 0 + ChromeGtkFrame::frame-gradient-color = @titlebar_bg_color + + ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color + ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color + + ChromeGtkFrame::incognito-frame-gradient-size = 0 + ChromeGtkFrame::incognito-frame-gradient-color = @titlebar_bg_color + + ChromeGtkFrame::scrollbar-trough-color = @bg_color + ChromeGtkFrame::scrollbar-slider-normal-color = mix (0.21, @fg_color, @bg_color) + ChromeGtkFrame::scrollbar-slider-prelight-color = mix (0.31, @fg_color, @bg_color) +} + +class "ChromeGtkFrame" style "chrome-gtk-frame" + +widget_class "*Chrom*Button*" style "chromium-toolbar-button" + +# General Styles + +class "GtkWidget" style "murrine-default" + +class "GtkFrame" style "murrine-wide" +class "MetaFrames" style "metacity-frame" +class "GtkWindow" style "metacity-frame" + +class "GtkSeparator" style "murrine-wide" +class "GtkCalendar" style "murrine-wide" + +class "GtkSpinButton" style "murrine-spinbutton" + +class "GtkScale" style "murrine-scale" +class "GtkVScale" style "murrine-vscale" +class "GtkHScale" style "murrine-hscale" +class "GtkScrollbar" style "murrine-scrollbar" +class "GtkVScrollbar" style "murrine-vscrollbar" +class "GtkHScrollbar" style "murrine-hscrollbar" + +class "GtkRadio*" style "murrine-radiocheck" +class "GtkCheck*" style "murrine-radiocheck" + +class "GtkEntry" style "murrine-entry" + +widget_class "*" style "murrine-notebook" +widget_class "**" style "murrine-notebook-bg" +widget_class "**" style "murrine-notebook-bg" +widget_class "**" style "murrine-notebook-bg" +widget_class "*.GtkNotebook.*.GtkViewport" style "murrine-notebook" + +widget_class "*" style "murrine-button" +widget_class "**" style "murrine-statusbar" +widget_class "*" style "murrine-progressbar" +widget_class "*" style "murrine-progressbar" + +widget_class "**" style "murrine-comboboxentry" +widget_class "**" style "murrine-comboboxentry" + +widget_class "**" style "murrine-menu" +widget_class "**" style "murrine-menu-item" +widget_class "**" style "murrine-separator-menu-item" +widget_class "*Menu*.*Sepa*" style "murrine-separator-menu-item" +widget_class "**" style "murrine-menubar" +widget_class "***" style "murrine-menubaritem" + +widget_class "*GtkToolButton*" style "murrine-toolbutton" +widget_class "*GtkToggleToolButton*" style "murrine-toolbutton" +widget_class "*GtkMenuToolButton*" style "murrine-toolbutton" +widget_class "*GtkToolbar*Button" style "murrine-toolbutton" + +widget_class "*.." style "murrine-frame-title" + +widget_class "*.*" style "murrine-treeview" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" + +widget "gtk-tooltip*" style "murrine-tooltips" + +widget_class "**" style "murrine-overlay-scrollbar" + +# Workarounds and Non-Standard Styling + +style "text-is-fg-color-workaround" { + text[NORMAL] = @text_color + text[PRELIGHT] = @fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) +} + +widget_class "*.." style "text-is-fg-color-workaround" + +style "fg-is-text-color-workaround" { + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[ACTIVE] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[INSENSITIVE] = darker (@fg_color) +} + +widget_class "**" style "fg-is-text-color-workaround" +widget_class "*" style "fg-is-text-color-workaround" +widget_class "*" style "fg-is-text-color-workaround" + +style "murrine-evo-new-button-workaround" { + engine "murrine" { + toolbarstyle = 0 + } +} + +widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround" + +style "inkscape-toolbar-fix" { + engine "murrine" { + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } + highlight_shade = 1.0 + } +} + +#widget "*GtkHandleBox*" style "inkscape-toolbar-fix" +#widget "*HandleBox*CommandsToolbar*" style "inkscape-toolbar-fix" +#widget "*HandleBox*SnapToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*SelectToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*NodeToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*TweakToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ZoomToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*StarToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*RectToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*3DBoxToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ArcToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*SpiralToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PencilToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PenToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*CalligraphyToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*EraserToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*LPEToolToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*DropperToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ConnectorToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PaintbucketToolbar*" style "inkscape-toolbar-fix" + +# Performance Fixes + +style "performance-fix" { + engine "murrine" { + textstyle = 0 + } +} + +widget_class "*gtkmm__GtkWindow*" style "performance-fix" # Inkscape +widget_class "*GimpDisplayShell*" style "performance-fix" # Gimp +widget_class "*GimpToolbox*" style "performance-fix" +widget_class "*GimpMenuDock*" style "performance-fix" +widget "*OOoFixed*" style "performance-fix" # Openoffice/Libreoffice +widget_class "*MozContainer*" style "performance-fix" # Firefox (Not sure if this one does anything though.) + +widget_class "*XfceHeading*" style "xfce-header" +widget_class "*XfceDesktop*" style "xfdesktop-windowlist" +widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view" +widget "xfwm4-tabwin*" style "xfwm-tabwin" +widget "xfwm4-tabwin*GtkButton*" style "xfwm-tabwin-button" +widget_class "*XfsmLogoutDialog*" style "xfsm-logout" +widget_class "*XfsmLogoutDialog*GtkButton" style "xfsm-logout-button" diff --git a/abbith-gtk-theme/src/gtk-3.0/assets b/abbith-gtk-theme/src/gtk-3.0/assets new file mode 120000 index 0000000..ec2e4be --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/assets @@ -0,0 +1 @@ +../assets \ No newline at end of file diff --git a/abbith-gtk-theme/src/gtk-3.0/gtk-dark.css b/abbith-gtk-theme/src/gtk-3.0/gtk-dark.css new file mode 100644 index 0000000..b00626d --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/gtk-dark.css @@ -0,0 +1 @@ +@import url("resource:///org/numixproject/gtk/dist/gtk-dark.css"); diff --git a/abbith-gtk-theme/src/gtk-3.0/gtk.css b/abbith-gtk-theme/src/gtk-3.0/gtk.css new file mode 100644 index 0000000..c6eab95 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/gtk.css @@ -0,0 +1 @@ +@import url("resource:///org/numixproject/gtk/dist/gtk.css"); diff --git a/abbith-gtk-theme/src/gtk-3.0/gtk.gresource.xml b/abbith-gtk-theme/src/gtk-3.0/gtk.gresource.xml new file mode 100644 index 0000000..faf7eb0 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/gtk.gresource.xml @@ -0,0 +1,83 @@ + + + + assets/checkbox-checked-dark.png + assets/checkbox-checked-dark@2.png + assets/checkbox-checked-insensitive-dark.png + assets/checkbox-checked-insensitive-dark@2.png + assets/checkbox-checked-insensitive.png + assets/checkbox-checked-insensitive@2.png + assets/checkbox-checked.png + assets/checkbox-checked@2.png + assets/checkbox-mixed-dark.png + assets/checkbox-mixed-dark@2.png + assets/checkbox-mixed-insensitive-dark.png + assets/checkbox-mixed-insensitive-dark@2.png + assets/checkbox-mixed-insensitive.png + assets/checkbox-mixed-insensitive@2.png + assets/checkbox-mixed.png + assets/checkbox-mixed@2.png + assets/checkbox-unchecked-dark.png + assets/checkbox-unchecked-dark@2.png + assets/checkbox-unchecked-insensitive-dark.png + assets/checkbox-unchecked-insensitive-dark@2.png + assets/checkbox-unchecked-insensitive.png + assets/checkbox-unchecked-insensitive@2.png + assets/checkbox-unchecked.png + assets/checkbox-unchecked@2.png + assets/grid-selection-checked-dark.png + assets/grid-selection-checked-dark@2.png + assets/grid-selection-checked.png + assets/grid-selection-checked@2.png + assets/grid-selection-unchecked-dark.png + assets/grid-selection-unchecked-dark@2.png + assets/grid-selection-unchecked.png + assets/grid-selection-unchecked@2.png + assets/menuitem-checkbox-checked-hover.png + assets/menuitem-checkbox-checked-hover@2.png + assets/menuitem-checkbox-checked-insensitive.png + assets/menuitem-checkbox-checked-insensitive@2.png + assets/menuitem-checkbox-checked.png + assets/menuitem-checkbox-checked@2.png + assets/menuitem-checkbox-mixed-hover.png + assets/menuitem-checkbox-mixed-hover@2.png + assets/menuitem-checkbox-mixed-insensitive.png + assets/menuitem-checkbox-mixed-insensitive@2.png + assets/menuitem-checkbox-mixed.png + assets/menuitem-checkbox-mixed@2.png + assets/menuitem-radio-checked-hover.png + assets/menuitem-radio-checked-hover@2.png + assets/menuitem-radio-checked-insensitive.png + assets/menuitem-radio-checked-insensitive@2.png + assets/menuitem-radio-checked.png + assets/menuitem-radio-checked@2.png + assets/pane-handle.png + assets/pane-handle@2.png + assets/radio-checked-dark.png + assets/radio-checked-dark@2.png + assets/radio-checked-insensitive-dark.png + assets/radio-checked-insensitive-dark@2.png + assets/radio-checked-insensitive.png + assets/radio-checked-insensitive@2.png + assets/radio-checked.png + assets/radio-checked@2.png + assets/radio-mixed-dark.png + assets/radio-mixed-dark@2.png + assets/radio-mixed-insensitive-dark.png + assets/radio-mixed-insensitive-dark@2.png + assets/radio-mixed-insensitive.png + assets/radio-mixed-insensitive@2.png + assets/radio-mixed.png + assets/radio-mixed@2.png + assets/radio-unchecked-dark.png + assets/radio-unchecked-dark@2.png + assets/radio-unchecked-insensitive-dark.png + assets/radio-unchecked-insensitive-dark@2.png + assets/radio-unchecked-insensitive.png + assets/radio-unchecked-insensitive@2.png + assets/radio-unchecked.png + assets/radio-unchecked@2.png + dist/gtk.css + dist/gtk-dark.css + + diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/_colors.scss b/abbith-gtk-theme/src/gtk-3.0/scss/_colors.scss new file mode 100644 index 0000000..cdd7499 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/_colors.scss @@ -0,0 +1,67 @@ +@import "global"; + +/* dark color scheme */ +@define-color dark_bg_color #{"" + $dark_bg_color}; +@define-color dark_fg_color #{"" + $dark_fg_color}; + +/* colormap actually used by the theme, to be overridden in other css files */ +@define-color theme_bg_color #{"" + $bg_color}; +@define-color theme_fg_color #{"" + $fg_color}; +@define-color theme_base_color #{"" + $base_color}; +@define-color theme_text_color #{"" + $text_color}; +@define-color theme_selected_bg_color #{"" + $selected_bg_color}; +@define-color theme_selected_fg_color #{"" + $selected_fg_color}; +@define-color theme_tooltip_bg_color #{"" + $tooltip_bg_color}; +@define-color theme_tooltip_fg_color #{"" + $tooltip_fg_color}; + +/* shadow effects */ +@define-color light_shadow #{"" + $light_shadow}; +@define-color dark_shadow #{"" + $dark_shadow}; + +/* misc colors used by gtk+ */ +@define-color info_fg_color #{"" + $info_fg_color}; +@define-color info_bg_color #{"" + $info_bg_color}; +@define-color warning_fg_color #{"" + $warning_fg_color}; +@define-color warning_bg_color #{"" + $warning_bg_color}; +@define-color question_fg_color #{"" + $question_fg_color}; +@define-color question_bg_color #{"" + $question_bg_color}; +@define-color error_fg_color #{"" + $error_fg_color}; +@define-color error_bg_color #{"" + $error_bg_color}; +@define-color link_color #{"" + $link_color}; +@define-color success_color #{"" + $success_color}; +@define-color warning_color #{"" + $warning_color}; +@define-color error_color #{"" + $error_color}; + +/* widget colors */ +@define-color titlebar_bg_color @dark_bg_color; +@define-color titlebar_fg_color @dark_fg_color; +@define-color menubar_bg_color @dark_bg_color; +@define-color menubar_fg_color @dark_fg_color; +@define-color toolbar_bg_color @theme_bg_color; +@define-color toolbar_fg_color @theme_fg_color; +@define-color menu_bg_color @dark_bg_color; +@define-color menu_fg_color @dark_fg_color; +@define-color panel_bg_color @dark_bg_color; +@define-color panel_fg_color @dark_fg_color; + +/* osd */ +@define-color osd_base #{"" + $osd_base}; +@define-color osd_bg #{"" + $osd_bg}; +@define-color osd_fg #{"" + $osd_fg}; + +/* lightdm greeter colors */ +@define-color lightdm_bg_color #{"" + $lightdm_bg_color}; +@define-color lightdm_fg_color #{"" + $lightdm_fg_color}; + +/* window manager colors */ +@define-color wm_bg #{"" + $wm_bg}; +@define-color wm_border_focused #{"" + $wm_border_focused}; +@define-color wm_border_unfocused #{"" + $wm_border_unfocused}; +@define-color wm_title_focused #{"" + $wm_title_focused}; +@define-color wm_title_unfocused #{"" + $wm_title_unfocused}; +@define-color wm_icons_focused #{"" + $wm_icons_focused}; +@define-color wm_icons_focused_prelight #{"" + $wm_icons_focused_prelight}; +@define-color wm_icons_focused_pressed #{"" + $wm_icons_unfocused_pressed}; +@define-color wm_icons_unfocused #{"" + $wm_icons_unfocused}; +@define-color wm_icons_unfocused_prelight #{"" + $wm_icons_unfocused_prelight}; +@define-color wm_icons_unfocused_pressed #{"" + $wm_icons_unfocused_pressed}; diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/_functions.scss b/abbith-gtk-theme/src/gtk-3.0/scss/_functions.scss new file mode 100644 index 0000000..0de71b6 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/_functions.scss @@ -0,0 +1,79 @@ +$modules: () !default; + +@mixin exports($name) { + @if (not index($modules, $name)) { + $modules: append($modules, $name) !global; + + @content; + } +} + +@function alpha($color, $amount) { + @if type-of($color) == "color" { + @return fade-out($color, (1 - $amount)); + } @else { + @return unquote("alpha(#{$color},#{$amount})"); + } +} + +@function shade($color, $amount) { + @if type-of($color) == "color" { + @if ($amount > 1) { + @return lighten($color, ($amount - 1) * lightness($color)) + } @else { + @return darken($color, (1 - $amount) * lightness($color)) + } + } @else { + @return unquote("shade(#{$color},#{$amount})"); + } +} + +@function mix($color1, $color2, $amount) { + @return unquote("mix(#{$color1},#{$color2},#{$amount})"); +} + +@function border_normal($color) { + @return shade($color, $contrast); +} + +@function border_focus($color) { + @return shade($color, ($contrast - .05)); +} + +@function border_active($color) { + @return shade($color, ($contrast - .1)); +} + +@function border_insensitive($color) { + @return shade($color, ($contrast + .05)); +} + +@mixin linear-gradient($color, $direction: to bottom) { + @if $gradient == 0 { + background-color: $color; + background-image: none; + } @else { + $amount: $gradient / 2; + + background-color: $color; + background-image: linear-gradient($direction, + shade($color, (1 + $amount)), + shade($color, (1 - $amount)) + ); + } +} + +@mixin border($color) { + border-color: border_normal($color); + + &:focus, &:hover { border-color: border_focus($color); } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { border-color: border_active($color); } + + &:insensitive { border-color: border_insensitive($color); } + + &:active:insensitive, &:checked:insensitive { border-color: border_normal($color); } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/_global.scss b/abbith-gtk-theme/src/gtk-3.0/scss/_global.scss new file mode 100644 index 0000000..a16be05 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/_global.scss @@ -0,0 +1,79 @@ +// scss-lint:disable ColorVariable + +@import "functions"; + +// default color scheme +$bg_color: if($variant == "dark", #444, #eee); +$fg_color: if($variant == "dark", #ddd, #555); +$base_color: if($variant == "dark", #333, #fff); +$text_color: if($variant == "dark", #eee, #333); +$selected_bg_color: #f0544c; +$selected_fg_color: #fff; +$tooltip_bg_color: #444; +$tooltip_fg_color: #eee; + +// dark colors +$dark_bg_color: #444; +$dark_fg_color: #eee; + +// shadows +$dark_shadow: #000; +$light_shadow: #fff; + +// white and black +$black: #000; +$white: #fff; + +// misc colors used by gtk+ +$info_fg_color: #fff; +$info_bg_color: #03a9f4; +$warning_fg_color: #fff; +$warning_bg_color: #ef6c00; +$question_fg_color: #fff; +$question_bg_color: #673ab7; +$error_fg_color: #fff; +$error_bg_color: #f44336; +$link_color: #fc6f5d; +$success_color: #4caf50; +$warning_color: #ef6c00; +$error_color: #f44336; + +$toolbar_bg_color: $bg_color; +$toolbar_fg_color: $fg_color; + +$titlebar_bg_color: $dark_bg_color; +$titlebar_fg_color: $dark_fg_color; + +$menu_bg_color: $dark_bg_color; +$menu_fg_color: $dark_fg_color; + +$menubar_bg_color: $dark_bg_color; +$menubar_fg_color: $dark_fg_color; + +$panel_bg_color: $dark_bg_color; +$panel_fg_color: $dark_fg_color; + +$osd_base: $dark_bg_color; +$osd_fg: $dark_fg_color; +$osd_bg: alpha($osd_base, 0.8); + +$lightdm_bg_color: $dark_bg_color; +$lightdm_fg_color: $dark_fg_color; + +$wm_bg: $titlebar_bg_color; +$wm_border_focused: transparent; +$wm_border_unfocused: transparent; +$wm_title_focused: mix($titlebar_fg_color, $titlebar_bg_color, .1); +$wm_title_unfocused: mix($titlebar_fg_color, $titlebar_bg_color, .4); +$wm_icons_focused: mix($titlebar_fg_color, $titlebar_bg_color, .1); +$wm_icons_focused_prelight: $selected_bg_color; +$wm_icons_focused_pressed: shade($selected_bg_color, .8); +$wm_icons_unfocused: mix($titlebar_fg_color, $titlebar_bg_color, .4); +$wm_icons_unfocused_prelight: $selected_bg_color; +$wm_icons_unfocused_pressed: shade($selected_bg_color, .8); + +// widget styles +$roundness: 2px; +$spacing: 5px; +$gradient: 0; +$contrast: .8; diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/_widgets.scss b/abbith-gtk-theme/src/gtk-3.0/scss/_widgets.scss new file mode 100644 index 0000000..d7e68e0 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/_widgets.scss @@ -0,0 +1,38 @@ +@import "functions"; +@import "global"; +@import "colors"; + + +@import "widgets/base"; +@import "widgets/button"; +@import "widgets/entry"; +@import "widgets/actionbar"; +@import "widgets/calendar"; +@import "widgets/choosers"; +@import "widgets/grid"; +@import "widgets/infobar"; +@import "widgets/menu"; +@import "widgets/misc"; +@import "widgets/notebook"; +@import "widgets/osd"; +@import "widgets/overshoot"; +@import "widgets/progress"; +@import "widgets/scrollbar"; +@import "widgets/sidebar"; +@import "widgets/spinner"; +@import "widgets/toggle"; +@import "widgets/toolbar"; +@import "widgets/view"; +@import "widgets/window"; + +@import "apps/unity-greeter"; +@import "apps/gedit"; +@import "apps/nautilus"; +@import "apps/nemo"; +@import "apps/panel"; +@import "apps/synaptic"; +@import "apps/xfce"; +@import "apps/unity"; +@import "apps/lightdm"; +@import "apps/gnome-terminal"; +@import "apps/gnome-applications"; diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/apps/_gedit.scss b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_gedit.scss new file mode 100644 index 0000000..f1614a6 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_gedit.scss @@ -0,0 +1,132 @@ +/********* + ! Gedit * +**********/ + +@include exports("gedit") { + GeditWindow .pane-separator { + border-width: 0 1px 0 0; + border-style: solid; + + &, &:hover { + border-color: shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + + .gedit-document-panel { + background-color: $bg_color; + color: mix($fg_color, $bg_color, .1); + + .list-row { + padding: $spacing; + + .button { + padding: 1px; + border-radius: $roundness; + border-style: solid; + border-color: transparent; + border-width: 1px; + background-color: transparent; + background-image: none; + color: transparent; + icon-shadow: none; + } + } + + .prelight-row .button { + border-color: alpha($black, .1); + color: alpha($white, .8); + + &:active { + border-color: alpha($black, .2); + background-color: alpha($black, .08); + color: $white; + } + } + + list-row, .prelight-row { + .button:hover { + border-color: alpha($black, .1); + color: $white; + } + } + } + + .gedit-document-panel-group-row { + &, &:hover { + border-top: 1px solid shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + + .gedit-document-panel-document-row { + &:hover { background-color: shade($bg_color, 1.05); } + + &:selected { + &, &:hover { @extend %selected; } + } + } + + .gedit-document-panel-dragged-row { + border: 1px solid alpha($black, .1); + background-color: alpha($black, .5); + color: $white; + } + + .gedit-document-panel-placeholder-row { + border: 0; + background-color: alpha($black, .08); + transition: all 200ms ease-in; + } + + GeditStatusbar { border-top: 1px solid border_normal($bg_color); } + + GeditStatusbar GeditSmallButton, GeditStatusMenuButton { + text-shadow: none; + + .button { + border-style: solid; + border-width: 0 1px; + border-color: transparent; + border-radius: 0; + padding: 1px 6px 2px 4px; + + &:hover, &:active, &:active:hover { border-color: border_normal($bg_color); } + + &:active { + background-color: shade($bg_color, .95); + color: $fg_color; + } + } + } + + GeditViewFrame .gedit-search-slider { + padding: $spacing; + border-radius: 0 0 $roundness $roundness; + border-width: 0 1px 1px; + border-style: solid; + border-color: border_normal($base_color); + background-color: $base_color; + + .not-found { + background-color: $error_bg_color; + background-image: none; + color: $error_fg_color; + + &:selected { @extend %selected; } + } + } + + GeditFileBrowserWidget .toolbar { + padding: $spacing / 2; + border-top: 0; + background-color: $bg_color; + background-image: none; + } + + .gedit-search-entry-occurrences-tag { + margin: $spacing / 2; + padding: $spacing / 2; + color: mix($text_color, $base_color, .5); + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/apps/_gnome-applications.scss b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_gnome-applications.scss new file mode 100644 index 0000000..9a26efa --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_gnome-applications.scss @@ -0,0 +1,10 @@ +/**************** + ! Tilix * +*****************/ + +@include exports("tilix") { + .terminal-titlebar { + border-color: $titlebar_bg_color; + } +} + diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/apps/_gnome-terminal.scss b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_gnome-terminal.scss new file mode 100644 index 0000000..178f741 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_gnome-terminal.scss @@ -0,0 +1,219 @@ +/********************** + ! Genome Terminal * +***********************/ + +@include exports("gnome-terminal") { + VteTerminal { + background-color: $osd_base; + color: $osd_fg; + } + TerminalWindow { + .scrollbars-junction { + background-color: $osd_base; + } + .scrollbar { + &.trough { + background-color: $osd_base; + } + &.button { + color: shade($osd_base, 0.6); + &:active { + color: shade($osd_base, 0.6); + &:hover { + color: shade($osd_base, 0.6); + } + } + } + &.slider { + border-color: mix(shade($osd_base, 0.87), $osd_fg, 0.21); + background-color: mix($osd_base, $osd_fg, 0.21); + &:hover { + border-color: mix(shade($osd_base, 0.87), $osd_fg, 0.31); + background-color: mix($osd_base, $osd_fg, 0.31); + } + &.vertical { + &:hover { + border-color: mix(shade($osd_base, 0.87), $osd_fg, 0.31); + background-color: mix($osd_base, $osd_fg, 0.31); + } + &:active { + border-color: shade($selected_bg_color, 0.9); + background-color: $selected_bg_color; + } + } + &:active { + border-color: shade($selected_bg_color, 0.9); + background-color: $selected_bg_color; + } + } + } + GtkNotebook.notebook { + border-right-width: 0; + border-bottom-width: 0; + border-left-width: 0; + } + } + + TerminalNotebook.notebook { //use dark variant by default + padding: 0; + border-width: 1px 0 0; + border-style: solid; + border-color: border_active($osd_base); + border-radius: 0; + @include linear-gradient($osd_base); + background-clip: border-box; + color: $osd_fg; + + -GtkNotebook-initial-gap: 0; + -GtkNotebook-arrow-spacing: 5; + -GtkNotebook-tab-curvature: 0; + -GtkNotebook-tab-overlap: 1; + -GtkNotebook-has-tab-gap: false; + + &.frame { border-width: 1px; } + + &.header { + border-width: 0; + background-color: shade($osd_base, .85); + + &.frame { + border-color: border_focus($osd_base); + + &.top { border-width: 1px 1px 0 1px; } + + &.right { border-width: 1px 1px 1px 0; } + + &.bottom { border-width: 0 1px 1px 1px; } + + &.left { border-width: 1px 0 1px 1px; } + } + } + + GtkViewport { + border-width: 0; + background-color: $osd_base; + color: $osd_fg; + } + + tab { + padding: ($spacing + 1px) $spacing * 2; + border: 1px solid transparent; + background-color: transparent; + background-image: none; + + &:active { + background-color: transparent; + background-image: none; + } + + &.top { + border-bottom-width: 2px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + + &:hover { + border-bottom-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-bottom-color: $selected_bg_color; + } + } + + &.right { + border-left-width: 2px; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + + &:hover { + border-left-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-left-color: $selected_bg_color; + } + } + + &.bottom { + border-top-width: 2px; + border-top-right-radius: 0; + border-top-left-radius: 0; + + &:hover { + border-top-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-top-color: $selected_bg_color; + } + } + + &.left { + border-right-width: 2px; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + + &:hover { + border-right-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-right-color: $selected_bg_color; + } + } + + GtkLabel { color: mix($osd_fg, $osd_base, .3); } + + &.reorderable-page { + &:hover { + background-color: shade($osd_base, .85); + border-left: 0; + border-right: 0; + /* using box shadows instead of borders due to slanted edges */ + box-shadow: inset 0 3px alpha($black, .03), inset 0 2px alpha($black, .03), inset 0 1px alpha($black, .03), inset 1px 0 shade($osd_base, .7), inset -1px 0 shade($osd_base, .7); + } + + &:active { + background-color: shade($osd_base, .9); + border-left: 0; + border-right: 0; + box-shadow: inset 0 3px alpha($black, .03), inset 0 2px alpha($black, .03), inset 0 1px alpha($black, .03), inset 1px 0 shade($osd_base, .75), inset -1px 0 shade($osd_base, .75); + } + } + + /* close button styling */ + .button { + &, &:active, &:checked, &:hover { + padding: 1px; + border-width: 1px; + border-radius: 2px; + border-style: solid; + border-color: transparent; + background-image: none; + background-color: transparent; + color: mix($osd_fg, $osd_base, 0.5); + } + + &:hover { + color: $osd_fg; + border-color: shade($osd_base, 0.8); + } + + &:active, &:checked, &:active:hover, &:checked:hover { + border-color: shade($osd_base, 0.7); + background-color: shade($osd_base, 0.95); + } + } + + } + + .prelight-page { + &, GtkLabel { color: mix($osd_fg, $osd_base, .15); } + } + + .active-page { + &, GtkLabel { color: $osd_fg; } + } + + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/apps/_lightdm.scss b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_lightdm.scss new file mode 100644 index 0000000..52eda61 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_lightdm.scss @@ -0,0 +1,193 @@ +/*********************** + ! LightDM GTK Greeter * + ***********************/ + +@include exports("lightdm") { + #panel_window { + background-color: transparent; + background-image: none; + color: $white; + font: bold; + text-shadow: 0 1px alpha($black, .5); + icon-shadow: 0 1px alpha($black, .5); + + .menubar { + &, > .menuitem { + background-color: transparent; + background-image: none; + color: $white; + font: bold; + text-shadow: 0 1px alpha($black, .5); + icon-shadow: 0 1px alpha($black, .5); + + *:hover { color: $white; } + + &:hover { + border-style: none; + background-color: alpha($white, .2); + background-image: none; + color: $white; + } + + &:insensitive { color: alpha($white, .7); } + + .menu { + border-radius: 1px; + + .menuitem { + font: normal; + text-shadow: none; + } + } + } + } + } + + #content_frame { padding-bottom: 14px; } + + #login_window, #shutdown_dialog, #restart_dialog { + border-style: none; + border-radius: $roundness; + background-color: $lightdm_bg_color; + color: $lightdm_fg_color; + + /* draw border using box-shadow */ + box-shadow: inset 1px 0 mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset -1px 0 mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset 0 1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset 0 -1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21); + + .button { + padding: 3px 15px; + border-width: 1px; + border-radius: $roundness; + border-style: solid; + border-color: shade($lightdm_bg_color, .8); + background-color: shade($lightdm_bg_color, 1.08); + background-image: none; + color: $lightdm_fg_color; + transition: all 150ms ease-out; + + &.default, &:focus, &:active:focus { + border-color: shade($selected_bg_color, .8); + background-color: shade($selected_bg_color, 1.08); + background-image: none; + color: $selected_fg_color; + + &:hover { + border-color: shade($selected_bg_color, .7); + background-color: $selected_bg_color; + } + } + } + } + + + #login_window { + .menu { border-radius: 1px; } + + GtkComboBox .button { + &, &:hover, &:active, &:active:hover, + &:focus, &:hover:focus, &:active:focus, &:active:hover:focus { + padding: 0; + background: none; + border-style: none; + box-shadow: none; + } + } + + .entry { + padding: 3px 5px; + border-width: 1px; + border-style: solid; + border-color: shade($lightdm_bg_color, .8); + border-radius: $roundness; + background-color: shade($lightdm_bg_color, .9); + background-image: none; + color: $lightdm_fg_color; + box-shadow: none; + transition: all 150ms ease-out; + + &:focus, &:hover { + border-color: shade($lightdm_bg_color, .7); + + box-shadow: inset 1px 0 alpha($dark_shadow, .1), + inset 0 1px alpha($dark_shadow, .12), + inset -1px 0 alpha($dark_shadow, .1), + inset 0 -1px alpha($dark_shadow, .05); + } + } + } + + #user_combobox { + color: $lightdm_fg_color; + font: 18px; + + .menu { font: normal; } + + .arrow { color: mix($lightdm_fg_color, $lightdm_bg_color, .5); } + } + + #user_image { + padding: 3px; + border-radius: $roundness; + + /* draw border using box-shadow */ + box-shadow: inset 1px 0 shade($lightdm_bg_color, .7), + inset -1px 0 shade($lightdm_bg_color, .7), + inset 0 1px shade($lightdm_bg_color, .7), + inset 0 -1px shade($lightdm_bg_color, .7); + } + + #user_image_border { + border-radius: $roundness; + background-color: shade($lightdm_bg_color, .9); + background-image: none; + box-shadow: inset 1px 0 alpha($dark_shadow, .07), + inset 0 1px alpha($dark_shadow, .08), + inset -1px 0 alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + } + + #buttonbox_frame { + padding-top: 10px; + padding-bottom: 0; + border-style: none; + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + background-color: transparent; + background-image: none; + box-shadow: none; + } + + + + /* shutdown button */ + #shutdown_button { + border-color: shade($error_bg_color, .8); + background-color: shade($error_bg_color, 1.08); + background-image: none; + color: $error_fg_color; + + &:hover, &:active, &:active:hover { + border-color: shade($error_bg_color, .7); + background-color: $error_bg_color; + } + } + + /* restart button */ + #restart_button { + border-color: shade($warning_bg_color, .8); + background-color: shade($warning_bg_color, 1.08); + background-image: none; + color: $warning_fg_color; + + &:hover, &:active, &:active:hover { + border-color: shade($warning_bg_color, .7); + background-color: $warning_bg_color; + } + } + + /* password warning */ + #greeter_infobar { font: bold; } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/apps/_mate-applications.scss b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_mate-applications.scss new file mode 100644 index 0000000..a7a3e1f --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_mate-applications.scss @@ -0,0 +1,82 @@ +@import "panel"; + +/**************** + ! MATE styles * +*****************/ + +@include exports("mate-applications") { + .mate-panel-menu-bar { + @extend %panel; + + border: 0; + padding: 0; + text-shadow: none; + } + + MatePanelApplet .label, + PanelMenuBar.menubar > .menuitem { + color: $panel_fg_color; + } + + PanelSeparator, MatePanelAppletFrameDBus { + border-width: 0; + color: transparent; + background-image: -gtk-scaled(url("../assets/pane-handle.png"), + url("../assets/pane-handle@2.png")); + background-color: transparent; + background-repeat: no-repeat; + background-position: left; + } + + MatePanelApplet .button, + MatePanelApplet .button.flat, + MatePanelApplet .button.toggle + MatePanelApplet .button.flat.toggle { + background-image: none; + background-color: transparent; + border-color: transparent; + border-style: solid; + border-radius: 0; + border-width: 1px; + color: $panel_fg_color; + text-shadow: none; + box-shadow: none; + padding: 2px; + } + + MatePanelApplet .button:hover:active, + MatePanelApplet .button:checked, + MatePanelApplet .button:checked:hover, + MatePanelApplet .button.flat:hover:active, + MatePanelApplet .button.flat:checked, + MatePanelApplet .button.flat:checked:hover, + MatePanelApplet .button.toggle:hover:active, + MatePanelApplet .button.toggle:checked, + MatePanelApplet .button.toggle:checked:hover, + MatePanelApplet .button.flat.toggle:hover:active, + MatePanelApplet .button.flat.toggle:checked, + MatePanelApplet .button.flat.toggle:checked:hover { + background-image: none; + background-color: darker($panel_bg_color); + border-color: transparent; + border-radius: 0; + border-width: 1px; + color: lighter($panel_fg_color); + text-shadow: none; + padding: 2px; + } + + MatePanelApplet .button:hover, + MatePanelApplet .button.flat:hover, + MatePanelApplet .button.toggle:hover, + MatePanelApplet .button.flat.toggle:hover { + background-image: none; + background-color: shade($panel_bg_color, 1.3); + border-color: transparent; + border-radius: 0; + border-width: 1px; + color: $selected_fg_color; + text-shadow: none; + padding: 2px; + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/apps/_nautilus.scss b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_nautilus.scss new file mode 100644 index 0000000..32cbae7 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_nautilus.scss @@ -0,0 +1,72 @@ +/************ + ! Nautilus * +*************/ + +@include exports("nautilus") { + .nautilus-desktop.nautilus-canvas-item { + color: $white; + text-shadow: 1px 1px $black; + + &:active { color: $fg_color; } + + &:selected { color: $selected_fg_color; } + + &:active, &:prelight, &:selected { text-shadow: none; } + } + + NautilusWindow { + .toolbar { + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($toolbar_bg_color); + } + + .sidebar .frame { border: 0; } + + GtkPaned { + border-width: 0 1px 0 0; + border-style: solid; + + &, &:hover { + border-color: shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + } + + NautilusNotebook { + &.notebook { + border-right-width: 0; + border-left-width: 0; + border-bottom-width: 0; + } + + .frame { border: 0; } + } + + NautilusQueryEditor { + .toolbar { + padding-top: $spacing - 1px; + padding-bottom: $spacing - 2px; + border-width: 1px 0 0; + border-style: solid; + border-color: $toolbar_bg_color; + background-color: shade($toolbar_bg_color, .9); + + &:nth-child(2) { border-color: border_normal($toolbar_bg_color); } + + &.search-bar { + border-top-width: 0; + border-bottom-width: 0; + } + + &, &.search-bar { + &:last-child, &:only-child { + border-bottom-width: 1px; + border-bottom-color: border_normal($toolbar_bg_color); + } + } + + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/apps/_nemo.scss b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_nemo.scss new file mode 100644 index 0000000..b7e0041 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_nemo.scss @@ -0,0 +1,36 @@ +/******** + ! Nemo * +*********/ + +@include exports("nemo") { + .nemo-desktop.nemo-canvas-item { + color: $white; + text-shadow: 1px 1px $black; + + &:active { color: $fg_color; } + + &:selected { color: $selected_fg_color; } + + &:active, &:prelight, &:selected { text-shadow: none; } + } + + NemoPathbarButton { + @include button($toolbar_bg_color, $toolbar_fg_color); + + -NemoPathbarButton-border-radius: $roundness; + } + + NemoPlacesTreeView { + -NemoPlacesTreeView-disk-full-bg-color: shade($toolbar_bg_color, .8); + -NemoPlacesTreeView-disk-full-fg-color: $selected_bg_color; + -NemoPlacesTreeView-disk-full-bar-width: 1px; + -NemoPlacesTreeView-disk-full-bar-radius: 1px; + -NemoPlacesTreeView-disk-full-bottom-padding: 2px; + -NemoPlacesTreeView-disk-full-max-length: 70px; + + &:selected { + -NemoPlacesTreeView-disk-full-bg-color: $selected_fg_color; + -NemoPlacesTreeView-disk-full-fg-color: shade($selected_bg_color, 1.2); + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/apps/_panel.scss b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_panel.scss new file mode 100644 index 0000000..d9513f8 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_panel.scss @@ -0,0 +1,80 @@ +/*********************** + ! Fallback mode panel * +************************/ + +@include exports("panel") { + %panel { + @include linear-gradient($panel_bg_color); + + color: $panel_fg_color; + } + + %panelbutton { + border-width: 0 1px; + border-radius: 0; + border-color: transparent; + background-color: transparent; + background-image: none; + color: $panel_fg_color; + + &:hover, &:prelight { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .11)); + + border-color: mix($panel_bg_color, $panel_fg_color, .11); + color: shade($panel_fg_color, 1.08); + } + + &:active, &:checked { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .21), to top); + + border-color: mix($panel_bg_color, $panel_fg_color, .21); + color: shade($panel_fg_color, 1.08); + + &:prelight { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .31), to top); + + border-color: mix($panel_bg_color, $panel_fg_color, .31); + } + } + } + + PanelWidget, PanelApplet, PanelToplevel { + @extend %panel; + + padding: 0; + } + + PanelApplet { + border: 0; + + .button { + @extend %panelbutton; + + -GtkButton-inner-border: 2; + } + } + + PanelSeparator { + @extend %panel; + + border: 0; + } + + PanelApplet > GtkMenuBar.menubar, PanelMenuBar.menubar, .gnome-panel-menu-bar { + &.menuitem { + @extend %panel; + + border: 0; + + -PanelMenuBar-icon-visible: true; + } + } + + PanelAppletFrame { + @extend %panel; + + border: 0; + } + + WnckPager, WnckTasklist { @extend %panel; } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/apps/_synaptic.scss b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_synaptic.scss new file mode 100644 index 0000000..c19b78e --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_synaptic.scss @@ -0,0 +1,15 @@ +/************ + ! Synaptic * +*************/ + +@include exports("synaptic") { + GtkWindow > GtkVBox > .dock { + &, > GtkHBox > GtkToolbar { + @include linear-gradient($toolbar-bg-color); + + padding: $spacing; + border: 0; + color: $toolbar_fg_color; + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/apps/_unity-greeter.scss b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_unity-greeter.scss new file mode 100644 index 0000000..5bbfee3 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_unity-greeter.scss @@ -0,0 +1,119 @@ +/*********************** + ! Unity Greeter * + ***********************/ + +@include exports("unity-greeter") { + + + .lightdm.menu { + background-image: none; + background-color: fade-out($black, .4); + border-color: fade-out($white, .8); + border-radius: 4px; + padding: 1px; + + color: $white; + } + + .lightdm-combo .menu { + background-color: shade($dark_bg_color, 1.08); + border-radius: 0; + padding: 0; + color: $white; + } + + .lightdm.menu .menuitem *, + .lightdm.menu .menuitem.check:active, + .lightdm.menu .menuitem.radio:active { + color: $white; + } + + .lightdm.menubar *, + .lightdm.menubar .menuitem { + padding: 2px; + } + + .lightdm-combo.combobox-entry .button, + .lightdm-combo .cell, + .lightdm-combo .button, + .lightdm-combo .entry, + + .lightdm.button{ + background-image: none; + background-color: fade-out($black, .7); + border-color: fade-out($white, .1); + border-radius: 5px; + padding: 5px; + color: $white; + } + .lightdm.button:hover { + background-image: none; + background-color: fade-out($white, .7); + border-color: fade-out($white, .4); + border-radius: 5px; + padding: 5px; + color: $white; + text-shadow: none; + } + .lightdm.button:active, + .lightdm.button:active:focused, + .lightdm.button:focused, + + .lightdm.entry { + background-image: none; + background-color: fade-out($black, .7); + border-color: fade-out($white, .4); + border-radius: 5px; + padding: 6px; + color: $white; + text-shadow: none; + } + .lightdm.entry:hover, + .lightdm.entry:active, + .lightdm.entry:active:focused { + background-image: none; + border-image: none; + } + .lightdm.entry:focused { + border-color: fade-out($white, .4); + border-width: 1px; + border-style: solid; + color: $white; + } + .lightdm.entry:selected { + background-color: fade-out($white, .8); + } + + @keyframes dashentry_spinner { + to { -gtk-icon-transform: rotate(1turn); } + } + + .lightdm.entry:active { + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); + animation: dashentry_spinner 1s infinite linear; + } + + .lightdm.option-button { + background: none; + border-width: 0; + } + + .lightdm.option-button:insensitive:insensitive { + background: none; + } + + .lightdm.toggle-button { + background: none; + border-width: 0; + } + .lightdm.toggle-button.selected:hover { + background-color: fade-out($white, .7); + border-color: fade-out($white, .7); + border-width: 1px; + } + .lightdm.toggle-button.selected { + background-color: fade-out($black, .7); + border-color: fade-out($white, .7); + border-width: 1px; + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/apps/_unity.scss b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_unity.scss new file mode 100644 index 0000000..6bc77a9 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_unity.scss @@ -0,0 +1,74 @@ +@import "panel"; + +/**************** + ! Unity styles * +*****************/ + +@include exports("unity") { + UnityDecoration { + -UnityDecoration-extents: 28px 1px 1px 1px; + -UnityDecoration-input-extents: 10px; + + -UnityDecoration-shadow-offset-x: 1px; + -UnityDecoration-shadow-offset-y: 1px; + -UnityDecoration-active-shadow-color: rgba(0, 0, 0, .7); + -UnityDecoration-active-shadow-radius: 8px; + -UnityDecoration-inactive-shadow-color: rgba(0, 0, 0, .5); + -UnityDecoration-inactive-shadow-radius: 5px; + + -UnityDecoration-glow-size: 10px; + -UnityDecoration-glow-color: $selected_bg_color; + + -UnityDecoration-title-indent: 10px; + -UnityDecoration-title-fade: 35px; + -UnityDecoration-title-alignment: 0; + + + &.top { + border: 1px solid mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21); + border-bottom: 0; + border-radius: 2px 2px 0 0; + padding: 1px 8px 0 8px; + background-color: $titlebar_bg_color; + color: mix($titlebar_fg_color, $titlebar_bg_color, .1); + text-shadow: none; + + &:backdrop { + border: 1px solid mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.12); + border-bottom: 0; + background-color: $titlebar_bg_color; + color: mix($titlebar_fg_color, $titlebar_bg_color, .4); + } + } + + &.left, &.right, &.bottom { + background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21); + + &:backdrop { + background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.12); + } + } + } + + UnityPanelWidget, .unity-panel { + @extend %panel; + + border: 0; + } + + .unity-panel { + &.menuitem, .menuitem { + border-width: 0 1px; + color: $panel_fg_color; + + &:hover, *:hover { + border-color: mix($panel_bg_color, $panel_fg_color, .21); + background-color: mix($panel_bg_color, $panel_fg_color, .21); + background-image: none; + color: shade($panel_fg_color, 1.08); + } + } + } + + SheetStyleDialog.unity-force-quit { background-color: $bg_color; } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/apps/_xfce.scss b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_xfce.scss new file mode 100644 index 0000000..ea06560 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/apps/_xfce.scss @@ -0,0 +1,39 @@ +@import "panel"; + +/*************** + ! Xfce styles * +****************/ + +@include exports("xfce") { + XfceHeading { + margin: 0; + padding: 0; + border: 0; + background-image: none; + background-color: $base_color; + color: $text_color; + } + + .xfce4-panel { + @extend %panel; + + font: normal; + + .button { @extend %panelbutton; } + + .menu { -gtk-image-effect: none; } + } + + #XfceNotifyWindow { + background-color: $osd_bg; + color: $osd_fg; + border-radius: $roundness; + border: 1px solid border_normal($osd_bg); + + GtkLabel { + &#summary { + font-weight: bold; + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/gtk-dark.scss b/abbith-gtk-theme/src/gtk-3.0/scss/gtk-dark.scss new file mode 100644 index 0000000..fd46aa1 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/gtk-dark.scss @@ -0,0 +1,3 @@ +$variant: "dark"; + +@import "widgets"; diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/gtk.scss b/abbith-gtk-theme/src/gtk-3.0/scss/gtk.scss new file mode 100644 index 0000000..4455669 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/gtk.scss @@ -0,0 +1,3 @@ +$variant: "light"; + +@import "widgets"; diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_actionbar.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_actionbar.scss new file mode 100644 index 0000000..749f549 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_actionbar.scss @@ -0,0 +1,106 @@ +@import "button"; +@import "toolbar"; + +/************** + ! Action-bar * +***************/ + +@include exports("actionbar") { + .action-bar { + @include linear-gradient($bg_color); + + padding: $spacing; + border-width: 1px 0 0; + border-style: solid; + border-color: border_normal($bg_color); + color: $fg_color; + + .button { + &.text-button { padding: $spacing - 1px; } + + &.image-button { padding: $spacing + 1px; } + } + + .title { + font: bold; + padding: 0 ($spacing * 2); + } + + .subtitle { + font: smaller; + padding: 0 ($spacing * 2); + } + } +} + + +/*************** + ! Search bars * +****************/ + +@include exports("searchbar") { + .search-bar { + @include linear-gradient(shade($bg_color, .98)); + + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($bg_color); + color: $fg_color; + + .button.close-button { padding: $spacing; } + } +} + + +/****************** + ! Action buttons * +*******************/ + +@include exports("actionbuttons") { + $types: ( + suggested: $success_color, + destructive: $error-color + ); + + @each $type, $color in $types { + .#{$type}-action.button { + @include button($color, $selected_fg_color); + } + } +} + + +/****************** +* selection mode * +******************/ + +@include exports("selectionmode") { + .selection-mode { + &.header-bar, &.toolbar { + @include toolbar($selected_bg_color, $selected_fg_color); + + .button { + @include button($selected_bg_color, $selected_fg_color); + + &.suggested-action { @extend .suggested-action.button; } + } + + .selection-menu.button { + border: 0; + background-color: transparent; + background-image: none; + color: shade($selected_bg_color, $contrast); + + &:hover { color: shade($selected_bg_color, ($contrast - .1)); } + + &:active { color: shade($selected_bg_color, ($contrast - .05)); } + } + + .dim-label, { + &, .selection-menu.button & { color: shade($selected_bg_color, ($contrast - .1)); } + } + } + + &.toolbar { padding: $spacing; } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_base.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_base.scss new file mode 100644 index 0000000..eddb5be --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_base.scss @@ -0,0 +1,100 @@ +/************** + ! GTK settings +***************/ + +* { + -GtkArrow-arrow-scaling: .5; + -GtkExpander-expander-size: 8; + -GtkStatusbar-shadow-type: none; + -GtkToolItemGroup-expander-size: 8; + -GtkWindow-resize-grip-height: 0; + -GtkWindow-resize-grip-width: 0; + -WnckTasklist-fade-overlay-rect: 0; + + outline-color: alpha($selected_bg_color, .5); + outline-style: dashed; + outline-width: 1px; + outline-offset: -1px; + outline-radius: $roundness; +} + + +/************* + ! Base states + *************/ + +%selected { + &, &:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } +} + +* { + /* hyperlinks */ + -GtkHTML-link-color: $link_color; + -GtkIMHtml-hyperlink-color: $link_color; + -GtkWidget-link-color: $link_color; + -GtkWidget-visited-link-color: $link_color; + + &:selected { @extend %selected; } + + &:insensitive, + &:insensitive:insensitive { color: mix($fg_color, $bg_color, .5); } + + &:insensitive { -gtk-image-effect: dim; } + + &:hover { -gtk-image-effect: highlight; } + + &:link, &:visited { color: $link_color; } +} + +.background { + background-color: $bg_color; + color: $fg_color; + + &:backdrop { + text-shadow: none; + icon-shadow: none; + } + + &.csd { background-color: $bg_color; } +} + +.gtkstyle-fallback { + background-color: alpha($bg_color, .5); + color: $fg_color; + + &:prelight { + background-color: shade($bg_color, 1.1); + color: $fg_color; + } + + &:active { + background-color: shade($bg_color, .9); + color: $fg_color; + } + + &:insensitive { + background-color: shade(shade($bg_color, .95), 1.05); + color: mix($fg_color, $bg_color, .5); + } + + &:selected { @extend %selected; } +} + +GtkImage, GtkLabel, GtkBox, GtkGrid { + &, &:insensitive { background-color: transparent; } +} + +GtkLabel { + &.separator { + @extend .dim-label; + + color: $fg_color; + } + + &:selected { @extend %selected; } + + &:insensitive { color: mix($fg_color, $bg_color, .5); } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_button.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_button.scss new file mode 100644 index 0000000..11c2801 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_button.scss @@ -0,0 +1,375 @@ +/********* + ! Buttons +**********/ + +@include exports("button_extends") { + %button { + padding: $spacing ($spacing + 2px); + border-width: 1px; + border-style: solid; + border-radius: $roundness; + transition: 150ms ease; + outline-color: transparent; + + -GtkWidget-focus-padding: 1; + -GtkWidget-focus-line-width: 0; + + &:focus, &:hover, &:active { transition: none; } + } + + %linked_middle { + border-radius: 0; + border-left-style: none; + border-right-style: solid; + + &:dir(rtl) { + border-radius: 0; // needed when including %linked_middle:dir(rtl) + border-right-style: none; + border-left-style: solid; + } + } + + %linked_button { + border-width: 1px; + border-style: solid; + border-radius: 0; + border-right-style: none; + border-left-style: none; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-left-style: solid; + border-right-style: none; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + + &:dir(rtl) { + border-left-style: none; + border-right-style: solid; + } + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-left-style: none; + border-right-style: solid; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + + &:dir(rtl) { + border-left-style: solid; + border-right-style: none; + } + } + + &:only-child, &:first-child:only-child { + border-width: 1px; + border-style: solid; + border-radius: $roundness; + } + } +} + +@mixin linked_button($bg) { + $border_strength: if(lightness($bg) > 50, 0, .1); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + @extend %linked_button; + + box-shadow: inset -1px 0 border_normal(rgba(0, 0, 0, .12 + $border_strength)), + 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + + &:focus, &:hover { + box-shadow: inset -1px 0 border_focus(rgba(0, 0, 0, .12 + $border_strength)), + 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); + } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { + box-shadow: inset -1px 0 border_active(rgba(0, 0, 0, .12 + $border_strength)), + inset 0 1px alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + } + + &:insensitive { box-shadow: inset -1px 0 shade($bg, .8); } + + &:last-child, &:only-child { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); } + + &:last-child:hover, &:only-child:hover { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); } + + &:insensitive:last-child, &:insensitive:only-child, + &:active:insensitive:last-child, &:active:insensitive:only-child, + &:checked:insensitive:last-child, &:checked:insensitive:only-child { box-shadow: none; } + + &:active:last-child, &:active:last-child:focus, &:active:last-child:hover, &:active:last-child:hover:focus, + &:checked:last-child, &:checked:last-child:focus, &:checked:last-child:hover, &:checked:last-child:hover:focus { + box-shadow: inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } + + &:active:only-child, &:active:only-child:focus, &:active:only-child:hover, &:active:only-child:hover:focus, + &:checked:only-child, &:checked:only-child:focus, &:checked:only-child:hover, &:checked:only-child:hover:focus { + box-shadow: inset 1px 0 alpha($dark_shadow, .06), + inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } +} + +@mixin button($bg, $fg) { + $border_strength: if(lightness($bg) > 50, 0, .1); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + $button_bg: if(hue($bg) == 0deg, shade($bg, 1.2), $bg); + + @extend %button; + @include linear-gradient($button_bg); + @include border(rgba(0, 0, 0, .12 + $border_strength)); + + color: $fg; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + + &.flat { + border-color: alpha($button_bg, 0); + background-color: alpha($button_bg, 0); + background-image: none; + box-shadow: none; + } + + &, &.flat { + &:focus, &:hover { + @include linear-gradient(shade($button_bg, 1.2)); + @include border(rgba(0, 0, 0, .2 + $border_strength)); + + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); + } + + &:active, &:checked { + @include linear-gradient(shade($button_bg, .7), to top); + + color: $white; + box-shadow: inset 1px 0 alpha($dark_shadow, .06), + inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06), + inset 0 -1px alpha($dark_shadow, .05); + + &:focus, &:hover { + @include linear-gradient(shade($button_bg, .65), to top); + + color: $white; + } + } + + &:focus, &:hover { color: $fg; } + + &:active:insensitive, &:checked:insensitive { + @include linear-gradient(shade($button_bg, .9)); + + color: $fg; + box-shadow: none; + } + + &:insensitive:insensitive { + @if (lightness($button_bg) > 50) { + @include linear-gradient(shade($button_bg, .95)); + } @else { + @include linear-gradient(alpha($button_bg, .3)); + } + + color: mix($bg, $fg, .5); + box-shadow: none; + } + } + + // Fixed: https://github.com/numixproject/numix-gtk-theme/issues/572 + // Webkitgtk workaround start + &:active { color: $fg; } + // Webkitgtk workaround end + + &.flat { + &:insensitive:insensitive { + background-color: transparent; + background-image: none; + color: mix($bg, $fg, .5); + box-shadow: none; + } + } + + &.separator, .separator { + border: 1px solid currentColor; + color: shade($bg, ($contrast + .1)); + + &:insensitive { color: shade($button_bg, .85); } + } +} + +@include exports("button") { + * { + -GtkButton-child-displacement-x: 0; + -GtkButton-child-displacement-y: 0; + -GtkButton-default-border: 0; + -GtkButton-image-spacing: 0; + -GtkButton-inner-border: 1; + -GtkButton-interior-focus: true; + -GtkButtonBox-child-min-height: 24; + -GtkButtonBox-child-internal-pad-y: 1; + -GtkToolButton-icon-spacing: 6; + } + + %close_button { + border: 1px solid transparent; + background-color: transparent; + background-image: none; + box-shadow: none; + + &:focus, &:hover { + border: 1px solid alpha($black, .3); + background-color: alpha($white, .2); + background-image: none; + box-shadow: none; + } + + &:active, &:checked, &:active:hover, &:checked:hover { + border: 1px solid alpha($black, .3); + background-color: alpha($black, .1); + background-image: none; + box-shadow: none; + } + } + + .button { + @include button(shade($bg_color, 1.2), $fg_color); + + &.default { @include button($selected_bg_color, $selected_fg_color); } + + &.linked, .linked & { @include linked_button(shade($bg_color, 1.2)); } + + .spinbutton & { + color: mix($text_color, $base_color, .4); + padding: $spacing ($spacing * 2); + border: 0; + border-radius: 0; + border-style: none; + background-color: transparent; + background-image: none; + box-shadow: inset 1px 0 shade($base_color, .9); + + &:insensitive { + color: mix($text_color, $base_color, .7); + box-shadow: inset 1px 0 shade($base_color, .85); + } + + &:active, &:checked, &:hover { color: $text_color; } + + &:first-child { + border-radius: $roundness 0 0 $roundness; + box-shadow: none; + } + + &:last-child { border-radius: 0 $roundness $roundness 0; } + + &:dir(rtl) { box-shadow: inset -1px 0 shade($base_color, .9); } + } + + .spinbutton.vertical & { + border: 1px solid shade($bg_color, .8); + border-radius: $roundness; + background-color: shade($bg_color, 1.08); + background-image: none; + color: $fg_color; + box-shadow: none; + + &:hover { + border-color: shade($bg_color, .7); + background-color: shade($bg_color, 1.1); + background-image: none; + } + + &:active, &:checked { + border-color: shade($bg_color, .8); + background-color: shade($bg_color, .95); + background-image: none; + } + + &:active:hover, &:checked:hover { + border-color: shade($bg_color, .7); + } + + &:focus, &:hover:focus, &:active:focus, &:active:hover:focus { border-color: shade($bg_color, .7); } + + &:insensitive { + border-color: shade($bg_color, .85); + background-color: shade($bg_color, .9); + background-image: none; + } + + &:first-child { + border-width: 1px; + border-bottom-width: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + } + + &:last-child { + border-width: 1px; + border-top-width: 0; + border-top-left-radius: 0; + border-top-right-radius: 0; + } + } + + .spinbutton.vertical.entry { + border-width: 1px; + border-style: solid; + border-radius: 0; + } + } +} + + +/****************** +! ComboBoxes * +*******************/ + +@include exports("combobox") { + GtkComboBox { + > .button { + padding: ($spacing - 2px) ($spacing + 1px); + + -GtkComboBox-arrow-scaling: .5; + -GtkComboBox-shadow-type: none; + } + + &.combobox-entry { + .entry, .button { @extend %linked_button; } + } + + .separator { + /* always disable separators */ + -GtkWidget-wide-separators: true; + -GtkWidget-horizontal-separator: 0; + -GtkWidget-vertical-separator: 0; + + border-style: none; + } + } + + .linked > GtkComboBox { + > .button { + // the combo is a composite widget so the way we do button linked doesn't + // work, special case needed. See + // https://bugzilla.gnome.org/show_bug.cgi?id=733979 + &:dir(ltr) { @extend %linked_middle; } // specificity bump + &:dir(rtl) { @extend %linked_middle:dir(rtl); } + } + + &:first-child > .button { @extend %linked_button:first-child; } + + &:last-child > .button { @extend %linked_button:last-child; } + + &:only-child > .button { @extend %linked_button:only-child; } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_calendar.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_calendar.scss new file mode 100644 index 0000000..5c7ca32 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_calendar.scss @@ -0,0 +1,38 @@ +/********** + ! Calendar +***********/ + +@include exports("calendar") { + GtkCalendar { + padding: 1px 3px; + outline-offset: -1px; + + &:inconsistent { color: mix($fg_color, $bg_color, .5); } + + &.view, &.highlight, &.header, &.button { + &, &:focus, &:hover, &:insensitive { + background-color: transparent; + background-image: none; + border-width: 0; + border-radius: 0; + } + } + + &.button { + &, &:focus, &:hover, &:insensitive { + color: $white; + border-width: 0; + box-shadow: none; + } + } + + &.highlight { color: $selected_bg_color; } + } + + /* gnome-calendar */ + .calendar-view { + background-color: $base_color; + color: $text_color; + } +} + diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_choosers.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_choosers.scss new file mode 100644 index 0000000..b650c47 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_choosers.scss @@ -0,0 +1,125 @@ +/*************** + ! Color chooser +****************/ + +@include exports("colorchooser") { + GtkColorSwatch { + &, &:selected { + border: 1px solid alpha($black, .1); + border-radius: $roundness - 1px; + background-color: transparent; + background-clip: border-box; + + &:hover { border-color: alpha($black, .3); } + } + + &.color-light:selected:hover, &.color-dark:selected:hover { background-image: none; } + + &.left, &:first-child { + border-top-left-radius: $roundness; + border-bottom-left-radius: $roundness; + } + + &.right, &:last-child { + border-top-right-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &:only-child { border-radius: $roundness; } + + &.top { + border-top-left-radius: $roundness; + border-top-right-radius: $roundness; + } + + &.bottom { + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + GtkColorEditor & { + border-radius: $roundness; + + &.color-dark:hover, &.color-light:hover { + background-image: none; + border-color: alpha($black, .3); + } + } + } + + GtkColorChooserWidget #add-color-button { + background-clip: padding-box; + border-color: alpha($black, .1); + background-color: shade($bg_color, .95); + color: $fg_color; + + &:hover { + border-color: alpha($black, .3); + background-color: shade($bg_color, .9); + color: $fg_color; + } + } + + .color-active-badge { + &, &:selected { + border-width: 2px; + border-style: solid; + background-color: transparent; + } + + &.color-light { + &, &:hover { + border-color: alpha($black, .3); + color: alpha($black, .3); + } + } + + &.color-dark { + &, &:hover { + border-color: alpha($white, .3); + color: alpha($white, .3); + } + } + } + + GtkColorButton.button { padding: $spacing; } +} + + +/*********************** +! Font and file choosers +************************/ + +@include exports("miscchoosers") { + GtkFontButton, GtkFileChooserButton { + .separator { + /* always disable separators */ + -GtkWidget-wide-separators: true; + -GtkWidget-horizontal-separator: 0; + -GtkWidget-vertical-separator: 0; + } + + GtkLabel:last-child { color: alpha(currentColor, .7); } + + GtkImage:last-child { color: alpha(currentColor, .7); } + } + + GtkFileChooser { + .pane-separator { + &, &:hover { + border-width: 0 1px 0 0; + border-style: solid; + border-color: currentColor; + background-color: $bg_color; + color: shade($bg_color, ($contrast + .1)); + } + } + + /* for fallback when header bar not used */ + .dialog-action-box { + border-width: 1px 0 0; + border-style: solid; + border-color: shade($bg_color, .7); + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_entry.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_entry.scss new file mode 100644 index 0000000..e8d7562 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_entry.scss @@ -0,0 +1,84 @@ +/********* + ! Entry * +**********/ + +%linked_entry { + border-width: 1px; + border-radius: 0; + border-right-width: 0; + border-left-width: 0; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-right-width: 0; + border-bottom-right-radius: 0; + border-top-right-radius: 0; + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + } + + &:only-child { + border-width: 1px; + border-radius: $roundness; + } +} + +%entry { + padding: ($spacing - 1px) $spacing; + border-width: 1px; + border-style: solid; + border-radius: $roundness; + transition: border 150ms ease; + box-shadow: inset 1px 1px alpha($dark_shadow, .06), + inset -1px 0 alpha($dark_shadow, .06); + + &:focus, &:hover, &:active { transition: none; } + + &:selected, &:selected:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &:insensitive { box-shadow: none; } + + &.progressbar { + @include linear-gradient($selected_bg_color); + + border-width: 0; + border-radius: $roundness; + color: $selected_fg_color; + } + + &.image.left { padding-right: $spacing; } +} + +@mixin entry($bg, $fg) { + @extend %entry; + @include linear-gradient($bg, to top); + @include border($bg); + + color: $fg; + + &:focus, &:active { border-color: $selected_bg_color; } + + &:insensitive { + @include linear-gradient(shade($bg, .9), to top); + + color: mix($bg, $fg, .5); + } +} + +@include exports("entry") { + .entry { + @include entry($base_color, $text_color); + + &.linked, .linked & { @extend %linked_entry; } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_grid.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_grid.scss new file mode 100644 index 0000000..e4b9e8f --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_grid.scss @@ -0,0 +1,48 @@ +/****************** + ! Grid and flowbox +*******************/ + +@include exports("grid") { + .list { + background-color: shade($bg_color, .97); + color: $fg_color; + + &-row { + &, &.button { + border: 0; + border-radius: 0; + padding: $spacing; + background-image: none; + background-color: alpha($bg_color, 0); + box-shadow: none; + + &:hover { + background-image: none; + background-color: shade($bg_color, 1.02); + } + + &:selected { + &, &:hover, &:focus { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + } + } + } + + .grid-child { + &, GtkFlowBox & { + padding: $spacing; + border-radius: $roundness; + + &:selected { + @extend %selected; + + outline-offset: -2px; + } + } + } +} + diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_infobar.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_infobar.scss new file mode 100644 index 0000000..6f5865b --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_infobar.scss @@ -0,0 +1,38 @@ +@import "button"; + + +/********* + ! Infobar +**********/ + +@include exports("infobar") { + GtkInfoBar { + border: 0; + } + + $types: ( + info: ($info_fg_color, $info_bg_color), + warning: ($warning_fg_color, $warning_bg_color), + question: ($question_fg_color, $question_bg_color), + error: ($error_fg_color, $error_bg_color), + ); + + + @each $type, $colors in $types { + $fg_color: nth($colors, 1); + $bg_color: nth($colors, 2); + + .#{$type} { + @include linear-gradient($bg_color); + + border: 1px solid shade($bg_color, .8); + color: $fg_color; + + .button { + @include button($bg_color, $fg_color); + + &.close { @extend %close_button; } + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_menu.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_menu.scss new file mode 100644 index 0000000..a4f30c2 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_menu.scss @@ -0,0 +1,267 @@ +@import "entry"; + + +/********* + ! Menubar +**********/ + +@include exports("menubar") { + .menubar { + -GtkWidget-window-dragging: true; + + border: 0; + background-color: $menubar_bg_color; + background-image: none; + color: $menubar_fg_color; + + + &.menuitem, .menuitem { + padding: $spacing ($spacing * 2); + border: 1px solid transparent; + background-color: transparent; + background-image: none; + color: $menubar_fg_color; + + &:hover { + border-color: mix($menubar_bg_color, $menubar_fg_color, .21); + background-color: mix($menubar_bg_color, $menubar_fg_color, .21); + background-image: none; + color: shade($menubar_fg_color, 1.08); + } + + *:hover { color: shade($menubar_fg_color, 1.08); } + } + } +} + + +/****** + ! Menu +*******/ + +@include exports("menu") { + * { + -GtkMenu-horizontal-padding: 0; + -GtkMenu-vertical-padding: 0; + } + + GtkTreeMenu, GtkMenuToolButton, GtkComboBox { + &.menu, .menu { + background-color: $menu_bg_color; + margin: $spacing; + } + } + + #toolbar-popup, .menu { + padding: 0; + border-radius: 0; + border: 0; + background-color: $menu_bg_color; + color: $menu_fg_color; + + &:selected { background-color: $selected_bg_color; } + + .button { + &, &:hover, &:active, &:active *:insensitive, &:insensitive { + border-width: 0; + background-color: transparent; + background-image: none; + } + } + } + + .context-menu { font: initial; } + + .menuitem { + GtkTreeMenu & { + padding: 0; + border-width: 0; + } + + &, .menu & { + margin: $spacing; + padding: $spacing; + border: 0; + border-radius: 0; + background-color: transparent; + background-image: none; + + -GtkMenuItem-arrow-scaling: .5; + + &:active, &:hover { + border: 0; + background-color: $selected_bg_color; + background-image: none; + color: $selected_fg_color; + } + + *:active, *:hover { color: $selected_fg_color; } + + &:insensitive, *:insensitive { color: mix($menu_fg_color, $menu_bg_color, .5); } + } + + &.check, &.radio { + &, &:focus, &:hover, &:insensitive { background-image: none; } + + &, &:focus, &:hover, &:active, &:insensitive { + border-style: none; + background-color: transparent; + } + } + + &.separator { + -GtkMenuItem-horizontal-padding: 0; + -GtkWidget-separator-height: 1; + + border-style: none; + color: shade($menu_bg_color, ($contrast + .1)); + } + + &.button, &.button.flat { + &, &:focus, &:active, &:insensitive, &:active:insensitive { + background-color: transparent; + background-image: none; + border: 0; + box-shadow: none; + color: currentColor; + } + + &:hover, &:focus:hover, &:active:hover, &:selected { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + GtkCalendar { + &:inconsistent { color: mix($menu_fg_color, $menu_bg_color, .5); } + + .button { + border-style: none; + background-color: transparent; + background-image: none; + } + } + + .accelerator { + color: alpha($menu_fg_color, .6); + + &:hover { color: alpha($selected_fg_color, .8); } + + &:insensitive { color: alpha(mix($menu_fg_color, $menu_bg_color, .5), .4); } + } + + .entry { @include entry($menu_bg_color, $menu_fg_color); } + } + + GtkModelMenuItem GtkBox GtkImage { padding-right: $spacing; } +} + + +/********* + ! Popover +**********/ + +@include exports("popover") { + GtkPopover { + @include border($menu_bg_color); + + margin: 10px; + padding: $spacing; + border-radius: $roundness; + border-width: 1px; + border-style: solid; + background-clip: border-box; + background-color: $menu_bg_color; + background-image: none; + color: $menu_fg_color; + box-shadow: 0 3px 6px alpha($black, .16); + + &.background { + background-image: none; + background-color: $menu_bg_color; + color: $menu_fg_color; + } + + &:backdrop { box-shadow: none; } + + &.osd { + box-shadow: 0 2px 7px 3px alpha($black, .5); + + > .toolbar .button { + border-radius: 0; + border-width: 0; + background-color: transparent; + background-image: none; + } + } + + .view, .list { + background-color: shade($menu_bg_color, ($contrast + .5)); + background-image: none; + color: $menu_fg_color; + + &:hover { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + .list-row { + &, &.button { + background-color: transparent; + background-image: none; + color: $menu_fg_color; + + &:focus, &:hover, &:active { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + } + + .frame { + border-color: border_normal($menu_bg_color); + border-radius: $roundness; + } + + .entry { @include entry($menu_bg_color, $menu_fg_color); } + + .button { @include button($menu_bg_color, $menu_fg_color); } + + > .list, > .view, > .toolbar { background-color: transparent; } + + .separator { + border: 0; + background-color: transparent; + color: shade($menu_bg_color, ($contrast + .1)); + font-size: 80%; + font-weight: bold; + } + } + + GtkModelButton.button { + &, &:backdrop { + @include button(transparent, currentColor); + + &:focus:hover, &.flat:checked:hover, &:active:hover, &:hover, &:selected { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + box-shadow: none; + } + + &.flat { + &:checked { + box-shadow: none; + } + + &, &:hover { + transition: none; + } + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_misc.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_misc.scss new file mode 100644 index 0000000..015632d --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_misc.scss @@ -0,0 +1,227 @@ +/*************** +! Dimmed label * +****************/ + +@include exports("dimlabel") { + .dim-label { + opacity: .5; + text-shadow: none; + } +} + + +/*********** + ! Tooltip * +************/ + +@include exports("tooltip") { + .tooltip { + &.background { + @include linear-gradient($tooltip_bg_color); + + border: 0; + border-radius: $roundness; + color: $tooltip_fg_color; + } + + * { + background-color: transparent; + color: inherit; + } + } +} + + +/*********** + ! Dialogs * +************/ + +@include exports("dialogs") { + GtkMessageDialog, .message-dialog, .prompt { + -GtkDialog-content-area-border: $spacing; + -GtkDialog-action-area-border: $spacing; + -GtkDialog-button-spacing: $spacing; + + margin: 0; + padding: 0; + } +} + + +/********************* + ! App notifications * +**********************/ + +@include exports("notifications") { + .app-notification { + &, &.frame { + border-style: solid; + border-color: border_normal($osd_bg); + border-width: 0 1px 1px; + border-radius: 0 0 $roundness $roundness; + padding: $spacing * 2; + background-color: $osd_bg; + background-image: none; + color: $osd_fg; + + .button { @include button($osd_bg, $osd_fg); } + } + } +} + + +/************* + ! Expanders * +**************/ + +@include exports("expander") { + GtkExpander { + padding: $spacing; + outline-offset: 1px; + } + + .expander { + color: alpha(currentColor, .7); + border: alpha(currentColor, .7); + + &:hover { + color: alpha(currentColor, .8); + border-color: alpha(currentColor, .8); + } + + &:active { + color: alpha(currentColor, .9); + border-color: alpha(currentColor, .9); + } + } +} + + +/******************* + ! Symbolic images * +********************/ + +@include exports("symbolicimage") { + .image { + color: alpha(currentColor, .5); + + &:hover { color: alpha(currentColor, .9); } + + &:selected, &:selected:hover { color: $selected_fg_color; } + } +} + + +/**************** + ! Floating bar * +*****************/ + +@include exports("floatingbar") { + .floating-bar { + @include linear-gradient($bg_color); + + border: 1px solid border_normal($bg_color); + border-radius: $roundness; + color: $fg_color; + + &.top { + border-top-width: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; + } + + &.right { + border-right-width: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + &.bottom { + border-bottom-width: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + } + + &.left { + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + } + + .button { + -GtkButton-image-spacing: 0; + -GtkButton-inner-border: 0; + + border: 0; + background-color: transparent; + background-image: none; + } + } +} + + +/************************* + ! Touch text selections * +**************************/ + +@include exports("touchbubble") { + GtkBubbleWindow { + border-radius: $roundness; + background-clip: border-box; + + &.osd.background { background-color: $osd_bg; } + + .toolbar { background-color: transparent; } + } +} + +/*************** + ! Font-viewer * +****************/ + +@include exports("fontviewer") { + SushiFontWidget { + padding: $spacing ($spacing * 2); + } +} + + +/************* + ! Gucharmap * +**************/ + +@include exports("charmap") { + GucharmapChartable { + background-color: $base_color; + color: $text_color; + + &:focus, &:hover, &:active, &:selected { @extend %selected; } + } +} + + +/************* + ! Evolution * +**************/ + +@include exports("evolution") { + EPreviewPane .entry { + background-color: $base_color; + color: $text_color; + } +} + + +/******************* + ! Gnome Bluetooth * +********************/ + +@include exports("gnome-bluetooth") { + GtkEntry.entry.pin-entry { + font: regular 50; + padding-left: 25px; + padding-right: 25px; + } + + GtkLabel.pin-label { font: regular 50; } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_notebook.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_notebook.scss new file mode 100644 index 0000000..b2ce88e --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_notebook.scss @@ -0,0 +1,150 @@ +@import "button"; + + +/********** + ! Notebook +***********/ + +@include exports("notebook") { + .notebook { + padding: 0; + border-width: 1px 0 0; + border-style: solid; + border-color: border_normal($base_color); + border-radius: 0; + @include linear-gradient($base_color); + background-clip: border-box; + color: $text_color; + + -GtkNotebook-initial-gap: 0; + -GtkNotebook-arrow-spacing: 5; + -GtkNotebook-tab-curvature: 0; + -GtkNotebook-tab-overlap: 1; + -GtkNotebook-has-tab-gap: false; + + &.frame { border-width: 1px; } + + &.header { + border-width: 0; + background-color: shade($base_color, .9); + + &.frame { + border-color: border_normal($base_color); + + &.top { border-width: 1px 1px 0 1px; } + + &.right { border-width: 1px 1px 1px 0; } + + &.bottom { border-width: 0 1px 1px 1px; } + + &.left { border-width: 1px 0 1px 1px; } + } + } + + GtkViewport { + border-width: 0; + background-color: $base_color; + color: $text_color; + } + + tab { + padding: ($spacing + 1px) $spacing * 2; + border: 1px solid transparent; + background-color: transparent; + background-image: none; + + &:active { + background-color: transparent; + background-image: none; + } + + &.top { + border-bottom-width: 2px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + + &:hover { + border-bottom-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-bottom-color: $selected_bg_color; + } + } + + &.right { + border-left-width: 2px; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + + &:hover { + border-left-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-left-color: $selected_bg_color; + } + } + + &.bottom { + border-top-width: 2px; + border-top-right-radius: 0; + border-top-left-radius: 0; + + &:hover { + border-top-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-top-color: $selected_bg_color; + } + } + + &.left { + border-right-width: 2px; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + + &:hover { + border-right-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-right-color: $selected_bg_color; + } + } + + GtkLabel { color: mix($text_color, $base_color, .3); } + + &.reorderable-page { + &:hover { + background-color: shade($base_color, .85); + border-left: 0; + border-right: 0; + /* using box shadows instead of borders due to slanted edges */ + box-shadow: inset 0 3px alpha($black, .03), inset 0 2px alpha($black, .03), inset 0 1px alpha($black, .03), inset 1px 0 shade($base_color, .7), inset -1px 0 shade($base_color, .7); + } + + &:active { + background-color: shade($base_color, .9); + border-left: 0; + border-right: 0; + box-shadow: inset 0 3px alpha($black, .03), inset 0 2px alpha($black, .03), inset 0 1px alpha($black, .03), inset 1px 0 shade($base_color, .75), inset -1px 0 shade($base_color, .75); + } + } + + /* close button styling */ + .button { @extend %close_button; } + + } + + .prelight-page { + &, GtkLabel { color: mix($text_color, $base_color, .15); } + } + + .active-page { + &, GtkLabel { color: $text_color; } + } + + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_osd.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_osd.scss new file mode 100644 index 0000000..dbf1d16 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_osd.scss @@ -0,0 +1,131 @@ +@import "button"; + + +/******* + ! OSD * +********/ + +@include exports("osd") { + GtkOverlay.osd { background-color: transparent; } + + .osd { + &.background { + background-color: alpha($osd_bg, .8); + color: $osd_fg; + } + + &.frame { + background-clip: border-box; + background-origin: border-box; + } + + &.button, .button { @include button($osd_bg, $osd_fg); } + + + &.toolbar { + -GtkToolbar-button-relief: normal; + + padding: $spacing; + border: 1px solid border_normal($osd_bg); + border-radius: $roundness; + background-color: $osd_bg; + background-image: none; + color: $osd_fg; + + .separator { color: shade($osd_bg, ($contrast + .1)); } + } + + /* used by gnome-settings-daemon's media-keys OSD */ + &.trough { background-color: shade($osd_bg, .8); } + + &.progressbar { background-color: $osd_fg; } + + .scale { + &.slider { + @include linear-gradient(shade($osd_bg, 1.08)); + @include border($osd_bg); + + &:insensitive { @include linear-gradient(shade($osd_bg, .9)); } + } + + &.trough { + border-color: shade($osd_bg, .8); + background-color: shade($osd_bg, 1.08); + background-image: none; + + &.highlight { + border-color: $selected_bg_color; + background-color: $selected_bg_color; + background-image: none; + } + + &:insensitive, &.highlight:insensitive { + border-color: shade($osd_bg, .85); + background-color: shade($osd_bg, .9); + background-image: none; + } + } + } + + &.view, .view { background-color: $osd_bg; } + + .scrollbar { + .trough { background-color: $osd_bg; } + + .slider { + border: 1px solid mix(shade($osd_bg, .87), $osd_fg, .21); + border-radius: 0; + background-color: mix($osd_bg, $osd_fg, .21); + + &:hover { + border-color: mix(shade($osd_bg, .87), $osd_fg, .31); + background-color: mix($osd_bg, $osd_fg, .31); + } + + &:active { + border-color: shade($selected_bg_color, .9); + background-color: $selected_bg_color; + } + } + } + + GtkIconView.cell { + &:selected, &:selected:focus { + background-color: transparent; + border: 3px solid mix(shade($osd_bg, .87), $osd_fg, .21); + border-radius: $roundness; + outline-color: transparent; + } + } + + /* used by Documents */ + .page-thumbnail { + border: 1px solid shade($osd_bg, .9); + /* when there's no pixbuf yet */ + background-color: $osd_bg; + } + } + + .osd GtkProgressBar, GtkProgressBar.osd { + -GtkProgressBar-xspacing: 0; + -GtkProgressBar-yspacing: 2px; + -GtkProgressBar-min-horizontal-bar-height: 2px; + + padding: 0; + + &.trough { + padding: 0; + border-style: none; + border-radius: 0; + background-image: none; + background-color: transparent; + } + + &.progressbar { + border-style: none; + border-radius: 0; + background-color: $selected_bg_color; + background-image: none; + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_overshoot.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_overshoot.scss new file mode 100644 index 0000000..9950eb1 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_overshoot.scss @@ -0,0 +1,119 @@ +@mixin overshoot($position, $type: normal, $color: $selected_bg_color) { + $_small_gradient_length: 5%; + $_big_gradient_length: 100%; + + $_position: center top; + $_small_gradient_size: 100% $_small_gradient_length; + $_big_gradient_size: 100% $_big_gradient_length; + + @if $position == bottom { + $_position: center bottom; + $_linear_gradient_direction: to top; + } @else if $position == right { + $_position: right center; + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } @else if $position == left { + $_position: left center; + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } + + $_small_gradient_color: $color; + $_big_gradient_color: $color; + + $_small_gradient: -gtk-gradient(radial, + $_position, 0, + $_position, .5, + to(alpha($_small_gradient_color, .35)), + to(alpha($_small_gradient_color, .25))); + + $_big_gradient: -gtk-gradient(radial, + $_position, 0, + $_position, .6, + from(alpha($_big_gradient_color, .2)), + to(alpha($_big_gradient_color, 0))); + + @if $type == normal { + background-image: $_small_gradient, $_big_gradient; + background-size: $_small_gradient_size, $_big_gradient_size; + } @else if $type == backdrop { + background-image: $_small_gradient; + background-size: $_small_gradient_size; + } + + background-repeat: no-repeat; + background-position: $_position; + + background-color: transparent; // reset some properties to be sure to not inherit them somehow + border: 0; + box-shadow: none; +} + +@mixin undershoot($position) { + $_undershoot_color_dark: alpha($black, .2); + $_undershoot_color_light: alpha($white, .2); + + $_gradient_dir: left; + $_dash_bg_size: 10px 1px; + $_gradient_repeat: repeat-x; + $_bg_pos: center $position; + + background-color: transparent; // shouldn't be needed, but better to be sure; + + @if ($position == left) or ($position == right) { + $_gradient_dir: top; + $_dash_bg_size: 1px 10px; + $_gradient_repeat: repeat-y; + $_bg_pos: $position center; + } + + /*background-image: linear-gradient(to $_gradient_dir, // this is the dashed line + $_undershoot_color_light 50%, + $_undershoot_color_dark 50%);*/ + + padding-#{$position}: 1px; + background-size: $_dash_bg_size; + background-repeat: $_gradient_repeat; + background-origin: content-box; + background-position: $_bg_pos; +} + +// This is used by GtkScrolledWindow, when content is touch-dragged past boundaries. +// This draws a box on top of the content, the size changes programmatically. +.overshoot { + &.top { + @include overshoot(top); + + &:backdrop { @include overshoot(top, backdrop); } + } + + &.bottom { + @include overshoot(bottom); + + &:backdrop { @include overshoot(bottom, backdrop); } + } + + &.left { + @include overshoot(left); + + &:backdrop { @include overshoot(left, backdrop); } + } + + &.right { + @include overshoot(right); + + &:backdrop { @include overshoot(right, backdrop); } + } +} + +// Overflow indication, works similarly to the overshoot, the size if fixed tho. +.undershoot { + &.top { @include undershoot(top); } + + &.bottom { @include undershoot(bottom); } + + &.left { @include undershoot(left); } + + &.right { @include undershoot(right); } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_progress.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_progress.scss new file mode 100644 index 0000000..8a1ef11 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_progress.scss @@ -0,0 +1,182 @@ +/***************** + ! Progress bars * +******************/ + +@include exports("progressbar") { + GtkProgressBar { + padding: 0; + border-radius: $roundness; + font-size: smaller; + color: alpha($fg_color, .6); + + -GtkProgressBar-min-horizontal-bar-height: 6; + -GtkProgressBar-min-vertical-bar-width: 6; + + &.osd { + -GtkProgressBar-xspacing: 0; + -GtkProgressBar-yspacing: 0; + -GtkProgressBar-min-horizontal-bar-height: 3; + } + + &.trough { + border: 1px solid alpha(border_normal($bg_color), .5); + background-color: shade($bg_color, 1.08); + background-image: none; + } + } + + .progressbar { + @include linear-gradient($selected_bg_color); + + border-radius: 0; + box-shadow: none; + + &.left { + border-top-left-radius: $roundness; + border-bottom-left-radius: $roundness; + } + + &.right { + border-top-right-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &.left.right { box-shadow: none; } + + &.vertical { + @include linear-gradient($selected_bg_color, to right); + + &.bottom { + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &.top { + border-top-left-radius: $roundness; + border-top-right-radius: $roundness; + } + } + } + + GtkLevelBar { + -GtkLevelBar-min-block-width: 34; + -GtkLevelBar-min-block-height: 3; + + &.vertical { + -GtkLevelBar-min-block-width: 3; + -GtkLevelBar-min-block-height: 34; + } + } + + .level-bar { + &.trough { + @include linear-gradient(shade($bg_color, 1.08), to top); + + border: 1px solid alpha(border_normal($bg_color), .5); + border-radius: $roundness; + } + + &.fill-block { + @include linear-gradient($selected_bg_color); + + // FIXME: it would be nice to set make fill blocks bigger, but we'd need + // :nth-child working on discrete indicators + border-color: transparent; + border-radius: 0; + + &.indicator-discrete { + &.horizontal { margin-right: 1px; } + + &.vertical { margin-bottom: 1px; } + } + + &.level-high { + background-color: $success_color; + border-color: transparent; + } + + &.level-low { + background-color: $warning_color; + border-color: transparent; + } + + &.empty-fill-block { + background-color: transparent; + border-color: transparent; + box-shadow: none; + } + } + } + + .scale { + -GtkRange-slider-width: 16; + -GtkRange-trough-border: 1; + -GtkScale-slider-length: 16; + + padding: 0; + border-width: 1px; + border-radius: $roundness; + outline-offset: -1px; + + + &.slider { + @include linear-gradient(shade($bg_color, 1.08)); + @include border($bg_color); + + border-radius: 8px; + border-width: 1px; + border-style: solid; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .3); + + &:insensitive { @include linear-gradient(shade($bg_color, .9)); } + } + + &.fine-tune { + &, &.horizontal { + &:active, &:active:hover { + background-size: 50%; + background-repeat: no-repeat; + background-position: center; + } + } + } + + &.mark { border-color: alpha(border_normal($bg_color), .5); } + + + &.trough { + @include linear-gradient(shade($bg_color, 1.08)); + + margin: 7px 0; + border: 1px solid alpha(border_normal($bg_color), .5); + border-radius: $roundness; + + &:insensitive { @include linear-gradient(shade($bg_color, .9)); } + + &.vertical { margin: 0 7px; } + } + + &.highlight.left { + &, .memuitem & { + @include linear-gradient($selected_bg_color); + border-color: $selected_bg_color; + + &:hover { + border-color: border_normal($selected_bg_color); + background-color: shade($selected_bg_color, .8); + } + + &:insensitive { + @include linear-gradient(shade($bg_color, .9)); + border-color: shade($bg_color, .85); + } + } + } + + &.highlight.bottom { + @include linear-gradient($selected_bg_color); + border-color: $selected_bg_color; + } + + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_scrollbar.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_scrollbar.scss new file mode 100644 index 0000000..56156d4 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_scrollbar.scss @@ -0,0 +1,86 @@ +/*********** + ! Scrollbar +************/ + +@include exports("scrollbar") { + * { + -GtkRange-slider-width: 8; + -GtkRange-stepper-spacing: 0; + -GtkRange-trough-border: 2; + -GtkRange-trough-under-steppers: 1; + -GtkScrollbar-has-backward-stepper: false; + -GtkScrollbar-has-forward-stepper: false; + -GtkScrollbar-min-slider-length: 80; + -GtkScrolledWindow-scrollbar-spacing: 0; + -GtkScrolledWindow-scrollbars-within-bevel: 1; + } + + .scrollbar { + border: 0; + padding: 0; + + &.button { + &, &:active, &:active:hover { + border-width: 0; + border-radius: 0; + background-color: transparent; + background-image: none; + color: alpha($fg_color, .5); + } + } + + &.slider, &.slider.vertical { + border: 0; + border-radius: $roundness; + background-color: shade($bg_color, .5); + + &:hover { background-color: shade($bg_color, .3); } + + &:active { background-color: $selected_bg_color; } + + &.fine-tune:prelight:active { border: 2px solid transparent; } + } + + // overlay scrolling indicator + &.overlay-indicator { + &:not(.dragging):not(.hovering) { + opacity: .5; + + -GtkRange-slider-width: 4px; + + .slider { + margin: 0; + background-color: $fg_color; + background-clip: padding-box; + } + + .trough { + border-style: none; + background-color: transparent; + } + } + + &.dragging, &.hovering { opacity: .7; } + } + } + + .scrollbars-junction, + .scrollbars-junction.frame, + .scrollbar.trough { + border: 0; + border-radius: 0; + background-color: $bg_color; + background-image: none; + } + + // ubuntu overlay scrollbars + OsThumb, OsScrollbar { + color: shade($bg_color, .7); + + &:selected { background-color: $selected_bg_color; } + + &:active { background-color: $selected_bg_color; } + + &:insensitive { background-color: shade($bg_color, .9); } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_sidebar.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_sidebar.scss new file mode 100644 index 0000000..18f5e3a --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_sidebar.scss @@ -0,0 +1,109 @@ +/********* + ! Sidebar +**********/ + +@include exports("sidebar") { + .sidebar { + &, &.view, .view, GtkScrolledWindow { + background-color: $bg_color; + color: mix($fg_color, $bg_color, .1); + + &.separator { + &, &:hover, &:focus { + border-width: 1px; + border-style: solid; + border-color: shade($bg_color, .9); + color: shade($bg_color, .9); + } + } + } + + row, .view row { + &:selected { + &, &:hover, &:focus { + border: 0; + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &:prelight { + border: 0; + background-image: none; + background-color: shade($selected_bg_color, 1.05); + color: $selected_fg_color; + } + } + + &:prelight { + border: 0; + background-image: none; + background-color: shade($bg_color, 1.05); + } + } + + .frame { border-width: 0; } + .sidebar-icon { + padding-left: $spacing * 2; + padding-right: $spacing * 2; + } + + GtkAssistant & { + padding: $spacing; + border-width: 0 1px 0 0; + border-style: solid; + border-right-color: border_normal($bg_color); + border-radius: 0; + background-color: $bg_color; + color: mix($fg_color, $bg_color, .1); + + &:dir(ltr) { border-width: 0 1px 0 0; } + + &:dir(rtl) { border-width: 0 0 0 1px; } + + .label { + padding: $spacing ($spacing * 2); + + &.highlight { background-color: mix($bg_color, $fg_color, .8); } + } + + &.csd .sidebar { border-top-style: none; } + + .highlight { font: bold; } + } + } +} + + +/****** +! Paned +*******/ + +@include exports("paned") { + GtkPaned { + -GtkPaned-handle-size: 1; + -gtk-icon-source: none; + margin: 0 $spacing; + + &:dir(rtl) { + margin-right: 0; + margin-left: $spacing; + } + + .pane-separator { background-color: shade($bg_color, .9); } + + &.wide { + -GtkPaned-handle-size: 4; + margin: 0; + + .pane-separator { + background-color: transparent; + border-style: none solid; + border-color: shade($bg_color, .9); + border-width: 1px; + } + + &.vertical .pane-separator { border-style: solid none; } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_spinner.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_spinner.scss new file mode 100644 index 0000000..9c753f7 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_spinner.scss @@ -0,0 +1,24 @@ +/******************* + ! Spinner animation +********************/ + +@include exports("spinner") { + @keyframes spin { + to { -gtk-icon-transform: rotate(1turn); } + } + + .spinner { + background-image: none; + background-color: $selected_bg_color; + opacity: 0; // non spinning spinner makes no sense + + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); + + &:active { + opacity: 1; + animation: spin 1s linear infinite; + + &:insensitive { opacity: .5; } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_toggle.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_toggle.scss new file mode 100644 index 0000000..f46e972 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_toggle.scss @@ -0,0 +1,140 @@ +/*********************** + ! Check and Radio items +************************/ + +$suffix: if($variant == "dark", "-dark", ""); + +@mixin toggle($type) { + background-image: none; + + -gtk-icon-source: -gtk-scaled(url("../assets/#{$type}-unchecked#{$suffix}.png"), + url("../assets/#{$type}-unchecked#{$suffix}@2.png")); + + &:insensitive { -gtk-icon-source: -gtk-scaled(url("../assets/#{$type}-unchecked-insensitive#{$suffix}.png"), + url("../assets/#{$type}-unchecked-insensitive#{$suffix}@2.png")); } + + &:checked, &:active { + -gtk-icon-source: -gtk-scaled(url("../assets/#{$type}-checked#{$suffix}.png"), + url("../assets/#{$type}-checked#{$suffix}@2.png")); + + &:insensitive { -gtk-icon-source: -gtk-scaled(url("../assets/#{$type}-checked-insensitive#{$suffix}.png"), + url("../assets/#{$type}-checked-insensitive#{$suffix}@2.png")); } + } + + &:inconsistent { + -gtk-icon-source: -gtk-scaled(url("../assets/#{$type}-mixed#{$suffix}.png"), + url("../assets/#{$type}-mixed#{$suffix}@2.png")); + + &:insensitive { -gtk-icon-source: -gtk-scaled(url("../assets/#{$type}-mixed-insensitive#{$suffix}.png"), + url("../assets/#{$type}-mixed-insensitive#{$suffix}@2.png")); } + } + + &.menuitem { + -gtk-icon-source: -gtk-scaled(url("../assets/menuitem-#{$type}-checked-insensitive.png"), + url("../assets/menuitem-#{$type}-checked-insensitive@2.png")); + + &:insensitive { -gtk-icon-source: none; } + + &:checked, &:active { + -gtk-icon-source: -gtk-scaled(url("../assets/menuitem-#{$type}-checked.png"), + url("../assets/menuitem-#{$type}-checked@2.png")); + + &:hover { -gtk-icon-source: -gtk-scaled(url("../assets/menuitem-#{$type}-checked-hover.png"), + url("../assets/menuitem-#{$type}-checked-hover@2.png")); } + + &:insensitive { -gtk-icon-source: -gtk-scaled(url("../assets/menuitem-#{$type}-checked-insensitive.png"), + url("../assets/menuitem-#{$type}-checked-insensitive@2.png")); } + } + + &:inconsistent { + -gtk-icon-source: -gtk-scaled(url("../assets/menuitem-#{$type}-mixed.png"), + url("../assets/menuitem-#{$type}-mixed@2.png")); + + &:hover { -gtk-icon-source: -gtk-scaled(url("../assets/menuitem-#{$type}-mixed-hover.png"), + url("../assets/menuitem-#{$type}-mixed-hover@2.png")); } + + &:insensitive { -gtk-icon-source: -gtk-scaled(url("../assets/menuitem-#{$type}-mixed-insensitive.png"), + url("../assets/menuitem-#{$type}-mixed-insensitive@2.png")); } + } + } +} + +@include exports("checkradio") { + * { + -GtkCheckButton-indicator-size: 16; + -GtkCheckMenuItem-indicator-size: 16; + } + + .radio { @include toggle("radio"); } + + .check { @include toggle("checkbox"); } + + //selection-mode + @each $s,$as in ('', '-unchecked'), + (':hover', '-unchecked'), + (':active', '-checked'), + (':backdrop', '-unchecked'), + (':checked', '-checked'), + (':checked:hover', '-checked'), + (':checked:active', '-checked'), + (':backdrop:checked', '-checked') { + .view.content-view.check#{$s}:not(list) { + icon-shadow: none; + -gtk-icon-source: -gtk-scaled(url("../assets/grid-selection#{$as}#{$suffix}.png"), + url("../assets/grid-selection#{$as}#{$suffix}@2.png")); + background-color: transparent; + } + } +} + + +/******** + ! Switch +*********/ + +@include exports("switch") { + GtkSwitch { + padding: 0; + border-radius: $roundness; + font: bold condensed; + outline-offset: -4px; + + &.slider { + @include linear-gradient(shade($bg_color, 1.2)); + + border: 1px solid rgba(0, 0, 0, .2); + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12); + + &:insensitive { + border-color: rgba(0, 0, 0, .1); + background-color: shade($bg_color, .9); + box-shadow: none; + } + } + + &.trough { + @include linear-gradient(shade($bg_color, .95), to top); + + border: 1px solid border_normal($bg_color); + color: $fg_color; + box-shadow: inset 1px 0 alpha($dark_shadow, .07), + inset 0 1px alpha($dark_shadow, .08), + inset -1px 0 alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + + &:active { + @include linear-gradient($selected_bg_color, to top); + + border-color: shade($selected_bg_color, .9); + color: $selected_fg_color; + } + + &:insensitive { + @include linear-gradient(shade($bg_color, .9), to top); + + border-color: border_insensitive($bg_color); + color: mix($fg_color, $bg_color, .5); + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_toolbar.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_toolbar.scss new file mode 100644 index 0000000..019e79b --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_toolbar.scss @@ -0,0 +1,123 @@ +@import "button"; + + +/********* + ! Toolbar +**********/ + +@mixin toolbar($bg, $fg) { + @include linear-gradient($bg); + @include border($bg); + + padding: $spacing * 2; + color: $fg; + + &:insensitive { + @include linear-gradient(shade($bg, .9)); + + color: mix($fg, $bg, .5); + } + + .title { + font: bold; + padding: 0 ($spacing * 2); + } + + .subtitle { + font: smaller; + padding: 0 ($spacing * 2); + } + + .button { @include button($bg, $fg); } + + .button.linked, .linked .button { @include linked_button($bg); } + + GtkComboBox, .button { + padding: $spacing - 1px; + + &.text-button { padding: $spacing; } + + &.image-button { padding: ($spacing + 1px) ($spacing - 1px) ($spacing + 1px) $spacing; } + } + + GtkSeparatorToolItem, .separator, .separator:insensitive { + color: shade($bg, ($contrast + .1)); + border-color: currentColor; + + -GtkWidget-window-dragging: true; + } + + .menubar { -GtkToolbar-button-relief: normal; } +} + +@include exports("toolbar") { + .toolbar { + @include toolbar($bg_color, $fg_color); + + border-style: none; + + &.inline-toolbar { + background-image: none; + background-color: transparent; + } + } + + .header-bar { + @include toolbar($titlebar_bg_color, $titlebar_fg_color); + + border-width: 0 0 1px; + border-style: solid; + } + + .titlebar { + @include linear-gradient($titlebar_bg_color); + + border-radius: $roundness $roundness 0 0; + color: mix($titlebar_fg_color, $titlebar_bg_color, .1); + + &:backdrop { + @include linear-gradient($titlebar_bg_color); + + color: mix($titlebar_fg_color, $titlebar_bg_color, .6); + text-shadow: none; + } + + &.default-decoration { + border: 0; + box-shadow: none; + } + + .tiled &, .maximized & { border-radius: 0; } + + .title { font: bold; } + + .titlebutton { + padding: $spacing; + border: 0; + background-image: none; + background-color: transparent; + color: mix($titlebar_fg_color, $titlebar_bg_color, .1); + box-shadow: none; + + &:hover, &:hover:focus { + background-image: none; + background-color: transparent; + color: $selected_bg_color; + box-shadow: none; + } + + &:active, &:active:hover { + background-image: none; + background-color: transparent; + color: shade($selected_bg_color, .9); + box-shadow: none; + } + + &:backdrop { + background: none; + color: mix($titlebar_fg_color, $titlebar_bg_color, .6); + icon-shadow: none; + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_view.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_view.scss new file mode 100644 index 0000000..3b1d4e2 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_view.scss @@ -0,0 +1,233 @@ +/*************** + ! Generic views +****************/ + +@include exports("view") { + * { -GtkTextView-error-underline-color: $error_color; } + + .view { + color: $text_color; + background-color: $base_color; + + &:insensitive, &:insensitive:insensitive { + background-color: shade($base_color, .9); + color: mix($text_color, $base_color, .5); + } + + &:selected, &:selected:focus { @extend %selected; } + } + + .cell { + border-width: 0; + border-radius: 0; + + &:selected, &:selected:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + row { + &:selected { + &, &:hover, &:focus { + -GtkWidget-focus-padding: 1; + -GtkWidget-focus-line-width: 0; + + border: 0; + background-color: $selected_bg_color; + background-image: none; + color: $selected_fg_color; + } + } + } + + .content-view { + &.view { + background-color: $base_color; + + &:prelight { background-color: alpha($selected_bg_color, .6); } + + &:selected, &:active { background-color: $selected_bg_color; } + + &:insensitive { background-color: shade($base_color, .9); } + + &.check { + &, &:active, &:prelight, &:insensitive, &:selected { background-color: transparent; } + } + } + + .subtitle { + font: smaller; + padding: 0 12px; + } + } + + GtkIconView { + &.content-view.check { @extend .content-view.check; } + + &.view.cell { + &:selected, &:selected:focus { + border: 0; + border-radius: 2px; + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + } + + .dim-label { + &, &.view { color: alpha(currentColor, .5); } + } + + .dnd { border: 1px solid $selected_bg_color; } + + .grip { background-color: transparent; } + + .arrow { color: alpha(currentColor, .7); } + + .rubberband { + &, &.view, &.content-view.view { + border: 1px solid $selected_bg_color; + border-radius: 0; + background-color: alpha($selected_bg_color, .3); + } + } + + GdMainIconView.content-view { -GdMainIconView-icon-size: 40; } + + /* this will get overridden by .view, needed by gedit line numbers */ + GtkTextView { background-color: mix($bg_color, $base_color, .5); } + + GtkHTML { + @extend .view; + + &:insensitive { background-color: shade($base_color, .9); } + } + + GtkDrawingArea { background-color: transparent; } +} + +/************ + ! Treeview * +*************/ + +@include exports("treeview") { + GtkTreeView { + -GtkTreeView-expander-size: 8; + -GtkTreeView-vertical-separator: 0; + + outline-offset: -1px; + border-top-color: shade($menu_bg_color, ($contrast + .1)); + + &:hover, &:selected, &:selected:focus, &:backdrop:selected, &:backdrop:selected:focus { border-top-color: $selected_bg_color; } + + &.dnd { border: 1px solid $selected_bg_color; } + + .entry { + border-radius: 0; + background-color: $base_color; + background-image: none; + } + + .progressbar { + @include linear-gradient($selected_bg_color); + border: 1px solid border_normal($selected_bg_color); + + &:selected { + &:focus, & { + @include linear-gradient($selected_bg_color); + border: 1px solid border_focus($selected_bg_color); + color: $selected_fg_color; + } + } + + &:insensitive { + &:insensitive { + @include linear-gradient($bg_color); + border-color: border_insensitive($bg_color); + } + } + } + + .trough { + background-color: mix($bg_color, $base_color, .5); + border: 1px solid border_normal($base_color); + + &:selected { + &:focus, & { + background-color: $base_color; + border: 1px solid border_focus($bg_color); + color: $text_color; + } + } + + &:insensitive { + &:insensitive { + background-color: $base_color; + } + } + } + } +} + + +/*********** + ! Separator +************/ + +@include exports("separator") { + .view.separator, .separator { + color: shade($bg_color, ($contrast + .1)); + border: 1px solid currentColor; + } +} + + +/********************* + ! Column view headers +**********************/ + +@include exports("columnheader") { + column-header { + .button { + &, &:active { + border-width: 0 1px 1px 0; + border-radius: 0; + } + + &, &:active, &:focus, &:active:focus { + border-color: shade($base_color, .9); + border-bottom-color: shade($base_color, .8); + background-color: shade($base_color, .97); + background-image: none; + } + + &:hover, &:active:hover, &:hover:focus, &:active:hover:focus { + border-color: shade($base_color, .9); + border-bottom-color: shade($base_color, .8); + background-color: shade($base_color, .99); + background-image: none; + } + + &:last-child .button { border-width: 0 0 1px; } + } + } +} + + +/********** + ! Frames * +***********/ + +@include exports("frame") { + .frame { + border: 1px solid border_normal($bg_color); + + &.flat { border: 0; } + } + + /* avoid double borders when a viewport is packed into a GtkScrolledWindow */ + GtkScrolledWindow GtkViewport.frame { border: 0; } +} + diff --git a/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_window.scss b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_window.scss new file mode 100644 index 0000000..7742fbb --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.0/scss/widgets/_window.scss @@ -0,0 +1,60 @@ +/************** + ! Window frame +***************/ + +@include exports("window") { + %window { + box-shadow: 0 19px 38px rgba(0, 0, 0, .3), 0 15px 12px rgba(0, 0, 0, .22), + 0 0 0 1px $wm_border_focused; + + &:backdrop { + box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23), + 0 0 0 1px $wm_border_unfocused; + } + } + + .window-frame { + @extend %window; + + border: 0; + border-radius: $roundness $roundness 0 0; + background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21); + /* this is used for the resize cursor area */ + margin: $spacing * 3; + + &.tiled { border-radius: 0; } + + &.solid-csd { + border-radius: $roundness $roundness 0 0; + margin: 1px; + background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21); + box-shadow: none; + } + + &.csd { + &.popup { + @extend %window; + + border-radius: 0; + } + + &.tooltip { + border-radius: $roundness; + box-shadow: none; + } + + &.message-dialog { + @extend %window; + + border-radius: $roundness; + } + } + + &.ssd { + // Fixed gtk-3.18 Unity bug (https://github.com/numixproject/numix-gtk-theme/issues/270) + box-shadow: 0 0 0 1px $wm_border_focused; + + &.maximized { border-radius: 0; } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.0/thumbnail.png b/abbith-gtk-theme/src/gtk-3.0/thumbnail.png new file mode 100644 index 0000000..4f51185 Binary files /dev/null and b/abbith-gtk-theme/src/gtk-3.0/thumbnail.png differ diff --git a/abbith-gtk-theme/src/gtk-3.20/assets b/abbith-gtk-theme/src/gtk-3.20/assets new file mode 120000 index 0000000..fb2256c --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/assets @@ -0,0 +1 @@ +../gtk-3.0/assets \ No newline at end of file diff --git a/abbith-gtk-theme/src/gtk-3.20/gtk-dark.css b/abbith-gtk-theme/src/gtk-3.20/gtk-dark.css new file mode 100644 index 0000000..01ee49a --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/gtk-dark.css @@ -0,0 +1 @@ +@import url("resource:///org/bonerbonerboner/gtk-3.20/dist/gtk-dark.css"); diff --git a/abbith-gtk-theme/src/gtk-3.20/gtk.css b/abbith-gtk-theme/src/gtk-3.20/gtk.css new file mode 100644 index 0000000..15c91c4 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/gtk.css @@ -0,0 +1 @@ +@import url("resource:///org/bonerbonerboner/gtk-3.20/dist/gtk.css"); diff --git a/abbith-gtk-theme/src/gtk-3.20/gtk.gresource.xml b/abbith-gtk-theme/src/gtk-3.20/gtk.gresource.xml new file mode 100644 index 0000000..4e8af61 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/gtk.gresource.xml @@ -0,0 +1,83 @@ + + + + assets/checkbox-checked-dark.png + assets/checkbox-checked-dark@2.png + assets/checkbox-checked-insensitive-dark.png + assets/checkbox-checked-insensitive-dark@2.png + assets/checkbox-checked-insensitive.png + assets/checkbox-checked-insensitive@2.png + assets/checkbox-checked.png + assets/checkbox-checked@2.png + assets/checkbox-mixed-dark.png + assets/checkbox-mixed-dark@2.png + assets/checkbox-mixed-insensitive-dark.png + assets/checkbox-mixed-insensitive-dark@2.png + assets/checkbox-mixed-insensitive.png + assets/checkbox-mixed-insensitive@2.png + assets/checkbox-mixed.png + assets/checkbox-mixed@2.png + assets/checkbox-unchecked-dark.png + assets/checkbox-unchecked-dark@2.png + assets/checkbox-unchecked-insensitive-dark.png + assets/checkbox-unchecked-insensitive-dark@2.png + assets/checkbox-unchecked-insensitive.png + assets/checkbox-unchecked-insensitive@2.png + assets/checkbox-unchecked.png + assets/checkbox-unchecked@2.png + assets/grid-selection-checked-dark.png + assets/grid-selection-checked-dark@2.png + assets/grid-selection-checked.png + assets/grid-selection-checked@2.png + assets/grid-selection-unchecked-dark.png + assets/grid-selection-unchecked-dark@2.png + assets/grid-selection-unchecked.png + assets/grid-selection-unchecked@2.png + assets/menuitem-checkbox-checked-hover.png + assets/menuitem-checkbox-checked-hover@2.png + assets/menuitem-checkbox-checked-insensitive.png + assets/menuitem-checkbox-checked-insensitive@2.png + assets/menuitem-checkbox-checked.png + assets/menuitem-checkbox-checked@2.png + assets/menuitem-checkbox-mixed-hover.png + assets/menuitem-checkbox-mixed-hover@2.png + assets/menuitem-checkbox-mixed-insensitive.png + assets/menuitem-checkbox-mixed-insensitive@2.png + assets/menuitem-checkbox-mixed.png + assets/menuitem-checkbox-mixed@2.png + assets/menuitem-radio-checked-hover.png + assets/menuitem-radio-checked-hover@2.png + assets/menuitem-radio-checked-insensitive.png + assets/menuitem-radio-checked-insensitive@2.png + assets/menuitem-radio-checked.png + assets/menuitem-radio-checked@2.png + assets/pane-handle.png + assets/pane-handle@2.png + assets/radio-checked-dark.png + assets/radio-checked-dark@2.png + assets/radio-checked-insensitive-dark.png + assets/radio-checked-insensitive-dark@2.png + assets/radio-checked-insensitive.png + assets/radio-checked-insensitive@2.png + assets/radio-checked.png + assets/radio-checked@2.png + assets/radio-mixed-dark.png + assets/radio-mixed-dark@2.png + assets/radio-mixed-insensitive-dark.png + assets/radio-mixed-insensitive-dark@2.png + assets/radio-mixed-insensitive.png + assets/radio-mixed-insensitive@2.png + assets/radio-mixed.png + assets/radio-mixed@2.png + assets/radio-unchecked-dark.png + assets/radio-unchecked-dark@2.png + assets/radio-unchecked-insensitive-dark.png + assets/radio-unchecked-insensitive-dark@2.png + assets/radio-unchecked-insensitive.png + assets/radio-unchecked-insensitive@2.png + assets/radio-unchecked.png + assets/radio-unchecked@2.png + dist/gtk.css + dist/gtk-dark.css + + diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/_colors.scss b/abbith-gtk-theme/src/gtk-3.20/scss/_colors.scss new file mode 100644 index 0000000..dda50ed --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/_colors.scss @@ -0,0 +1,97 @@ +@import "global"; + +/* dark color scheme */ +@define-color dark_bg_color #{"" + $dark_bg_color}; +@define-color dark_fg_color #{"" + $dark_fg_color}; + +/* colormap actually used by the theme, to be overridden in other css files */ +@define-color theme_bg_color #{"" + $bg_color}; +@define-color theme_fg_color #{"" + $fg_color}; +@define-color theme_base_color #{"" + $base_color}; +@define-color theme_text_color #{"" + $text_color}; +@define-color theme_selected_bg_color #{"" + $selected_bg_color}; +@define-color theme_selected_fg_color #{"" + $selected_fg_color}; +@define-color theme_tooltip_bg_color #{"" + $tooltip_bg_color}; +@define-color theme_tooltip_fg_color #{"" + $tooltip_fg_color}; + +/* shadow effects */ +@define-color light_shadow #{"" + $light_shadow}; +@define-color dark_shadow #{"" + $dark_shadow}; + +/* misc colors used by gtk+ */ +@define-color info_fg_color #{"" + $info_fg_color}; +@define-color info_bg_color #{"" + $info_bg_color}; +@define-color warning_fg_color #{"" + $warning_fg_color}; +@define-color warning_bg_color #{"" + $warning_bg_color}; +@define-color question_fg_color #{"" + $question_fg_color}; +@define-color question_bg_color #{"" + $question_bg_color}; +@define-color error_fg_color #{"" + $error_fg_color}; +@define-color error_bg_color #{"" + $error_bg_color}; +@define-color link_color #{"" + $link_color}; +@define-color success_color #{"" + $success_color}; +@define-color warning_color #{"" + $warning_color}; +@define-color error_color #{"" + $error_color}; + +/* widget colors */ +@define-color titlebar_bg_color @dark_bg_color; +@define-color titlebar_fg_color @dark_fg_color; +@define-color menubar_bg_color @dark_bg_color; +@define-color menubar_fg_color @dark_fg_color; +@define-color toolbar_bg_color @theme_bg_color; +@define-color toolbar_fg_color @theme_fg_color; +@define-color menu_bg_color @dark_bg_color; +@define-color menu_fg_color @dark_fg_color; +@define-color panel_bg_color @dark_bg_color; +@define-color panel_fg_color @dark_fg_color; +@define-color borders #{"" + $borders_color}; +@define-color unfocused_borders #{"" + $backdrop_borders_color}; + + +@define-color insensitive_bg_color #{"" + $insensitive_bg_color}; +@define-color insensitive_fg_color #{"" + $insensitive_fg_color}; + +/* osd */ +@define-color osd_base #{"" + $osd_base}; +@define-color osd_bg #{"" + $osd_bg}; +@define-color osd_fg #{"" + $osd_fg}; +@define-color osd_insensitive_bg_color #{"" + $osd_insensitive_bg_color}; +@define-color osd_insensitive_fg_color #{"" + $osd_insensitive_fg_color}; +@define-color osd_borders_color #{"" + $osd_borders_color}; + +/* lightdm greeter colors */ +@define-color lightdm_bg_color #{"" + $lightdm_bg_color}; +@define-color lightdm_fg_color #{"" + $lightdm_fg_color}; + +/* widget text/foreground color on backdrop windows */ +@define-color theme_unfocused_fg_color #{"" + $backdrop_fg_color}; + +/* text color for entries, views and content in general on backdrop windows */ +@define-color theme_unfocused_text_color #{"" + $text_color}; + +/* widget base background color on backdrop windows */ +@define-color theme_unfocused_bg_color #{"" + $backdrop_bg_color}; + +/* text widgets and the like base background color on backdrop windows */ +@define-color theme_unfocused_base_color #{"" + $backdrop_base_color}; + +/* base background color of selections on backdrop windows */ +@define-color theme_unfocused_selected_bg_color #{"" + $selected_bg_color}; + +/* text/foreground color of selections on backdrop windows */ +@define-color theme_unfocused_selected_fg_color #{"" + $selected_fg_color}; + +/* insensitive color on backdrop windows*/ +@define-color unfocused_insensitive_color #{"" + $backdrop_insensitive_color}; + +/* window manager colors */ +@define-color wm_bg #{"" + $wm_bg}; +@define-color wm_border_focused #{"" + $wm_border_focused}; +@define-color wm_border_unfocused #{"" + $wm_border_unfocused}; +@define-color wm_title_focused #{"" + $wm_title_focused}; +@define-color wm_title_unfocused #{"" + $wm_title_unfocused}; +@define-color wm_icons_focused #{"" + $wm_icons_focused}; +@define-color wm_icons_focused_prelight #{"" + $wm_icons_focused_prelight}; +@define-color wm_icons_focused_pressed #{"" + $wm_icons_unfocused_pressed}; +@define-color wm_icons_unfocused #{"" + $wm_icons_unfocused}; +@define-color wm_icons_unfocused_prelight #{"" + $wm_icons_unfocused_prelight}; +@define-color wm_icons_unfocused_pressed #{"" + $wm_icons_unfocused_pressed}; diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/_functions.scss b/abbith-gtk-theme/src/gtk-3.20/scss/_functions.scss new file mode 100644 index 0000000..74dc76a --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/_functions.scss @@ -0,0 +1,95 @@ +$modules: () !default; + +@mixin exports($name) { + @if (not index($modules, $name)) { + $modules: append($modules, $name) !global; + + @content; + } +} + +@function alpha($color, $amount) { + @if type-of($color) == "color" { + @return fade-out($color, (1 - $amount)); + } @else { + @return unquote("alpha(#{$color},#{$amount})"); + } +} + +@function shade($color, $amount) { + @if type-of($color) == "color" { + @if ($amount > 1) { + @return lighten($color, ($amount - 1) * lightness($color)) + } @else { + @return darken($color, (1 - $amount) * lightness($color)) + } + } @else { + @return unquote("shade(#{$color},#{$amount})"); + } +} + +@function mix($color1, $color2, $amount) { + @return unquote("mix(#{$color1},#{$color2},#{$amount})"); +} + +@function border_normal($color) { + @return shade($color, $contrast); +} + +@function border_focus($color) { + @return shade($color, ($contrast - .05)); +} + +@function border_active($color) { + @return shade($color, ($contrast - .1)); +} + +@function border_insensitive($color) { + @return shade($color, ($contrast + .05)); +} + +@mixin linear-gradient($color, $direction: to bottom) { + @if $gradient == 0 { + background-color: $color; + background-image: none; + } @else { + $amount: $gradient / 2; + + background-color: $color; + background-image: linear-gradient($direction, + shade($color, (1 + $amount)), + shade($color, (1 - $amount)) + ); + } +} + +@mixin border($color) { + border-color: border_normal($color); + + &:focus, &:hover { border-color: border_focus($color); } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { border-color: border_active($color); } + + &:disabled { border-color: border_insensitive($color); } + + &:active:disabled, &:checked:disabled { border-color: border_normal($color); } +} + +@function _text_shadow_color($tc: $fg_color, $bg: $bg_color) { + // + // calculate the color of text shadows + // + // $tc is the text color + // $bg is the background color + // + $_lbg: lightness($bg) / 100%; + + @if lightness($tc) < 50% { + @return transparentize(white, 1 - $_lbg / ($_lbg * 1.3)); + } @else { + @return transparentize(black, $_lbg * .8); + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/_global.scss b/abbith-gtk-theme/src/gtk-3.20/scss/_global.scss new file mode 100644 index 0000000..0b0732a --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/_global.scss @@ -0,0 +1,131 @@ +// scss-lint:disable ColorVariable + +@import "functions"; + +// default color scheme +$bg_color: #2b303b; +$fg_color: #c0c5ce; +$base_color: #1b2229; +$text_color: #c0c5ce; +$selected_bg_color: #d08770; +$selected_fg_color: #202328; +$tooltip_bg_color: #1c1f24; +$tooltip_fg_color: #c0c5ce; + +$selected_borders_color: if($variant == 'light', darken($selected_bg_color, 30%), darken($selected_bg_color, 20%)); +$borders_color: if($variant == 'light', shade($bg_color, .85), shade($bg_color, .88)); +$borders_edge: if($variant == 'light', transparentize(white, 0.2), transparentize($fg_color, 0.93)); + +// dark colors +$dark_bg_color: #2b303b; +$dark_fg_color: #c0c5ce; + +// shadows +$dark_shadow: #000; +$light_shadow: #fff; + +// white and black +$black: #232830; +$white: #c0c5ce; + +$button_border: shade($base_color, .9); +$entry_border: alpha($dark_shadow, .06); + +$scrollbar_bg_color: if($variant == 'light', darken($bg_color, 5%), mix($base_color, $bg_color, .4)); +$scrollbar_slider_color: shade($bg_color, .5); +$scrollbar_slider_hover_color: shade($bg_color, .3); +$scrollbar_slider_active_color: if($variant == 'light', darken($selected_bg_color, 5%), lighten($selected_bg_color, 10%)); + +$switch_disabled_bg_color: #d8d8d8; +$switch_disabled_border_color: #ccc; +$switch_disabled_fg_color: mix(#444, #c0c5ce, .5); +$switch_disabled_slider_bg_color: #e8eaec; +$switch_bg_color: mix($bg_color, $base_color, .3); +$switch_fg_color: #8e969e; +$switch_slider_bg_color: #fbfbfb; + +// misc colors used by gtk+ +$info_fg_color: #c0c5ce; +$info_bg_color: #8fa1b3; +$warning_fg_color: #c0c5ce; +$warning_bg_color: #d08770; +$question_fg_color: #c0c5ce; +$question_bg_color: #c678dd; +$error_fg_color: #c0c5ce; +$error_bg_color: #bf616a; +$link_color: #d08770; +$success_color: #a3be8c; +$warning_color: #d08770; +$error_color: #bf616a; + +$toolbar_bg_color: $bg_color; +$toolbar_fg_color: $fg_color; + +$titlebar_bg_color: $dark_bg_color; +$titlebar_fg_color: $dark_fg_color; + +$menu_bg_color: $dark_bg_color; +$menu_fg_color: $dark_fg_color; + +$menubar_bg_color: $dark_bg_color; +$menubar_fg_color: $dark_fg_color; + +$panel_bg_color: $dark_bg_color; +$panel_fg_color: $dark_fg_color; + +$osd_base: $dark_bg_color; +$osd_text_color: $white; +$osd_fg: $dark_fg_color; +$osd_bg: alpha($osd_base, .8); +$osd_insensitive_bg_color: mix($osd_fg, $osd_bg, .5); +$osd_insensitive_fg_color: mix($osd_fg, $osd_base, .6); +$osd_borders_color: shade($osd_bg, .85); + +$lightdm_bg_color: $dark_bg_color; +$lightdm_fg_color: $dark_fg_color; + +$wm_bg: $titlebar_bg_color; +$wm_border_focused: transparent; +$wm_border_unfocused: transparent; +$wm_title_focused: mix($titlebar_fg_color, $titlebar_bg_color, .1); +$wm_title_unfocused: mix($titlebar_fg_color, $titlebar_bg_color, .4); +$wm_icons_focused: mix($titlebar_fg_color, $titlebar_bg_color, .1); +$wm_icons_focused_prelight: $selected_bg_color; +$wm_icons_focused_pressed: shade($selected_bg_color, .8); +$wm_icons_unfocused: mix($titlebar_fg_color, $titlebar_bg_color, .4); +$wm_icons_unfocused_prelight: $selected_bg_color; +$wm_icons_unfocused_pressed: shade($selected_bg_color, .8); + +//insensitive state derived colors +$insensitive_fg_color: mix($fg_color, $bg_color, .5); +$insensitive_bg_color: mix($bg_color, $base_color, .6); +$insensitive_borders_color: $borders_color; + +//colors for the backdrop state, derived from the main colors. +$backdrop_base_color: if($variant == 'light', darken($base_color, .01), lighten($base_color, .01)); +$backdrop_text_color: mix($backdrop_base_color, $text_color, .8); +$backdrop_bg_color: $bg_color; +$backdrop_fg_color: mix($fg_color, $backdrop_bg_color, .5); +$backdrop_insensitive_color: if($variant == 'light', darken($backdrop_bg_color, 15%), lighten($backdrop_bg_color, 15%)); +$backdrop_selected_bg_color: $selected_bg_color; +$backdrop_selected_fg_color: if($variant == 'light', $backdrop_base_color, $backdrop_text_color); +$backdrop_borders_color: mix($bg_color, $borders_color, .9); +$backdrop_dark_fill: mix($backdrop_bg_color, $backdrop_borders_color, .35); +$backdrop_sidebar_bg_color: mix($backdrop_bg_color, $backdrop_base_color, .5); + +$backdrop_osd_base: $osd_base; +$backdrop_osd_bg: $osd_bg; +$backdrop_osd_fg: mix($osd_fg, $backdrop_osd_base, .5); + +$backdrop_scrollbar_bg_color: darken($backdrop_bg_color, 3%); +$backdrop_scrollbar_slider_color: mix($backdrop_fg_color, $backdrop_bg_color, .4); + +$backdrop_menu_color: if($variant == 'light', $backdrop_base_color, mix($backdrop_bg_color, $backdrop_base_color, .2)); + +$drop_target_color: #a3be8c; + +// widget styles +$roundness: 0px; +$spacing: 5px; +$gradient: 0; +$contrast: .99; diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/_widgets.scss b/abbith-gtk-theme/src/gtk-3.20/scss/_widgets.scss new file mode 100644 index 0000000..719463b --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/_widgets.scss @@ -0,0 +1,41 @@ +@import "functions"; +@import "global"; +@import "colors"; + + +@import "widgets/base"; +@import "widgets/button"; +@import "widgets/entry"; +@import "widgets/actionbar"; +@import "widgets/calendar"; +@import "widgets/choosers"; +@import "widgets/grid"; +@import "widgets/infobar"; +@import "widgets/menu"; +@import "widgets/misc"; +@import "widgets/notebook"; +@import "widgets/osd"; +@import "widgets/overshoot"; +@import "widgets/progress"; +@import "widgets/scrollbar"; +@import "widgets/sidebar"; +@import "widgets/spinner"; +@import "widgets/toggle"; +@import "widgets/toolbar"; +@import "widgets/view"; +@import "widgets/window"; + +@import "apps/mate-applications"; +@import "apps/cinnamon-applications"; +@import "apps/gnome-applications"; +@import "apps/unity-greeter"; +@import "apps/gedit"; +@import "apps/nautilus"; +@import "apps/nemo"; +@import "apps/panel"; +@import "apps/synaptic"; +@import "apps/xfce"; +@import "apps/unity"; +@import "apps/lightdm"; +@import "apps/gnome-terminal"; +@import "apps/budgie"; diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/apps/_budgie.scss b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_budgie.scss new file mode 100644 index 0000000..103f87a --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_budgie.scss @@ -0,0 +1,61 @@ +/****************** + ! Budgie Desktop * +*******************/ + +@include exports("budgie-desktop") { + .budgie-container { + background-color: transparent; + } + + .raven { + background-color: transparentize($bg_color, .07); + + .raven-header { + background-color: $bg_color; + border: solid $borders_color; + border-width: 1px 0; + } + + .raven-background { + background-color: transparentize($bg_color, .07); + } + } + + .raven-mpris { + background-color: transparentize($bg_color, .3); + } + + .budgie-panel { + background-color: $dark_bg_color; + color: $dark_fg_color; + } + + .budgie-panel > box > widget > separator { + background-color: transparentize($dark_fg_color, .8); + } + + .workspace-switcher { + background-color: $dark_bg_color; + .workspace-icon-button { + background-color: transparent; + &:hover { + background-color: transparentize($selected_bg_color, .5); + border: transparent; + } + } + .workspace-more-label { + color: $dark_fg_color; + } + .workspace-add-button { + background-color: transparentize($selected_bg_color, .8); + color: $selected_bg_color; + border: transparent; + &:hover { + background-color: transparentize($selected_bg_color, .5); + } + } + .current-workspace { + background-color: $selected_bg_color; + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/apps/_cinnamon-applications.scss b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_cinnamon-applications.scss new file mode 100644 index 0000000..28511c7 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_cinnamon-applications.scss @@ -0,0 +1,19 @@ +/********************* + ! Cinnamon Settings * +**********************/ + +@include exports("cinnamon-settings") { + .cs-category-view { + &, .view { + &, &:backdrop { + background-color: transparent; + } + + &:selected { + &:focus, & { + @extend %selected_items; + } + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/apps/_gedit.scss b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_gedit.scss new file mode 100644 index 0000000..c153930 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_gedit.scss @@ -0,0 +1,143 @@ +/********* + ! Gedit * +**********/ + +@include exports("gedit") { + GeditWindow .pane-separator { + border-width: 0 1px 0 0; + border-style: solid; + + &, &:hover { + border-color: shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + + .gedit-document-panel { + background-color: $bg_color; + color: mix($fg_color, $bg_color, .1); + + list row { + padding: $spacing; + + button { + padding: 1px; + border-radius: $roundness; + border-style: solid; + border-color: transparent; + border-width: 1px; + background-color: transparent; + background-image: none; + color: transparent; + -gtk-icon-shadow: none; + } + } + + .prelight-row button { + border-color: alpha($black, .1); + color: alpha($white, .8); + + &:active { + border-color: alpha($black, .2); + background-color: alpha($black, .08); + color: $white; + } + } + + list row, .prelight-row { + button:hover { + border-color: alpha($black, .1); + color: $white; + } + } + } + + .gedit-document-panel-group-row { + &, &:hover { + border-top: 1px solid shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + + .gedit-document-panel-document-row { + &:hover { background-color: shade($bg_color, 1.05); } + + &:selected { + &, &:hover { @extend %selected; } + } + } + + .gedit-document-panel-dragged-row { + border: 1px solid alpha($black, .1); + background-color: alpha($black, .5); + color: $white; + } + + .gedit-document-panel-placeholder-row { + border: 0; + background-color: alpha($black, .08); + transition: all 200ms ease-in; + } + + //Ignore: Global double border separator. + //statusbar { border-top: 1px solid border_normal($bg_color); } + + statusbar GeditSmallButton, GeditStatusMenuButton { + text-shadow: none; + + button { + border-style: solid; + border-width: 0 1px; + border-color: transparent; + border-radius: 0; + padding: 1px 6px 2px 4px; + + &:hover, &:active, &:active:hover { border-color: border_normal($bg_color); } + + &:active { + background-color: shade($bg_color, .95); + color: $fg_color; + } + } + } + + GeditViewFrame .gedit-search-slider { + padding: $spacing; + border-radius: 0 0 $roundness $roundness; + border-width: 0 1px 1px; + border-style: solid; + border-color: border_normal($base_color); + background-color: $base_color; + + .not-found { + background-color: $error_bg_color; + background-image: none; + color: $error_fg_color; + + &:selected { @extend %selected; } + } + } + + GeditFileBrowserWidget .toolbar { + padding: $spacing / 2; + border-top: 0; + background-color: $bg_color; + background-image: none; + } + + .gedit-search-entry-occurrences-tag { + margin: $spacing / 2; + padding: $spacing / 2; + color: mix($text_color, $base_color, .5); + } + + .gedit-bottom-panel-paned, + .gedit-side-panel-paned, + paned.titlebar { + margin-right: 0; + } + + .gedit-bottom-panel-paned notebook { + border-top: none; + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/apps/_gnome-applications.scss b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_gnome-applications.scss new file mode 100644 index 0000000..a52e8b2 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_gnome-applications.scss @@ -0,0 +1,78 @@ +/**************** + ! Gnome clocks * +*****************/ + +@include exports("gnome-clocks") { + .clocks-analog-frame { + &.trough { color: mix($fg_color, $bg_color, .85); } + + &.progress { color: mix($bg_color, $selected_bg_color, .5); } + + &.progress-fast { color: shade($selected_bg_color, .7); } + } +} + + +/***************** + ! Gnome Builder * +******************/ + +@include exports("gnome-builder") { + workbench.csd > stack.titlebar:not(headerbar) { + padding: 0; + background: none; + border: 0; + box-shadow: none; + + headerbar { + &, &:first-child, &:last-child { border-radius: $roundness $roundness 0 0; } + } + } +} + + +/************************ + ! Unity-Control-Center * +*************************/ + +@include exports("unity-control-center") { + // Fixed: https://github.com/numixproject/numix-gtk-theme/issues/634 + .background:not(.csd):not(.solid-csd) > box.vertical > notebook.frame { + // hide unwanted frames + border: 0 none transparent; + + > stack > scrolledwindow > viewport > box.vertical > frame > box.vertical { + // reset $base_color; + iconview.view { + &, &:backdrop { + background-color: transparent; + } + + &:selected { + &:focus, & { + @extend %selected_items; + } + } + } + } + } +} + + +/**************** + ! Geary * +*****************/ + +@include exports("geary") { + .geary-expanded .geary-message-summary { + background-color: shade($base_color, 0.95); + } + + .geary-folder-popover-list-row { + border-color: shade($menu_bg_color, 1.2); + box-shadow: None; + + & > label { color: $bg_color; } + } + +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/apps/_gnome-terminal.scss b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_gnome-terminal.scss new file mode 100644 index 0000000..fd3af1c --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_gnome-terminal.scss @@ -0,0 +1,52 @@ +@import "widgets/button"; + +/********************** + ! Genome Terminal * +***********************/ + +@include exports("gnome-terminal") { + //noinspection ScssLintInspection,ScssLintInspection + VteTerminal { + background-color: $osd_base; + color: $osd_fg; + } + + terminal-window { + junction, scrollbar trough { + background-color: $osd_base; + border-color: border_normal($osd_base); + + //&:backdrop { + // background-color: shade($backdrop_osd_bg, .9); + // border-color: border_normal(shade($backdrop_osd_bg, .9)); + //} + } + + scrollbar.vertical { + slider { + background-color: mix($osd_base, $osd_fg, .2); + + &:hover { background-color: mix($osd_base, $osd_fg, .3); } + + &:hover:active { background-color: $selected_bg_color; } + + //&:backdrop { background-color: mix($backdrop_osd_fg, $backdrop_osd_bg, .4); } + + &:disabled { background-color: transparent; } + } + } + } +} + + +/********************** + ! Tilix * +***********************/ + +@include exports("tilix") { + .terminal-titlebar:active { + border-width: 0 0 2px 0; + border-style: solid; + border-color: $selected_bg_color; + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/apps/_lightdm.scss b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_lightdm.scss new file mode 100644 index 0000000..55e1d19 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_lightdm.scss @@ -0,0 +1,117 @@ +/*********************** + ! LightDM GTK Greeter * + ***********************/ + +@include exports("lightdm") { + #panel_window { + background-color: $lightdm_bg_color; + background-image: none; + color: $white; + font-weight: bold; + text-shadow: 0 1px alpha($black, .5); + -gtk-icon-shadow: 0 1px alpha($black, .5); + + menubar { + padding-left: $spacing; + + &, > menuitem { + background-color: transparent; + background-image: none; + border-style: none; + color: $white; + text-shadow: 0 1px alpha($black, .5); + -gtk-icon-shadow: 0 1px alpha($black, .5); + + &:hover { + background-color: alpha($white, .2); + background-image: none; + color: $white; + } + + *:hover { color: $white; } + + &:disabled { color: alpha($white, .7); } + } + + menu > menuitem { font-weight: normal; } + } + } + + #content_frame { padding-bottom: $spacing * 3; } + + #login_window, #shutdown_dialog, #restart_dialog { + border-style: none; + border-radius: $roundness; + background-color: $lightdm_bg_color; + color: $lightdm_fg_color; + + /* draw border using box-shadow */ + box-shadow: inset 1px 0 mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset -1px 0 mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset 0 1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset 0 -1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21); + + @extend %panelbutton; + } + + #login_window { + menu { border-radius: 0; } + + button { @include button($lightdm_bg_color, $lightdm_fg_color); } + + entry { @include entry($lightdm_bg_color, $lightdm_fg_color); } + } + + #user_combobox { + color: $lightdm_fg_color; + font-size: 18px; + + menu { font-weight: normal; } + + arrow { color: mix($lightdm_fg_color, $lightdm_bg_color, .5); } + } + + #user_image { + border-radius: $roundness; + + /* draw border using box-shadow */ + box-shadow: inset 1px 0 shade($lightdm_bg_color, .7), + inset -1px 0 shade($lightdm_bg_color, .7), + inset 0 1px shade($lightdm_bg_color, .7), + inset 0 -1px shade($lightdm_bg_color, .7); + } + + #user_image_border { + border-radius: $roundness; + background-color: shade($lightdm_bg_color, .9); + background-image: none; + box-shadow: inset 1px 0 alpha($dark_shadow, .07), + inset 0 1px alpha($dark_shadow, .08), + inset -1px 0 alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + } + + #buttonbox_frame { + padding-top: $spacing * 2; + padding-bottom: 0; + border-style: none; + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + background-color: transparent; + background-image: none; + box-shadow: none; + } + + /* shutdown button */ + #shutdown_button { + button { @include button($error_bg_color, $error_fg_color); } + } + + /* restart button */ + #restart_button { + button { @include button($warning_bg_color, $warning_fg_color); } + } + + /* password warning */ + #greeter_infobar { font-weight: bold; } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/apps/_mate-applications.scss b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_mate-applications.scss new file mode 100644 index 0000000..87e76a0 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_mate-applications.scss @@ -0,0 +1,86 @@ +@import "panel"; + +/**************** + ! MATE styles * +*****************/ + +@include exports("mate-applications") { + .mate-panel-menu-bar { + @extend %panel; + + border: 0; + padding: 0; + text-shadow: none; + } + + #PanelApplet label, + .mate-panel-menu-bar menubar > menuitem { + color: $panel_fg_color; + } + + PanelSeparator, MatePanelAppletFrameDBus { + border-width: 0; + color: transparent; + background-image: -gtk-scaled(url("../assets/pane-handle.png"), + url("../assets/pane-handle@2.png")); + background-color: transparent; + background-repeat: no-repeat; + background-position: left; + } + + #PanelApplet button, + #PanelApplet button.flat, + #PanelApplet button.toggle + #PanelApplet button.flat.toggle { + background-image: none; + background-color: transparent; + border-color: transparent; + border-style: solid; + border-radius: 0; + border-width: 1px; + color: $panel_fg_color; + text-shadow: none; + box-shadow: none; + padding: 2px; + } + + #PanelApplet button:hover:active, + #PanelApplet button:checked, + #PanelApplet button:checked:hover, + #PanelApplet button.flat:hover:active, + #PanelApplet button.flat:checked, + #PanelApplet button.flat:checked:hover, + #PanelApplet button.toggle:hover:active, + #PanelApplet button.toggle:checked, + #PanelApplet button.toggle:checked:hover, + #PanelApplet button.flat.toggle:hover:active, + #PanelApplet button.flat.toggle:checked, + #PanelApplet button.flat.toggle:checked:hover { + background-image: none; + background-color: darker($panel_bg_color); + border-color: transparent; + border-radius: 0; + border-width: 1px; + color: lighter($panel_fg_color); + text-shadow: none; + padding: 2px; + } + + #PanelApplet button:hover, + #PanelApplet button.flat:hover, + #PanelApplet button.toggle:hover, + #PanelApplet button.flat.toggle:hover { + background-image: none; + background-color: shade($panel_bg_color, 1.3); + border-color: transparent; + border-radius: 0; + border-width: 1px; + color: $selected_fg_color; + text-shadow: none; + padding: 2px; + } + + .mate-panel-menu-bar menubar > menuitem { + padding: 3px 7px; + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/apps/_nautilus.scss b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_nautilus.scss new file mode 100644 index 0000000..1b51e55 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_nautilus.scss @@ -0,0 +1,92 @@ +/************ + ! Nautilus * +*************/ + +@include exports("nautilus") { + .nautilus-desktop, .nautilus-desktop * { + &, &:backdrop { + color: $white; + text-shadow: 1px 1px $black; + + &:active { color: $fg_color; } + + &:selected { color: $selected_fg_color; } + + &:active, &:hover, &:selected { text-shadow: none; } + } + } + + .nautilus-window { + toolbar { + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($toolbar_bg_color); + } + + .sidebar { + border: 0; + + frame { border: 0; } + } + + notebook { + background-color: $base_color; + border: 0; + + frame { border: 0; } + } + + .searchbar-container { + margin-top: -1px; + + searchbar { + padding-top: $spacing - 3px; + padding-bottom: $spacing - 2px; + border-bottom: 1px solid $borders_color; + } + } + } + + button.nautilus-circular-button.image-button { + @extend button.circular; + } + + $disk_space_unknown: alpha($fg_color, .5); + $disk_space_used: alpha($selected_bg_color, .8); + $disk_space_free: shade($bg_color, .95); + + .disk-space-display { + border-style: solid; + border-width: 1px; + + &.unknown { + background-color: $disk_space_unknown; + border-color: shade($disk_space_unknown, .9); + } + + &.used { + background-color: $disk_space_used; + border-color: shade($disk_space_used, .9); + } + + &.free { + background-color: $disk_space_free; + border-color: shade($disk_space_free, .9); + } + } + + // Batch renaming dialog + .conflict-row.activatable { + &, &:active { + color: $error_fg_color; + background-color: $error_color; + } + + &:hover { background-color: shade($error_color, 1.1); } + + &:selected { + color: $selected_fg_color; + background-color: $selected_bg_color; + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/apps/_nemo.scss b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_nemo.scss new file mode 100644 index 0000000..3028cdd --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_nemo.scss @@ -0,0 +1,174 @@ +/******** + ! Nemo * +*********/ + +@include exports("nemo") { + .nemo-desktop, .nemo-desktop * { + &, &:backdrop { + color: $white; + text-shadow: 1px 1px $black; + + &:active { color: $fg_color; } + + &:selected { color: $selected_fg_color; } + + &:active, &:hover, &:selected { text-shadow: none; } + } + } + + .nemo-window { + toolbar { + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($toolbar_bg_color); + + button { + @include button($bg_color, $fg_color); + } + + .linked > button { @include linked_button($bg_color); } + + separator, separator:disabled { + color: shade($bg_color, ($contrast + .1)); + border-color: currentColor; + -GtkWidget-window-dragging: true; + } + + &.primary-toolbar button.image-button { + padding: 0 ($spacing + 5px); + } + + combobox, button { + padding: $spacing; + + &.text-button { padding: $spacing; } + + &.image-button { padding: $spacing; } + } + + /* Path Bar */ + toolitem stack { + margin-left: 15px; + + widget button { + @include linked_button($toolbar_bg_color); + -NemoPathbarButton-border-radius: $roundness; + } + } + } // END toolbar + + /* Status Bar */ + grid { + > widget:last-child { + button { + min-height: 16px; + min-width: 16px; + padding: ($spacing - 1px) (($spacing * 2) - 2px); + } + + button:first-child { + margin-left: 20px; + } + + button:first-child + button { + margin-right: 15px; + } + + button:first-child + button + separator + button { + margin-left: 15px; + } + + > box > scale { + margin-right: 12px; + } + + statusbar { + border: 0; + } + } + } // END Status Bar + + .sidebar { + .frame { + border: 0; + } + + image { + padding-left: $spacing; + padding-right: $spacing; + } + + .nemo-places-sidebar { + &, & .view { + background-color: mix($bg_color, $base_color, .5); + } + + .view { + -NemoPlacesTreeView-disk-full-bg-color: shade($bg_color, .8); + -NemoPlacesTreeView-disk-full-fg-color: $selected_bg_color; + -NemoPlacesTreeView-disk-full-bar-width: 2px; + -NemoPlacesTreeView-disk-full-bar-radius: 1px; + -NemoPlacesTreeView-disk-full-bottom-padding: 0; + -NemoPlacesTreeView-disk-full-max-length: 75px; + + &:selected { + -NemoPlacesTreeView-disk-full-bg-color: $selected_fg_color; + -NemoPlacesTreeView-disk-full-fg-color: shade($selected_bg_color, 1.2); + + &:focus, & { + @extend %selected_items; + } + } + } + } + + /* Nemo Query Editor (File Search Bar) */ + + separator + box .primary-toolbar { + @include linear-gradient(shade($bg_color, .98)); // Searchbar color (_actionbar.scss) + + padding-top: $spacing - 3px; + padding-bottom: $spacing - 4px; + border-bottom: 1px solid $borders_color; + + button:nth-child(2) { + border-right: none; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + button:nth-child(3) { + margin-left: -6px; + border-left: none; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + + button.flat { + $bg: $bg_color; + $fg: $fg_color; + $border_strength: if(lightness($bg) > 50, 0, .1); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + $button_bg: if(hue($bg) == 0deg, shade($bg, 1.2), $bg); + + @extend %button; + @include linear-gradient($button_bg); + @include border(rgba(0, 0, 0, .12 + $border_strength)); + + color: $fg; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + padding: 5px 6px; + } + } // END Nemo Query Editor + } // END .sidebar + + notebook { + background-color: $base_color; + border-width: 0; + + tabs { + border: 0; + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/apps/_panel.scss b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_panel.scss new file mode 100644 index 0000000..76b9045 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_panel.scss @@ -0,0 +1,95 @@ +/*********************** + ! Fallback mode panel * +************************/ + +@include exports("panel") { + %panel { + @include linear-gradient($panel_bg_color); + + color: $panel_fg_color; + } + + %panellabel { + font-weight: normal; + color: $panel_fg_color; + } + + %panelbutton { + border-width: 0 1px; + border-radius: 0; + border-color: transparent; + background-color: transparent; + background-image: none; + color: $panel_fg_color; + + &:hover { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .11)); + + border-color: mix($panel_bg_color, $panel_fg_color, .11); + color: shade($panel_fg_color, 1.08); + } + + &:active, &:checked { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .21), to top); + + border-color: mix($panel_bg_color, $panel_fg_color, .21); + color: shade($panel_fg_color, 1.08); + + &:hover { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .31), to top); + + border-color: mix($panel_bg_color, $panel_fg_color, .31); + } + } + } + + panel-plug, + panel-toplevel.background { + @extend %panel; + + padding: 0; + } + + .gp-text-color { + color: $black; + } + + #clock-applet-button, + #tasklist-button, + #showdesktop-button { + &, &:backdrop { @extend %panelbutton; } + } + + panel-applet { + border: 0; + + button { + &, &:backdrop { @extend %panelbutton; } + } + } + + clock-box, + panel-applet > menubar, + panel-toplevel .gnome-panel-menu-bar { + &, &:backdrop { + @extend %panel; + + menuitem { + @extend %panel; + + border: 0; + + label { @extend %panellabel; } + } + } + } + + gp-calendar-window, + #tasklist-button, + #clock-applet-button, + #showdesktop-button { + label { @extend %panellabel; } + } + + wnck-pager, wnck-tasklist { @extend %panel; } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/apps/_synaptic.scss b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_synaptic.scss new file mode 100644 index 0000000..c19b78e --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_synaptic.scss @@ -0,0 +1,15 @@ +/************ + ! Synaptic * +*************/ + +@include exports("synaptic") { + GtkWindow > GtkVBox > .dock { + &, > GtkHBox > GtkToolbar { + @include linear-gradient($toolbar-bg-color); + + padding: $spacing; + border: 0; + color: $toolbar_fg_color; + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/apps/_unity-greeter.scss b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_unity-greeter.scss new file mode 100644 index 0000000..70f5c3a --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_unity-greeter.scss @@ -0,0 +1,105 @@ +/*********************** + ! Unity Greeter * + ***********************/ + +@include exports("unity-greeter") { + @keyframes dashentry_spinner { + to { -gtk-icon-transform: rotate(1turn); } + } + + %lightdm-button { + background-image: none; + background-color: fade-out($black, .7); + border-color: fade-out($white, .1); + border-radius: ($roundness * 2) + 1px; + padding: $spacing; + color: $white; + } + + .lightdm { + &.menu { + background-image: none; + background-color: fade-out($black, .4); + border-color: fade-out($white, .8); + border-radius: $roundness * 2; + padding: 1px; + + color: $white; + + .menuitem { *, &.check:active, &.radio:active { color: $white; } } + } + + &.menubar { *, &.menuitem { padding: $spacing - 3px; } } + + &.option-button { + padding: $spacing; + background: none; + border: 0; + } + + &.toggle-button { + background: none; + border-width: 0; + + &.selected { + background-color: fade-out($black, .7); + border-color: fade-out($white, .7); + border-width: 1px; + + &:hover { background-color: fade-out($white, .7); } + } + } + + &.button { + @extend %lightdm-button; + + &:hover { + background-color: fade-out($white, .7); + border-color: fade-out($white, .4); + text-shadow: none; + } + } + + &.entry, &.button:active, &.button:active:focus, &.button:focus { + background-image: none; + background-color: fade-out($black, .7); + border-color: fade-out($white, .4); + border-radius: ($roundness * 2) + 1px; + padding: $spacing + 2px; + color: $white; + text-shadow: none; + } + + &.entry { + &:hover, &:active, &:active:focus { + background-image: none; + border-image: none; + } + + &:active { + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); + animation: dashentry_spinner 1s infinite linear; + } + + &:focus { + border-color: fade-out($white, .4); + border-width: 1px; + border-style: solid; + color: $white; + } + + &:selected { background-color: fade-out($white, .8); } + } + } + + .lightdm-combo { + &.combobox-entry .button, .cell, .button, .entry { @extend %lightdm-button; } + + &.menu { + background-color: shade($dark_bg_color, 1.08); + border-radius: 0; + padding: 0; + color: $white; + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/apps/_unity.scss b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_unity.scss new file mode 100644 index 0000000..54477cb --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_unity.scss @@ -0,0 +1,80 @@ +@import "panel"; + +/**************** + ! Unity styles * +*****************/ + +@include exports("unity") { + UnityDecoration { + -UnityDecoration-extents: 24px 1px 1px 1px; + -UnityDecoration-input-extents: 10px; + + -UnityDecoration-shadow-offset-x: 1px; + -UnityDecoration-shadow-offset-y: 1px; + -UnityDecoration-active-shadow-color: rgba(0, 0, 0, .7); + -UnityDecoration-active-shadow-radius: 8px; + -UnityDecoration-inactive-shadow-color: rgba(0, 0, 0, .5); + -UnityDecoration-inactive-shadow-radius: 5px; + + -UnityDecoration-glow-size: 10px; + -UnityDecoration-glow-color: $selected_bg_color; + + -UnityDecoration-title-indent: 10px; + -UnityDecoration-title-fade: 35px; + -UnityDecoration-title-alignment: 0; + + + .top { + border: 1px solid $wm_border_focused; + border-bottom: 0; + border-radius: $roundness $roundness 0 0; + padding: 1px ($spacing + 3px) 0 ($spacing + 3px); + background-color: $titlebar_bg_color; + color: mix($titlebar_fg_color, $titlebar_bg_color, .1); + text-shadow: none; + + // Fixed: https://github.com/numixproject/numix-gtk-theme/issues/632 + // for L.I.M's selected menuitem + &:hover { + border-radius: 0; + border-color: mix($panel_bg_color, $panel_fg_color, .21); + background-color: mix($panel_bg_color, $panel_fg_color, .21); + background-image: none; + color: shade($panel_fg_color, 1.08); + } + + &:backdrop { + border: 1px solid $wm_border_unfocused; + color: mix($titlebar_fg_color, $titlebar_bg_color, .4); + } + } + + .left, .right, .bottom { + background-color: $titlebar_bg_color; + + &:backdrop { background-color: mix(shade($titlebar_bg_color, .7), $titlebar_fg_color, .21); } + } + } + + UnityPanelWidget, .unity-panel { + @extend %panel; + + border: 0; + } + + .unity-panel { + &.menuitem, .menuitem { + border-width: 0 1px; + color: $panel_fg_color; + + &:hover, *:hover { + border-color: mix($panel_bg_color, $panel_fg_color, .21); + background-color: mix($panel_bg_color, $panel_fg_color, .21); + background-image: none; + color: shade($panel_fg_color, 1.08); + } + } + } + + SheetStyleDialog.unity-force-quit { background-color: $bg_color; } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/apps/_xfce.scss b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_xfce.scss new file mode 100644 index 0000000..2f2201e --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/apps/_xfce.scss @@ -0,0 +1,91 @@ +@import "panel"; + +/*************** + ! Xfce styles * +****************/ + +@include exports("xfce") { + .XfceHeading { + margin: 0; + padding: 0; + border: 0; + background-image: none; + background-color: $base_color; + color: $text_color; + } + + .xfce4-panel { + @extend %panel; + + font: inherit; + + button { @extend %panelbutton; } + + menu { + -gtk-icon-effect: none; + + text-shadow: none; + } + } + + #XfceNotifyWindow { + .osd { + background-color: $osd_bg; + color: $osd_fg; + border-radius: $roundness; + border: 1px solid border_normal($osd_bg); + } + + &.osd { + label { + &#summary { + font-weight: bold; + } + } + } + } + + #whiskermenu-window { + * { + border-color: border_normal($dark_bg_color); + outline: none; + } + + background-color: $dark_bg_color; + color: $dark_fg_color; + + entry { + background-color: shade($dark_bg_color, 1.2); + color: $dark_fg_color; + } + + button { + font-weight: bold; + padding: 6px 12px; + margin: 3px 0px; + border: none; + @include linear_gradient($dark_bg_color); + color: $dark_fg_color; + + &:focus, &:hover { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &:checked { + background-color: shade($selected_bg_color, .9); + color: $selected_fg_color; + } + } + + treeview { + background-color: shade($dark_bg_color, 1.2); + color: $dark_fg_color; + + &:selected, &:hover { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/gtk-dark.scss b/abbith-gtk-theme/src/gtk-3.20/scss/gtk-dark.scss new file mode 100644 index 0000000..fd46aa1 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/gtk-dark.scss @@ -0,0 +1,3 @@ +$variant: "dark"; + +@import "widgets"; diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/gtk.scss b/abbith-gtk-theme/src/gtk-3.20/scss/gtk.scss new file mode 100644 index 0000000..4455669 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/gtk.scss @@ -0,0 +1,3 @@ +$variant: "light"; + +@import "widgets"; diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_actionbar.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_actionbar.scss new file mode 100644 index 0000000..3c6aa02 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_actionbar.scss @@ -0,0 +1,99 @@ +@import "button"; +@import "toolbar"; + +/************** + ! Action-bar * +***************/ + +@include exports("actionbar") { + actionbar > revealer > box { + padding: $spacing; + border-top: 1px solid $borders_color; + + &:backdrop { border-color: $backdrop_borders_color; } + } +} + + +/**************************** + ! Search and Location bars * +*****************************/ + +@include exports("searchbar") { + searchbar, + .location-bar { + @include linear-gradient(shade($bg_color, .98)); + + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($bg_color); + color: $fg_color; + } +} + + +/****************** + ! Action buttons * +*******************/ + +@include exports("actionbuttons") { + $types: ( + suggested: $success_color, + destructive: $error-color + ); + + @each $type, $color in $types { + .#{$type}-action { + @include button($color, $selected_fg_color); + } + } +} + + +/****************** + ! Selection mode * +*******************/ + +@include exports("selectionmode") { + headerbar, + .titlebar:not(headerbar) { + &.selection-mode { + @include toolbar($selected_bg_color, $selected_fg_color); + + button { + @include button($selected_bg_color, $selected_fg_color); + + &.suggested-action { @extend .suggested-action; } + } + + &:backdrop { + background-color: $backdrop_selected_bg_color; + background-image: none; + } + + .selection-menu { + &:backdrop, & { + color: shade($selected_bg_color, $contrast); + background-color: transparent; + background-image: none; + box-shadow: none; + border: 0; + + &:hover { color: shade($selected_bg_color, ($contrast - .1)); } + + &:active { color: shade($selected_bg_color, ($contrast - .05)); } + + .arrow { + -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); + color: transparentize($selected_fg_color, .5); + -gtk-icon-shadow: none; + } + } + } + + .dim-label { + &, .selection-menu & { color: shade($selected_bg_color, ($contrast - .1)); } + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_base.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_base.scss new file mode 100644 index 0000000..db5e469 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_base.scss @@ -0,0 +1,131 @@ +/************** + ! GTK settings +***************/ + +* { + -GtkWindow-resize-grip-height: 0; + -GtkWindow-resize-grip-width: 0; + -WnckTasklist-fade-overlay-rect: 0; + + outline-color: alpha($selected_bg_color, .5); + outline-style: dashed; + outline-width: 1px; + outline-offset: -1px; + -gtk-outline-radius: $roundness; +} + + +/************* + ! Base states + *************/ + +%selected { + &, &:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } +} + +* { + /* hyperlinks */ + -GtkIMHtml-hyperlink-color: $link_color; + + &:selected { @extend %selected; } + + &:disabled, + &:disabled:disabled { color: mix($fg_color, $bg_color, .5); } + + &:disabled, &:disabled { -gtk-icon-effect: dim; } + + &:hover { -gtk-icon-effect: highlight; } + + &:link, &:visited { color: $link_color; } +} + +.background { + background-color: $bg_color; + color: $fg_color; + + &:backdrop { + text-shadow: none; + -gtk-icon-shadow: none; + } + + &.csd { background-color: $bg_color; } +} + +.gtkstyle-fallback { + background-color: alpha($bg_color, .5); + color: $fg_color; + + &:hover { + background-color: shade($bg_color, 1.1); + color: $fg_color; + } + + &:active { + background-color: shade($bg_color, .9); + color: $fg_color; + } + + &:disabled { + background-color: shade(shade($bg_color, .95), 1.05); + color: mix($fg_color, $bg_color, .5); + } + + &:selected { @extend %selected; } +} + +image, label, box, grid { + &, &:disabled { background-color: transparent; } +} + +label { + &.separator { + @extend .dim-label; + + color: $fg_color; + + &:backdrop { color: $backdrop_fg_color; } + } + + row:selected &, + &:selected { @extend %nobg_selected_items; } + + selection { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &:disabled { + color: $insensitive_fg_color; + + selection { @extend %selected_items:disabled; } + + &:backdrop { color: $backdrop_insensitive_color; } + } + + &:backdrop { + color: $backdrop_fg_color; + + selection { @extend %selected_items:backdrop; } + } +} + +assistant { + .sidebar { + background-color: $base_color; + border-top: 1px solid $borders_color; + + &:backdrop { + background-color: $backdrop_base_color; + border-color: $backdrop_borders_color; + } + } + + &.csd .sidebar { border-top-style: none; } + + .sidebar label { padding: $spacing ($spacing * 2); } + + .sidebar label.highlight { background-color: mix($fg_color, $bg_color, .8); } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_button.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_button.scss new file mode 100644 index 0000000..709acf3 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_button.scss @@ -0,0 +1,568 @@ +/********* + ! Buttons +**********/ + +@include exports("button_extends") { + // stuff for .needs-attention + $_dot_color: if($variant == 'light', $selected_bg_color, lighten($selected_bg_color, .15)); + + @keyframes needs_attention { + from { + background-image: -gtk-gradient(radial, center center, 0, center center, .01, to($_dot_color), to(transparent)); + } + + to { + background-image: -gtk-gradient(radial, center center, 0, center center, .5, to($selected_bg_color), to(transparent)); + } + } + + %needs_attention { + animation: needs_attention 150ms ease-in; + $_dot_shadow: _text_shadow_color(); + $_dot_shadow_r: if($variant == 'light', .5, .45); + background-image: -gtk-gradient(radial, center center, 0, center center, .5, to($_dot_color), to(transparent)), + -gtk-gradient(radial, center center, 0, center center, $_dot_shadow_r, to($_dot_shadow), to(transparent)); + background-size: 6px 6px, 6px 6px; + background-repeat: no-repeat; + + @if $variant == 'light' { + background-position: right 3px, right 4px; + } @else { + background-position: right 3px, right 2px; + } + + &:backdrop { background-size: 6px 6px, 0 0; } + + &:dir(rtl) { + @if $variant == 'light' { + background-position: left 3px, left 4px; + } @else { + background-position: left 3px, left 2px; + } + } + } + + %button { + //min-height: 16px; + //min-width: 16px; + padding: $spacing ($spacing + 1); + border-width: 1px; + border-style: solid; + border-radius: $roundness; + transition: 150ms ease; + outline-color: transparent; + } + + %undecorated_button { + border-color: transparent; + background-color: transparent; + background-image: none; + box-shadow: none; + } + + %linked_middle { + border-radius: 0; + border-left-style: none; + border-right-style: solid; + + &:dir(rtl) { + border-radius: 0; // needed when including %linked_middle:dir(rtl) + border-right-style: none; + border-left-style: solid; + } + } + + %linked_vertical_middle { + border-radius: 0; + border-top-style: none; + border-bottom-style: solid; + + &:dir(rtl) { + border-radius: 0; // needed when including %linked_vertical_middle:dir(rtl) + border-top-style: none; + border-bottom-style: solid; + } + } + + %linked_button { + border-width: 1px; + border-style: solid; + border-radius: 0; + border-right-style: none; + border-left-style: none; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-left-style: solid; + border-right-style: none; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + + &:dir(rtl) { + border-left-style: none; + border-right-style: solid; + } + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-left-style: none; + border-right-style: solid; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + + &:dir(rtl) { + border-left-style: solid; + border-right-style: none; + } + } + + &:only-child, &:first-child:only-child { + border-width: 1px; + border-style: solid; + } + + &:only-child { + border-radius: $roundness; + } + } + + %linked_vertical_button { + border-width: 1px; + border-style: solid; + border-radius: 0; + border-top-style: none; + border-bottom-style: none; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-top-style: solid; + border-bottom-style: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + + &:dir(rtl) { + border-top-style: none; + border-bottom-style: solid; + } + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-top-style: none; + border-bottom-style: solid; + border-top-left-radius: 0; + border-top-right-radius: 0; + + &:dir(rtl) { + border-top-style: solid; + border-bottom-style: none; + } + } + + &:only-child, &:first-child:only-child { + border-width: 1px; + border-style: solid; + } + + &:only-child { + border-radius: $roundness; + } + } +} + +@mixin linked_button($bg) { + $border_strength: if(lightness($bg) > 50, 0, .1); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + @extend %linked_button; + + box-shadow: inset -1px 0 border_normal(rgba(0, 0, 0, .12 + $border_strength)), + 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + + &:focus, &:hover { + box-shadow: inset -1px 0 border_focus(rgba(0, 0, 0, .12 + $border_strength)), + 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); + } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { + box-shadow: inset -1px 0 border_active(rgba(0, 0, 0, .12 + $border_strength)), + inset 0 1px alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + } + + &:disabled { box-shadow: inset -1px 0 shade($bg, .8); } + + &:last-child, &:only-child { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); } + + &:last-child:hover, &:only-child:hover { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); } + + &:disabled:last-child, &:disabled:only-child, + &:active:disabled:last-child, &:active:disabled:only-child, + &:checked:disabled:last-child, &:checked:disabled:only-child { box-shadow: none; } + + &:active:last-child, &:active:last-child:focus, &:active:last-child:hover, &:active:last-child:hover:focus, + &:checked:last-child, &:checked:last-child:focus, &:checked:last-child:hover, &:checked:last-child:hover:focus { + box-shadow: inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } + + &:active:only-child, &:active:only-child:focus, &:active:only-child:hover, &:active:only-child:hover:focus, + &:checked:only-child, &:checked:only-child:focus, &:checked:only-child:hover, &:checked:only-child:hover:focus { + box-shadow: inset 1px 0 alpha($dark_shadow, .06), + inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } +} + +@mixin linked_vertical_button($bg) { + $border_strength: if(lightness($bg) > 50, 0, .1); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + @extend %linked_vertical_button; + + box-shadow: inset 0 -1px border_normal(rgba(0, 0, 0, .12 + $border_strength)), + 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + + &:focus, &:hover { + box-shadow: inset 0 -1px border_focus(rgba(0, 0, 0, .12 + $border_strength)), + 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); + } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { + box-shadow: inset 0 -1px border_active(rgba(0, 0, 0, .12 + $border_strength)), + inset 1px 0 alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .05); + } + + &:disabled { box-shadow: inset 0 -1px shade($bg, .8); } + + &:last-child, &:only-child { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); } + + &:last-child:hover, &:only-child:hover { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); } + + &:disabled:last-child, &:disabled:only-child, + &:active:disabled:last-child, &:active:disabled:only-child, + &:checked:disabled:last-child, &:checked:disabled:only-child { box-shadow: none; } + + &:active:last-child, &:active:last-child:focus, &:active:last-child:hover, &:active:last-child:hover:focus, + &:checked:last-child, &:checked:last-child:focus, &:checked:last-child:hover, &:checked:last-child:hover:focus { + box-shadow: inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } + + &:active:only-child, &:active:only-child:focus, &:active:only-child:hover, &:active:only-child:hover:focus, + &:checked:only-child, &:checked:only-child:focus, &:checked:only-child:hover, &:checked:only-child:hover:focus { + box-shadow: inset 1px 0 alpha($dark_shadow, .06), + inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } +} + +@mixin button($bg, $fg) { + $border_strength: if(lightness($bg) > 50, 0, .1); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + $button_bg: if(lightness($bg) > 50, $bg, shade($bg, 1.2)); + + @extend %button; + @if (lightness($button_bg) > 50) { + border-color: border_normal($button_bg); + @include linear-gradient(shade($button_bg, 1.08)); + } @else { + @include linear-gradient($button_bg); + @include border(rgba(0, 0, 0, .12 + $border_strength)); + } + + color: $fg; + + + &.flat { + border-color: alpha($button_bg, 0); + background-color: alpha($button_bg, 0); + background-image: none; + box-shadow: none; + } + + &, &.flat { + &:focus, &:hover { + @if (lightness($button_bg) > 50) { + border-color: border_active($button_bg); + @include linear-gradient(shade($button_bg, 1.11)); + } @else { + @include linear-gradient(shade($button_bg, 1.2)); + @include border(rgba(0, 0, 0, .2 + $border_strength)); + } + + + } + + + &:checked, &:active { + @if (lightness($button_bg) > 50) { + @include linear-gradient(shade($button_bg, .8), to top); + } @else { + @include linear-gradient(shade($button_bg, .7), to top); + } + color: $white; + + &:focus, &:hover { + @if (lightness($button_bg) > 50) { + @include linear-gradient(shade($button_bg, .75), to top); + } @else { + @include linear-gradient(shade($button_bg, .65), to top); + } + color: $white; + } + } + + &:focus, &:hover { color: $fg; } + + &:active:disabled, &:checked:disabled { + @include linear-gradient(shade($button_bg, .9)); + + color: $fg; + box-shadow: none; + } + + &:disabled:disabled { + @if (lightness($button_bg) > 50) { + @include linear-gradient(shade($button_bg, .95)); + } @else { + @include linear-gradient(alpha($button_bg, .3)); + } + + color: mix($bg, $fg, .5); + box-shadow: none; + } + } + + // Fixed: https://github.com/numixproject/numix-gtk-theme/issues/572 + // Webkitgtk workaround start + &:active { color: $fg; } + // Webkitgtk workaround end + + &.flat { + &:disabled:disabled { + background-color: transparent; + background-image: none; + color: mix($bg, $fg, .5); + box-shadow: none; + } + } + + &.separator, .separator { + border: 1px solid currentColor; + color: shade($bg, ($contrast + .1)); + + &:disabled { color: shade($button_bg, .85); } + } +} + +@include exports("button") { + %close_button { + border: 1px solid transparent; + background-color: transparent; + background-image: none; + box-shadow: none; + + &:focus, &:hover { + border: 1px solid alpha($bg_color, .1); + background-color: alpha($white, .2); + background-image: none; + box-shadow: none; + } + + &:active, &:checked, &:active:hover, &:checked:hover { + border: 1px solid alpha($selected_bg_color, .2); + background-color: alpha($white, .2); + background-image: none; + box-shadow: none; + } + } + + button { + @include button($bg_color, $fg_color); + + .inline-toolbar &, + .linked > & { @include linked_button($bg_color); } + + .linked.vertical > & { @include linked_vertical_button($bg_color); } + + &.circular, + &.circular-button { // FIXME: aggregate to buttons + padding: 0; + min-width: 28px; + min-height: 28px; + border-radius: 9999px; // Fixed: https://github.com/GNOME/gtk/commit/a6409458f0d50d673a4dc370b9251993b7835b6b + -gtk-outline-radius: 9999px; + + label { padding: 0; } + } + } + + spinbutton { + button { + color: mix($text_color, $base_color, .4); + + &:active, &:checked, &:hover { color: $text_color; } + + &:disabled { color: alpha($insensitive_fg_color, .8); } + + &:backdrop { color: mix($backdrop_base_color, $backdrop_fg_color, .9); } + + &:backdrop:disabled { color: alpha($backdrop_insensitive_color, .8); } + } + + &:not(.vertical) { + @if (lightness($bg_color) > 50) { + border: 1px solid border_normal($bg_color); + background-color: transparent; + background-image: none; + box-shadow: inset 1px 0 shade($base_color, .9); + } @else { + @extend %entry; + @include linear-gradient($base_color, to top); + @include border($base_color); + } + + padding: 0; + + color: $text_color; + caret-color: $text_color; + + &:focus, &:active { border-color: border_focus($borders_color); } + + &:disabled { + @include linear-gradient(shade($base_color, .9), to top); + color: mix($base_color, $text_color, .5); + } + + entry { + // reset all the other props since the spinbutton node is styled here + border: 0; + border-radius: 0; + box-shadow: none; + } + + button { + border-radius: 0; + border-color: alpha($borders_color, .8); + border-style: none none none solid; + background-image: none; + box-shadow: none; + + @if (lightness($bg_color) > 50) { + background-color: shade($bg_color, 1.08); + } + + &:hover { + @if (lightness($bg_color) > 50) { + background-color: shade($bg_color, 1.11); + } + } + + &:dir(rtl) { border-style: none solid none none; } + + &:active { box-shadow: inset 0 2px 3px -1px transparentize($black, .8); } + + &:backdrop { border-color: alpha($backdrop_borders_color, .8); } + + &:backdrop:disabled { + border-style: none none none solid; // It is needed or it gets overridden + &:dir(rtl) { border-style: none solid none none; } + } + + &:dir(rtl):first-child { border-radius: $roundness 0 0 $roundness; } + + &:dir(ltr):last-child { border-radius: 0 $roundness $roundness 0; } + } + } + + &.vertical { + button, entry { + min-width: 0; + padding-left: $spacing - 2px; + padding-right: $spacing - 2px; + } + + entry { + // reset all the other props since the spinbutton node is styled here + border-radius: 0; + } + + button { + &.up { + border-style: solid solid none solid; + border-radius: $roundness $roundness 0 0; + } + + &.down { + border-style: none solid solid solid; + border-radius: 0 0 $roundness $roundness; + } + } + } + } +} + +/****************** +! ComboBoxes * +*******************/ + +@include exports("combobox") { + combobox { + button.combo { + // otherwise the arrow placement is not symmetric + min-width: 0; + //padding-left: $spacing + 1px; + //padding-right: $spacing + 1px; + } + + arrow { + -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); + min-height: 16px; + min-width: 16px; + } + + box button, box entry { + @extend %linked_button; + } + + //hack to get rid of extra +1px height in linked combobox + //.linked:not(.vertical) button.combo { padding: 4px; } + + .linked:not(.vertical) > & > box > button.combo { + // the combo is a composite widget so the way we do button linked doesn't + // work, special case needed. See + // https://bugzilla.gnome.org/show_bug.cgi?id=733979 + &:dir(ltr) { @extend %linked_middle; } + // specificity bump + &:dir(rtl) { @extend %linked_middle:dir(rtl); } + } + + .linked:not(.vertical) > &:first-child > box > button.combo { @extend %linked_button:first-child; } + + .linked:not(.vertical) > &:last-child > box > button.combo { @extend %linked_button:last-child; } + + .linked:not(.vertical) > &:only-child > box > button.combo { @extend %linked_button:only-child; } + + .linked.vertical > & > box > button.combo { @extend %linked_vertical_middle; } + + .linked.vertical > &:first-child > box > button.combo { @extend %linked_vertical_button:first-child; } + + .linked.vertical > &:last-child > box > button.combo { @extend %linked_vertical_button:last-child; } + + .linked.vertical > &:only-child > box > button.combo { @extend %linked_vertical_button:only-child; } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_calendar.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_calendar.scss new file mode 100644 index 0000000..5f68de3 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_calendar.scss @@ -0,0 +1,73 @@ +/********** + ! Calendar +***********/ + +@include exports("calendar") { + calendar { + padding: 1px 3px; + outline-offset: -1px; + + color: $text_color; + + &.view { + &, &:backdrop { @extend %undecorated_button; } + } + + &:selected { + @extend %selected_items; + + border-radius: $roundness; + } + + &.header { + border-bottom: 1px solid transparentize($black, .9); + border-radius: 0; + + &:backdrop { border-color: transparentize($black, .9); } + } + + &.button { + @extend %undecorated_button; + + color: alpha($fg_color, .55); + + &:hover { + @extend %undecorated_button; + + color: $fg_color; + } + + &:backdrop { + @extend %undecorated_button; + + color: alpha($backdrop_fg_color, .55); + } + + &:disabled { + @extend %undecorated_button; + + color: alpha($insensitive_fg_color, .55); + } + } + + &:indeterminate, + &:indeterminate:backdrop { color: mix($fg_color, $bg_color, .5); } + + &.highlight, + &.highlight:backdrop { + font-size: smaller; + color: $selected_bg_color; + } + + &:backdrop { + color: $backdrop_text_color; + } + } + + /* gnome-calendar */ + .calendar-view { + background-color: $base_color; + color: $text_color; + } +} + diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_choosers.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_choosers.scss new file mode 100644 index 0000000..6741bd8 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_choosers.scss @@ -0,0 +1,181 @@ +/*************** + ! Color chooser +****************/ + +@include exports("colorchooser") { + colorswatch { + // This widget is made of two boxes one on top of the other, the lower box is colorswatch {} the other one + // is colorswatch overlay {}, colorswatch has the programmatically set background, so most of the style is + // applied to the overlay box. + + &:drop(active), & { border-style: none; } // FIXME: implement a proper drop(active) state + + $_colorswatch_radius: $roundness; + + // base color corners rounding + // to avoid the artifacts caused by rounded corner anti-aliasing the base color + // sports a bigger radius. + // nth-child is needed by the custom color strip. + + &.top { + border-top-left-radius: $_colorswatch_radius + .5px; + border-top-right-radius: $_colorswatch_radius + .5px; + + overlay { + border-top-left-radius: $_colorswatch_radius; + border-top-right-radius: $_colorswatch_radius; + } + } + + &.bottom { + border-bottom-left-radius: $_colorswatch_radius + .5px; + border-bottom-right-radius: $_colorswatch_radius + .5px; + + overlay { + border-bottom-left-radius: $_colorswatch_radius; + border-bottom-right-radius: $_colorswatch_radius; + } + } + + &.left, + &:first-child:not(.top) { + border-top-left-radius: $_colorswatch_radius + .5px; + border-bottom-left-radius: $_colorswatch_radius + .5px; + + overlay { + border-top-left-radius: $_colorswatch_radius; + border-bottom-left-radius: $_colorswatch_radius; + } + } + + &.right, + &:last-child:not(.bottom) { + border-top-right-radius: $_colorswatch_radius + .5px; + border-bottom-right-radius: $_colorswatch_radius + .5px; + + overlay { + border-top-right-radius: $_colorswatch_radius; + border-bottom-right-radius: $_colorswatch_radius; + } + } + + &.dark overlay { + color: $selected_fg_color; + + &:hover { border-color: if($variant == 'light', transparentize($black, .2), $borders_color); } + + &:backdrop { color: $backdrop_selected_fg_color; } + } + + &.light overlay { + color: $text_color; + + &:hover { border-color: if($variant == 'light', transparentize($black, .5), $borders_color); } + + &:backdrop { color: $backdrop_text_color; } + } + + &:drop(active) { + box-shadow: none; + + &.light overlay { + border-color: $drop_target_color; + box-shadow: inset 0 0 0 2px if($variant == 'light', darken($drop_target_color, 7%), $borders_color), + inset 0 0 0 1px $drop_target_color; + } + + &.dark overlay { + border-color: $drop_target_color; + box-shadow: inset 0 0 0 2px if($variant == 'light', transparentize($black, .7), $borders_color), + inset 0 0 0 1px $drop_target_color; + } + } + + overlay { + border: 1px solid if($variant == 'light', transparentize($black, .7), $borders_color); + + &:hover { + box-shadow: inset 0 1px transparentize($white, .6), + inset 0 -1px transparentize($black, .8); + } + + &:backdrop, + &:backdrop:hover { + border-color: if($variant == 'light', transparentize($black, .7), $borders_color); + box-shadow: none; + } + } + + &:disabled { + opacity: .5; + + overlay { + border-color: transparentize($black, .4); + box-shadow: none; + } + } + + row:selected & { box-shadow: 0 0 0 2px $selected_fg_color; } + + &#add-color-button { + border-radius: $_colorswatch_radius $_colorswatch_radius 0 0; + + &:only-child { border-radius: $_colorswatch_radius; } + + overlay { + background-color: shade($bg_color, .95); + color: $fg_color; + + &:hover { background-color: shade($bg_color, .9); } + + &:backdrop { background-color: shade($backdrop_bg_color, .95); } + } + } + + &#editor-color-sample { + border-radius: $_colorswatch_radius; + + overlay { border-radius: $_colorswatch_radius + .5px; } + } + } + + button.color { + padding: $spacing; + + colorswatch:only-child { + &, overlay { border-radius: 0; } + + @if $variant == 'light' { box-shadow: 0 1px _text_shadow_color(); } + } + + @if $variant == 'light' { + &:disabled, + &:backdrop, + &:active, + &:checked { colorswatch:only-child { box-shadow: none; } } + } + } +} + + +/*********************** +! Font and file choosers +************************/ + +@include exports("miscchoosers") { + filechooser { + /* for fallback when header bar not used */ + .dialog-action-box { + border-top: 1px solid $borders_color; + + &:backdrop { border-top-color: $backdrop_borders_color; } + } + + #pathbarbox { border-bottom: 1px solid $bg_color; } + } + + filechooserbutton:drop(active) { + box-shadow: none; + border-color: transparent; + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_entry.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_entry.scss new file mode 100644 index 0000000..baa07e4 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_entry.scss @@ -0,0 +1,181 @@ +/********* + ! Entry * +**********/ + +%linked_entry { + border-width: 1px; + border-radius: 0; + border-right-width: 0; + border-left-width: 0; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-right-width: 0; + border-bottom-right-radius: 0; + border-top-right-radius: 0; + + &:dir(rtl) { + border-left-width: 0; + border-right-width: 1px; + } + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + + &:dir(rtl) { + border-left-width: 1px; + border-right-width: 0; + } + } + + &:only-child, &:first-child:only-child { + border-width: 1px; + } + + &:only-child { + border-radius: $roundness; + } +} + +%linked_vertical_entry { + border-width: 1px; + border-radius: 0; + border-top-width: 0; + border-bottom-width: 0; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-top-width: 1px; + border-bottom-width: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + + &:dir(rtl) { + border-top-width: 0; + border-bottom-width: 1px; + } + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-top-width: 0; + border-bottom-width: 1px; + border-top-left-radius: 0; + border-top-right-radius: 0; + + &:dir(rtl) { + border-top-width: 1px; + border-bottom-width: 0; + } + } + + &:only-child, &:first-child:only-child { + border-width: 1px; + } + + &:only-child { + border-radius: $roundness; + } +} + +%entry { + border-width: 1px; + border-style: solid; + border-radius: $roundness; + border-color: border_normal($bg_color); + transition: border 100ms ease-out; + &:focus, &:hover, &:active { transition: border 100ms ease-in; } + + box-shadow: inset 1px 0 alpha($dark_shadow, 0.10), + inset 0 1px alpha($dark_shadow, 0.12), + inset -1px 0 alpha($dark_shadow, 0.10), + inset 0 -1px alpha($dark_shadow, 0.05); + + + + &:selected { + &, &:selected:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + &:disabled { box-shadow: none; } + + progress { + @include linear-gradient($selected_bg_color); + + border-width: 0; + border-radius: $roundness; + color: $selected_fg_color; + } + + image.left { padding-right: $spacing; } + + image.right { padding-left: $spacing; } + + selection { @extend %selected_items; } + + // entry error and warning style + @each $e_type, $e_color, $e_fg_color in (warning, $warning_bg_color, $warning_fg_color), + (error, $error_bg_color, $error_fg_color), + // entry.search-missing for Gnome-Builder + (search-missing, $error_bg_color, $error_fg_color) { + &.#{$e_type} { + color: $e_fg_color; + border-color: border_normal($e_color); + background-color: mix($base_color, $e_color, .6); + + image { color: $e_fg_color; } + + &:focus { + color: $e_fg_color; + border-color: border_focus($e_color); + background-color: $e_color; + box-shadow: none; + } + + selection { + background-color: $e_fg_color; + color: $e_color; + } + } + } +} + +@mixin entry($bg, $fg, $border: $borders_color) { + @extend %entry; + @include linear-gradient($bg, to top); + border-color: border_normal($bg); + + padding: $spacing; + + color: $fg; + caret-color: $fg; + + &:focus, &:active { border-color: border_focus($border); } + + &:disabled { + @include linear-gradient(shade($bg, .9), to top); + + color: mix($bg, $fg, .5); + } +} + +@include exports("entry") { + entry { + @include entry($base_color, $text_color); + + .linked:not(.vertical) > & { @extend %linked_entry; } + + .linked.vertical > & { @extend %linked_vertical_entry; } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_grid.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_grid.scss new file mode 100644 index 0000000..7a16dca --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_grid.scss @@ -0,0 +1,63 @@ +/****************** + ! Grid and flowbox +*******************/ + +@include exports("grid") { + list { + color: $text_color; + background-color: $base_color; + border-color: $borders_color; + + &:backdrop { + background-color: $backdrop_base_color; + border-color: $backdrop_borders_color; + } + + row { padding: $spacing; } + } + + row { + transition: all 150ms cubic-bezier(.25, .46, .45, .94); + + &:hover { transition: none; } + + &:backdrop { transition: 200ms ease-out; } + + &.activatable { + &.has-open-popup, // this is for indicathing which row generated a popover see https://bugzilla.gnome.org/show_bug.cgi?id=754411 + + &:hover { background-color: if(variant == light, transparentize($fg_color, .9), transparentize($fg_color, .95)); } + + &:active { box-shadow: inset 0 2px 2px -2px transparentize($black, .8); } + + &:backdrop:hover { background-color: transparent; } + + &:selected { + &:active { box-shadow: inset 0 2px 3px -1px transparentize($black, .5); } + + &.has-open-popup, + &:hover { background-color: mix($selected_bg_color, $fg_color, .1); } + + &:backdrop { background-color: $selected_bg_color; } + } + } + + &:selected { @extend %selected_items; } + } + + flowbox { + rubberband { @extend rubberband; } + + flowboxchild { + padding: $spacing; + border-radius: $roundness; + + &:selected { + @extend %selected_items; + + outline-offset: -2px; + } + } + } +} + diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_infobar.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_infobar.scss new file mode 100644 index 0000000..bf82db2 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_infobar.scss @@ -0,0 +1,41 @@ +@import "button"; + + +/********* + ! Infobar +**********/ + +@include exports("infobar") { + infobar { + border: 0; + + $types: ( + info: ($info_fg_color, $info_bg_color), + warning: ($warning_fg_color, $warning_bg_color), + question: ($question_fg_color, $question_bg_color), + error: ($error_fg_color, $error_bg_color), + ); + + @each $type, $colors in $types { + $fg_color: nth($colors, 1); + $bg_color: nth($colors, 2); + + &.#{$type} { + &, &:backdrop { // Backdrop button fix: https://github.com/numixproject/numix-gtk-theme/issues/544 + @include linear-gradient($bg_color); + + border: 1px solid shade($bg_color, .8); + caret-color: currentColor; + + label, & { color: $fg_color; } + } + + button { + @include button($bg_color, $fg_color); + + &.close { @extend %close_button; } + } + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_menu.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_menu.scss new file mode 100644 index 0000000..f3e1207 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_menu.scss @@ -0,0 +1,352 @@ +@import "entry"; + + + +@mixin menu_calendar($bg, $fg) { + color: $fg; + + &.header { + border-bottom: 1px solid shade($bg, ($contrast + .1)); + border-radius: 0; + + &:backdrop { border-color: shade($bg, ($contrast + .1)); } + } + + &.button { + @extend %undecorated_button; + color: alpha($fg, .55); + + &:hover { + @extend %undecorated_button; + color: $fg; + } + } + + &:indeterminate, + &:indeterminate:backdrop { color: mix($fg, $bg, .5); } +} + + +/********* + ! Menubar +**********/ + +@include exports("menubar") { + menubar, .menubar { + -GtkWidget-window-dragging: true; + + padding: 0; + border: 0; + background-color: $menubar_bg_color; + background-image: none; + //box-shadow: inset 0 -1px shade($menubar_bg_color, .9); + color: $menubar_fg_color; + + > menuitem { + min-height: 16px; + padding: ($spacing - 1px) ($spacing - 1px) * 2; + border: 1px solid transparent; + background-color: transparent; + background-image: none; + color: $menubar_fg_color; + + &:hover { + border-color: mix($menubar_bg_color, $menubar_fg_color, .21); + background-color: mix($menubar_bg_color, $menubar_fg_color, .21); + background-image: none; + color: shade($menubar_fg_color, 1.08); + } + + *:hover { color: shade($menubar_fg_color, 1.08); } + } + } +} + + +/****** + ! Menu +*******/ + +@include exports("menu") { + menu, + .menu, + .context-menu { + border: 0; + border-radius: 0; + padding: 0; + background-color: $menu_bg_color; + color: $menu_fg_color; + + .csd & { border: 0; } // axes borders in a composited env + + &:selected { background-color: $selected_bg_color; } + + // A little hack to get some extra space above/below menuitem separators + separator, + .csd & separator { + background-color: shade($menu_bg_color, ($contrast + .1)); + margin: 1px 0; + } + + // Firefox workaround + .separator, + .csd & .separator { color: shade($menu_bg_color, ($contrast + .1)); } + + menuitem { + min-height: 14px; + min-width: 40px; + padding: $spacing - 1px; + border-radius: 0; + + &:active, &:hover { + border: 0; + background-color: $selected_bg_color; + background-image: none; + color: $selected_fg_color; + } + + *:active, *:hover { color: $selected_fg_color; } + + &:disabled, *:disabled { color: mix($menu_fg_color, $menu_bg_color, .5); } + + // submenu indicators + arrow { + min-height: 14px; + min-width: 14px; + + &:dir(ltr) { + -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); + margin-left: 10px; + } + + &:dir(rtl) { + -gtk-icon-source:-gtk-icontheme('pan-end-symbolic-rtl'); + margin-right: 10px; + } + } + + &.button, &.button.flat { + &, &:focus, &:active, &:disabled, &:active:disabled { + background-color: transparent; + background-image: none; + border: 0; + box-shadow: none; + color: currentColor; + } + + &:hover, &:focus:hover, &:active:hover, &:selected { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + calendar { @include menu_calendar($menu_bg_color, $menu_fg_color); } + + // avoids labels color being overridden, see + // https://bugzilla.gnome.org/show_bug.cgi?id=767058 + label { &:dir(rtl), &:dir(ltr) { color: inherit; } } + } + + // overflow arrows + > arrow { + //@include button(undecorated); + + min-height: 14px; + min-width: 14px; + padding: $spacing; + background-color: $menu_bg_color; + border-radius: 0; + + &.top { + margin-top: -6px; + border-bottom: 1px solid mix($fg_color, $base_color, .1); + -gtk-icon-source: -gtk-icontheme('pan-up-symbolic'); + } + + &.bottom { + margin-bottom: -6px; + border-top: 1px solid mix($fg_color, $base_color, .1); + -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); + } + + &:hover { background-color: mix($fg_color, $base_color, .1); } + + &:backdrop { background-color: $backdrop_menu_color; } + + &:disabled { + color: transparent; + background-color: transparent; + border-color: transparent; + } + } + } + + .context-menu { font: initial; } // Decouple the font of context menus from their entry/textview + + .monospace { font-family: monospace; } + + menuitem { + accelerator { + color: alpha($menu_fg_color, .6); + + &:hover { color: alpha($selected_fg_color, .8); } + + &:disabled { color: alpha(mix($menu_fg_color, $menu_bg_color, .5), .4); } + } + + check, radio { + min-height: 14px; + min-width: 14px; + + &:dir(ltr) { margin-right: 7px; } + &:dir(rtl) { margin-left: 7px; } + } + + window decoration { + box-shadow: 0 2px 3px alpha($black, .2); + } + + entry { @include entry($menu_bg_color, $menu_fg_color); } + } +} + + +/********* + ! Popover +**********/ + +@include exports("popover") { + popover.background { + padding: $spacing - 3px; + border-radius: $roundness; + background-clip: border-box; + background-color: $menu_bg_color; + background-image: none; + color: $menu_fg_color; + box-shadow: 0 3px 6px alpha($black, .16); + + .csd &, & { + @include border($menu_bg_color); + border-width: 1px; + border-style: solid; + } + + &:backdrop { box-shadow: none; } + + treeview.view { + &:hover, &:selected, &:selected:focus, &:backdrop:selected, &:backdrop:selected:focus { border-top-color: $selected_bg_color; } + + &, &:backdrop { border-top-color: shade($menu_bg_color, ($contrast + .4)); } + } + + view, .view, list { + &:hover { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &, &:backdrop { + background-color: shade($menu_bg_color, ($contrast + .5)); + background-image: none; + color: $menu_fg_color; + border-color: border_normal($menu_bg_color); + } + } + + list row { + &, & .button { + background-color: transparent; + background-image: none; + color: $menu_fg_color; + + &:focus, &:hover, &:active { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + } + + .frame { + border-color: border_normal($menu_bg_color); + border-radius: $roundness; + } + + entry { @include entry($menu_bg_color, $menu_fg_color); } + + button { @include button($menu_bg_color, $menu_fg_color); } + + calendar { @include menu_calendar($menu_bg_color, $menu_fg_color); } + + > list, > .view, > toolbar { + border-style: none; + background-color: transparent; + } + } + + //gnome-calendar-fix + popover.events { + grid.vertical { + &, & list, & list row, & list box { + margin: 0; + border-radius: 0; + background-color: $menu_bg_color; + } + } + + grid.vertical box.vertical { + border-top-left-radius: 0; + border-top-right-radius: 0; + } + } + + popover { + list.calendar-list row { padding: 0px; } + + datechooser { + & grid.vertical navigator button { + min-height: 20px; + min-width: 20px; + margin: 5px; + } + + & grid.horizontal day.day { + min-height: 24px; + min-width: 24px; + } + } + } + + modelbutton.flat, + menuitem.button.flat { + padding: ($spacing - 1px) ($spacing + 1px); + outline-color: transparent; + transition: none; + + @extend %undecorated_button; + + &:hover { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &:active, &:selected { &, arrow { @extend %selected_items; } } + + &:checked { color: $fg_color; } + + arrow { + &.left { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); } + + &.right { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } + } + + // FIXME: temporary workaround + check:last-child, + radio:last-child { margin-left: 8px; } + + check:first-child, + radio:first-child { margin-right: 8px; } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_misc.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_misc.scss new file mode 100644 index 0000000..da1c7dc --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_misc.scss @@ -0,0 +1,320 @@ +/*************** +! Dimmed label * +****************/ + +@include exports("dimlabel") { + .dim-label { + opacity: .5; + text-shadow: none; + } +} + + +/*********** + ! Tooltip * +************/ + +@include exports("tooltip") { + .tooltip, // Firefox fix + tooltip { + &.background { + &, &.csd { + background-color: $tooltip_bg_color; + background-clip: padding-box; + border: 1px solid border_normal($tooltip_bg_color); + border-radius: $roundness; + color: $tooltip_fg_color; + } + } + + * { + background-color: transparent; + color: inherit; + } + } +} + + +/*********** + ! Dialogs * +************/ + +@include exports("dialogs") { + messagedialog, .message-dialog, .prompt { + -GtkDialog-content-area-border: 0; + -GtkDialog-action-area-border: 0; + -GtkDialog-button-spacing: $spacing; + + margin: 0; + padding: 0; + } + + printdialog { + paper { + color: $fg_color; + border: 1px solid $borders_color; + background: $white; + padding: 0; + + &:backdrop { + color: $backdrop_fg_color; + border-color: $backdrop_borders_color; + } + } + + .dialog-action-box { margin: $spacing * 2; } + } +} + + +/********************* + ! App notifications * +**********************/ + +@include exports("notifications") { + frame.app-notification { + border-style: solid; + border-color: border_normal($osd_bg); + border-width: 0 1px 1px; + border-radius: 0 0 $roundness $roundness; + padding: $spacing * 2; + background-color: $osd_bg; + background-image: none; + color: $osd_fg; + + button { + @include button($osd_bg, $osd_fg); + } + + border { + border: 0; + } + } +} + + +/************* + ! Expanders * +**************/ + +@include exports("expander") { + expander { + arrow { + min-width: 16px; + min-height: 16px; + -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); + + &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); } + + &:hover { color: alpha(currentColor, .8); } //only lightens the arrow + + &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); } + } + } +} + + +/******************* + ! Symbolic images * +********************/ + +@include exports("symbolicimage") { + .image { + color: alpha(currentColor, .5); + + &:hover { color: alpha(currentColor, .9); } + + &:selected, &:selected:hover { color: $selected_fg_color; } + } +} + + +/**************** + ! Floating bar * +*****************/ + +@include exports("floatingbar") { + .floating-bar { + @include linear-gradient($bg_color); + + border: 1px solid border_normal($bg_color); + border-radius: $roundness; + color: $fg_color; + + &.top { + border-top-width: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; + } + + &.right { + border-right-width: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + &.bottom { + border-bottom-width: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + } + + &.left { + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + } + + button { + border: 0; + background-color: transparent; + background-image: none; + } + } +} + + +/************************* + ! Touch text selections * +**************************/ + +@include exports("touchbubble") { + GtkBubbleWindow { + border-radius: $roundness; + background-clip: border-box; + + &.osd.background { background-color: $osd_bg; } + + .toolbar { background-color: transparent; } + } +} + +/*************** + ! Font-viewer * +****************/ + +@include exports("fontviewer") { + SushiFontWidget { + padding: $spacing ($spacing * 2); + } +} + + +/************* + ! Gucharmap * +**************/ + +@include exports("charmap") { + GucharmapChartable { + background-color: $base_color; + color: $text_color; + + &:focus, &:hover, &:active, &:selected { @extend %selected; } + } +} + + +/************* + ! Evolution * +**************/ + +@include exports("evolution") { + EPreviewPane .entry { + background-color: $base_color; + color: $text_color; + } +} + + +/******************* + ! Gnome Bluetooth * +********************/ + +@include exports("gnome-bluetooth") { + // Base code: https://github.com/GNOME/gnome-bluetooth/blob/a93575c4b590e2b831da32f739294bb2f197d420/lib/bluetooth-settings.css + entry.entry.pin-entry { + font-style: normal; + font-size: 50px; + padding-left: $spacing * 5; + padding-right: $spacing * 5; + } + + label.pin-label { + font-style: normal; + font-size: 50px; + } +} + + +/************************ + ! Shortcut window keys * +*************************/ + +@include exports("keycap") { + // shortcut window keys + .keycap { + min-width: 20px; + min-height: 24px; + margin-top: 2px; + padding-bottom: $spacing / 2; + padding-left: $spacing; + padding-right: $spacing; + + color: $fg_color; + background-color: $base_color; + border: 1px solid; + border-color: if($variant == 'light', mix($borders_color, $bg_color, .5), $borders_color); + border-radius: $roundness; + box-shadow: if($variant == 'light', inset 0 -3px mix($base_color, $bg_color, .2), inset 0 -3px mix($borders_color, $base_color, .6)); + font-size: smaller; + + &:backdrop { + background-color: $backdrop_base_color; + color: $backdrop_fg_color; + transition: 200ms ease-out; + } + } +} + + +/***************** + ! Stackswitcher * +******************/ + +@include exports("stackswitcher") { + stackswitcher button { + &.text-button { min-width: 80px; } // FIXME aggregate with buttons + + &.circular { // FIXME aggregate with buttons + min-width: 28px; + min-height: 28px; + padding: 0; + } + } +} + + +/******************* + ! Selected Items * +********************/ + +@include exports("selected_items") { + %selected_items { + background-color: $selected_bg_color; + + @at-root %nobg_selected_items, & { + color: $selected_fg_color; + + @if $variant == 'light' { outline-color: transparentize($selected_fg_color, .7); } + + &:disabled { color: mix($selected_fg_color, $selected_bg_color, .5); } + + &:backdrop { + background-color: $backdrop_selected_bg_color; // Fixed Issue #430 + color: $backdrop_selected_fg_color; + + &:disabled { color: mix($backdrop_selected_fg_color, $selected_bg_color, .3); } + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_notebook.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_notebook.scss new file mode 100644 index 0000000..31f9d89 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_notebook.scss @@ -0,0 +1,405 @@ +@import "button"; + + +/********** + ! Notebook +***********/ + +@include exports("notebook") { + notebook { + &.frame { + border-color: border_normal($base_color); + + &.top { + border-width: 1px 1px 0; + } + + &.right { + border-width: 1px 1px 1px 0; + } + + &.bottom { + border-width: 0 1px 1px; + } + + &.left { + border-width: 1px 0 1px 1px; + } + } + + > header { + padding: 0; + margin: 0; + border-width: 1px; + border-radius: 0; + border-color: $borders_color; + background-image: none; + background-clip: border-box; + background-color: shade($base_color, .9); + color: $text_color; + + tabs { margin: -1px; } + + &.top { + border-bottom-style: solid; + + tabs { + margin-top: 0; + margin-left: 0; + margin-right: 0; + } + } + + &.right { + border-left-style: solid; + + tabs { + margin-right: 0; + margin-top: 0; + margin-bottom: 0; + } + } + + &.bottom { + border-top-style: solid; + + tabs { + margin-bottom: 0; + margin-left: 0; + margin-right: 0; + } + } + + &.left { + border-right-style: solid; + + tabs { + margin-left: 0; + margin-top: 0; + margin-bottom: 0; + } + } + + &.top > tabs > arrow { + @extend %notebook_vert_arrows; + + border-top-style: none; + } + + &.bottom > tabs > arrow { + @extend %notebook_vert_arrows; + + border-bottom-style: none; + } + + @at-root %notebook_vert_arrows { + margin-left: 0; + margin-right: 0; + padding-left: 4px; + padding-right: 4px; + + &.down { -gtk-icon-source: -gtk-icontheme('pan-start-symbolic'); } + + &.up { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); } + } + + &.left > tabs > arrow { + @extend %notebook_horz_arrows; + + border-left-style: none; + } + + &.right > tabs > arrow { + @extend %notebook_horz_arrows; + + border-right-style: none; + } + + @at-root %notebook_horz_arrows { + margin-top: 0; + margin-bottom: 0; + padding-top: 4px; + padding-bottom: 4px; + + &.down { -gtk-icon-source: -gtk-icontheme('pan-up-symbolic'); } + + &.up { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); } + } + + > tabs > arrow { + @extend %close_button; + + min-height: 16px; + min-width: 16px; + + &:hover:not(:active):not(:backdrop) { + background-clip: padding-box; + background-image: none; + background-color: transparentize($white, .7); + border-color: transparent; + box-shadow: none; + } + + &:disabled { @extend %undecorated_button; } + } + + tab { + padding: 0; + outline: none; + + > box, + > label, + > widget > box { + padding: ($spacing + 2px) $spacing * 2; // top/bottom | left/right + box-shadow: 1px 1px transparent; //duplicate shadows used for transition? + transition: box-shadow .2s linear; + } + + &.reorderable-page { + > box, + > label, + > widget > box { + padding: ($spacing + 2px) $spacing * 2; // top | right | bottom | left + } + } + + /* close button styling */ + button, + button.flat { + @extend %close_button; + + min-height: 16px; + min-width: 16px; + padding: 0; + margin-left: $spacing * 2; + //border: 1px solid transparent; + transition: all .1s linear; + } + + &:hover { + background-color: shade($base_color, .93); + border-color: transparent; + outline: none; + } + + &:checked { + @if (lightness($bg_color) > 50) { + background-color: mix($bg_color, $base_color, .7); + } @else { + background-color: mix($bg_color, $base_color, .4); + } + + border-bottom-color: transparent; + outline: none; + + label { + color: $selected_bg_color; + } + + &:hover { + @if (lightness($bg_color) > 50) { + background-color: mix($bg_color, $base_color, .9); + } @else { + background-color: mix($bg_color, $base_color, .6); + } + } + } + + label { + color: mix($text_color, $base_color, .3); + } + } + + + &.top tab { + box-shadow: inset 0 -1px $borders_color; + transition: box-shadow .2s ease-out; + + &:hover { + outline: none; + &:not(:first-child):not(:last-child):not(:only-child) { + box-shadow: 1px 0 1px shade($base_color, .85), -1px 0 1px shade($base_color, .85), inset 0 -1px $borders_color; + } + + &:last-child:not(:only-child) { + box-shadow: -1px 0 1px shade($base_color, .85), inset 0 -1px $borders_color; + } + + &:first-child:not(:only-child) { + box-shadow: 1px 0 1px shade($base_color, .85), inset 0 -1px $borders_color; + } + } + + &:checked { + outline: none; + + label { + margin-bottom: 0; + color: $selected_bg_color; + } + + &:hover { + background-color: mix($bg_color, $base_color, .6); + } + + &:not(:first-child):not(:last-child):not(:only-child) { + box-shadow: 1px 0 1px shade($base_color, .8), -1px 0 1px shade($base_color, .8), inset 0 -2px $selected_bg_color; + } + + &:last-child:not(:only-child) { + box-shadow: -1px 0 1px shade($base_color, .8), inset 0 -2px $selected_bg_color; + + } + + &:first-child:not(:only-child) { + box-shadow: 1px 0 1px shade($base_color, .8), inset 0 -2px $selected_bg_color; + + } + } + } + + &.right tab { + box-shadow: inset 1px 0 $borders_color; + transition: box-shadow .3s ease-out; + + &:hover { + outline: none; + + &:not(:first-child):not(:last-child):not(:only-child) { + box-shadow: 0 1px 1px shade($base_color, .85), 0 -1px 1px shade($base_color, .85), inset 1px 0 $borders_color; + } + + &:last-child:not(:only-child) { + box-shadow: 0 -1px 1px shade($base_color, .85), inset 1px 0 $borders_color; + } + + &:first-child:not(:only-child) { + box-shadow: 0 1px 1px shade($base_color, .85), inset 1px 0 $borders_color; + } + } + + &:checked { + outline: none; + + label { + margin-left: 0; + color: $selected_bg_color; + } + + &:hover { + background-color: mix($bg_color, $base_color, .6); + } + + &:not(:first-child):not(:last-child):not(:only-child) { + box-shadow: 0 1px 1px shade($base_color, .8), 0 -1px 1px shade($base_color, .8), inset 2px 0 $selected_bg_color; + } + + &:last-child:not(:only-child) { + box-shadow: 0 -1px 1px shade($base_color, .8), inset 2px 0 $selected_bg_color; + } + + &:first-child:not(:only-child) { + box-shadow: 0 1px 1px shade($base_color, .8), inset 2px 0 $selected_bg_color; + } + } + } + + &.bottom tab { + box-shadow: inset 0 1px $borders_color; + transition: box-shadow .3s ease-out; + + &:hover { + outline: none; + &:not(:first-child):not(:last-child):not(:only-child) { + box-shadow: 1px 0 1px shade($base_color, .85), -1px 0 1px shade($base_color, .85), inset 0 1px $borders_color; + } + + &:last-child:not(:only-child) { + box-shadow: -1px 0 1px shade($base_color, .85), inset 0 1px $borders_color; + } + + &:first-child:not(:only-child) { + box-shadow: 1px 0 1px shade($base_color, .85), inset 0 1px $borders_color; + } + } + + &:checked { + outline: none; + + label { + margin-top: 0; + color: $selected_bg_color; + } + + &:hover { + background-color: mix($bg_color, $base_color, .6); + } + + &:not(:first-child):not(:last-child):not(:only-child) { + box-shadow: 1px 0 1px shade($base_color, .8), -1px 0 1px shade($base_color, .8), inset 0 2px $selected_bg_color; + } + + &:last-child:not(:only-child) { + box-shadow: -1px 0 1px shade($base_color, .8), inset 0 2px $selected_bg_color; + } + + &:first-child:not(:only-child) { + box-shadow: 1px 0 1px shade($base_color, .8), inset 0 2px $selected_bg_color; + } + } + } + + &.left tab { + box-shadow: inset -1px 0 $borders_color; + transition: box-shadow .3s ease-out; + + &:hover { + outline: none; + + &:not(:first-child):not(:last-child):not(:only-child) { + box-shadow: 0 1px 1px shade($base_color, .85), 0 -1px 1px shade($base_color, .85), inset -1px 0 $borders_color; + } + + &:last-child:not(:only-child) { + box-shadow: 0 -1px 1px shade($base_color, .85), inset -1px 0 $borders_color; + } + + &:first-child:not(:only-child) { + box-shadow: 0 1px 1px shade($base_color, .85), inset -1px 0 $borders_color; + } + } + + &:checked { + outline: none; + + label { + margin-right: 0; + color: $selected_bg_color; + } + + &:hover { + background-color: mix($bg_color, $base_color, .6); + } + + &:not(:first-child):not(:last-child):not(:only-child) { + box-shadow: 0 1px 1px shade($base_color, .8), 0 -1px 1px shade($base_color, .8), inset -2px 0 $selected_bg_color; + } + + &:last-child:not(:only-child) { + box-shadow: 0 -1px 1px shade($base_color, .8), inset -2px 0 $selected_bg_color; + } + + &:first-child:not(:only-child) { + box-shadow: 0 1px 1px shade($base_color, .8), inset -2px 0 $selected_bg_color; + } + } + } + } + + > stack:not(:only-child) { + background-color: $base_color; + + &:backdrop { background-color: $backdrop_base_color; } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_osd.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_osd.scss new file mode 100644 index 0000000..0fd38be --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_osd.scss @@ -0,0 +1,266 @@ +@import "button"; + + +/******* + ! OSD * +********/ + +@include exports("osd") { + overlay.osd { background-color: transparent; } + + colorchooser .popover.osd { border-radius: $roundness; } + + button.color { + .osd colorswatch:only-child { box-shadow: none; } + + @if $variant == 'light' { + .osd & { + &:disabled, + &:backdrop, + &:active, + &:checked { colorswatch:only-child { box-shadow: none; } } + } + } + } + + button.osd { + @include button($osd_bg, $osd_fg); + + &.image-button { + padding: 0; + min-height: 36px; + min-width: 36px; + } + } + + // stand-alone OSD toolbars + toolbar.osd { + -GtkToolbar-button-relief: normal; + + padding: $spacing; + border: 1px solid border_normal($osd_bg); + border-radius: $roundness; + background-color: $osd_bg; + background-image: none; + color: $osd_fg; + + separator { color: shade($osd_bg, ($contrast + .1)); } + + &.left, + &.right, + &.top, + &.bottom { border-radius: 0; } // positional classes for `attached` osd toolbars + } + + progressbar.osd { // progressbar.osd used for epiphany page loading progress + margin: 2px; + min-height: 2px; + min-width: 2px; + + trough { + border-style: none; + border-radius: 0; + background-image: none; + background-color: transparent; + } + + progress { + border-style: none; + border-radius: 0; + background-color: $selected_bg_color; + background-image: none; + } + } + + .osd { + background-color: $osd_bg; + color: $osd_fg; + + &.background { + background-color: alpha($osd_bg, .8); + color: $osd_fg; + } + + .frame { + background-clip: border-box; + background-origin: border-box; + } + + button { @include button($osd_bg, $osd_fg); } + + entry { @include entry($osd_base, $osd_text_color, $osd_borders_color); } + + /* used by gnome-settings-daemon's media-keys OSD */ + trough, + &.trough { + background-color: alpha($osd_fg, .3); + } + + progressbar, + &.progressbar { + background-color: $osd_fg; + } + + // Old GTK 3.0 code + scale { + slider { + @include linear-gradient(shade($osd_bg, 1.08)); + @include border($osd_bg); + + &:disabled { @include linear-gradient(shade($osd_bg, .9)); } + } + + trough { + border-color: shade($osd_bg, .8); + background-color: shade($osd_bg, 1.08); + background-image: none; + + &.highlight { + border-color: $selected_bg_color; + background-color: $selected_bg_color; + background-image: none; + } + + &:disabled, &.highlight:disabled { + border-color: shade($osd_bg, .85); + background-color: shade($osd_bg, .9); + background-image: none; + } + } + } + + // New GTK 3.20 code + scale { + //OSD troughs + trough { + background-color: lighten($osd_bg, 7%); + + highlight { background-color: $selected_bg_color; } + } + + // OSD sliders + slider { + background-clip: border-box; + background-color: $selected_bg_color; + border-color: $selected_bg_color; + + &:hover { + background-color: lighten($selected_bg_color, 10%); + border-color: lighten($selected_bg_color, 10%); + } + + &:active { + background-color: darken($selected_bg_color, 10%); + border-color: darken($selected_bg_color, 10%); + } + } + } + + &.view, .view, view { background-color: $osd_bg; } + + scrollbar { + trough { background-color: $osd_bg; } + + slider { + border: 1px solid mix(shade($osd_bg, .87), $osd_fg, .21); + border-radius: 0; + background-color: mix($osd_bg, $osd_fg, .21); + + &:hover { + border-color: mix(shade($osd_bg, .87), $osd_fg, .31); + background-color: mix($osd_bg, $osd_fg, .31); + } + + &:active { + border-color: shade($selected_bg_color, .9); + background-color: $selected_bg_color; + } + } + } + + iconview.cell { + &:selected, &:selected:focus { + background-color: transparent; + border: 3px solid mix(shade($osd_bg, .87), $osd_fg, .21); + border-radius: $roundness; + outline-color: transparent; + } + } + + /* used by Documents */ + .page-thumbnail { + border: 1px solid shade($osd_bg, .9); + /* when there's no pixbuf yet */ + background-color: $osd_bg; + } + + popover.background { + box-shadow: 0 2px 7px 3px alpha($black, .5); + + > toolbar button { + border-radius: 0; + border-width: 0; + background-color: transparent; + background-image: none; + } + } + + spinbutton { + // OSD horizontal + &:not(.vertical) { + @include linear-gradient($osd_base, to top); + @include border($osd_base); + + padding: 0; + + color: $osd_text_color; + caret-color: $osd_text_color; + + &:focus, &:active { border-color: border_focus($osd_borders_color); } + + &:disabled { + @include linear-gradient(shade($osd_base, .9), to top); + + color: mix($osd_base, $osd_text_color, .5); + } + + button { + @include button($osd_bg, $osd_fg); + + border-radius: 0; + border-color: transparentize($osd_borders_color, .3); + border-style: none none none solid; + background-image: none; + box-shadow: none; + + &:dir(rtl) { border-style: none solid none none; } + + &:active, &:checked, &:hover { color: $osd_text_color; } + + &:disabled { color: alpha($osd_insensitive_fg_color, .8); } + + &:backdrop { color: mix($backdrop_base_color, $backdrop_fg_color, .9); } + + &:active { box-shadow: inset 0 2px 3px -1px transparentize($black, .8); } + + &:backdrop:disabled { + color: alpha($backdrop_insensitive_color, .8); + + border-style: none none none solid; // It is needed or it gets overridden + + &:dir(rtl) { border-style: none solid none none; } + } + + &:dir(rtl):first-child { border-radius: $roundness 0 0 $roundness; } + + &:dir(ltr):last-child { border-radius: 0 $roundness $roundness 0; } + } + } + + // OSD vertical + &.vertical button:first-child { + @include button($osd_bg, $osd_fg); + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_overshoot.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_overshoot.scss new file mode 100644 index 0000000..f55aaed --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_overshoot.scss @@ -0,0 +1,150 @@ +@mixin overshoot($position, $type: normal, $color: $selected_bg_color) { + $_small_gradient_length: 5%; + $_big_gradient_length: 100%; + + $_position: center top; + $_small_gradient_size: 100% $_small_gradient_length; + $_big_gradient_size: 100% $_big_gradient_length; + + @if $position == bottom { + $_position: center bottom; + $_linear_gradient_direction: to top; + } @else if $position == right { + $_position: right center; + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } @else if $position == left { + $_position: left center; + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } + + $_small_gradient_color: $color; + $_big_gradient_color: $color; + + @if $color == $fg_color { + $_small_gradient_color: darken($borders_color, 10%); + $_big_gradient_color: $fg_color; + + @if $type == backdrop { $_small_gradient_color: $backdrop_borders_color; } + } + + $_small_gradient: -gtk-gradient(radial, + $_position, 0, + $_position, .5, + to(alpha($_small_gradient_color, .35)), + to(alpha($_small_gradient_color, .25))); + + $_big_gradient: -gtk-gradient(radial, + $_position, 0, + $_position, .6, + from(alpha($_big_gradient_color, .2)), + to(alpha($_big_gradient_color, 0))); + + @if $type == normal { + background-image: $_small_gradient, $_big_gradient; + background-size: $_small_gradient_size, $_big_gradient_size; + } @else if $type == backdrop { + background-image: $_small_gradient; + background-size: $_small_gradient_size; + } + + background-repeat: no-repeat; + background-position: $_position; + + background-color: transparent; // reset some properties to be sure to not inherit them somehow + border: 0; + box-shadow: none; +} + +@mixin undershoot($position) { + $_undershoot_color_dark: alpha($black, .2); + $_undershoot_color_light: alpha($white, .2); + + $_gradient_dir: left; + $_dash_bg_size: 10px 1px; + $_gradient_repeat: repeat-x; + $_bg_pos: center $position; + + background-color: transparent; // shouldn't be needed, but better to be sure; + + @if ($position == left) or ($position == right) { + $_gradient_dir: top; + $_dash_bg_size: 1px 10px; + $_gradient_repeat: repeat-y; + $_bg_pos: $position center; + } + + // Disable + /*background-image: linear-gradient(to $_gradient_dir, // this is the dashed line + $_undershoot_color_light 50%, + $_undershoot_color_dark 50%);*/ + + padding-#{$position}: 1px; + background-size: $_dash_bg_size; + background-repeat: $_gradient_repeat; + background-origin: content-box; + background-position: $_bg_pos; + border: 0; + box-shadow: none; +} + +scrolledwindow { + viewport.frame { // avoid double borders when viewport inside scrolled window + border-style: none; + } + + // This is used by GtkScrolledWindow, when content is touch-dragged past boundaries. + // This draws a box on top of the content, the size changes programmatically. + overshoot { + &.top { + @include overshoot(top); + + &:backdrop { @include overshoot(top, backdrop); } + } + + &.bottom { + @include overshoot(bottom); + + &:backdrop { @include overshoot(bottom, backdrop); } + } + + &.left { + @include overshoot(left); + + &:backdrop { @include overshoot(left, backdrop); } + } + + &.right { + @include overshoot(right); + + &:backdrop { @include overshoot(right, backdrop); } + } + } + + // Overflow indication, works similarly to the overshoot, the size if fixed tho. + undershoot { + &.top { @include undershoot(top); } + + &.bottom { @include undershoot(bottom); } + + &.left { @include undershoot(left); } + + &.right { @include undershoot(right); } + } + + junction { // the small square between two scrollbars + border-color: transparent; + // the border image is used to add the missing dot between the borders, details, details, details... + border-image: linear-gradient(to bottom, $borders_color 1px, transparent 1px) 0 0 0 1 / 0 1px stretch; + background-color: $scrollbar_bg_color; + + &:dir(rtl) { border-image-slice: 0 1 0 0; } + + &:backdrop { + border-image-source: linear-gradient(to bottom, $backdrop_borders_color 1px, transparent 1px); + background-color: $backdrop_scrollbar_bg_color; + transition: 200ms ease-out; + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_progress.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_progress.scss new file mode 100644 index 0000000..dfe7a9b --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_progress.scss @@ -0,0 +1,364 @@ +/***************** + ! Progress bars * +******************/ + +@include exports("progressbar") { + progressbar { + padding: 0; + border-radius: $roundness; + font-size: smaller; + color: alpha($fg_color, .6); + + // sizing + &.horizontal { + trough, + progress { min-height: 6px; } + } + + &.vertical { + trough, + progress { min-width: 6px; } + } + + trough { + border: 1px solid alpha(border_normal($bg_color), .5); + background-color: shade($bg_color, 1.1); + background-image: none; + border-radius: $roundness; + } + + progress { + @include linear-gradient($selected_bg_color); + + border-radius: 0; + + &.left { + border-top-left-radius: $roundness; + border-bottom-left-radius: $roundness; + } + + &.right { + border-top-right-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &.bottom { + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &.top { + border-top-left-radius: $roundness; + border-top-right-radius: $roundness; + } + } + } + + levelbar { + &.horizontal block { + min-width: 34px; + min-height: 4px; + } + + &.vertical block { + min-width: 4px; + min-height: 34px; + } + + &:backdrop { transition: 200ms ease-out; } + + trough { + @include linear-gradient(shade($bg_color, 1.08), to top); + + border: 1px solid alpha(border_normal($bg_color), .5); + border-radius: $roundness; + padding: 2px; // make discrete block appear inside levelbar + } + + &.horizontal.discrete block { + margin: 0 1px; + + &:first-child { margin: 0; } + } + + &.vertical.discrete block { + margin: 1px 0; + + &:first-child { margin: 0; } + } + + block { + @include linear-gradient($selected_bg_color); + + border-color: transparent; + border-radius: $roundness; + + &.low { + background-color: $warning_color; + border-color: transparent; + } + + &.high, + &:not(.empty) { + background-color: $success_color; + border-color: transparent; + } + + &.full { + background-color: shade($selected_bg_color, .8); + border-color: transparent; + } + + &.empty { + background-color: transparent; + border-color: transparent; + box-shadow: none; + } + } + } + + scale { + $_marks_length: 3px; + $_marks_distance: 1px; + $button_bg: if(hue($bg_color) == 0deg, shade($bg_color, 1.2), $bg_color); + $ease-out-quad: cubic-bezier(.25, .46, .45, .94); + $button_transition: all 200ms $ease-out-quad; + + min-height: 10px; + min-width: 10px; + padding: $spacing; + + &.horizontal { + trough { padding: 0 3px; } + + highlight, fill { margin: 0 -4px; } + } + + &.vertical { + trough { padding: 3px 0; } + + highlight, fill { margin: -4px 0; } + } + + // The slider is inside the trough, negative margin to make it bigger + slider { + min-height: 15px; + min-width: 15px; + margin: -7px; + } + + // Click-and-hold the slider to activate + &.fine-tune { + // Make the trough grow in fine-tune mode + slider { margin: -7px; } + + highlight { background-color: shade($selected_bg_color, 1.1); } + + fill, + highlight, + trough { + border-radius: 5px; + -gtk-outline-radius: 7px; + } + } + + // Trough + trough { + $_scale_trough_bg: if($variant == 'light', shade($bg_color, .8), darken($bg_color, 5%)); + + outline-offset: 2px; + -gtk-outline-radius: 4.5px; + + border-radius: 2.5px; + background-color: $_scale_trough_bg; + + &:disabled { background-color: transparentize($_scale_trough_bg, .45); } + + // Troughs in selected list-rows and infobars + menuitem:hover &, + row:selected &, + infobar & { + background-color: transparentize($black, .8); + + highlight { + background-color: $selected_fg_color; + + &:disabled { background-color: mix($selected_fg_color, $selected_bg_color, .55); } + } + + &:disabled { background-color: transparentize($black, .9); } + } + } + + // The colored part of trough + highlight { + border-radius: 2.5px; + background-color: $selected_bg_color; + + &:disabled { background-color: transparentize($selected_bg_color, .45); } + } + + // this is another differently styled part of the trough, the most relevant use case is for example + // in media player to indicate how much video stream as been cached + fill { + border-radius: 2.5px; + background-color: transparentize($selected_bg_color, .5); + + &:disabled { background-color: transparent; } + } + + slider { + $_slider_border: if($variant == 'light', transparentize(shade($button_border, .25), .5), darken($button_border, 2%)); + + background-color: $button_bg; + border: 1px solid $_slider_border; + border-radius: 100%; + + transition: $button_transition; + transition-property: background, border; + + &:hover { background-color: lighten($button_bg, 5%); } + + &:active { + background-clip: border-box; + background-color: $selected_bg_color; + border-color: $selected_bg_color; + } + + &:disabled { + background-color: mix($fg_color, $bg_color, .55); + border-color: transparentize($_slider_border, .2); + } + + // Selected list-row and infobar sliders + menuitem:hover &, + row:selected &, + infobar & { + background-clip: border-box; + background-color: $selected_fg_color; + border-color: $selected_fg_color; + + &:hover { + background-color: mix($selected_fg_color, $selected_bg_color, .85); + border-color: mix($selected_fg_color, $selected_bg_color, .85); + } + + &:active { + background-color: mix($selected_fg_color, $selected_bg_color, .5); + border-color: mix($selected_fg_color, $selected_bg_color, .5); + } + + &:disabled { + background-color: mix($selected_fg_color, $selected_bg_color, .55); + border-color: mix($selected_fg_color, $selected_bg_color, .55); + } + } + } + + value { color: alpha(currentColor, .4); } + + marks { + color: alpha(currentColor, .4); + + @each $marks_class, $marks_pos, $marks_margin in (top, top, bottom), + (bottom, bottom, top), + (top, left, right), + (bottom, right, left) { + &.#{$marks_class} { + margin-#{$marks_margin}: $_marks_distance; + margin-#{$marks_pos}: -($_marks_distance + $_marks_length); + } + } + } + + &.fine-tune marks { + @each $marks_class, $marks_pos, $marks_margin in (top, top, bottom), + (bottom, bottom, top), + (top, left, right), + (bottom, right, left) { + &.#{$marks_class} { + margin-#{$marks_margin}: ($_marks_distance - 1px); + margin-#{$marks_pos}: -($_marks_distance + $_marks_length - 2px); + } + } + } + + &.horizontal { + indicator { + min-height: $_marks_length; + min-width: 1px; + } + + &.fine-tune indicator { min-height: ($_marks_length - 1px); } + } + + &.vertical { + indicator { + min-height: 1px; + min-width: $_marks_length; + } + + &.fine-tune indicator { min-width: ($_marks_length - 1px); } + } + + &.color { + trough { + padding: 0; + border: 0; + background-image: none; + } + + highlight, fill { margin: 0; } + + &.horizontal { + padding: 0 0 6px 0; + + trough { + border-top-left-radius: 0; + border-top-right-radius: 0; + } + + slider { + &:hover, &:backdrop, &:disabled, &:backdrop:disabled, & { + margin-bottom: 0; + margin-top: 0; + } + } + } + + &.vertical { + &:dir(ltr) { + padding: 0 0 0 6px; + + trough { + border-bottom-right-radius: 0; + border-top-right-radius: 0; + } + + slider { + &:hover, &:backdrop, &:disabled, &:backdrop:disabled, & { + margin-left: 0; + margin-right: 0; + } + } + } + + &:dir(rtl) { + padding: 0 6px 0 0; + + trough { + border-bottom-left-radius: 0; + border-top-left-radius: 0; + } + + slider { + &:hover, &:backdrop, &:disabled, &:backdrop:disabled, & { + margin-right: 0; + margin-left: 0; + } + } + } + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_scrollbar.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_scrollbar.scss new file mode 100644 index 0000000..beff309 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_scrollbar.scss @@ -0,0 +1,134 @@ +/*********** + ! Scrollbar +************/ + +@include exports("scrollbar") { + scrollbar { + $_slider_min_length: 40px; + $_slider_normal_width: 7px; + $_slider_small_width: 4px; + + // disable steppers + @at-root * { + -GtkScrollbar-has-backward-stepper: false; + -GtkScrollbar-has-forward-stepper: false; + } + + background-color: $scrollbar_bg_color; + transition: 300ms ease-out; + + // scrollbar border on the content side + &.top { border-bottom: 1px solid $borders_color; } + &.bottom { border-top: 1px solid $borders_color; } + &.left { border-right: 1px solid $borders_color; } + &.right { border-left: 1px solid $borders_color; } + + &:backdrop { + background-color: $backdrop_scrollbar_bg_color; + border-color: $backdrop_borders_color; + transition: 400ms ease-in; + } + + slider { + min-width: $_slider_normal_width; + min-height: $_slider_normal_width; + border: 1px solid transparent; + border-radius: $roundness; + background-clip: padding-box; + background-color: $scrollbar_slider_color; + + &:hover { background-color: $scrollbar_slider_hover_color; } + &:hover:active { background-color: $scrollbar_slider_active_color; } + &:backdrop { background-color: $backdrop_scrollbar_slider_color; } + &:disabled { background-color: transparent; } + } + + &.horizontal slider { min-width: $_slider_min_length; } + &.vertical slider { min-height: $_slider_min_length; } + + &.fine-tune slider:active { + background-color: lighten($scrollbar_slider_active_color, 10%); + } + + &.overlay-indicator { + opacity: .8; + + &:not(.dragging):not(.hovering) { + border-color: transparent; + opacity: .4; + background-color: transparent; + + slider { + min-width: $_slider_small_width; + min-height: $_slider_small_width; + background-color: $fg_color; + border: 1px solid if($variant == 'light', $white, $black); + } + + // hide steppers + button { + min-width: $_slider_small_width; + min-height: $_slider_small_width; + border-color: transparent; + -gtk-icon-source: none; + } + + &.horizontal { + slider { min-width: $_slider_min_length; } + button { min-width: $_slider_normal_width; } + } + + &.vertical { + slider { min-height: $_slider_min_length; } + button { min-height: $_slider_normal_width; } + } + } + } + + // stepper styling + button { + min-width: $_slider_normal_width; + min-height: $_slider_normal_width; + padding: 0; + border: 0; + border-radius: 0; + border-color: $borders_color; // FIXME overwritten by global button definition + background-color: transparent; + box-shadow: none; + color: $scrollbar_slider_color; + + &:hover { color: $scrollbar_slider_hover_color; } + &:active, &:checked { color: $scrollbar_slider_active_color; } + &:backdrop { color: $backdrop_scrollbar_slider_color; } + } + + // button icons + &.vertical { + button { + &.down { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + border-top: 1px solid $borders_color; + } + + &.up { + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); + border-bottom: 1px solid $borders_color; + } + } + } + + &.horizontal { + button { + &.down { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); + border-left: 1px solid $borders_color; + } + + &.up { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); + border-right: 1px solid $borders_color; + } + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_sidebar.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_sidebar.scss new file mode 100644 index 0000000..a8581f4 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_sidebar.scss @@ -0,0 +1,220 @@ +/********* + ! Sidebar +**********/ + +@include exports("sidebar") { + .sidebar { + border-style: none; + background-color: mix($bg_color, $base_color, .5); + + @at-root %sidebar_left, + &:dir(ltr), + &.left, + &.left:dir(rtl) { + border-right: 1px solid $borders_color; + border-left-style: none; + } + + @at-root %sidebar_right + &:dir(rtl), + &.right { + border-left: 1px solid $borders_color; + border-right-style: none; + } + + &:backdrop { + background-color: $backdrop_sidebar_bg_color; + border-color: $backdrop_borders_color; + transition: 200ms ease-out; + } + + .frame, frame { border-width: 0; } + + list { background-color: transparent; } + + paned & { &.left, &.right, &.left:dir(rtl), &:dir(rtl), &:dir(ltr), & { border-style: none; } } + } + + stacksidebar { + &.sidebar { + &:dir(ltr), + &.left, + &.left:dir(rtl) { + list { @extend %sidebar_left; } + } + + &:dir(rtl), + &.right { + list { @extend %sidebar_right; } + } + } + + row { + padding: $spacing * 2 $spacing; + + > label { + padding-left: $spacing; + padding-right: $spacing; + } + + &.needs-attention > label { + @extend %needs_attention; + + background-size: 6px 6px, 0 0; + } + } + } + + $_placesidebar_icons_opacity: .7; + + placessidebar { + > viewport.frame { border-style: none; } + + row { + // Needs overriding of the GtkListBoxRow padding + min-height: 32px; + padding: 0; + + // Using margins/padding directly in the SidebarRow + // will make the animation of the new bookmark row jump + > revealer { padding: 0 $spacing * 2; } + + &:selected { color: $selected_fg_color; } + + &:disabled { color: $insensitive_fg_color; } + + &:backdrop { + color: $backdrop_fg_color; + + &:selected { color: $backdrop_selected_fg_color; } + + &:disabled { color: $backdrop_insensitive_color; } + } + + image.sidebar-icon { + opacity: $_placesidebar_icons_opacity; // dim the device icons + + &:dir(ltr) { padding-right: 8px; } + + &:dir(rtl) { padding-left: 8px; } + } + + label.sidebar-label { + &:dir(ltr) { padding-right: 2px; } + + &:dir(rtl) { padding-left: 2px; } + } + + @at-root button.sidebar-button { + //@extend %button_basic.flat; + + //@extend %button_selected.flat; + + min-height: 20px; + min-width: 20px; + margin-top: 2px; + margin-bottom: 2px; + padding: 0; + border-radius: 100%; + -gtk-outline-radius: 100%; + + &:not(:hover):not(:active), + &:backdrop { + > image { opacity: $_placesidebar_icons_opacity; } + } + } + + // in the sidebar case it makes no sense to click the selected row + &:selected:active { box-shadow: none; } + + &.sidebar-placeholder-row { + padding: 0 8px; + min-height: 2px; + background-image: image($drop_target_color); + background-clip: content-box; + } + + &.sidebar-new-bookmark-row { color: $selected_bg_color; } + + &:drop(active):not(:disabled) { + color: $drop_target_color; + box-shadow: inset 0 1px $drop_target_color, + inset 0 -1px $drop_target_color; + + &:selected { + color: $selected_fg_color; + background-color: $drop_target_color; + } + } + } + } +} + + +/****** +! Paned +*******/ + +@include exports("paned") { + paned { + > separator { + min-width: 1px; + min-height: 1px; + -gtk-icon-source: none; // defeats the ugly default handle decoration + border-style: none; // just to be sure + background-color: transparent; + // workaround, using background istead of a border since the border will get rendered twice (?) + background-image: image(shade($bg_color, .9)); + background-size: 1px 1px; + background-position: center center; + + &:selected { background-image: image($selected_bg_color); } // FIXME is this needed? + + &:backdrop { background-image: image($backdrop_borders_color); } + + &.wide { + min-width: 5px; + min-height: 5px; + background-color: $bg_color; + background-image: image(border_normal($bg_color)), image(border_normal($bg_color)); + background-size: 1px 1px, 1px 1px; + + &:backdrop { + background-color: $backdrop_bg_color; + background-image: image($backdrop_borders_color), + image($backdrop_borders_color); + } + } + } + + &.horizontal > separator { + background-repeat: repeat-y; + padding: 0 2px; + margin: 0 -2px; + + &.wide { + margin: 0; + padding: 0; + background-repeat: repeat-y, repeat-y; + background-position: left, right; + } + } + + &.vertical > separator { + background-repeat: repeat-x; + padding: 2px 0; + margin: -2px 0; + + &.wide { + margin: 0; + padding: 0; + background-repeat: repeat-x, repeat-x; + background-position: bottom, top; + } + } + + &.titlebar > separator { + background-image: image(shade($titlebar_bg_color, ($contrast + .1))); + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_spinner.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_spinner.scss new file mode 100644 index 0000000..9184446 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_spinner.scss @@ -0,0 +1,24 @@ +/******************* + ! Spinner animation +********************/ + +@include exports("spinner") { + @keyframes spin { + to { -gtk-icon-transform: rotate(1turn); } + } + + spinner { + background-image: none; + color: $selected_bg_color; + opacity: 0; // non spinning spinner makes no sense + + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); + + &:checked { + opacity: 1; + animation: spin 1s linear infinite; + + &:disabled { opacity: .5; } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_toggle.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_toggle.scss new file mode 100644 index 0000000..ace5f4e --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_toggle.scss @@ -0,0 +1,171 @@ +/*********************** + ! Check and Radio items +************************/ + +$suffix: if($variant == "dark", "-dark", ""); + +@mixin toggle($type) { + background-image: none; + + -gtk-icon-source: -gtk-scaled(url("../assets/#{$type}-unchecked#{$suffix}.png"), + url("../assets/#{$type}-unchecked#{$suffix}@2.png")); + + &:disabled { -gtk-icon-source: -gtk-scaled(url("../assets/#{$type}-unchecked-insensitive#{$suffix}.png"), + url("../assets/#{$type}-unchecked-insensitive#{$suffix}@2.png")); } + + &:checked, &:active { + -gtk-icon-source: -gtk-scaled(url("../assets/#{$type}-checked#{$suffix}.png"), + url("../assets/#{$type}-checked#{$suffix}@2.png")); + + &:disabled { -gtk-icon-source: -gtk-scaled(url("../assets/#{$type}-checked-insensitive#{$suffix}.png"), + url("../assets/#{$type}-checked-insensitive#{$suffix}@2.png")); } + } + + &:indeterminate { + -gtk-icon-source: -gtk-scaled(url("../assets/#{$type}-mixed#{$suffix}.png"), + url("../assets/#{$type}-mixed#{$suffix}@2.png")); + + &:disabled { -gtk-icon-source: -gtk-scaled(url("../assets/#{$type}-mixed-insensitive#{$suffix}.png"), + url("../assets/#{$type}-mixed-insensitive#{$suffix}@2.png")); } + } + + menuitem &, modelbutton & { + -gtk-icon-source: -gtk-scaled(url("../assets/menuitem-#{$type}-checked-insensitive.png"), + url("../assets/menuitem-#{$type}-checked-insensitive@2.png")); + + &:disabled { -gtk-icon-source: none; } + + &:checked, &:active { + -gtk-icon-source: -gtk-scaled(url("../assets/menuitem-#{$type}-checked.png"), + url("../assets/menuitem-#{$type}-checked@2.png")); + + &:hover { -gtk-icon-source: -gtk-scaled(url("../assets/menuitem-#{$type}-checked-hover.png"), + url("../assets/menuitem-#{$type}-checked-hover@2.png")); } + + &:disabled { -gtk-icon-source: -gtk-scaled(url("../assets/menuitem-#{$type}-checked-insensitive.png"), + url("../assets/menuitem-#{$type}-checked-insensitive@2.png")); } + } + + &:indeterminate { + -gtk-icon-source: -gtk-scaled(url("../assets/menuitem-#{$type}-mixed.png"), + url("../assets/menuitem-#{$type}-mixed@2.png")); + + &:hover { -gtk-icon-source: -gtk-scaled(url("../assets/menuitem-#{$type}-mixed-hover.png"), + url("../assets/menuitem-#{$type}-mixed-hover@2.png")); } + + &:disabled { -gtk-icon-source: -gtk-scaled(url("../assets/menuitem-#{$type}-mixed-insensitive.png"), + url("../assets/menuitem-#{$type}-mixed-insensitive@2.png")); } + } + } +} + +@include exports("checkradio") { + radio { + @include toggle("radio"); + min-width: 16px; + min-height: 16px; + margin-right: $spacing; + } + + check { + @include toggle("checkbox"); + min-width: 16px; + min-height: 16px; + margin-right: $spacing; + } + + radio:dir(rtl), check:dir(rtl) { + margin-right: 0; + margin-left: $spacing; + } + + //selection-mode + @each $s,$as in ('', '-unchecked'), + (':hover', '-unchecked'), + (':active', '-checked'), + (':backdrop', '-unchecked'), + (':checked', '-checked'), + (':checked:hover', '-checked'), + (':checked:active', '-checked'), + (':backdrop:checked', '-checked') { + .view.content-view.check#{$s}:not(list) { + -gtk-icon-shadow: none; + -gtk-icon-source: -gtk-scaled(url("../assets/grid-selection#{$as}#{$suffix}.png"), + url("../assets/grid-selection#{$as}#{$suffix}@2.png")); + background-color: transparent; + } + } +} + + +/******** + ! Switch +*********/ + +@include exports("switch") { + switch { + min-height: 16px; + padding: $spacing - 2px; + border-radius: $roundness; + border: none; + outline: none; + transition: background-color .3s linear; + + background-color: $switch_bg_color; + color: $switch_fg_color; + box-shadow: inset 1px -1px 0 alpha($dark_shadow, .06), inset -1px 1px 0 alpha($dark_shadow, .06); + + slider { + min-height: 18px; + min-width: 26px; + padding: 0 2px; + + background-color: $switch_slider_bg_color; + transition: all 0.3s ease-in; + box-shadow: 0 1px 2px 0 alpha($dark_shadow, .07), 1px 0 2px 0 alpha($dark_shadow, .07); + border-radius: $roundness; + } + + &:checked { + background-color: $selected_bg_color; + background-image: none; + border-color: $selected_bg_color; + color: $base_color; + + slider { + background-color: $white; + box-shadow: 0 1px 3px 0 alpha($dark_shadow, .1); + } + } + + &:disabled { + background-color: $switch_disabled_bg_color; + background-image: none; + border-color: $switch_disabled_border_color; + color: $switch_disabled_fg_color; + box-shadow: none; + + slider { + background-color: $switch_disabled_slider_bg_color; + } + } + + list row:selected & { + background-color: $switch_disabled_slider_bg_color; + color: $switch_disabled_bg_color; + + slider { + background-color: mix($switch_disabled_bg_color, $base_color, .4); + } + + &:checked { + color: $selected_bg_color; + background-color: $switch_slider_bg_color; + + slider { + background-color: $selected_bg_color; + } + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_toolbar.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_toolbar.scss new file mode 100644 index 0000000..5bb8f65 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_toolbar.scss @@ -0,0 +1,280 @@ +@import "button"; + + +/********* + ! Toolbar +**********/ + +@mixin titlebar($bg, $fg) { + @include linear-gradient($bg); + @include border($bg); + + color: $fg; + + &:disabled { + @include linear-gradient(shade($bg, .9)); + color: mix($fg, $bg, .5); + } + + .title { + font-weight: bold; + padding: 0 ($spacing * 2); + } + + .subtitle { + font-size: smaller; + padding: 0 ($spacing * 2); + } + + button { @include button($bg, $fg); } + .linked > button { @include linked_button($bg); } + + combobox { padding: 4px; } + + separator { + &, &:disabled { + color: shade($bg, ($contrast - .2)); + border-color: currentColor; + -GtkWidget-window-dragging: true; + } + } +} + + + + + +@mixin toolbar($bg, $fg) { + @include linear-gradient($bg); + @include border($bg); + + color: $fg; + + &:disabled { + @include linear-gradient(shade($bg, .9)); + color: mix($fg, $bg, .5); + } + + .title { + font-weight: bold; + padding: 0 ($spacing * 2); + } + + .subtitle { + font-size: smaller; + padding: 0 ($spacing * 2); + } + + button { @include button($bg, $fg); } + .linked > button { @include linked_button($bg); } + + &.horizontal combobox { padding: 4px; } + + &.horizontal button { + padding: 4px; + &.text-button { padding: 4px; } + &.image-button { padding: 4px; } + } + + &.vertical button { + padding: 5px; + &.text-button { padding: 5px; } + &.image-button { padding: 5px; } + } + + separator { + &, &:disabled { + color: shade($bg, ($contrast - .2)); + border-color: currentColor; + -GtkWidget-window-dragging: true; + } + } +} + +@mixin inline-toolbar($bg, $fg) { + padding: 1px; + border-width: 0 1px 1px; + border-style: solid; + border-color: $borders_color; + background-color: shade($bg, 1.08); + background-image: none; + + &:backdrop { + border-color: $backdrop_borders_color; + background-color: $backdrop_dark_fill; + transition: 200ms ease-out; + } + + button { @include button($toolbar_bg_color, $toolbar_fg_color); } + + toolbutton, + toolbutton:backdrop { + > button.flat { @extend %linked_middle; } + + &:first-child > button.flat { @extend %linked_button:first-child; } + + &:last-child > button.flat { @extend %linked_button:last-child; } + + &:only-child > button.flat { @extend %linked_button:only-child; } + } +} + +@include exports("toolbar_extends") { + %toolbar { + padding: $spacing - 1px; + border-style: none; + -gtk-icon-style: symbolic; + + // toolbar separators + &.horizontal separator { margin: 0 ($spacing + 2px) 1px; } + + &.vertical separator { margin: ($spacing + 2px) 1px ($spacing + 2px) 0; } + } + + %headerbar { + border-width: 0 0 1px; + border-style: solid; + + // add vertical margins to common widget on the headerbar to avoid them spanning the whole height + entry, + spinbutton, + separator, + button { // Size height + margin-top: $spacing + 3px; + margin-bottom: $spacing + 3px; + &.popup { padding: 5px; } + &.image-button { padding: 5px; } + &.text-button.image-button { padding: 5px; } + &.text-button { padding: 5px; } + + } + + switch { // Size height + margin-top: $spacing + 1px; + margin-bottom: $spacing + 1px; + } + + window:not(.tiled):not(.maximized) separator:first-child + &, // tackles the paned container case + window:not(.tiled):not(.maximized) &:first-child { &:backdrop, & { border-top-left-radius: $roundness; } } + + window:not(.tiled):not(.maximized) &:last-child { &:backdrop, & { border-top-right-radius: $roundness; } } + } + + %titlebar { // Default headerbar and titlebar code. + @include titlebar($titlebar_bg_color, $titlebar_fg_color); + @include linear-gradient($titlebar_bg_color); + + border-radius: $roundness $roundness 0 0; + color: mix($titlebar_fg_color, $titlebar_bg_color, .1); + padding: 0 $spacing; + min-height: 42px; + + &:backdrop { + @include linear-gradient($titlebar_bg_color); + + color: mix($titlebar_fg_color, $titlebar_bg_color, .6); + text-shadow: none; + } + + &.default-decoration { // Default titlebar (old metacity) + min-height: 24px; + box-shadow: none; + border: 0; + + button.titlebutton { + min-height: 16px; + min-width: 16px; + margin: 0; + padding: 0; + } + } + + .tiled &, + .maximized & { &:backdrop, & { border-radius: 0; } } // squared corners when the window is maximized or tiled + + .title { font-weight: bold; } + + separator.titlebutton { margin-left: $spacing; } + + button.titlebutton + separator.titlebutton { + margin-left: 0; + margin-right: $spacing; + } + + button.titlebutton { + border: 0; + background-image: none; + background-color: transparent; + color: mix($titlebar_fg_color, $titlebar_bg_color, .1); + box-shadow: none; + + &:hover, &:hover:focus { + background-image: none; + background-color: transparent; + color: $selected_bg_color; + box-shadow: none; + } + + &:active, &:active:hover { + background-image: none; + background-color: transparent; + color: shade($selected_bg_color, .9); + box-shadow: none; + } + + &:backdrop { + background: none; + color: mix($titlebar_fg_color, $titlebar_bg_color, .6); + -gtk-icon-shadow: none; + } + } + } +} + +@include exports("toolbar") { + toolbar { + @include toolbar($toolbar_bg_color, $toolbar_fg_color); + @extend %toolbar; + + &.inline-toolbar { @include inline-toolbar($toolbar_bg_color, $toolbar_fg_color); } + } + + headerbar { + @extend %titlebar; + @extend %headerbar; + } + + .titlebar:not(headerbar) { + window.csd > & { + // in csd we assume every titlebar is a headerbar so reset anything, this is needed for split toolbars cases + padding: 0; + background-color: transparent; + background-image: none; + border-style: none; + border-color: transparent; + box-shadow: none; + } + + > separator { background-color: shade($titlebar_bg_color, .88); } // $borders_color + + @extend %titlebar; + } + + .background:not(.tiled):not(.maximized) .titlebar { + &:backdrop, & { + border-top-left-radius: $roundness; + border-top-right-radius: $roundness; + } + } + + // Fixed: https://github.com/numixproject/numix-gtk-theme/issues/585 + // workaround for ugly Ubuntu-related CSD patches + .background:not(.csd):not(.ssd):not(.solid-csd) headerbar { + &, &:backdrop { + &, &:not(:last-child) { + border-radius: 0; + border-top-color: transparent; + } + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_view.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_view.scss new file mode 100644 index 0000000..caa4cdf --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_view.scss @@ -0,0 +1,345 @@ +/*************** + ! Generic views +****************/ + +@include exports("view") { + .view, + %view { + color: $text_color; + background-color: $base_color; + + &:backdrop { + color: $backdrop_text_color; + background-color: $backdrop_base_color; + } + + &:selected { + &:focus, & { + @extend %selected_items; + + border-radius: $roundness; + } + } + } + + .view, + textview { + text { + @extend %view; + + selection { &:focus, & { @extend %selected_items; } } + } + } + + textview border { background-color: mix($bg_color, $base_color, .5); } + + iconview { @extend .view; } +} + + +/************ +! Treeview +*************/ + +@include exports("treeview") { + .rubberband, + rubberband { + border: 1px solid darken($selected_bg_color, .1); + background-color: transparentize(darken($selected_bg_color, .1), .8); + } + + treeview entry { + &:focus { + &:dir(rtl), &:dir(ltr) { // specificity bump hack + background-color: $base_color; + transition-property: color, background; + } + } + + &.flat, & { + border-radius: 0; + background-image: none; + background-color: $base_color; + + &:focus { border-color: $selected_bg_color; } + } + } + + %column_header_button { + padding: ($spacing - 2px) ($spacing + 1px); + border-radius: 0; + background-image: none; + text-shadow: none; + border-style: none solid solid none; + border-color: $bg_color; + + &:disabled { + border-color: $bg_color; + background-image: none; + } + + &:backdrop { + border-color: $backdrop_bg_color; + border-style: none solid solid none; + color: mix($backdrop_fg_color, $backdrop_bg_color, .5); + background-image: none; + background-color: $backdrop_base_color; + + &:disabled { + border-color: $backdrop_bg_color; + background-image: none; + } + } + } + + treeview.view { + -GtkTreeView-grid-line-width: 1; + -GtkTreeView-grid-line-pattern: ''; + -GtkTreeView-tree-line-width: 1; + -GtkTreeView-tree-line-pattern: ''; + + border-left-color: mix($fg_color, $base_color, .5); // this is actually the tree lines color, + border-top-color: $bg_color; // while this is the grid lines color, better then nothing + + rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props + + &:selected { + &:focus, & { + @extend %selected_items; + + border-radius: 0; + } + + &:backdrop, & { + border-left-color: mix($selected_fg_color, $selected_bg_color, .5); + border-top-color: transparentize($fg_color, .9); // doesn't work unfortunatelly + } + } + + &:disabled { + color: $insensitive_fg_color; + + &:selected { + color: mix($selected_fg_color, $selected_bg_color, .4); + + &:backdrop { color: mix($backdrop_selected_fg_color, $selected_bg_color, .3); } + } + + &:backdrop { color: $backdrop_insensitive_color; } + } + + &.separator { + min-height: 2px; + color: $bg_color; + + &:backdrop { color: transparentize($bg_color, .9); } + } + + &:backdrop { + border-left-color: mix($backdrop_fg_color, $backdrop_bg_color, .5); + border-top: $backdrop_bg_color; + } + + &:drop(active) { + border-style: solid none; + border-width: 1px; + border-color: $selected_borders_color; + + &.after { border-top-style: none; } + + &.before { border-bottom-style: none; } + } + + &.expander { + -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); + color: mix($base_color, $fg_color, .7); + + &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); } + + &:hover { color: $fg_color; } + + &:selected { + color: mix($selected_bg_color, $selected_fg_color, .7); + + &:hover { color: $selected_fg_color; } + + &:backdrop { color: mix($selected_bg_color, $backdrop_selected_fg_color, .7); } + } + + &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); } + + &:backdrop { color: mix($backdrop_base_color, $backdrop_fg_color, .7); } + } + + &.progressbar { // progress bar in treeviews + @if $variant == light { color: $base_color; } + + border-radius: $roundness; + border: 1px solid $selected_borders_color; + background-color: $selected_bg_color; + + &:selected { + &:focus, & { + @if $variant == 'light' { + color: $selected_fg_color; + box-shadow: none; + } @else { + box-shadow: inset 0 1px transparentize($white, .95); + } + + @include linear-gradient($selected_bg_color); + + &:backdrop { + @if $variant == 'light' { + color: $backdrop_selected_fg_color; + border-color: $selected_borders_color; // otherwise it gets inherited by .view(?!?) + } @else { + border-color: $backdrop_base_color; + } + + background-color: mix($backdrop_base_color, $selected_bg_color, .9); + } + + &:disabled { background-color: shade($selected_bg_color, 1.08); } //required if disabled state is turned on + } + } + + &:disabled { background-color: shade($selected_bg_color, 1.08); } + + &:backdrop { + @if $variant == 'light' { + color: $backdrop_base_color; + } @else { + border-color: $backdrop_base_color; + } + + background-image: none; + box-shadow: none; + } + } + + &.trough { // progress bar trough in treeviews + border-radius: $roundness; + border: 1px solid alpha(border_normal($bg_color), .5); + background-color: shade($bg_color, 1.1); + + &:selected { + &:focus, & { + background-color: if($variant == 'light', shade($bg_color, 1.1), darken($selected_bg_color, .1)); + @if $variant == 'light' { border: 1px solid $selected_borders_color; } + + &:disabled { background-color: shade($bg_color, 1.08); } + } + } + + &:disabled { background-color: shade($bg_color, 1.08); } + } + + header { + button { + $_column_header_color: mix($fg_color, $base_color, .5); + + @extend %column_header_button; + + color: $_column_header_color; + background-color: $base_color; + font-weight: bold; + text-shadow: none; + box-shadow: none; + + &:hover { + @extend %column_header_button; + + color: mix($_column_header_color, $fg_color, .5); + box-shadow: none; + transition: none; //I shouldn't need this + } + + &:active { + @extend %column_header_button; + + color: $fg_color; + transition: none; //I shouldn't need this + } + } + + button:last-child { &:backdrop, & { border-right-style: none; } } + } + + button.dnd, + header.button.dnd { // for treeview-like derive widgets + &:active, &:selected, &:hover, & { + padding: 0 6px; + transition: none; + background-image: none; + background-color: $selected_bg_color; + color: $base_color; + border-radius: 0; + border-style: none; + box-shadow: inset 0 0 0 1px $base_color; + text-shadow: none; + } + } + + acceleditor > label { background-color: $selected_bg_color; } + } +} + + +/*********** + ! Separator +************/ + +@include exports("separator") { + separator { // vbox and hbox separators + background: transparentize($black, .9); + min-width: 1px; + min-height: 1px; + } +} + + +/********** + ! Frames * +***********/ + +@include exports("frame") { + frame > border, .frame { + border: 1px solid $borders_color; + + &.flat { border-style: none; } + + &:backdrop { border-color: $backdrop_borders_color; } + } + + /* avoid double borders when a viewport is packed into a GtkScrolledWindow */ + scrolledwindow viewport.frame { border: 0; } +} + + +/*************** + ! Places view * +****************/ + +@include exports("placesview") { + placesview { + .server-list-button > image { + transition: 200ms cubic-bezier(.25, .46, .45, .94); + -gtk-icon-transform: rotate(0turn); + } + + .server-list-button:checked > image { + transition: 200ms cubic-bezier(.25, .46, .45, .94); + -gtk-icon-transform: rotate(-0.5turn); + } + + row.activatable:hover { background-color: transparent; } + + // this selects the "connect to server" label + > actionbar > revealer > box > label { + padding-left: 8px; + padding-right: 8px; + } + } +} + diff --git a/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_window.scss b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_window.scss new file mode 100644 index 0000000..6af8287 --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/scss/widgets/_window.scss @@ -0,0 +1,56 @@ +/************** + ! Window frame +***************/ + +@include exports("window") { + decoration { + $_wm_border: if($variant == 'light', transparentize($black, .77), transparentize($borders_color, .1)); + + border-radius: $roundness $roundness 0 0; + // lamefun trick to get rounded borders regardless of CSD use + border-width: 0; + + box-shadow: 0 3px 9px 1px transparentize($black, .3), 0 0 0 1px $wm_border_focused; //doing borders with box-shadow + + /* this is used for the resize cursor area */ + margin: $spacing * 3; + + &:backdrop { + box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px transparentize($black, .6), 0 0 0 1px $wm_border_unfocused; + transition: 200ms ease-out; + } + + .maximized &, .fullscreen &, .tiled & { border-radius: 0; } + + .popup & { box-shadow: none; } + + // this needs to be transparent + // see bug #722563 + // server-side decorations as used by mutter + // Fixed gtk-3.18 Unity bug (https://github.com/numixproject/numix-gtk-theme/issues/270) + .ssd & { box-shadow: 0 0 0 1px $wm_border_focused; } //just doing borders, wm draws actual shadows + + .solid-csd & { + border-radius: 0; + margin: 1px; + background-color: $titlebar_bg_color; + // Unity/compiz regression: Issue: https://github.com/numixproject/numix-gtk-theme/issues/206 + box-shadow: none; + } + + .csd.popup & { + border-radius: 0; + box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($_wm_border, .1); + } + + tooltip.csd & { + border-radius: $roundness; + box-shadow: none; + } + + messagedialog.csd & { + border-radius: $roundness; + box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($_wm_border, .1); + } + } +} diff --git a/abbith-gtk-theme/src/gtk-3.20/thumbnail.png b/abbith-gtk-theme/src/gtk-3.20/thumbnail.png new file mode 120000 index 0000000..01495bc --- /dev/null +++ b/abbith-gtk-theme/src/gtk-3.20/thumbnail.png @@ -0,0 +1 @@ +../gtk-3.0/thumbnail.png \ No newline at end of file diff --git a/abbith-gtk-theme/src/index.theme b/abbith-gtk-theme/src/index.theme new file mode 100644 index 0000000..560b55d --- /dev/null +++ b/abbith-gtk-theme/src/index.theme @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=X-GNOME-Metatheme +Name=Abbith +Comment=A modern flat theme +Encoding=UTF-8 + +[X-GNOME-Metatheme] +GtkTheme=Abbith +IconTheme=Abbith +MetacityTheme=Abbith +ButtonLayout=:minimize,maximize,close diff --git a/abbith-gtk-theme/src/metacity-1/metacity-theme-2.xml b/abbith-gtk-theme/src/metacity-1/metacity-theme-2.xml new file mode 100644 index 0000000..0a627e6 --- /dev/null +++ b/abbith-gtk-theme/src/metacity-1/metacity-theme-2.xml @@ -0,0 +1,1554 @@ + + + + Numix + Satyajit Sahoo + GPL-3.0+ + 11 December 2013 + Numix Metacity Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</draw_ops> + +<draw_ops name="title_unfocused"> + <title x="(0 `max` ((width - title_width) / 2)) + 2" + y="(0 `max` ((height - title_height) / 2))" + color="C_title_unfocused" /> +</draw_ops> + +<!-- ::: WINDOW DECORATIONS ::: --> +<draw_ops name="entire_background_focused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="entire_background_unfocused"> + <include name="entire_background_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_focused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="titlebar_fill_attached_focused"> + <include name="entire_background_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_unfocused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="titlebar_attached_focused"> <!-- titlebar for attached and modal dialogs --> + <include name="titlebar_fill_attached_focused" /> +</draw_ops> + +<draw_ops name="rounded_titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="border_focused"> + <rectangle color="C_border_focused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="border_unfocused"> + <rectangle color="C_border_unfocused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="rounded_border_focused"> + <line color="C_border_focused" x1="2" y1="0" x2="width-3" y2="0" /> + <line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_focused" x1="0" y1="2" x2="0" y2="height-2" /> + <line color="C_border_focused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> + <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> + <!-- double arcs for darker borders --> + <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="rounded_border_unfocused"> + <line color="C_border_unfocused" x1="2" y1="0" x2="width-3" y2="0" /> + <line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_unfocused" x1="0" y1="2" x2="0" y2="height-2" /> + <line color="C_border_unfocused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> + <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> + <!-- double arcs for darker borders --> + <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="border_right_focused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_right_unfocused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<draw_ops name="border_left_focused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_left_unfocused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<!-- ::: BUTTON ICONS ::: --> +<!-- note: negative values in x or y causes gnome-shell to crash --> +<!-- close icon --> +<draw_ops name="close_focused"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="close_focused_prelight"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_focused_pressed"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="close_unfocused"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="close_unfocused_prelight"> + <include name="close_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_unfocused_pressed"> + <include name="close_focused_pressed" /> +</draw_ops> + +<!-- maximize icon --> +<draw_ops name="maximize_focused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="maximize_focused_prelight"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_focused_pressed"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="maximize_unfocused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_prelight"> + <include name="maximize_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_pressed"> + <include name="maximize_focused_pressed" /> +</draw_ops> + +<!-- unmaximize icon --> +<draw_ops name="unmaximize_focused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="unmaximize_focused_prelight"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="unmaximize_focused_pressed"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused_prelight"> + <include name="unmaximize_focused_prelight" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused_pressed"> + <include name="unmaximize_focused_pressed" /> +</draw_ops> + +<!-- minimize icon --> +<draw_ops name="minimize_focused"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="minimize_focused_prelight"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_focused_pressed"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="minimize_unfocused"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_prelight"> + <include name="minimize_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_pressed"> + <include name="minimize_focused_pressed" /> +</draw_ops> + +<!-- menu icon --> +<draw_ops name="menu_focused"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="menu_focused_prelight"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_focused_pressed"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="menu_unfocused"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="menu_unfocused_prelight"> + <include name="menu_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_unfocused_pressed"> + <include name="menu_focused_pressed" /> +</draw_ops> + +<!-- shade icon --> +<draw_ops name="shade_focused"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="shade_focused_prelight"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_focused_pressed"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="shade_unfocused"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="shade_unfocused_prelight"> + <include name="shade_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_unfocused_pressed"> + <include name="shade_focused_pressed" /> +</draw_ops> + +<!-- unshade icon --> +<draw_ops name="unshade_focused"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="unshade_focused_prelight"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="unshade_focused_pressed"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="unshade_unfocused"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="unshade_unfocused_prelight"> + <include name="unshade_focused_prelight" /> +</draw_ops> + +<draw_ops name="unshade_unfocused_pressed"> + <include name="unshade_focused_pressed" /> +</draw_ops> + +<!-- ::: FRAME STYLES ::: --> +<frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_unfocused" geometry="normal_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_focused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_unfocused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_focused" geometry="normal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_unfocused" geometry="normal"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_focused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button><button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_unfocused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_focused" geometry="small"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_unfocused" geometry="small_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_focused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_unfocused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="borderless" geometry="borderless"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_focused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_unfocused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_focused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_right_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_unfocused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_right_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_focused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_left_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_unfocused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_left_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- placeholder for unimplementated styles--> +<frame_style name="blank" geometry="normal"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- ::: FRAME STYLE SETS ::: --> +<frame_style_set name="normal_style_set"> + <frame focus="yes" state="normal" resize="both" style="normal_focused" /> + <frame focus="no" state="normal" resize="both" style="normal_unfocused" /> + <frame focus="yes" state="maximized" style="normal_max_focused" /> + <frame focus="no" state="maximized" style="normal_max_unfocused" /> + <frame focus="yes" state="shaded" style="normal_focused" /> + <frame focus="no" state="shaded" style="normal_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="normal_max_shaded_focused" /> + <frame focus="no" state="maximized_and_shaded" style="normal_max_shaded_unfocused" /> +</frame_style_set> + +<frame_style_set name="dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="dialog_focused" /> + <frame focus="no" state="normal" resize="both" style="dialog_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="dialog_focused" /> + <frame focus="no" state="shaded" style="dialog_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="modal_dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="modal_dialog_focused" /> + <frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="modal_dialog_focused" /> + <frame focus="no" state="shaded" style="modal_dialog_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="utility_style_set"> + <frame focus="yes" state="normal" resize="both" style="utility_focused" /> + <frame focus="no" state="normal" resize="both" style="utility_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="utility_focused" /> + <frame focus="no" state="shaded" style="utility_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="border_style_set"> + <frame focus="yes" state="normal" resize="both" style="border_focused" /> + <frame focus="no" state="normal" resize="both" style="border_unfocused" /> + <frame focus="yes" state="maximized" style="borderless" /> + <frame focus="no" state="maximized" style="borderless" /> + <frame focus="yes" state="shaded" style="blank" /> + <frame focus="no" state="shaded" style="blank" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<!-- ::: WINDOWS ::: --> +<window type="normal" style_set="normal_style_set" /> +<window type="dialog" style_set="dialog_style_set" /> +<window type="modal_dialog" style_set="modal_dialog_style_set" /> +<window type="menu" style_set="utility_style_set" /> +<window type="utility" style_set="utility_style_set" /> +<window type="border" style_set="border_style_set" /> + +</metacity_theme> diff --git a/abbith-gtk-theme/src/metacity-1/metacity-theme-3.xml b/abbith-gtk-theme/src/metacity-1/metacity-theme-3.xml new file mode 100644 index 0000000..9dee0df --- /dev/null +++ b/abbith-gtk-theme/src/metacity-1/metacity-theme-3.xml @@ -0,0 +1,1586 @@ +<?xml version="1.0"?> +<metacity_theme> +<info> + <name>Numix</name> + <author>Satyajit Sahoo</author> + <copyright>GPL-3.0+</copyright> + <date>11 December 2013</date> + <description>Numix Mutter Theme</description> +</info> + +<!-- ::: CONSTANTS ::: --> +<constant name="C_titlebar" value="gtk:custom(wm_bg,#444444)" /> +<constant name="C_border_focused" value="gtk:custom(wm_border_focused,#484848)" /> +<constant name="C_border_unfocused" value="gtk:custom(wm_border_unfocused,#393939)" /> +<constant name="C_title_focused" value="gtk:custom(wm_title_focused,#eeeeee)" /> +<constant name="C_title_unfocused" value="gtk:custom(wm_title_unfocused,#888888)" /> +<constant name="C_icons_focused" value="gtk:custom(wm_icons_focused,#eeeeee)" /> +<constant name="C_icons_focused_prelight" value="gtk:custom(wm_icons_focused_prelight,gtk:bg[SELECTED])" /> +<constant name="C_icons_focused_pressed" value="gtk:custom(wm_icons_focused_pressed,shade/gtk:bg[SELECTED]/0.8)" /> +<constant name="C_icons_unfocused" value="gtk:custom(wm_icons_unfocused,#888888)" /> +<constant name="C_icons_unfocused_prelight" value="gtk:custom(wm_icons_focused_prelight,gtk:bg[SELECTED])" /> +<constant name="C_icons_unfocused_pressed" value="gtk:custom(wm_icons_focused_pressed,shade/gtk:bg[SELECTED]/0.8)" /> + +<!-- ::: GEOMETRY ::: --> +<frame_geometry name="normal" title_scale="medium" rounded_top_left="1" rounded_top_right="1"> + <distance name="left_width" value="1" /> + <distance name="right_width" value="1" /> + <distance name="bottom_height" value="1" /> + <distance name="left_titlebar_edge" value="4" /> + <distance name="right_titlebar_edge" value="4" /> + <distance name="title_vertical_pad" value="0" /> + <aspect_ratio name="button" value="1.0" /> + <border name="title_border" left="8" right="8" top="4" bottom="4" /> + <border name="button_border" left="0" right="0" top="0" bottom="0" /> +</frame_geometry> + +<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="1" rounded_top_right="1" parent="normal" /> + +<frame_geometry name="max" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false"> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> +</frame_geometry> + +<frame_geometry name="tiled_left" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max"> + <distance name="right_width" value="1" /> +</frame_geometry> + +<frame_geometry name="tiled_right" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max"> + <distance name="left_width" value="1" /> +</frame_geometry> + +<frame_geometry name="small" title_scale="small" parent="normal" rounded_top_left="1" rounded_top_right="1"> + <distance name="title_vertical_pad" value="0" /> + <border name="title_border" left="8" right="8" top="4" bottom="4" /> + <border name="button_border" left="0" right="0" top="0" bottom="0" /> +</frame_geometry> + +<frame_geometry name="small_unfocused" parent="small"> + <distance name="left_titlebar_edge" value="1"/> + <distance name="right_titlebar_edge" value="1"/> +</frame_geometry> + +<frame_geometry name="nobuttons" hide_buttons="true" parent="normal" /> + +<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal" > + <distance name="left_width" value="1" /> + <distance name="right_width" value="1" /> + <distance name="bottom_height" value="1" /> + <distance name="title_vertical_pad" value="0" /> + <border name="title_border" left="0" right="0" top="0" bottom="0" /> + <border name="button_border" left="0" right="0" top="0" bottom="0"/> +</frame_geometry> + +<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal"> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> + <distance name="title_vertical_pad" value="0" /> + <border name="title_border" left="0" right="0" top="0" bottom="0" /> + <border name="button_border" left="0" right="0" top="0" bottom="0" /> +</frame_geometry> + +<frame_geometry name="modal" title_scale="small" hide_buttons="true" rounded_top_left="1" rounded_top_right="1" rounded_bottom_right="1" rounded_bottom_left="1" parent="small"> +</frame_geometry> + +<frame_geometry name="attached" title_scale="small" hide_buttons="true" rounded_top_left="1" rounded_top_right="1" parent="small"> +</frame_geometry> + +<!-- ::: TITLES ::: --> +<draw_ops name="title_focused"> + <title version="< 3.1" + x="(0 `max` ((width - title_width) / 2)) + 2" + y="(0 `max` ((height - title_height) / 2))" + color="C_title_focused" /> + <title version=">= 3.1" + x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width))) + 2" + y="(0 `max` ((height - title_height) / 2))" + ellipsize_width="width" + color="C_title_focused" /> +</draw_ops> + +<draw_ops name="title_unfocused"> + <title version="< 3.1" + x="(0 `max` ((width - title_width) / 2)) + 2" + y="(0 `max` ((height - title_height) / 2))" + color="C_title_unfocused" /> + <title version=">= 3.1" + x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width))) + 2" + y="(0 `max` ((height - title_height) / 2))" + ellipsize_width="width" + color="C_title_unfocused" /> +</draw_ops> + +<!-- ::: WINDOW DECORATIONS ::: --> +<draw_ops name="entire_background_focused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="entire_background_unfocused"> + <include name="entire_background_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_focused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="titlebar_fill_attached_focused"> + <include name="entire_background_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_unfocused"> + <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="titlebar_attached_focused"> <!-- titlebar for attached and modal dialogs --> + <include name="titlebar_fill_attached_focused" /> +</draw_ops> + +<draw_ops name="rounded_titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="border_focused"> + <rectangle color="C_border_focused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="border_unfocused"> + <rectangle color="C_border_unfocused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="rounded_border_focused"> + <line color="C_border_focused" x1="2" y1="0" x2="width-3" y2="0" /> + <line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_focused" x1="0" y1="2" x2="0" y2="height-2" /> + <line color="C_border_focused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> + <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> + <!-- double arcs for darker borders --> + <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="rounded_border_unfocused"> + <line color="C_border_unfocused" x1="2" y1="0" x2="width-3" y2="0" /> + <line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_unfocused" x1="0" y1="2" x2="0" y2="height-2" /> + <line color="C_border_unfocused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> + <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> + <!-- double arcs for darker borders --> + <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="border_right_focused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_right_unfocused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<draw_ops name="border_left_focused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_left_unfocused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<!-- ::: BUTTON ICONS ::: --> +<!-- note: negative values in x or y causes gnome-shell to crash --> +<!-- close icon --> +<draw_ops name="close_focused"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="close_focused_prelight"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_focused_pressed"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="close_unfocused"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="close_unfocused_prelight"> + <include name="close_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_unfocused_pressed"> + <include name="close_focused_pressed" /> +</draw_ops> + +<!-- maximize icon --> +<draw_ops name="maximize_focused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="maximize_focused_prelight"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_focused_pressed"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="maximize_unfocused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_prelight"> + <include name="maximize_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_pressed"> + <include name="maximize_focused_pressed" /> +</draw_ops> + +<!-- unmaximize icon --> +<draw_ops name="unmaximize_focused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="unmaximize_focused_prelight"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="unmaximize_focused_pressed"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused_prelight"> + <include name="unmaximize_focused_prelight" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused_pressed"> + <include name="unmaximize_focused_pressed" /> +</draw_ops> + +<!-- minimize icon --> +<draw_ops name="minimize_focused"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="minimize_focused_prelight"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_focused_pressed"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="minimize_unfocused"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_prelight"> + <include name="minimize_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_pressed"> + <include name="minimize_focused_pressed" /> +</draw_ops> + +<!-- menu icon --> +<draw_ops name="menu_focused"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="menu_focused_prelight"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_focused_pressed"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="menu_unfocused"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="menu_unfocused_prelight"> + <include name="menu_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_unfocused_pressed"> + <include name="menu_focused_pressed" /> +</draw_ops> + +<!-- shade icon --> +<draw_ops name="shade_focused"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="shade_focused_prelight"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_focused_pressed"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="shade_unfocused"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="shade_unfocused_prelight"> + <include name="shade_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_unfocused_pressed"> + <include name="shade_focused_pressed" /> +</draw_ops> + +<!-- unshade icon --> +<draw_ops name="unshade_focused"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="unshade_focused_prelight"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="unshade_focused_pressed"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="unshade_unfocused"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="unshade_unfocused_prelight"> + <include name="unshade_focused_prelight" /> +</draw_ops> + +<draw_ops name="unshade_unfocused_pressed"> + <include name="unshade_focused_pressed" /> +</draw_ops> + +<!-- ::: FRAME STYLES ::: --> +<frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_unfocused" geometry="normal_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_focused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_unfocused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_focused" geometry="normal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_unfocused" geometry="normal"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_focused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button><button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_unfocused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_focused" geometry="small"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_unfocused" geometry="small_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_focused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_unfocused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="borderless" geometry="borderless"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_focused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_unfocused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_focused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_right_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_unfocused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_right_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_focused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_left_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_unfocused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_left_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- placeholder for unimplementated styles--> +<frame_style name="blank" geometry="normal"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- ::: FRAME STYLE SETS ::: --> +<frame_style_set name="normal_style_set"> + <frame focus="yes" state="normal" resize="both" style="normal_focused" /> + <frame focus="no" state="normal" resize="both" style="normal_unfocused" /> + <frame focus="yes" state="maximized" style="normal_max_focused" /> + <frame focus="no" state="maximized" style="normal_max_unfocused" /> + <frame focus="yes" state="shaded" style="normal_focused" /> + <frame focus="no" state="shaded" style="normal_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="normal_max_shaded_focused" /> + <frame focus="no" state="maximized_and_shaded" style="normal_max_shaded_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_left" style="tiled_left_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_left" style="tiled_left_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_right" style="tiled_right_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_right" style="tiled_right_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_left_and_shaded" style="tiled_left_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_left_and_shaded" style="tiled_left_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_right_and_shaded" style="tiled_right_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_right_and_shaded" style="tiled_right_unfocused" /> +</frame_style_set> + +<frame_style_set name="dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="dialog_focused" /> + <frame focus="no" state="normal" resize="both" style="dialog_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="dialog_focused" /> + <frame focus="no" state="shaded" style="dialog_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="modal_dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="modal_dialog_focused" /> + <frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="modal_dialog_focused" /> + <frame focus="no" state="shaded" style="modal_dialog_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="utility_style_set"> + <frame focus="yes" state="normal" resize="both" style="utility_focused" /> + <frame focus="no" state="normal" resize="both" style="utility_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="utility_focused" /> + <frame focus="no" state="shaded" style="utility_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="border_style_set"> + <frame focus="yes" state="normal" resize="both" style="border_focused" /> + <frame focus="no" state="normal" resize="both" style="border_unfocused" /> + <frame focus="yes" state="maximized" style="borderless" /> + <frame focus="no" state="maximized" style="borderless" /> + <frame focus="yes" state="shaded" style="blank" /> + <frame focus="no" state="shaded" style="blank" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="attached_style_set"> + <frame focus="yes" state="normal" resize="both" style="attached_focused" /> + <frame focus="no" state="normal" resize="both" style="attached_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="blank" /> + <frame focus="no" state="shaded" style="blank" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<!-- ::: WINDOWS ::: --> +<window type="normal" style_set="normal_style_set" /> +<window type="dialog" style_set="dialog_style_set" /> +<window type="modal_dialog" style_set="modal_dialog_style_set" /> +<window type="menu" style_set="utility_style_set" /> +<window type="utility" style_set="utility_style_set" /> +<window type="border" style_set="border_style_set" /> +<window version=">= 3.2" type="attached" style_set="attached_style_set" /> + +</metacity_theme> diff --git a/abbith-gtk-theme/src/metacity-1/thumbnail.png b/abbith-gtk-theme/src/metacity-1/thumbnail.png new file mode 100644 index 0000000..e656d16 Binary files /dev/null and b/abbith-gtk-theme/src/metacity-1/thumbnail.png differ diff --git a/abbith-gtk-theme/src/openbox-3/close.xbm b/abbith-gtk-theme/src/openbox-3/close.xbm new file mode 100644 index 0000000..ab7ff80 --- /dev/null +++ b/abbith-gtk-theme/src/openbox-3/close.xbm @@ -0,0 +1,4 @@ +#define close_width 8 +#define close_height 8 +static unsigned char close_bits[] = { + 0xc3, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e, 0xe7, 0xc3 }; diff --git a/abbith-gtk-theme/src/openbox-3/desk.xbm b/abbith-gtk-theme/src/openbox-3/desk.xbm new file mode 100644 index 0000000..abca780 --- /dev/null +++ b/abbith-gtk-theme/src/openbox-3/desk.xbm @@ -0,0 +1,4 @@ +#define desk_toggled_width 8 +#define desk_toggled_height 8 +static unsigned char desk_toggled_bits[] = { + 0xe7, 0xe7, 0xe7, 0x00, 0x00, 0xe7, 0xe7, 0xe7 }; diff --git a/abbith-gtk-theme/src/openbox-3/desk_toggled.xbm b/abbith-gtk-theme/src/openbox-3/desk_toggled.xbm new file mode 100644 index 0000000..b4b5330 --- /dev/null +++ b/abbith-gtk-theme/src/openbox-3/desk_toggled.xbm @@ -0,0 +1,4 @@ +#define desk_width 8 +#define desk_height 8 +static unsigned char desk_bits[] = { + 0x04, 0x0e, 0x3f, 0x1e, 0x1c, 0x24, 0x40, 0x80 }; diff --git a/abbith-gtk-theme/src/openbox-3/iconify.xbm b/abbith-gtk-theme/src/openbox-3/iconify.xbm new file mode 100644 index 0000000..9a9743f --- /dev/null +++ b/abbith-gtk-theme/src/openbox-3/iconify.xbm @@ -0,0 +1,4 @@ +#define iconify_width 8 +#define iconify_height 8 +static unsigned char iconify_bits[] = { + 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00 }; diff --git a/abbith-gtk-theme/src/openbox-3/max.xbm b/abbith-gtk-theme/src/openbox-3/max.xbm new file mode 100644 index 0000000..88bb9bd --- /dev/null +++ b/abbith-gtk-theme/src/openbox-3/max.xbm @@ -0,0 +1,4 @@ +#define max_width 8 +#define max_height 8 +static unsigned char max_bits[] = { + 0xff, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0xff }; diff --git a/abbith-gtk-theme/src/openbox-3/max_toggled.xbm b/abbith-gtk-theme/src/openbox-3/max_toggled.xbm new file mode 100644 index 0000000..cec3f24 --- /dev/null +++ b/abbith-gtk-theme/src/openbox-3/max_toggled.xbm @@ -0,0 +1,4 @@ +#define max_toggled_width 8 +#define max_toggled_height 8 +static unsigned char max_toggled_bits[] = { + 0xff, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0xff }; diff --git a/abbith-gtk-theme/src/openbox-3/shade.xbm b/abbith-gtk-theme/src/openbox-3/shade.xbm new file mode 100644 index 0000000..fcacf42 --- /dev/null +++ b/abbith-gtk-theme/src/openbox-3/shade.xbm @@ -0,0 +1,4 @@ +#define shade_width 8 +#define shade_height 8 +static unsigned char shade_bits[] = { + 0x18, 0x3c, 0x7e, 0xff, 0xdb, 0x18, 0x18, 0x18 }; diff --git a/abbith-gtk-theme/src/openbox-3/shade_toggled.xbm b/abbith-gtk-theme/src/openbox-3/shade_toggled.xbm new file mode 100644 index 0000000..594201e --- /dev/null +++ b/abbith-gtk-theme/src/openbox-3/shade_toggled.xbm @@ -0,0 +1,4 @@ +#define shade_toggled_width 8 +#define shade_toggled_height 8 +static unsigned char shade_toggled_bits[] = { + 0x18, 0x18, 0x18, 0xdb, 0xff, 0x7e, 0x3c, 0x18 }; diff --git a/abbith-gtk-theme/src/openbox-3/themerc b/abbith-gtk-theme/src/openbox-3/themerc new file mode 100644 index 0000000..c023148 --- /dev/null +++ b/abbith-gtk-theme/src/openbox-3/themerc @@ -0,0 +1,147 @@ +# Name: Numix Openbox theme +# Author: Satyajit Sahoo <satyajit.happy@gmail.com> +# License: GPL-3.0+ + + +# Menu +menu.border.color: #444444 + +menu.title.bg: flat solid +menu.title.bg.color: #444444 +menu.title.text.color: #eeeeee +menu.title.text.justify: center + +menu.items.bg: flat solid +menu.items.bg.color: #444444 +menu.items.text.color: #eeeeee +menu.items.disabled.text.color: #888888 + +menu.items.active.bg: flat solid +menu.items.active.bg.color: #f06860 +menu.items.active.text.color: #ffffff + +menu.separator.color: #262626 +menu.separator.width: 1 +menu.separator.padding.width: 2 +menu.separator.padding.height: 4 + + +# Active window +window.active.border.color: #484848 + +window.active.title.bg: flat solid +window.active.title.bg.color: #444444 +window.active.title.separator.color: #444444 +window.active.text.justify: center + +window.active.label.bg: parentrelative +window.active.label.text.color: #eeeeee + +window.active.handle.bg: flat solid +window.active.handle.bg.color: #444444 + +window.active.grip.bg: flat solid +window.active.grip.bg.color: #444444 + +window.active.button.unpressed.bg: flat solid +window.active.button.unpressed.bg.color: #444444 +window.active.button.unpressed.image.color: #eeeeee + +window.active.button.pressed.bg: flat solid +window.active.button.pressed.bg.color: #444444 +window.active.button.pressed.image.color: #f06860 + +window.active.button.disabled.bg: flat solid +window.active.button.disabled.bg.color: #444444 +window.active.button.disabled.image.color: #888888 + +window.active.button.hover.bg: flat solid +window.active.button.hover.bg.color: #444444 +window.active.button.hover.image.color: #f06860 + +window.active.button.toggled.image.color: #eeeeee +window.active.button.toggled.hover.image.color: #f06860 + + +# Inactive window +window.inactive.border.color: #393939 + +window.inactive.title.bg: flat solid +window.inactive.title.bg.color: #444444 +window.inactive.title.separator.color: #444444 +window.inactive.text.justify: center + +window.inactive.label.bg: parentrelative +window.inactive.label.text.color: #888888 + +window.inactive.handle.bg: flat solid +window.inactive.handle.bg.color: #444444 + +window.inactive.grip.bg: flat solid +window.inactive.grip.bg.color: #444444 + +window.inactive.button.unpressed.bg: flat solid +window.inactive.button.unpressed.bg.color: #444444 +window.inactive.button.unpressed.image.color: #888888 + +window.inactive.button.pressed.bg: flat solid +window.inactive.button.pressed.bg.color: #444444 +window.inactive.button.pressed.image.color: #f06860 + +window.inactive.button.disabled.bg: flat solid +window.inactive.button.disabled.bg.color: #444444 +window.inactive.button.disabled.image.color: #888888 + +window.inactive.button.hover.bg: flat solid +window.inactive.button.hover.bg.color: #444444 +window.inactive.button.hover.image.color: #f06860 + +window.inactive.button.toggled.image.color: #888888 +window.inactive.button.toggled.hover.image.color: #f06860 + + +# OSD +osd.border.width: 1 +osd.border.color: #484848 + +osd.bg: flat solid +osd.bg.color: #444444 +osd.label.bg: flat solid +osd.label.bg.color: #444444 +osd.label.text.color: #eeeeee + +osd.hilight.bg: flat solid +osd.hilight.bg.color: #f06860 + +osd.unhilight.bg: flat solid +osd.unhilight.bg.color: #888888 + +osd.button.unpressed.bg: flat border +osd.button.unpressed.bg.color: #303030 +osd.button.unpressed.*.border.color: #242424 + +osd.button.pressed.bg: flat border +osd.button.pressed.bg.color: #2a2a2a +osd.button.pressed.*.border.color: #242424 + +osd.button.focused.bg: flat solid border +osd.button.focused.bg.color: #303030 +osd.button.focused.*.border.color: #1e1e1e + +osd.button.focused.box.color: #f06860 + + +# Fonts +window.active.label.text.font:shadow=n +window.inactive.label.text.font:shadow=n +menu.items.font:shadow=n +menu.title.text.font:shadow=n + + +# Everything else +border.width: 1 +padding.width: 8 +padding.height: 4 +window.handle.width: 0 +window.client.padding.width: 0 +window.label.text.justify: center diff --git a/abbith-gtk-theme/src/unity/close.svg b/abbith-gtk-theme/src/unity/close.svg new file mode 100644 index 0000000..f39a12b --- /dev/null +++ b/abbith-gtk-theme/src/unity/close.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#eeeeee" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/abbith-gtk-theme/src/unity/close_dash.svg b/abbith-gtk-theme/src/unity/close_dash.svg new file mode 100644 index 0000000..67e1566 --- /dev/null +++ b/abbith-gtk-theme/src/unity/close_dash.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#ffffff" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/abbith-gtk-theme/src/unity/close_dash_disabled.svg b/abbith-gtk-theme/src/unity/close_dash_disabled.svg new file mode 120000 index 0000000..0749829 --- /dev/null +++ b/abbith-gtk-theme/src/unity/close_dash_disabled.svg @@ -0,0 +1 @@ +close_unfocused.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/close_dash_prelight.svg b/abbith-gtk-theme/src/unity/close_dash_prelight.svg new file mode 120000 index 0000000..64b2bff --- /dev/null +++ b/abbith-gtk-theme/src/unity/close_dash_prelight.svg @@ -0,0 +1 @@ +close_focused_prelight.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/close_dash_pressed.svg b/abbith-gtk-theme/src/unity/close_dash_pressed.svg new file mode 120000 index 0000000..ba6d4fe --- /dev/null +++ b/abbith-gtk-theme/src/unity/close_dash_pressed.svg @@ -0,0 +1 @@ +close_unfocused_pressed.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/close_focused_normal.svg b/abbith-gtk-theme/src/unity/close_focused_normal.svg new file mode 120000 index 0000000..088f392 --- /dev/null +++ b/abbith-gtk-theme/src/unity/close_focused_normal.svg @@ -0,0 +1 @@ +./close.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/close_focused_prelight.svg b/abbith-gtk-theme/src/unity/close_focused_prelight.svg new file mode 100644 index 0000000..ab189e7 --- /dev/null +++ b/abbith-gtk-theme/src/unity/close_focused_prelight.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#f0544c" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/abbith-gtk-theme/src/unity/close_focused_pressed.svg b/abbith-gtk-theme/src/unity/close_focused_pressed.svg new file mode 100644 index 0000000..8becedd --- /dev/null +++ b/abbith-gtk-theme/src/unity/close_focused_pressed.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#f0544c" opacity="0.75" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/abbith-gtk-theme/src/unity/close_unfocused.svg b/abbith-gtk-theme/src/unity/close_unfocused.svg new file mode 100644 index 0000000..3175097 --- /dev/null +++ b/abbith-gtk-theme/src/unity/close_unfocused.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#AAAAAA" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/abbith-gtk-theme/src/unity/close_unfocused_prelight.svg b/abbith-gtk-theme/src/unity/close_unfocused_prelight.svg new file mode 120000 index 0000000..c92a1d4 --- /dev/null +++ b/abbith-gtk-theme/src/unity/close_unfocused_prelight.svg @@ -0,0 +1 @@ +./close_focused_prelight.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/close_unfocused_pressed.svg b/abbith-gtk-theme/src/unity/close_unfocused_pressed.svg new file mode 120000 index 0000000..61c7b94 --- /dev/null +++ b/abbith-gtk-theme/src/unity/close_unfocused_pressed.svg @@ -0,0 +1 @@ +./close_focused_pressed.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/launcher_arrow_ltr_19.svg b/abbith-gtk-theme/src/unity/launcher_arrow_ltr_19.svg new file mode 100644 index 0000000..d600ba6 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_arrow_ltr_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="19"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1033.3622)"> + <rect width="4" height="8" x="2" y="1039.36" rx="0.5" fill="#f9f9f9"/> + </g> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_arrow_ltr_37.svg b/abbith-gtk-theme/src/unity/launcher_arrow_ltr_37.svg new file mode 100644 index 0000000..7b8806f --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_arrow_ltr_37.svg @@ -0,0 +1,15 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect y="1033.36" x="20" height="19" width="10" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <g transform="matrix(2,0,0,1.4999968,0,-530.67775)"> + <rect rx="1" y="1039.36" x="2" height="8" width="4" fill="#f9f9f9"/> + </g> + </g> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_arrow_outline_ltr_19.svg b/abbith-gtk-theme/src/unity/launcher_arrow_outline_ltr_19.svg new file mode 100644 index 0000000..2823085 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_arrow_outline_ltr_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="19"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1033.3622)"> + <path d="M 2.5 6 C 2.223 6 2 6.223 2 6.5 L 2 13.5 C 2 13.777 2.223 14 2.5 14 L 5.5 14 C 5.777 14 6 13.777 6 13.5 L 6 6.5 C 6 6.223 5.777 6 5.5 6 L 2.5 6 z M 3 7 L 5 7 L 5 13 L 3 13 L 3 7 z " transform="translate(0,1033.3622)" fill="#f9f9f9"/> + </g> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_arrow_outline_ltr_37.svg b/abbith-gtk-theme/src/unity/launcher_arrow_outline_ltr_37.svg new file mode 100644 index 0000000..a1480c8 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_arrow_outline_ltr_37.svg @@ -0,0 +1,13 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect y="1033.36" x="20" height="19" width="10" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <path d="M 6 13 C 4.892 13 4 13.669002 4 14.5 L 4 23.5 C 4 24.330998 4.892 25 6 25 L 10 25 C 11.108 25 12 24.330998 12 23.5 L 12 14.5 C 12 13.669002 11.108 13 10 13 L 6 13 z M 6 15 L 10 15 L 10 23 L 6 23 L 6 15 z " transform="translate(0,1015.3622)" fill="#f9f9f9"/> + </g> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_arrow_outline_rtl_19.svg b/abbith-gtk-theme/src/unity/launcher_arrow_outline_rtl_19.svg new file mode 100644 index 0000000..6c83c8f --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_arrow_outline_rtl_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="19"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1033.3622)"> + <path d="m 4.5,1039.3622 c -0.277,0 -0.5,0.223 -0.5,0.5 l 0,7 c 0,0.277 0.223,0.5 0.5,0.5 l 3,0 c 0.277,0 0.5,-0.223 0.5,-0.5 l 0,-7 c 0,-0.277 -0.223,-0.5 -0.5,-0.5 l -3,0 z m 0.5,1 2,0 0,6 -2,0 0,-6 z" fill="#f9f9f9"/> + </g> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_arrow_outline_rtl_37.svg b/abbith-gtk-theme/src/unity/launcher_arrow_outline_rtl_37.svg new file mode 100644 index 0000000..ed493d8 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_arrow_outline_rtl_37.svg @@ -0,0 +1,13 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect y="1033.36" x="20" height="19" width="10" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <path d="m 10,1028.3622 c -1.108,0 -2,0.669 -2,1.5 l 0,9 c 0,0.831 0.892,1.5 2,1.5 l 4,0 c 1.108,0 2,-0.669 2,-1.5 l 0,-9 c 0,-0.831 -0.892,-1.5 -2,-1.5 l -4,0 z m 0,2 4,0 0,8 -4,0 0,-8 z" fill="#f9f9f9"/> + </g> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_arrow_rtl_19.svg b/abbith-gtk-theme/src/unity/launcher_arrow_rtl_19.svg new file mode 100644 index 0000000..cd78e86 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_arrow_rtl_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="19"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1033.3622)"> + <rect width="4" height="8" x="4" y="1039.36" rx="0.5" fill="#f9f9f9"/> + </g> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_arrow_rtl_37.svg b/abbith-gtk-theme/src/unity/launcher_arrow_rtl_37.svg new file mode 100644 index 0000000..9fac194 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_arrow_rtl_37.svg @@ -0,0 +1,15 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect y="1033.36" x="20" height="19" width="10" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <g transform="matrix(2,0,0,1.4999968,4,-530.67775)"> + <rect rx="1" y="1039.36" x="2" height="8" width="4" fill="#f9f9f9"/> + </g> + </g> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_icon_back_150.svg b/abbith-gtk-theme/src/unity/launcher_icon_back_150.svg new file mode 100644 index 0000000..d66f78d --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_icon_back_150.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 149.99998 150"> + <defs> + <clipPath> + <path d="m 440,80.683594 c -1.84957,0 -3.31641,1.466834 -3.31641,3.316406 l 0,44 c 0,1.84957 1.46684,3.31641 3.31641,3.31641 l 44,0 c 1.84957,0 3.31641,-1.46684 3.31641,-3.31641 l 0,-44 c 0,-1.849572 -1.46684,-3.316406 -3.31641,-3.316406 l -44,0 z"/> + </clipPath> + </defs> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_icon_back_54.svg b/abbith-gtk-theme/src/unity/launcher_icon_back_54.svg new file mode 100644 index 0000000..dfe7dbf --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_icon_back_54.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="54" height="54" viewBox="0 0 54 54.000001"/> diff --git a/abbith-gtk-theme/src/unity/launcher_icon_edge_150.svg b/abbith-gtk-theme/src/unity/launcher_icon_edge_150.svg new file mode 100644 index 0000000..6d9201e --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_icon_edge_150.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 149.99998 150"> + <defs> + <clipPath> + <path d="m 440,80.683594 c -1.84957,0 -3.31641,1.466834 -3.31641,3.316406 l 0,44 c 0,1.84957 1.46684,3.31641 3.31641,3.31641 l 44,0 c 1.84957,0 3.31641,-1.46684 3.31641,-3.31641 l 0,-44 c 0,-1.849572 -1.46684,-3.316406 -3.31641,-3.316406 l -44,0 z"/> + </clipPath> + <clipPath> + <rect y="316" x="353" height="148" width="148" opacity="0.8" fill="#ff00ff" color="#000000" rx="12"/> + </clipPath> + </defs> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_icon_edge_54.svg b/abbith-gtk-theme/src/unity/launcher_icon_edge_54.svg new file mode 100644 index 0000000..3307c5b --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_icon_edge_54.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="54" height="54" viewBox="0 0 54 54.000001"> + <defs> + <clipPath> + <path d="m 440,81.001953 c -1.67866,0 -2.99805,1.319387 -2.99805,2.998047 l 0,44 c 0,1.67866 1.31939,2.99805 2.99805,2.99805 l 44,0 c 1.67866,0 2.99805,-1.31939 2.99805,-2.99805 l 0,-44 c 0,-1.67866 -1.31939,-2.998047 -2.99805,-2.998047 l -44,0 z"/> + </clipPath> + </defs> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_icon_glow_200.svg b/abbith-gtk-theme/src/unity/launcher_icon_glow_200.svg new file mode 100644 index 0000000..01bb0d9 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_icon_glow_200.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200.00001 200.00003"> + <defs> + <clipPath> + <path d="m 427.33333,22.026666 0,69.333333 69.33333,0 0,-69.333333 -69.33333,0 z m 13.11917,9.013333 43.095,0 c 2.27623,0 4.10583,1.829606 4.10583,4.105834 l 0,43.094999 c 0,2.276228 -1.8296,4.105834 -4.10583,4.105834 l -43.095,0 c -2.27623,0 -4.10583,-1.829606 -4.10583,-4.105834 l 0,-43.094999 c 0,-2.276228 1.8296,-4.105834 4.10583,-4.105834 z"/> + </clipPath> + </defs> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_icon_glow_62.svg b/abbith-gtk-theme/src/unity/launcher_icon_glow_62.svg new file mode 100644 index 0000000..105b068 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_icon_glow_62.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="62" height="62" viewBox="0 0 62 62.000001"> + <defs> + <clipPath> + <path d="m 1,25 0,62 62,0 0,-62 -62,0 z m 9,6 44,0 c 1.662,0 3,1.338 3,3 l 0,44 c 0,1.662 -1.338,3 -3,3 L 10,81 C 8.338,81 7,79.662 7,78 L 7,34 c 0,-1.662 1.338,-3 3,-3 z"/> + </clipPath> + </defs> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_icon_selected_back_150.svg b/abbith-gtk-theme/src/unity/launcher_icon_selected_back_150.svg new file mode 100644 index 0000000..2fa6752 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_icon_selected_back_150.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 149.99998 150"> + <defs> + <clipPath> + <rect y="1040.22" x="505" height="150" width="150" opacity="0.2" fill-rule="evenodd" color="#000000" rx="42"/> + </clipPath> + </defs> + <g transform="translate(-505.00002,-1040.2193)"> + <rect width="150" height="4" x="505" y="1186.22" rx="2" fill="#f9f9f9" fill-rule="evenodd"/> + </g> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_icon_selected_back_54.svg b/abbith-gtk-theme/src/unity/launcher_icon_selected_back_54.svg new file mode 100644 index 0000000..dfe7dbf --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_icon_selected_back_54.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="54" height="54" viewBox="0 0 54 54.000001"/> diff --git a/abbith-gtk-theme/src/unity/launcher_icon_shadow_200.svg b/abbith-gtk-theme/src/unity/launcher_icon_shadow_200.svg new file mode 100644 index 0000000..9e68b14 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_icon_shadow_200.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200.00001 200.00003"> + <defs> + <clipPath> + <path d="m 489.73333,21.333331 0,69.333332 69.33333,0 0,-69.333332 -69.33333,0 z m 13.11917,9.013334 43.095,0 c 2.27623,0 4.10583,1.829606 4.10583,4.105833 l 0,43.094999 c 0,2.276227 -1.8296,4.105833 -4.10583,4.105833 l -43.095,0 c -2.27623,0 -4.10583,-1.829606 -4.10583,-4.105833 l 0,-43.094999 c 0,-2.276227 1.8296,-4.105833 4.10583,-4.105833 z"/> + </clipPath> + </defs> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_icon_shadow_62.svg b/abbith-gtk-theme/src/unity/launcher_icon_shadow_62.svg new file mode 100644 index 0000000..d322434 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_icon_shadow_62.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="62" height="62" viewBox="0 0 61.999999 62.000001"> + <defs> + <clipPath> + <path d="m 4,24 c -2.216,0 -4,1.784 -4,4 l 0,56 c 0,2.216 1.784,4 4,4 l 56,0 c 2.216,0 4,-1.784 4,-4 l 0,-56 c 0,-2.216 -1.784,-4 -4,-4 L 4,24 z m 6,6 44,0 c 2.216,0 4,1.784 4,4 l 0,44 c 0,2.216 -1.784,4 -4,4 L 10,82 C 7.784,82 6,80.216 6,78 L 6,34 c 0,-2.216 1.784,-4 4,-4 z"/> + </clipPath> + </defs> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_icon_shine_150.svg b/abbith-gtk-theme/src/unity/launcher_icon_shine_150.svg new file mode 100644 index 0000000..51af8a1 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_icon_shine_150.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 149.99998 150"/> diff --git a/abbith-gtk-theme/src/unity/launcher_icon_shine_54.svg b/abbith-gtk-theme/src/unity/launcher_icon_shine_54.svg new file mode 100644 index 0000000..dfe7dbf --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_icon_shine_54.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="54" height="54" viewBox="0 0 54 54.000001"/> diff --git a/abbith-gtk-theme/src/unity/launcher_pip_ltr_19.svg b/abbith-gtk-theme/src/unity/launcher_pip_ltr_19.svg new file mode 100644 index 0000000..aa77bc1 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_pip_ltr_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="18"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1034.3622)"> + <rect rx="0.5" y="1042.36" x="2" height="3" width="3" fill="#f9f9f9"/> + </g> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_pip_ltr_37.svg b/abbith-gtk-theme/src/unity/launcher_pip_ltr_37.svg new file mode 100644 index 0000000..f6a12a0 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_pip_ltr_37.svg @@ -0,0 +1,16 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect width="20" height="37" x="20" y="1015.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <rect width="7" height="7" x="5" y="1030.36" rx="1" fill="#f9f9f9"/> + </g> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_pip_rtl_19.svg b/abbith-gtk-theme/src/unity/launcher_pip_rtl_19.svg new file mode 100644 index 0000000..ba7a895 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_pip_rtl_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="18"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1034.3622)"> + <rect width="3" height="3" x="5" y="1042.36" rx="0.5" fill="#f9f9f9"/> + </g> +</svg> diff --git a/abbith-gtk-theme/src/unity/launcher_pip_rtl_37.svg b/abbith-gtk-theme/src/unity/launcher_pip_rtl_37.svg new file mode 100644 index 0000000..9f8a057 --- /dev/null +++ b/abbith-gtk-theme/src/unity/launcher_pip_rtl_37.svg @@ -0,0 +1,16 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + <clipPath> + <rect width="20" height="37" x="20" y="1015.36" opacity="0.12" fill="#ff00ff" color="#000000"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <rect width="7" height="7" x="8" y="1030.36" rx="1" fill="#f9f9f9"/> + </g> +</svg> diff --git a/abbith-gtk-theme/src/unity/maximize.svg b/abbith-gtk-theme/src/unity/maximize.svg new file mode 100644 index 0000000..240913a --- /dev/null +++ b/abbith-gtk-theme/src/unity/maximize.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#eeeeee" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/abbith-gtk-theme/src/unity/maximize_dash.svg b/abbith-gtk-theme/src/unity/maximize_dash.svg new file mode 100644 index 0000000..4794503 --- /dev/null +++ b/abbith-gtk-theme/src/unity/maximize_dash.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#ffffff" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/abbith-gtk-theme/src/unity/maximize_dash_disabled.svg b/abbith-gtk-theme/src/unity/maximize_dash_disabled.svg new file mode 120000 index 0000000..a933b39 --- /dev/null +++ b/abbith-gtk-theme/src/unity/maximize_dash_disabled.svg @@ -0,0 +1 @@ +maximize_unfocused.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/maximize_dash_prelight.svg b/abbith-gtk-theme/src/unity/maximize_dash_prelight.svg new file mode 120000 index 0000000..3efa75f --- /dev/null +++ b/abbith-gtk-theme/src/unity/maximize_dash_prelight.svg @@ -0,0 +1 @@ +maximize_dash.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/maximize_dash_pressed.svg b/abbith-gtk-theme/src/unity/maximize_dash_pressed.svg new file mode 120000 index 0000000..3efa75f --- /dev/null +++ b/abbith-gtk-theme/src/unity/maximize_dash_pressed.svg @@ -0,0 +1 @@ +maximize_dash.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/maximize_focused_normal.svg b/abbith-gtk-theme/src/unity/maximize_focused_normal.svg new file mode 120000 index 0000000..a09c8fc --- /dev/null +++ b/abbith-gtk-theme/src/unity/maximize_focused_normal.svg @@ -0,0 +1 @@ +./maximize.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/maximize_focused_prelight.svg b/abbith-gtk-theme/src/unity/maximize_focused_prelight.svg new file mode 100644 index 0000000..f835b49 --- /dev/null +++ b/abbith-gtk-theme/src/unity/maximize_focused_prelight.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#f0544c" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/abbith-gtk-theme/src/unity/maximize_focused_pressed.svg b/abbith-gtk-theme/src/unity/maximize_focused_pressed.svg new file mode 100644 index 0000000..0136eca --- /dev/null +++ b/abbith-gtk-theme/src/unity/maximize_focused_pressed.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#f0544c" opacity="0.75" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/abbith-gtk-theme/src/unity/maximize_unfocused.svg b/abbith-gtk-theme/src/unity/maximize_unfocused.svg new file mode 100644 index 0000000..9b255b3 --- /dev/null +++ b/abbith-gtk-theme/src/unity/maximize_unfocused.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#AAAAAA" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/abbith-gtk-theme/src/unity/maximize_unfocused_prelight.svg b/abbith-gtk-theme/src/unity/maximize_unfocused_prelight.svg new file mode 120000 index 0000000..0f332c5 --- /dev/null +++ b/abbith-gtk-theme/src/unity/maximize_unfocused_prelight.svg @@ -0,0 +1 @@ +./maximize_focused_prelight.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/maximize_unfocused_pressed.svg b/abbith-gtk-theme/src/unity/maximize_unfocused_pressed.svg new file mode 120000 index 0000000..e3f8d9b --- /dev/null +++ b/abbith-gtk-theme/src/unity/maximize_unfocused_pressed.svg @@ -0,0 +1 @@ +./maximize_focused_pressed.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/minimize.svg b/abbith-gtk-theme/src/unity/minimize.svg new file mode 100644 index 0000000..fcee6fa --- /dev/null +++ b/abbith-gtk-theme/src/unity/minimize.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#eeeeee" width="8" height="2"/></svg> diff --git a/abbith-gtk-theme/src/unity/minimize_dash.svg b/abbith-gtk-theme/src/unity/minimize_dash.svg new file mode 100644 index 0000000..d0523b6 --- /dev/null +++ b/abbith-gtk-theme/src/unity/minimize_dash.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#ffffff" width="8" height="2"/></svg> diff --git a/abbith-gtk-theme/src/unity/minimize_dash_disabled.svg b/abbith-gtk-theme/src/unity/minimize_dash_disabled.svg new file mode 120000 index 0000000..ac8c42d --- /dev/null +++ b/abbith-gtk-theme/src/unity/minimize_dash_disabled.svg @@ -0,0 +1 @@ +minimize_unfocused.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/minimize_dash_prelight.svg b/abbith-gtk-theme/src/unity/minimize_dash_prelight.svg new file mode 120000 index 0000000..752db6d --- /dev/null +++ b/abbith-gtk-theme/src/unity/minimize_dash_prelight.svg @@ -0,0 +1 @@ +minimize_focused_prelight.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/minimize_dash_pressed.svg b/abbith-gtk-theme/src/unity/minimize_dash_pressed.svg new file mode 120000 index 0000000..d2b384b --- /dev/null +++ b/abbith-gtk-theme/src/unity/minimize_dash_pressed.svg @@ -0,0 +1 @@ +minimize_focused_pressed.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/minimize_focused_normal.svg b/abbith-gtk-theme/src/unity/minimize_focused_normal.svg new file mode 120000 index 0000000..d9675f0 --- /dev/null +++ b/abbith-gtk-theme/src/unity/minimize_focused_normal.svg @@ -0,0 +1 @@ +./minimize.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/minimize_focused_prelight.svg b/abbith-gtk-theme/src/unity/minimize_focused_prelight.svg new file mode 100644 index 0000000..0e1140d --- /dev/null +++ b/abbith-gtk-theme/src/unity/minimize_focused_prelight.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#f0544c" width="8" height="2"/></svg> diff --git a/abbith-gtk-theme/src/unity/minimize_focused_pressed.svg b/abbith-gtk-theme/src/unity/minimize_focused_pressed.svg new file mode 100644 index 0000000..3f0f1f4 --- /dev/null +++ b/abbith-gtk-theme/src/unity/minimize_focused_pressed.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#f0544c" opacity="0.75" width="8" height="2"/></svg> diff --git a/abbith-gtk-theme/src/unity/minimize_unfocused.svg b/abbith-gtk-theme/src/unity/minimize_unfocused.svg new file mode 100644 index 0000000..7d85c16 --- /dev/null +++ b/abbith-gtk-theme/src/unity/minimize_unfocused.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#AAAAAA" width="8" height="2"/></svg> diff --git a/abbith-gtk-theme/src/unity/minimize_unfocused_prelight.svg b/abbith-gtk-theme/src/unity/minimize_unfocused_prelight.svg new file mode 120000 index 0000000..bef3fe5 --- /dev/null +++ b/abbith-gtk-theme/src/unity/minimize_unfocused_prelight.svg @@ -0,0 +1 @@ +./minimize_focused_prelight.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/minimize_unfocused_pressed.svg b/abbith-gtk-theme/src/unity/minimize_unfocused_pressed.svg new file mode 120000 index 0000000..683fa92 --- /dev/null +++ b/abbith-gtk-theme/src/unity/minimize_unfocused_pressed.svg @@ -0,0 +1 @@ +./minimize_focused_pressed.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/minimized.svg b/abbith-gtk-theme/src/unity/minimized.svg new file mode 100644 index 0000000..fcee6fa --- /dev/null +++ b/abbith-gtk-theme/src/unity/minimized.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#eeeeee" width="8" height="2"/></svg> diff --git a/abbith-gtk-theme/src/unity/modes/launcher_bfb-flat.png b/abbith-gtk-theme/src/unity/modes/launcher_bfb-flat.png new file mode 100644 index 0000000..f5aa0e5 Binary files /dev/null and b/abbith-gtk-theme/src/unity/modes/launcher_bfb-flat.png differ diff --git a/abbith-gtk-theme/src/unity/modes/launcher_bfb_ns.png b/abbith-gtk-theme/src/unity/modes/launcher_bfb_ns.png new file mode 100644 index 0000000..2ca1ebb Binary files /dev/null and b/abbith-gtk-theme/src/unity/modes/launcher_bfb_ns.png differ diff --git a/abbith-gtk-theme/src/unity/modes/ubuntu-square.svg b/abbith-gtk-theme/src/unity/modes/ubuntu-square.svg new file mode 100644 index 0000000..1b925fb --- /dev/null +++ b/abbith-gtk-theme/src/unity/modes/ubuntu-square.svg @@ -0,0 +1,69 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48"> + <defs> + <clipPath> + <rect width="42" x="307" y="223" rx="9" height="42" transform="rotate(90)" fill="url(#3)" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="240" x="24" y="36" rx="50" height="240" fill="#986767" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="16" x="432" y="116" rx="2" height="16" opacity="0.2" fill="#6d6d6d" color="#bebebe"/> + </clipPath> + <clipPath> + <path d="m 98.03125,23.191212 c -41.492132,1.05238 -74.84375,35.06824 -74.84375,76.812498 0,42.40687 34.405632,76.8125 76.8125,76.8125 42.40687,0 76.8125,-34.40563 76.8125,-76.8125 0,-42.406866 -34.40563,-76.812498 -76.8125,-76.812498 -0.662607,0 -1.310145,-0.0167 -1.96875,0 z M 100,50.659962 c 27.24464,0 49.34375,22.099114 49.34375,49.343748 -1e-5,27.24464 -22.09911,49.34375 -49.34375,49.34375 -27.244636,-1e-5 -49.34375,-22.09911 -49.34375,-49.34375 0,-27.244634 22.099114,-49.343748 49.34375,-49.343748 z"/> + </clipPath> + <clipPath> + <path d="m 152,204 a 8,8 0 1 1 -16,0 8,8 0 1 1 16,0 z"/> + </clipPath> + <clipPath> + <path d="m 145,215 c 33.13708,0 60,-26.86292 60,-60 0,-33.13708 -26.86292,-60 -60,-60 -33.13708,0 -60,26.86292 -60,60 0,12.50698 3.8285,24.10633 10.375,33.71875 L 89,211 111.28125,204.625 C 120.89367,211.1715 132.49302,215 145,215 z"/> + </clipPath> + <clipPath> + <rect width="16" x="432" y="116" rx="3" height="16" color="#bebebe"/> + </clipPath> + <clipPath> + <path d="m 144,70 c -49.705627,0 -90,40.29437 -90,90 0,49.70563 40.294373,90 90,90 49.70563,0 90,-40.29437 90,-90 0,-49.70563 -40.29437,-90 -90,-90 z m 0,32.1875 c 32.03251,0 58,25.96748 58,58 0,32.03252 -25.96749,58 -58,58 -32.03251,0 -58,-25.96748 -58,-58 0,-32.03252 25.96749,-58 58,-58 z"/> + </clipPath> + <clipPath> + <rect width="22" x="433" y="77" rx="3" height="22" opacity="0.2" fill="#6d6d6d" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="30" x="433" y="29" rx="4" height="30" opacity="0.2" fill="#6d6d6d" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="90" x="307" y="31" rx="18.75" height="90" fill="url(#1)" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="60" x="306" y="142" rx="12.5" height="60" transform="matrix(0 -1 1 0 0 0)" fill="url(#0)" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="30" x="433" y="29" rx="6" height="30" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="22" x="433" y="77" rx="5" height="22" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="22" x="433" y="77" rx="4" height="22" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="20" x="434" y="78" rx="4" height="20" color="#bebebe"/> + </clipPath> + <linearGradient gradientTransform="matrix(.25 0 0 .25 299.99999 131.99999)" id="0" xlink:href="#2" y1="230" y2="90" x2="0" gradientUnits="userSpaceOnUse"/> + <linearGradient gradientTransform="matrix(.375 0 0 .375 298 16)" id="1" xlink:href="#2" y1="230" y2="90" x2="0" gradientUnits="userSpaceOnUse"/> + <linearGradient id="2"> + <stop stop-color="#151515"/> + <stop offset="1" stop-color="#222"/> + </linearGradient> + <linearGradient gradientTransform="matrix(.175 0 0 .175 302.79999 215.99997)" id="3" xlink:href="#2" y1="280" y2="40" x2="0" gradientUnits="userSpaceOnUse"/> + </defs> + <g transform="translate(0,-1004.3622)"> + <path d="M 5.1875,1 C 2.8707723,1 1,2.8707723 1,5.1875 l 0,37.625 C 1,45.129228 2.8707723,47 5.1875,47 l 37.625,0 C 45.129228,47 47,45.129228 47,42.8125 L 47,5.1875 C 47,2.8707723 45.129228,1 42.8125,1 L 5.1875,1 z m 0.1875,0.25 37.25,0 c 2.291546,0 4.125,1.8334541 4.125,4.125 l 0,37.25 c 0,2.291546 -1.833454,4.125 -4.125,4.125 l -37.25,0 C 3.0834541,46.75 1.25,44.916546 1.25,42.625 l 0,-37.25 C 1.25,3.0834541 3.0834541,1.25 5.375,1.25 z" transform="translate(0,1004.3622)" opacity="0.05"/> + <path d="M 5.375,1.25 C 3.0834541,1.25 1.25,3.0834541 1.25,5.375 l 0,37.25 c 0,2.291546 1.8334541,4.125 4.125,4.125 l 37.25,0 c 2.291546,0 4.125,-1.833454 4.125,-4.125 l 0,-37.25 C 46.75,3.0834541 44.916546,1.25 42.625,1.25 l -37.25,0 z m 0.21875,0.25 36.8125,0 C 44.672614,1.5 46.5,3.3273859 46.5,5.59375 l 0,36.8125 C 46.5,44.672614 44.672614,46.5 42.40625,46.5 l -36.8125,0 C 3.3273859,46.5 1.5,44.672614 1.5,42.40625 l 0,-36.8125 C 1.5,3.3273859 3.3273859,1.5 5.59375,1.5 z" transform="translate(0,1004.3622)" opacity="0.1"/> + <path d="M 5.59375,1.5 C 3.3273859,1.5 1.5,3.3273859 1.5,5.59375 l 0,36.8125 C 1.5,44.672614 3.3273859,46.5 5.59375,46.5 l 36.8125,0 C 44.672614,46.5 46.5,44.672614 46.5,42.40625 l 0,-36.8125 C 46.5,3.3273859 44.672614,1.5 42.40625,1.5 l -36.8125,0 z m 0.09375,0.125 36.625,0 c 2.253773,0 4.0625,1.8087269 4.0625,4.0625 l 0,36.625 c 0,2.253773 -1.808727,4.0625 -4.0625,4.0625 l -36.625,0 c -2.2537731,0 -4.0625,-1.808727 -4.0625,-4.0625 l 0,-36.625 C 1.625,3.4337269 3.4337269,1.625 5.6875,1.625 z" transform="translate(0,1004.3622)" opacity="0.2"/> + <path d="M 5.6875,1.625 C 3.4337269,1.625 1.625,3.4337269 1.625,5.6875 l 0,36.625 c 0,2.253773 1.8087269,4.0625 4.0625,4.0625 l 36.625,0 c 2.253773,0 4.0625,-1.808727 4.0625,-4.0625 l 0,-36.625 c 0,-2.2537731 -1.808727,-4.0625 -4.0625,-4.0625 l -36.625,0 z m 0.09375,0.125 36.4375,0 c 2.241182,0 4.03125,1.7900679 4.03125,4.03125 l 0,36.4375 c 0,2.241182 -1.790068,4.03125 -4.03125,4.03125 l -36.4375,0 C 3.5400679,46.25 1.75,44.459932 1.75,42.21875 l 0,-36.4375 C 1.75,3.5400679 3.5400679,1.75 5.78125,1.75 z" transform="translate(0,1004.3622)" opacity="0.3"/> + <path d="M 5.78125,1.75 C 3.5400679,1.75 1.75,3.5400679 1.75,5.78125 l 0,36.4375 c 0,2.241182 1.7900679,4.03125 4.03125,4.03125 l 36.4375,0 c 2.241182,0 4.03125,-1.790068 4.03125,-4.03125 l 0,-36.4375 C 46.25,3.5400679 44.459932,1.75 42.21875,1.75 l -36.4375,0 z m 0.125,0.125 36.1875,0 c 2.228591,0 4.03125,1.802659 4.03125,4.03125 l 0,36.1875 c 0,2.228591 -1.802659,4.03125 -4.03125,4.03125 l -36.1875,0 C 3.677659,46.125 1.875,44.322341 1.875,42.09375 l 0,-36.1875 C 1.875,3.677659 3.677659,1.875 5.90625,1.875 z" transform="translate(0,1004.3622)" opacity="0.4"/> + <rect rx="4.02" y="1006.24" x="1.875" height="44.25" width="44.25" opacity="0.5"/> + </g> + <rect rx="4" y="1.998" x="2" height="44" width="44" fill="#dd4814"/> + <path d="M 24.000004,12.000001 C 17.372557,12.000001 12,17.372389 12,24 c 0,6.627189 5.372557,12 12.000004,12 6.62744,0 12,-5.372896 12,-12 0,-6.627611 -5.37256,-11.999999 -12,-11.999999 z m 4.125,3.33125 c 0.25818,0.0067 0.51682,0.07428 0.75625,0.2125 0.76631,0.442467 1.02996,1.427433 0.5875,2.19375 -0.44222,0.765978 -1.42127,1.023802 -2.1875,0.58125 -0.76607,-0.442214 -1.0298,-1.421522 -0.5875,-2.1875 0.30419,-0.526843 0.86325,-0.814741 1.43125,-0.8 z m -4.125,1.70625 c 0.64422,0 1.27051,0.09242 1.8625,0.25625 0.10464,0.64355 0.48482,1.235964 1.09375,1.5875 0.60815,0.351196 1.30965,0.386373 1.91875,0.15625 1.18473,1.164757 1.95639,2.74771 2.06875,4.512499 l -2.28125,0.0375 c -0.21023,-2.390305 -2.21759,-4.268749 -4.6625,-4.268749 -0.704516,0 -1.36957,0.158693 -1.968754,0.4375 l -1.112499,-1.99375 c 0.929807,-0.460586 1.973301,-0.725 3.081253,-0.725 z m -3.862503,1.16875 1.174999,1.9625 c -1.203195,0.846834 -1.993749,2.2479 -1.993749,3.831249 0,1.583603 0.790554,2.984585 1.993749,3.83125 l -1.174999,1.9625 c -1.402078,-0.936666 -2.441846,-2.372586 -2.875,-4.05 0.506136,-0.41241 0.825,-1.039747 0.825,-1.74375 0,-0.704171 -0.31895,-1.331254 -0.825,-1.74375 0.433238,-1.677243 1.472922,-3.113249 2.875,-4.049999 z m -4.3,4.193749 c 0.884764,0 1.60625,0.714896 1.60625,1.6 0,0.884681 -0.72157,1.6 -1.60625,1.6 -0.88502,0 -1.600001,-0.715319 -1.600001,-1.6 0,-0.885019 0.714981,-1.6 1.600001,-1.6 z m 12.825003,2.0125 2.28125,0.0375 c -0.11219,1.76479 -0.8841,3.347658 -2.06875,4.5125 -0.6091,-0.230208 -1.3106,-0.194777 -1.91875,0.15625 -0.60901,0.35179 -0.98911,0.94395 -1.09375,1.5875 -0.59208,0.163829 -1.21828,0.25625 -1.8625,0.25625 -1.107952,0 -2.157612,-0.264583 -3.087503,-0.725 l 1.118749,-1.99375 c 0.599268,0.278807 1.264154,0.4375 1.968754,0.4375 2.44491,0 4.45244,-1.878105 4.6625,-4.26875 z m -0.625,5.05 c 0.56798,-0.01474 1.12717,0.27964 1.43125,0.80625 0.44238,0.766232 0.17856,1.745202 -0.5875,2.1875 -0.76632,0.442384 -1.74504,0.178818 -2.1875,-0.5875 -0.44222,-0.765978 -0.17882,-1.745117 0.5875,-2.1875 0.23939,-0.138218 0.49807,-0.212051 0.75625,-0.21875 z" fill="#f9f9f9"/> +</svg> diff --git a/abbith-gtk-theme/src/unity/progress_bar_fill.svg b/abbith-gtk-theme/src/unity/progress_bar_fill.svg new file mode 100644 index 0000000..dc9cfec --- /dev/null +++ b/abbith-gtk-theme/src/unity/progress_bar_fill.svg @@ -0,0 +1,5 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="42" height="4"> + <g transform="translate(0,-1048.3622)"> + <path d="m 1,1048.3622 40,0 c 1,0 1,0 1,1 l 0,2 c 0,1 0,1 -1,1 l -40,0 c -1,0 -1,0 -1,-1 l 0,-2 c 0,-1 0,-1 1,-1 z" fill="#f0544c"/> + </g> +</svg> diff --git a/abbith-gtk-theme/src/unity/progress_bar_trough.svg b/abbith-gtk-theme/src/unity/progress_bar_trough.svg new file mode 100644 index 0000000..4d4b209 --- /dev/null +++ b/abbith-gtk-theme/src/unity/progress_bar_trough.svg @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="54" + height="54" + id="svg2" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="progress_bar_trough.svg"> + <metadata + id="metadata18"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + </cc:Work> + </rdf:RDF> + </metadata> + <defs + id="defs16" /> + <sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1366" + inkscape:window-height="713" + id="namedview14" + showgrid="false" + inkscape:zoom="8.9114583" + inkscape:cx="8.3161894" + inkscape:cy="26.77557" + inkscape:window-x="0" + inkscape:window-y="341" + inkscape:window-maximized="1" + inkscape:current-layer="svg2" /> + <g + transform="translate(0,-998.36218)" + id="g4"> + <image + y="346.58" + x="413.71" + xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAABHNCSVQICAgIfAhkiAAAAAxJREFU CJljYCAZAAAAMwAB0kOx4wAAAABJRU5ErkJggg== " + height="3" + width="4" + id="image6" /> + </g> + <path + style="fill:#444444;opacity:0.5" + inkscape:connector-curvature="0" + id="path10" + d="m 7,25 c -1.0000065,0 -1,0 -1,1 l 0,2 c 0,1 -1.35e-5,1 1,1 l 40,0 c 1,0 1,0 1,-1 l 0,-2 c 0,-1 0,-1 -1,-1 L 7,25 z" /> + <path + style="fill:#f9f9f9" + inkscape:connector-curvature="0" + id="path12" + d="m 7,23 c -3.0000291,0 -3,0 -3,3 l 0,2 c 0,3 -2.91e-5,3 3,3 l 40,0 c 3,0 3,0 3,-3 l 0,-2 c 0,-3 0,-3 -3,-3 z m 0,2 40,0 c 1,0 1,0 1,1 l 0,2 c 0,1 0,1 -1,1 L 7,29 C 5.9999865,29 6,29 6,28 l 0,-2 c 0,-1 -6.5e-6,-1 1,-1 z" /> +</svg> diff --git a/abbith-gtk-theme/src/unity/sheet_style_close_focused.svg b/abbith-gtk-theme/src/unity/sheet_style_close_focused.svg new file mode 120000 index 0000000..0749829 --- /dev/null +++ b/abbith-gtk-theme/src/unity/sheet_style_close_focused.svg @@ -0,0 +1 @@ +close_unfocused.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/sheet_style_close_focused_prelight.svg b/abbith-gtk-theme/src/unity/sheet_style_close_focused_prelight.svg new file mode 120000 index 0000000..64b2bff --- /dev/null +++ b/abbith-gtk-theme/src/unity/sheet_style_close_focused_prelight.svg @@ -0,0 +1 @@ +close_focused_prelight.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/sheet_style_close_focused_pressed.svg b/abbith-gtk-theme/src/unity/sheet_style_close_focused_pressed.svg new file mode 120000 index 0000000..ba6d4fe --- /dev/null +++ b/abbith-gtk-theme/src/unity/sheet_style_close_focused_pressed.svg @@ -0,0 +1 @@ +close_unfocused_pressed.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/unmaximize.svg b/abbith-gtk-theme/src/unity/unmaximize.svg new file mode 100644 index 0000000..d20fcc8 --- /dev/null +++ b/abbith-gtk-theme/src/unity/unmaximize.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#eeeeee" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/abbith-gtk-theme/src/unity/unmaximize_dash.svg b/abbith-gtk-theme/src/unity/unmaximize_dash.svg new file mode 100644 index 0000000..c54bb0e --- /dev/null +++ b/abbith-gtk-theme/src/unity/unmaximize_dash.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#ffffff" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/abbith-gtk-theme/src/unity/unmaximize_dash_disabled.svg b/abbith-gtk-theme/src/unity/unmaximize_dash_disabled.svg new file mode 120000 index 0000000..8340f67 --- /dev/null +++ b/abbith-gtk-theme/src/unity/unmaximize_dash_disabled.svg @@ -0,0 +1 @@ +unmaximize_unfocused.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/unmaximize_dash_prelight.svg b/abbith-gtk-theme/src/unity/unmaximize_dash_prelight.svg new file mode 120000 index 0000000..945a9f8 --- /dev/null +++ b/abbith-gtk-theme/src/unity/unmaximize_dash_prelight.svg @@ -0,0 +1 @@ +unmaximize_dash.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/unmaximize_dash_pressed.svg b/abbith-gtk-theme/src/unity/unmaximize_dash_pressed.svg new file mode 120000 index 0000000..945a9f8 --- /dev/null +++ b/abbith-gtk-theme/src/unity/unmaximize_dash_pressed.svg @@ -0,0 +1 @@ +unmaximize_dash.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/unmaximize_focused_normal.svg b/abbith-gtk-theme/src/unity/unmaximize_focused_normal.svg new file mode 120000 index 0000000..0a2fccd --- /dev/null +++ b/abbith-gtk-theme/src/unity/unmaximize_focused_normal.svg @@ -0,0 +1 @@ +unmaximize.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/unmaximize_focused_prelight.svg b/abbith-gtk-theme/src/unity/unmaximize_focused_prelight.svg new file mode 100644 index 0000000..a0c2372 --- /dev/null +++ b/abbith-gtk-theme/src/unity/unmaximize_focused_prelight.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#f0544c" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/abbith-gtk-theme/src/unity/unmaximize_focused_pressed.svg b/abbith-gtk-theme/src/unity/unmaximize_focused_pressed.svg new file mode 100644 index 0000000..ede8275 --- /dev/null +++ b/abbith-gtk-theme/src/unity/unmaximize_focused_pressed.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#f0544c" opacity="0.75" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/abbith-gtk-theme/src/unity/unmaximize_unfocused.svg b/abbith-gtk-theme/src/unity/unmaximize_unfocused.svg new file mode 100644 index 0000000..5ad3fe8 --- /dev/null +++ b/abbith-gtk-theme/src/unity/unmaximize_unfocused.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#AAAAAA" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/abbith-gtk-theme/src/unity/unmaximize_unfocused_prelight.svg b/abbith-gtk-theme/src/unity/unmaximize_unfocused_prelight.svg new file mode 120000 index 0000000..c786587 --- /dev/null +++ b/abbith-gtk-theme/src/unity/unmaximize_unfocused_prelight.svg @@ -0,0 +1 @@ +unmaximize_focused_prelight.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/unity/unmaximize_unfocused_pressed.svg b/abbith-gtk-theme/src/unity/unmaximize_unfocused_pressed.svg new file mode 120000 index 0000000..226570c --- /dev/null +++ b/abbith-gtk-theme/src/unity/unmaximize_unfocused_pressed.svg @@ -0,0 +1 @@ +unmaximize_focused_pressed.svg \ No newline at end of file diff --git a/abbith-gtk-theme/src/xfce-notify-4.0/gtkrc b/abbith-gtk-theme/src/xfce-notify-4.0/gtkrc new file mode 100644 index 0000000..b4ea119 --- /dev/null +++ b/abbith-gtk-theme/src/xfce-notify-4.0/gtkrc @@ -0,0 +1,73 @@ +style "notify-window" { + XfceNotifyWindow::summary-bold = 1 + XfceNotifyWindow::border-color = "#444444" + XfceNotifyWindow::border-color-hover = "#333333" + XfceNotifyWindow::border-radius = 2.0 + XfceNotifyWindow::border-width = 1.0 + XfceNotifyWindow::border-width-hover = 1.0 + + bg[NORMAL] = "#111111" +} + +style "notify-button" { + bg[NORMAL] = "#444444" + bg[PRELIGHT] = "#555555" + bg[ACTIVE] = "#444444" + + fg[NORMAL] = "#eeeeee" + fg[PRELIGHT] = "#eeeeee" + fg[ACTIVE] = "#eeeeee" + + engine "murrine" { + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } + border_shades = { 0.9, 0.9 } + roundness = 2 + textstyle = 0 + } +} + +style "notify-text" { + GtkWidget::link-color = "#f0544c" + + fg[NORMAL] = "#f9f9f9" + fg[PRELIGHT] = "#f9f9f9" + fg[ACTIVE] = "#f9f9f9" + + engine "murrine" { + textstyle = 0 + } +} + +style "notify-summary" { + font_name = "Bold" +} + +style "notify-progressbar" { + xthickness = 1 + ythickness = 1 + + bg[NORMAL] = "#eeeeee" + bg[ACTIVE] = "#444444" + bg[SELECTED] = "#eeeeee" + + fg[PRELIGHT] = "#333333" + fg[ACTIVE] = "#f9f9f9" + fg[SELECTED] = "#333333" + + engine "murrine" { + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } + border_shades = { 1.0, 1.0 } + trough_shades = { 1.0, 1.0 } + trough_border_shades = { 1.0, 1.0 } + progressbarstyle = 0 + roundness = 2 + textstyle = 0 + } +} + +class "XfceNotifyWindow" style "notify-window" +widget "XfceNotifyWindow.*.summary" style "notify-summary" +widget_class "XfceNotifyWindow.*<GtkButton>" style "notify-button" +widget_class "XfceNotifyWindow.*.<GtkLabel>" style "notify-text" +widget_class "XfceNotifyWindow.*.<GtkProgress>" style "notify-progressbar" +widget_class "XfceNotifyWindow.*.<GtkProgressBar>" style "notify-progressbar" diff --git a/abbith-gtk-theme/src/xfwm4/bottom-active.xpm b/abbith-gtk-theme/src/xfwm4/bottom-active.xpm new file mode 100644 index 0000000..9497d62 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/bottom-active.xpm @@ -0,0 +1,11 @@ +/* XPM */ +static char * bottom_active_xpm[] = { +"8 5 3 1", +" c None", +". c #444444", +"# c #484848", +"........", +"........", +"........", +"........", +"########"}; diff --git a/abbith-gtk-theme/src/xfwm4/bottom-inactive.xpm b/abbith-gtk-theme/src/xfwm4/bottom-inactive.xpm new file mode 100644 index 0000000..e108e20 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/bottom-inactive.xpm @@ -0,0 +1,11 @@ +/* XPM */ +static char * bottom_inactive_xpm[] = { +"8 5 3 1", +" c None", +". c #444444", +"# c #393939", +"........", +"........", +"........", +"........", +"########"}; diff --git a/abbith-gtk-theme/src/xfwm4/bottom-left-active.xpm b/abbith-gtk-theme/src/xfwm4/bottom-left-active.xpm new file mode 100644 index 0000000..22fc38e --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/bottom-left-active.xpm @@ -0,0 +1,11 @@ +/* XPM */ +static char * bottom_left_active_xpm[] = { +"24 5 3 1", +" c None", +". c #444444", +"# c #484848", +"#.......................", +"#.......................", +"#.......................", +"#.......................", +"########################"}; diff --git a/abbith-gtk-theme/src/xfwm4/bottom-left-inactive.xpm b/abbith-gtk-theme/src/xfwm4/bottom-left-inactive.xpm new file mode 100644 index 0000000..2e039b4 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/bottom-left-inactive.xpm @@ -0,0 +1,11 @@ +/* XPM */ +static char * bottom_left_inactive_xpm[] = { +"24 5 3 1", +" c None", +". c #444444", +"# c #393939", +"#.......................", +"#.......................", +"#.......................", +"#.......................", +"########################"}; diff --git a/abbith-gtk-theme/src/xfwm4/bottom-right-active.xpm b/abbith-gtk-theme/src/xfwm4/bottom-right-active.xpm new file mode 100644 index 0000000..30aeb3c --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/bottom-right-active.xpm @@ -0,0 +1,11 @@ +/* XPM */ +static char * bottom_right_active_xpm[] = { +"24 5 3 1", +" c None", +". c #444444", +"# c #484848", +".......................#", +".......................#", +".......................#", +".......................#", +"########################"}; diff --git a/abbith-gtk-theme/src/xfwm4/bottom-right-inactive.xpm b/abbith-gtk-theme/src/xfwm4/bottom-right-inactive.xpm new file mode 100644 index 0000000..50809f4 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/bottom-right-inactive.xpm @@ -0,0 +1,11 @@ +/* XPM */ +static char * bottom_right_inactive_xpm[] = { +"24 5 3 1", +" c None", +". c #444444", +"# c #393939", +".......................#", +".......................#", +".......................#", +".......................#", +"########################"}; diff --git a/abbith-gtk-theme/src/xfwm4/close-active.xpm b/abbith-gtk-theme/src/xfwm4/close-active.xpm new file mode 100644 index 0000000..a506d9c --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/close-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * close_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #eeeeee", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++....++........", +"........+++..+++........", +".........++++++.........", +"..........++++..........", +"..........++++..........", +".........++++++.........", +"........+++..+++........", +"........++....++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/close-inactive.xpm b/abbith-gtk-theme/src/xfwm4/close-inactive.xpm new file mode 100644 index 0000000..1403cb7 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/close-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * close_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #888888", +"@ c #393939", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++....++........", +"........+++..+++........", +".........++++++.........", +"..........++++..........", +"..........++++..........", +".........++++++.........", +"........+++..+++........", +"........++....++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/close-prelight.xpm b/abbith-gtk-theme/src/xfwm4/close-prelight.xpm new file mode 100644 index 0000000..8e08aaa --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/close-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * close_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++....++........", +"........+++..+++........", +".........++++++.........", +"..........++++..........", +"..........++++..........", +".........++++++.........", +"........+++..+++........", +"........++....++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/close-pressed.png b/abbith-gtk-theme/src/xfwm4/close-pressed.png new file mode 100644 index 0000000..0c386b9 Binary files /dev/null and b/abbith-gtk-theme/src/xfwm4/close-pressed.png differ diff --git a/abbith-gtk-theme/src/xfwm4/close-pressed.xpm b/abbith-gtk-theme/src/xfwm4/close-pressed.xpm new file mode 100644 index 0000000..8e08aaa --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/close-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * close_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++....++........", +"........+++..+++........", +".........++++++.........", +"..........++++..........", +"..........++++..........", +".........++++++.........", +"........+++..+++........", +"........++....++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/hide-active.xpm b/abbith-gtk-theme/src/xfwm4/hide-active.xpm new file mode 100644 index 0000000..711b18b --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/hide-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * hide_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #eeeeee", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/hide-inactive.xpm b/abbith-gtk-theme/src/xfwm4/hide-inactive.xpm new file mode 100644 index 0000000..db8cd97 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/hide-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * hide_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #888888", +"@ c #393939", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/hide-prelight.xpm b/abbith-gtk-theme/src/xfwm4/hide-prelight.xpm new file mode 100644 index 0000000..1d5a779 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/hide-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * hide_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/hide-pressed.png b/abbith-gtk-theme/src/xfwm4/hide-pressed.png new file mode 100644 index 0000000..3b255f0 Binary files /dev/null and b/abbith-gtk-theme/src/xfwm4/hide-pressed.png differ diff --git a/abbith-gtk-theme/src/xfwm4/hide-pressed.xpm b/abbith-gtk-theme/src/xfwm4/hide-pressed.xpm new file mode 100644 index 0000000..1d5a779 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/hide-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * hide_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/left-active.xpm b/abbith-gtk-theme/src/xfwm4/left-active.xpm new file mode 100644 index 0000000..8dbfed3 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/left-active.xpm @@ -0,0 +1,26 @@ +/* XPM */ +static char * left_active_xpm[] = { +"1 21 2 1", +" c None", +". c #484848", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +"."}; diff --git a/abbith-gtk-theme/src/xfwm4/left-inactive.xpm b/abbith-gtk-theme/src/xfwm4/left-inactive.xpm new file mode 100644 index 0000000..3cd0730 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/left-inactive.xpm @@ -0,0 +1,26 @@ +/* XPM */ +static char * left_inactive_xpm[] = { +"1 21 2 1", +" c None", +". c #393939", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +"."}; diff --git a/abbith-gtk-theme/src/xfwm4/maximize-active.xpm b/abbith-gtk-theme/src/xfwm4/maximize-active.xpm new file mode 100644 index 0000000..a985aad --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/maximize-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #eeeeee", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/maximize-inactive.xpm b/abbith-gtk-theme/src/xfwm4/maximize-inactive.xpm new file mode 100644 index 0000000..e81b41f --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/maximize-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #888888", +"@ c #393939", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/maximize-prelight.xpm b/abbith-gtk-theme/src/xfwm4/maximize-prelight.xpm new file mode 100644 index 0000000..d240425 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/maximize-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/maximize-pressed.png b/abbith-gtk-theme/src/xfwm4/maximize-pressed.png new file mode 100644 index 0000000..33700a0 Binary files /dev/null and b/abbith-gtk-theme/src/xfwm4/maximize-pressed.png differ diff --git a/abbith-gtk-theme/src/xfwm4/maximize-pressed.xpm b/abbith-gtk-theme/src/xfwm4/maximize-pressed.xpm new file mode 100644 index 0000000..d240425 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/maximize-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/maximize-toggled-active.xpm b/abbith-gtk-theme/src/xfwm4/maximize-toggled-active.xpm new file mode 100644 index 0000000..99b2758 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/maximize-toggled-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #eeeeee", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/maximize-toggled-inactive.xpm b/abbith-gtk-theme/src/xfwm4/maximize-toggled-inactive.xpm new file mode 100644 index 0000000..f6c3b59 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/maximize-toggled-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #888888", +"@ c #393939", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/maximize-toggled-prelight.xpm b/abbith-gtk-theme/src/xfwm4/maximize-toggled-prelight.xpm new file mode 100644 index 0000000..3b13774 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/maximize-toggled-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/maximize-toggled-pressed.png b/abbith-gtk-theme/src/xfwm4/maximize-toggled-pressed.png new file mode 100644 index 0000000..33700a0 Binary files /dev/null and b/abbith-gtk-theme/src/xfwm4/maximize-toggled-pressed.png differ diff --git a/abbith-gtk-theme/src/xfwm4/maximize-toggled-pressed.xpm b/abbith-gtk-theme/src/xfwm4/maximize-toggled-pressed.xpm new file mode 100644 index 0000000..3b13774 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/maximize-toggled-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/menu-active.xpm b/abbith-gtk-theme/src/xfwm4/menu-active.xpm new file mode 100644 index 0000000..89a9597 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/menu-active.xpm @@ -0,0 +1,21 @@ +/* XPM */ +static char * menu_active_xpm[] = { +"24 16 2 1", +" c None", +". c #444444", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/menu-inactive.xpm b/abbith-gtk-theme/src/xfwm4/menu-inactive.xpm new file mode 100644 index 0000000..e1cba46 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/menu-inactive.xpm @@ -0,0 +1,21 @@ +/* XPM */ +static char * menu_inactive_xpm[] = { +"24 16 2 1", +" c None", +". c #444444", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/menu-prelight.xpm b/abbith-gtk-theme/src/xfwm4/menu-prelight.xpm new file mode 100644 index 0000000..fecec03 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/menu-prelight.xpm @@ -0,0 +1,21 @@ +/* XPM */ +static char * menu_prelight_xpm[] = { +"24 16 2 1", +" c None", +". c #444444", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/menu-pressed.xpm b/abbith-gtk-theme/src/xfwm4/menu-pressed.xpm new file mode 100644 index 0000000..a27021e --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/menu-pressed.xpm @@ -0,0 +1,21 @@ +/* XPM */ +static char * menu_pressed_xpm[] = { +"24 16 2 1", +" c None", +". c #444444", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/right-active.xpm b/abbith-gtk-theme/src/xfwm4/right-active.xpm new file mode 100644 index 0000000..24cddd0 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/right-active.xpm @@ -0,0 +1,26 @@ +/* XPM */ +static char * right_active_xpm[] = { +"1 21 2 1", +" c None", +". c #484848", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +"."}; diff --git a/abbith-gtk-theme/src/xfwm4/right-inactive.xpm b/abbith-gtk-theme/src/xfwm4/right-inactive.xpm new file mode 100644 index 0000000..5c180a1 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/right-inactive.xpm @@ -0,0 +1,26 @@ +/* XPM */ +static char * right_inactive_xpm[] = { +"1 21 2 1", +" c None", +". c #393939", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +"."}; diff --git a/abbith-gtk-theme/src/xfwm4/shade-active.xpm b/abbith-gtk-theme/src/xfwm4/shade-active.xpm new file mode 100644 index 0000000..369af98 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/shade-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #eeeeee", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"..........++++..........", +".........++++++.........", +"........++++++++........", +".......+++.++.+++.......", +"...........++...........", +"...........++...........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/shade-inactive.xpm b/abbith-gtk-theme/src/xfwm4/shade-inactive.xpm new file mode 100644 index 0000000..933a1f8 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/shade-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #888888", +"@ c #393939", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"..........++++..........", +".........++++++.........", +"........++++++++........", +".......+++.++.+++.......", +"...........++...........", +"...........++...........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/shade-prelight.xpm b/abbith-gtk-theme/src/xfwm4/shade-prelight.xpm new file mode 100644 index 0000000..539ff84 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/shade-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"..........++++..........", +".........++++++.........", +"........++++++++........", +".......+++.++.+++.......", +"...........++...........", +"...........++...........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/shade-pressed.png b/abbith-gtk-theme/src/xfwm4/shade-pressed.png new file mode 100644 index 0000000..58bffbe Binary files /dev/null and b/abbith-gtk-theme/src/xfwm4/shade-pressed.png differ diff --git a/abbith-gtk-theme/src/xfwm4/shade-pressed.xpm b/abbith-gtk-theme/src/xfwm4/shade-pressed.xpm new file mode 100644 index 0000000..539ff84 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/shade-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"..........++++..........", +".........++++++.........", +"........++++++++........", +".......+++.++.+++.......", +"...........++...........", +"...........++...........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/shade-toggled-active.xpm b/abbith-gtk-theme/src/xfwm4/shade-toggled-active.xpm new file mode 100644 index 0000000..098841f --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/shade-toggled-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #eeeeee", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"...........++...........", +"...........++...........", +".......+++.++.+++.......", +"........++++++++........", +".........++++++.........", +"..........++++..........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/shade-toggled-inactive.xpm b/abbith-gtk-theme/src/xfwm4/shade-toggled-inactive.xpm new file mode 100644 index 0000000..88a5b90 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/shade-toggled-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #888888", +"@ c #393939", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"...........++...........", +"...........++...........", +".......+++.++.+++.......", +"........++++++++........", +".........++++++.........", +"..........++++..........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/shade-toggled-prelight.xpm b/abbith-gtk-theme/src/xfwm4/shade-toggled-prelight.xpm new file mode 100644 index 0000000..1e5cb40 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/shade-toggled-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"...........++...........", +"...........++...........", +".......+++.++.+++.......", +"........++++++++........", +".........++++++.........", +"..........++++..........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/shade-toggled-pressed.png b/abbith-gtk-theme/src/xfwm4/shade-toggled-pressed.png new file mode 100644 index 0000000..33ea278 Binary files /dev/null and b/abbith-gtk-theme/src/xfwm4/shade-toggled-pressed.png differ diff --git a/abbith-gtk-theme/src/xfwm4/shade-toggled-pressed.xpm b/abbith-gtk-theme/src/xfwm4/shade-toggled-pressed.xpm new file mode 100644 index 0000000..1e5cb40 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/shade-toggled-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"...........++...........", +"...........++...........", +".......+++.++.+++.......", +"........++++++++........", +".........++++++.........", +"..........++++..........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/stick-active.xpm b/abbith-gtk-theme/src/xfwm4/stick-active.xpm new file mode 100644 index 0000000..665fd75 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/stick-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_active_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #eeeeee", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++..++.........", +"........++....++........", +"........++....++........", +".........++..++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/stick-inactive.xpm b/abbith-gtk-theme/src/xfwm4/stick-inactive.xpm new file mode 100644 index 0000000..56f7fd2 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/stick-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #888888", +"@ c #393939", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++..++.........", +"........++....++........", +"........++....++........", +".........++..++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/stick-prelight.xpm b/abbith-gtk-theme/src/xfwm4/stick-prelight.xpm new file mode 100644 index 0000000..612d0e6 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/stick-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++..++.........", +"........++....++........", +"........++....++........", +".........++..++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/stick-pressed.png b/abbith-gtk-theme/src/xfwm4/stick-pressed.png new file mode 100644 index 0000000..bfcd766 Binary files /dev/null and b/abbith-gtk-theme/src/xfwm4/stick-pressed.png differ diff --git a/abbith-gtk-theme/src/xfwm4/stick-pressed.xpm b/abbith-gtk-theme/src/xfwm4/stick-pressed.xpm new file mode 100644 index 0000000..612d0e6 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/stick-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++..++.........", +"........++....++........", +"........++....++........", +".........++..++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/stick-toggled-active.xpm b/abbith-gtk-theme/src/xfwm4/stick-toggled-active.xpm new file mode 100644 index 0000000..7abb8f6 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/stick-toggled-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_toggled_active_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #eeeeee", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++++++.........", +"........++++++++........", +"........++++++++........", +".........++++++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/stick-toggled-inactive.xpm b/abbith-gtk-theme/src/xfwm4/stick-toggled-inactive.xpm new file mode 100644 index 0000000..a7161f9 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/stick-toggled-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #888888", +"@ c #393939", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++++++.........", +"........++++++++........", +"........++++++++........", +".........++++++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/stick-toggled-prelight.xpm b/abbith-gtk-theme/src/xfwm4/stick-toggled-prelight.xpm new file mode 100644 index 0000000..dafc7ef --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/stick-toggled-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++++++.........", +"........++++++++........", +"........++++++++........", +".........++++++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/stick-toggled-pressed.png b/abbith-gtk-theme/src/xfwm4/stick-toggled-pressed.png new file mode 100644 index 0000000..c98e155 Binary files /dev/null and b/abbith-gtk-theme/src/xfwm4/stick-toggled-pressed.png differ diff --git a/abbith-gtk-theme/src/xfwm4/stick-toggled-pressed.xpm b/abbith-gtk-theme/src/xfwm4/stick-toggled-pressed.xpm new file mode 100644 index 0000000..dafc7ef --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/stick-toggled-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #444444", +"+ c #f0544c s active_color_1", +"@ c #484848", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++++++.........", +"........++++++++........", +"........++++++++........", +".........++++++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/abbith-gtk-theme/src/xfwm4/themerc b/abbith-gtk-theme/src/xfwm4/themerc new file mode 100644 index 0000000..740d09c --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/themerc @@ -0,0 +1,23 @@ +# Name: Numix xfwm4 theme +# Author: Satyajit Sahoo <satyajit.happy@gmail.com> +# License: GPL-3.0+ + +active_text_color=#eeeeee +inactive_text_color=#888888 +button_offset=3 +button_spacing=0 +show_app_icon=true +full_width_title=true +maximized_offset=0 +title_horizontal_offset=3 +title_shadow_active=false +title_shadow_inactive=false +title_vertical_offset_active=0 +title_vertical_offset_inactive=0 +title_shadow_active=false +title_shadow_inactive=false +shadow_delta_height=0 +shadow_delta_width=0 +shadow_delta_x=0 +shadow_delta_y=0 +shadow_opacity=30 diff --git a/abbith-gtk-theme/src/xfwm4/title-1-active.xpm b/abbith-gtk-theme/src/xfwm4/title-1-active.xpm new file mode 100644 index 0000000..52fb899 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/title-1-active.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_1_active_xpm[] = { +"2 26 3 1", +" c None", +". c #484848", +"+ c #444444", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/abbith-gtk-theme/src/xfwm4/title-1-inactive.xpm b/abbith-gtk-theme/src/xfwm4/title-1-inactive.xpm new file mode 100644 index 0000000..212d7aa --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/title-1-inactive.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_1_inactive_xpm[] = { +"2 26 3 1", +" c None", +". c #393939", +"+ c #444444", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/abbith-gtk-theme/src/xfwm4/title-2-active.xpm b/abbith-gtk-theme/src/xfwm4/title-2-active.xpm new file mode 100644 index 0000000..7f234ff --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/title-2-active.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_2_active_xpm[] = { +"2 26 3 1", +" c None", +". c #484848", +"+ c #444444", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/abbith-gtk-theme/src/xfwm4/title-2-inactive.xpm b/abbith-gtk-theme/src/xfwm4/title-2-inactive.xpm new file mode 100644 index 0000000..e5cabe3 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/title-2-inactive.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_2_inactive_xpm[] = { +"2 26 3 1", +" c None", +". c #393939", +"+ c #444444", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/abbith-gtk-theme/src/xfwm4/title-3-active.xpm b/abbith-gtk-theme/src/xfwm4/title-3-active.xpm new file mode 100644 index 0000000..b2829b9 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/title-3-active.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_3_active_xpm[] = { +"2 26 3 1", +" c None", +". c #484848", +"+ c #444444", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/abbith-gtk-theme/src/xfwm4/title-3-inactive.xpm b/abbith-gtk-theme/src/xfwm4/title-3-inactive.xpm new file mode 100644 index 0000000..1eacd85 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/title-3-inactive.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_3_inactive_xpm[] = { +"2 26 3 1", +" c None", +". c #393939", +"+ c #444444", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/abbith-gtk-theme/src/xfwm4/title-4-active.xpm b/abbith-gtk-theme/src/xfwm4/title-4-active.xpm new file mode 100644 index 0000000..707d2a5 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/title-4-active.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_4_active_xpm[] = { +"2 26 3 1", +" c None", +". c #484848", +"+ c #444444", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/abbith-gtk-theme/src/xfwm4/title-4-inactive.xpm b/abbith-gtk-theme/src/xfwm4/title-4-inactive.xpm new file mode 100644 index 0000000..4a86d59 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/title-4-inactive.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_4_inactive_xpm[] = { +"2 26 3 1", +" c None", +". c #393939", +"+ c #444444", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/abbith-gtk-theme/src/xfwm4/title-5-active.xpm b/abbith-gtk-theme/src/xfwm4/title-5-active.xpm new file mode 100644 index 0000000..31316b8 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/title-5-active.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_5_active_xpm[] = { +"2 26 3 1", +" c None", +". c #484848", +"+ c #444444", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/abbith-gtk-theme/src/xfwm4/title-5-inactive.xpm b/abbith-gtk-theme/src/xfwm4/title-5-inactive.xpm new file mode 100644 index 0000000..aa33f4c --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/title-5-inactive.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_5_inactive_xpm[] = { +"2 26 3 1", +" c None", +". c #393939", +"+ c #444444", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/abbith-gtk-theme/src/xfwm4/top-left-active.xpm b/abbith-gtk-theme/src/xfwm4/top-left-active.xpm new file mode 100644 index 0000000..675afd3 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/top-left-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * top_left_active_xpm[] = { +"2 26 4 1", +" c None", +". c #484848", +"+ c #343434", +"@ c #444444", +" .", +".+", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@"}; diff --git a/abbith-gtk-theme/src/xfwm4/top-left-inactive.xpm b/abbith-gtk-theme/src/xfwm4/top-left-inactive.xpm new file mode 100644 index 0000000..0a922d8 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/top-left-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * top_left_inactive_xpm[] = { +"2 26 4 1", +" c None", +". c #393939", +"+ c #303030", +"@ c #444444", +" .", +".+", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@"}; diff --git a/abbith-gtk-theme/src/xfwm4/top-right-active.xpm b/abbith-gtk-theme/src/xfwm4/top-right-active.xpm new file mode 100644 index 0000000..3ed6265 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/top-right-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * top_right_active_xpm[] = { +"2 26 4 1", +" c None", +". c #484848", +"+ c #343434", +"@ c #444444", +". ", +"+.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@."}; diff --git a/abbith-gtk-theme/src/xfwm4/top-right-inactive.xpm b/abbith-gtk-theme/src/xfwm4/top-right-inactive.xpm new file mode 100644 index 0000000..e847a56 --- /dev/null +++ b/abbith-gtk-theme/src/xfwm4/top-right-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * top_right_inactive_xpm[] = { +"2 26 4 1", +" c None", +". c #393939", +"+ c #303030", +"@ c #444444", +". ", +"+.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@."}; diff --git a/abbith.scm b/abbith.scm index cbda5a2..b64c5ba 100644 --- a/abbith.scm +++ b/abbith.scm @@ -121,11 +121,8 @@ (service qemu-binfmt-service-type (qemu-binfmt-configuration (platforms %qemu-platforms))) - x11-socket-directory-service - (service alsa-service-type) - %base-services)) (name-service-switch %mdns-host-lookup-nss)) diff --git a/conky/.cpu b/conky/.cpu new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/conky/.cpu @@ -0,0 +1 @@ +4 diff --git a/conky/conkyrc b/conky/conkyrc new file mode 100644 index 0000000..de558c8 --- /dev/null +++ b/conky/conkyrc @@ -0,0 +1,40 @@ +require 'io' + +function pre_exec(cmd) + local handle = io.popen(cmd) + local output = handle:read("*a") + handle:close() + return output +end + +conky.config = { + -- window settings + own_window = true, + own_window_type = 'normal', + own_window_transparent = true, + own_window_hints = 'undecorated,skip_taskbar,skip_pager,below', + own_window_color = '000000', + own_window_class = 'Conky', + own_window_title = 'Abbith Monitor', + + alignment = 'top_left', + + minimum_width = 1800, + + gap_x = 3900, + gap_y = 10, + + -- fonts + use_xft = true, + font = 'Source Code Pro:bold:size=14', + + xftalpha = 1.0, + + update_interval = 1 +} + +conky.text = pre_exec("cat /proc/cpuinfo | grep 'processor' | wc -l > /home/steve/abbith-config/conky/.cpu") .. [[ + # SYS + ${voffset -256} \ + ${goto 1200}${font Open Sans:Bold:size=14}SYSTEM ${vofset -4}${hr 5}${font} + ]] diff --git a/dashboard/Abbith.qml b/dashboard/Abbith.qml new file mode 100644 index 0000000..b30436c --- /dev/null +++ b/dashboard/Abbith.qml @@ -0,0 +1,30 @@ +import QtQuick 2.6 +import QtQuick.Controls 1.2 +import QtQuick.Window 2.2 +import QtQuick.Layouts 1.3 +import QtQml 2.2 +import QtQuick.Particles 2.0 + +import "./components" + +ApplicationWindow { + title: "Abbith" + minimumWidth: 640 + minimumHeight: 480 + + visible: true + + ColumnLayout { + spacing: 2 + + DateTimeModule { + id: dateTimeModule + } + + Text { + id: stuff + Layout.alignment: Qt.AlignTop + color: "#000000" + } + } +} diff --git a/dashboard/Abbith.qmlc b/dashboard/Abbith.qmlc new file mode 100644 index 0000000..b2faf24 Binary files /dev/null and b/dashboard/Abbith.qmlc differ diff --git a/dashboard/Dashboard.qbs b/dashboard/Dashboard.qbs new file mode 100644 index 0000000..3f5cb8e --- /dev/null +++ b/dashboard/Dashboard.qbs @@ -0,0 +1,29 @@ +import qbs + +Product { + type: ["application"] + Depends { + name: "Qt" + submodules: ["core", "widgets", "quick", "qml", "multimedia", "multimediawidgets", "opengl"] // Add more here if needed + } + files: [ + "Abbith.qml", + "main.cpp", + "resources.qrc", + ] + Group { + name: "default" + prefix: "default/" + files: [ + "default.bg", + ] + } + Group { + name: "qml" + prefix: "components/" + files: [ + "ApplicationWindow.qml", + "DateTimeModule.qml", + ] + } +} diff --git a/dashboard/components/ApplicationWindow.qml b/dashboard/components/ApplicationWindow.qml new file mode 100644 index 0000000..6323cfc --- /dev/null +++ b/dashboard/components/ApplicationWindow.qml @@ -0,0 +1,33 @@ +import QtQuick 2.6 +import QtQuick.Controls 1.2 +import QtQuick.Window 2.2 +import QtQuick.Layouts 1.3 +import QtQml 2.2 +import QtQuick.Particles 2.0 +import QtApplicationManager 1.0 + +import "." as App + +ApplicationWindow { + title: "Abbith" + minimumWidth: 640 + minimumHeight: 480 + + visible: true + + ColumnLayout { + spacing: 2 + + DateTimeModule { + id: dateTimeModule + } + + Text { + id: stuff + model: SystemMonitor + delegate: Text { text: cpuLoad } + Layout.alignment: Qt.AlignTop + color: "#000000" + } + } +} diff --git a/dashboard/components/ApplicationWindow.qmlc b/dashboard/components/ApplicationWindow.qmlc new file mode 100644 index 0000000..564f6ed Binary files /dev/null and b/dashboard/components/ApplicationWindow.qmlc differ diff --git a/dashboard/components/DateTimeModule.qml b/dashboard/components/DateTimeModule.qml new file mode 100644 index 0000000..a1d8a86 --- /dev/null +++ b/dashboard/components/DateTimeModule.qml @@ -0,0 +1,92 @@ +import QtQuick 2.6 +import QtQuick.Layouts 1.3 +import QtQuick.Controls 1.4 +import QtCharts 2.1 + +import "." as App + +Rectangle { + id: clock + + Layout.alignment: Qt.AlignTop + Layout.preferredWidth: parent.width / 2 + Layout.preferredHeight: parent.height / 4 + Layout.minimumHeight: 200 + Layout.minimumWidth: 200 + + property var current: new Date() + + ChartView { + title: clock.current.toLocaleString(Qt.locale(), "hh:mm") + legend.visible: false + antialiasing: true + animationOptions: ChartView.SeriesAnimations + anchors.fill: parent + backgroundColor: "transparent" + + margins {top: 0; right: 0; bottom: 0; left: 0} + + PieSeries { + + startAngle: -180 + endAngle: 90 + id: secondsSeries + size: 1 + holeSize: .9 + PieSlice { + id: secondsSlice + color: "#bd0806" + value: (clock.current.getSeconds() / 60) * 100 + } + PieSlice { + color: "#E6E6E6" + value: 100 - secondsSlice.value + } + } + + PieSeries { + id: minutesSeries + size: .9 + holeSize: .7 + startAngle: -180 + endAngle: 90 + PieSlice { + id: minutesSlice + color: "#bd0806" + value: (clock.current.getMinutes() / 60) * 100 + } + PieSlice { + color: "#A0A0A0" + value: 100 - minutesSlice.value + } + } + + PieSeries { + id: hoursSeries + size: .7 + holeSize: .3 + startAngle: -180 + endAngle: 90 + PieSlice { + id: hoursSlice + color: "#bd0806" + value: (clock.current.getHours() / 12) * 100 + } + PieSlice { + color: "#828282" + value: 100 - hoursSlice.value + } + } + } + + Timer { + interval: 100 + running: true + repeat: true + onTriggered: clock.timeChanged() + } + + function timeChanged() { + current = new Date; + } +} diff --git a/dashboard/components/DateTimeModule.qmlc b/dashboard/components/DateTimeModule.qmlc new file mode 100644 index 0000000..0265884 Binary files /dev/null and b/dashboard/components/DateTimeModule.qmlc differ diff --git a/dashboard/default/Dashboard.d87f47b4/3a52ce780950d4d9/main.cpp.o b/dashboard/default/Dashboard.d87f47b4/3a52ce780950d4d9/main.cpp.o new file mode 100644 index 0000000..6298c14 Binary files /dev/null and b/dashboard/default/Dashboard.d87f47b4/3a52ce780950d4d9/main.cpp.o differ diff --git a/dashboard/default/Dashboard.d87f47b4/3a52ce780950d4d9/qrc_resources.cpp.o b/dashboard/default/Dashboard.d87f47b4/3a52ce780950d4d9/qrc_resources.cpp.o new file mode 100644 index 0000000..26ca7df Binary files /dev/null and b/dashboard/default/Dashboard.d87f47b4/3a52ce780950d4d9/qrc_resources.cpp.o differ diff --git a/dashboard/default/Dashboard.d87f47b4/Dashboard b/dashboard/default/Dashboard.d87f47b4/Dashboard new file mode 100755 index 0000000..11bfd24 Binary files /dev/null and b/dashboard/default/Dashboard.d87f47b4/Dashboard differ diff --git a/dashboard/default/Dashboard.d87f47b4/qrc_resources.cpp b/dashboard/default/Dashboard.d87f47b4/qrc_resources.cpp new file mode 100644 index 0000000..cea3045 --- /dev/null +++ b/dashboard/default/Dashboard.d87f47b4/qrc_resources.cpp @@ -0,0 +1,173 @@ +/**************************************************************************** +** Resource object code +** +** Created by: The Resource Compiler for Qt version 5.11.2 +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +static const unsigned char qt_resource_data[] = { + // /home/steve/Source/abbith-config/dashboard/Abbith.qml + 0x0,0x0,0x1,0xfb, + 0x69, + 0x6d,0x70,0x6f,0x72,0x74,0x20,0x51,0x74,0x51,0x75,0x69,0x63,0x6b,0x20,0x32,0x2e, + 0x36,0xa,0x69,0x6d,0x70,0x6f,0x72,0x74,0x20,0x51,0x74,0x51,0x75,0x69,0x63,0x6b, + 0x2e,0x43,0x6f,0x6e,0x74,0x72,0x6f,0x6c,0x73,0x20,0x31,0x2e,0x32,0xa,0x69,0x6d, + 0x70,0x6f,0x72,0x74,0x20,0x51,0x74,0x51,0x75,0x69,0x63,0x6b,0x2e,0x57,0x69,0x6e, + 0x64,0x6f,0x77,0x20,0x32,0x2e,0x32,0xa,0x69,0x6d,0x70,0x6f,0x72,0x74,0x20,0x51, + 0x74,0x51,0x75,0x69,0x63,0x6b,0x2e,0x4c,0x61,0x79,0x6f,0x75,0x74,0x73,0x20,0x31, + 0x2e,0x33,0xa,0x69,0x6d,0x70,0x6f,0x72,0x74,0x20,0x51,0x74,0x51,0x6d,0x6c,0x20, + 0x32,0x2e,0x32,0xa,0x69,0x6d,0x70,0x6f,0x72,0x74,0x20,0x51,0x74,0x51,0x75,0x69, + 0x63,0x6b,0x2e,0x50,0x61,0x72,0x74,0x69,0x63,0x6c,0x65,0x73,0x20,0x32,0x2e,0x30, + 0xa,0xa,0x69,0x6d,0x70,0x6f,0x72,0x74,0x20,0x22,0x2e,0x2f,0x63,0x6f,0x6d,0x70, + 0x6f,0x6e,0x65,0x6e,0x74,0x73,0x22,0xa,0xa,0x41,0x70,0x70,0x6c,0x69,0x63,0x61, + 0x74,0x69,0x6f,0x6e,0x57,0x69,0x6e,0x64,0x6f,0x77,0x20,0x7b,0xa,0x20,0x20,0x20, + 0x20,0x74,0x69,0x74,0x6c,0x65,0x3a,0x20,0x22,0x41,0x62,0x62,0x69,0x74,0x68,0x22, + 0xa,0x20,0x20,0x20,0x20,0x6d,0x69,0x6e,0x69,0x6d,0x75,0x6d,0x57,0x69,0x64,0x74, + 0x68,0x3a,0x20,0x36,0x34,0x30,0xa,0x20,0x20,0x20,0x20,0x6d,0x69,0x6e,0x69,0x6d, + 0x75,0x6d,0x48,0x65,0x69,0x67,0x68,0x74,0x3a,0x20,0x34,0x38,0x30,0xa,0xa,0x20, + 0x20,0x20,0x20,0x76,0x69,0x73,0x69,0x62,0x6c,0x65,0x3a,0x20,0x74,0x72,0x75,0x65, + 0xa,0xa,0x20,0x20,0x20,0x20,0x43,0x6f,0x6c,0x75,0x6d,0x6e,0x4c,0x61,0x79,0x6f, + 0x75,0x74,0x20,0x7b,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x73,0x70,0x61, + 0x63,0x69,0x6e,0x67,0x3a,0x20,0x32,0xa,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20, + 0x20,0x44,0x61,0x74,0x65,0x54,0x69,0x6d,0x65,0x4d,0x6f,0x64,0x75,0x6c,0x65,0x20, + 0x7b,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x64, + 0x3a,0x20,0x64,0x61,0x74,0x65,0x54,0x69,0x6d,0x65,0x4d,0x6f,0x64,0x75,0x6c,0x65, + 0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0xa,0xa,0x20,0x20,0x20,0x20, + 0x20,0x20,0x20,0x20,0x54,0x65,0x78,0x74,0x20,0x7b,0xa,0x20,0x20,0x20,0x20,0x20, + 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x64,0x3a,0x20,0x73,0x74,0x75,0x66,0x66, + 0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x4c,0x61,0x79, + 0x6f,0x75,0x74,0x2e,0x61,0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x3a,0x20,0x51, + 0x74,0x2e,0x41,0x6c,0x69,0x67,0x6e,0x54,0x6f,0x70,0xa,0x20,0x20,0x20,0x20,0x20, + 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3a,0x20,0x22,0x23, + 0x30,0x30,0x30,0x30,0x30,0x30,0x22,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, + 0x7d,0xa,0x20,0x20,0x20,0x20,0x7d,0xa,0x7d,0xa, + // /home/steve/Source/abbith-config/dashboard/components/DateTimeModule.qml + 0x0,0x0,0x2,0x8f, + 0x0, + 0x0,0x8,0x9e,0x78,0x9c,0xb5,0x55,0xc1,0x6e,0xdb,0x30,0xc,0xbd,0xfb,0x2b,0x8, + 0xef,0x92,0xc,0xab,0xe6,0xa4,0x45,0x9a,0xba,0xd8,0x21,0xe8,0x6,0xf4,0xd0,0x61, + 0xeb,0x5a,0x6c,0x67,0xc5,0x66,0x6c,0x21,0xb2,0x64,0x48,0x74,0x8b,0xae,0xe8,0xbf, + 0x4f,0xb2,0x1d,0xc7,0x4e,0x9b,0x65,0x87,0x4c,0x2,0x1c,0x8b,0xef,0x89,0xa4,0xf8, + 0xe4,0x50,0x14,0xa5,0x36,0x4,0xb7,0x74,0x5b,0x89,0x64,0xd,0x53,0x36,0xb,0xc4, + 0xc0,0xc4,0x6e,0xf8,0x93,0xae,0xc8,0xc2,0x84,0x9d,0xee,0x42,0x57,0x5a,0x91,0xd1, + 0xd2,0x63,0x67,0x5b,0xec,0x2a,0xe7,0xc6,0xf1,0xa7,0x6c,0x12,0x6c,0x8c,0x21,0xb, + 0x81,0x5b,0x58,0x94,0x65,0x10,0xfc,0xc0,0x84,0xb8,0xca,0x24,0xc2,0x73,0x0,0x6e, + 0x88,0x34,0x86,0x44,0xea,0x64,0x1d,0xd4,0xcb,0x26,0x1c,0xe3,0x52,0x64,0xaa,0x40, + 0x45,0xb1,0xf3,0xc8,0x16,0x7e,0x75,0xaf,0xcb,0x3e,0xa3,0x34,0xb8,0x42,0x63,0x30, + 0xfd,0x25,0x52,0xca,0x63,0x28,0xb9,0x71,0x74,0xf6,0xe8,0x57,0xf0,0x11,0xa6,0x6f, + 0x72,0xaf,0x51,0x64,0x39,0x75,0xe4,0xbc,0x5e,0x3a,0xf6,0x59,0x9f,0x5d,0x8,0x25, + 0x8a,0xaa,0xd8,0x70,0xa7,0x51,0xf4,0x6,0xda,0x46,0xf5,0x60,0x8d,0x96,0x46,0x97, + 0x68,0xe8,0x9,0x1e,0xb8,0x81,0xa4,0x32,0xa6,0xce,0x5d,0xe1,0x23,0x7c,0xe6,0x84, + 0xa3,0x71,0xc3,0xaa,0x6b,0xf3,0x53,0x38,0x6b,0x73,0x78,0x3f,0x48,0x90,0xc4,0xb6, + 0x6,0xac,0xdd,0xc9,0x48,0xdf,0xe8,0x84,0x4b,0xbc,0x23,0x23,0x54,0x36,0x72,0x35, + 0x90,0xf5,0x7a,0x34,0xfe,0x0,0x61,0x9e,0xc7,0x45,0x11,0x8e,0x3b,0xf,0x12,0x33, + 0x54,0x29,0x7b,0x10,0x56,0x2c,0xbd,0xab,0x15,0x97,0x16,0x3b,0x94,0x2b,0x12,0xae, + 0x9c,0xdc,0x3a,0x47,0x31,0x90,0xa9,0xfa,0x90,0x28,0x38,0x9,0xad,0xbe,0x95,0xfe, + 0x69,0xe3,0x6d,0x82,0xec,0xe,0x8d,0x40,0xbb,0xd8,0x30,0x6c,0x6f,0x53,0x92,0x6b, + 0x63,0xd9,0x4a,0x48,0xb9,0xa9,0x64,0x7,0x2e,0x79,0xb2,0xce,0x8c,0xae,0x54,0x7a, + 0xa5,0xa5,0x36,0x31,0x84,0x64,0xb8,0xb2,0xd,0x2b,0xc,0x3a,0x5e,0xc1,0x4d,0x26, + 0x94,0x85,0x67,0xd2,0x65,0xc,0xd1,0x25,0x98,0xa6,0xd8,0xee,0x6d,0xa9,0x89,0x74, + 0x51,0xbf,0x4a,0x5c,0x79,0xdb,0xcb,0x76,0xdf,0x77,0x81,0x4d,0x62,0xae,0x80,0x9d, + 0xd1,0xf,0x4b,0x2e,0xf1,0x85,0xbf,0x57,0x31,0x9c,0x4c,0xe6,0xd1,0x0,0x74,0xd5, + 0x69,0xa1,0x8b,0x21,0xe0,0x2f,0x9f,0xc5,0x44,0xab,0xd4,0x36,0x6e,0x87,0x3e,0xc5, + 0x6f,0xb7,0x65,0x32,0xb0,0xe5,0xda,0x89,0x52,0xdb,0xd9,0xc5,0x0,0xf0,0x99,0x49, + 0x91,0x60,0x4f,0xd9,0xb7,0xa2,0x78,0xca,0x2b,0x42,0xd2,0xd6,0xea,0xdd,0x32,0x8d, + 0xe6,0xd1,0x2c,0x7c,0x45,0x78,0xe0,0xb2,0x72,0x21,0x47,0xc3,0x4b,0x92,0x21,0xdd, + 0x35,0x6e,0x47,0x63,0x77,0x89,0x67,0xd1,0x18,0xde,0xc3,0x24,0x1a,0x1e,0xf1,0xe5, + 0x5f,0xb3,0xec,0x92,0xf8,0x32,0xf3,0x73,0x6f,0x12,0x3e,0x2,0x9c,0xc,0xe,0xc4, + 0x6a,0x68,0x4f,0xd8,0x3d,0xea,0xed,0x16,0xc8,0x7d,0x57,0x15,0xe1,0x7e,0x19,0x76, + 0xca,0xdd,0xd3,0xe1,0xfc,0x8,0x17,0xe1,0x80,0x7a,0x9b,0xe4,0x8e,0xac,0xde,0xd7, + 0xc6,0xed,0x51,0xd5,0x5b,0x44,0x7e,0x1e,0x52,0xaf,0x7f,0xa0,0x63,0xa8,0x97,0xeb, + 0xca,0xfc,0x45,0xbb,0xf3,0x7d,0xda,0x9d,0xfe,0x7f,0xed,0x9a,0xd4,0x8e,0xac,0xdc, + 0xb5,0x77,0x5a,0xeb,0x36,0x99,0x1e,0x47,0xb7,0xf9,0xd4,0xcf,0x43,0xba,0x6d,0xf, + 0x73,0x40,0xb5,0xe6,0x59,0xff,0xdc,0x8b,0x2,0x4d,0x2f,0xb4,0x50,0x84,0xc6,0xed, + 0x8e,0x7,0x59,0x9b,0x4a,0xa9,0xd7,0x1d,0xc2,0x60,0x89,0x9c,0x76,0x8c,0x5a,0xdd, + 0xbb,0xbf,0xeb,0xc,0x5d,0x43,0xdd,0xf4,0x2d,0x72,0x31,0x5c,0xef,0x50,0x19,0xa6, + 0xa3,0x71,0x3f,0xf8,0xaa,0x52,0x89,0xef,0x1f,0x30,0x60,0xf4,0xb2,0x69,0x8b,0xa, + 0x9f,0xba,0x66,0x79,0xd9,0xee,0x7f,0x9,0xfe,0x0,0xd8,0xfd,0x3a,0x43, + +}; + +static const unsigned char qt_resource_name[] = { + // components + 0x0,0xa, + 0x7,0x6a,0x9,0x33, + 0x0,0x63, + 0x0,0x6f,0x0,0x6d,0x0,0x70,0x0,0x6f,0x0,0x6e,0x0,0x65,0x0,0x6e,0x0,0x74,0x0,0x73, + // Abbith.qml + 0x0,0xa, + 0x0,0xa3,0xa9,0x1c, + 0x0,0x41, + 0x0,0x62,0x0,0x62,0x0,0x69,0x0,0x74,0x0,0x68,0x0,0x2e,0x0,0x71,0x0,0x6d,0x0,0x6c, + // DateTimeModule.qml + 0x0,0x12, + 0xa,0xf3,0x79,0xfc, + 0x0,0x44, + 0x0,0x61,0x0,0x74,0x0,0x65,0x0,0x54,0x0,0x69,0x0,0x6d,0x0,0x65,0x0,0x4d,0x0,0x6f,0x0,0x64,0x0,0x75,0x0,0x6c,0x0,0x65,0x0,0x2e,0x0,0x71,0x0,0x6d, + 0x0,0x6c, + +}; + +static const unsigned char qt_resource_struct[] = { + // : + 0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1, +0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, + // :/Abbith.qml + 0x0,0x0,0x0,0x1a,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0, +0x0,0x0,0x1,0x67,0x5,0xec,0x70,0x39, + // :/components + 0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x3, +0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, + // :/components/DateTimeModule.qml + 0x0,0x0,0x0,0x34,0x0,0x1,0x0,0x0,0x0,0x1,0x0,0x0,0x1,0xff, +0x0,0x0,0x1,0x67,0x27,0xba,0x1d,0xdc, + +}; + +#ifdef QT_NAMESPACE +# define QT_RCC_PREPEND_NAMESPACE(name) ::QT_NAMESPACE::name +# define QT_RCC_MANGLE_NAMESPACE0(x) x +# define QT_RCC_MANGLE_NAMESPACE1(a, b) a##_##b +# define QT_RCC_MANGLE_NAMESPACE2(a, b) QT_RCC_MANGLE_NAMESPACE1(a,b) +# define QT_RCC_MANGLE_NAMESPACE(name) QT_RCC_MANGLE_NAMESPACE2( \ + QT_RCC_MANGLE_NAMESPACE0(name), QT_RCC_MANGLE_NAMESPACE0(QT_NAMESPACE)) +#else +# define QT_RCC_PREPEND_NAMESPACE(name) name +# define QT_RCC_MANGLE_NAMESPACE(name) name +#endif + +#ifdef QT_NAMESPACE +namespace QT_NAMESPACE { +#endif + +bool qRegisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *); + +bool qUnregisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *); + +#ifdef QT_NAMESPACE +} +#endif + +int QT_RCC_MANGLE_NAMESPACE(qInitResources_resources)(); +int QT_RCC_MANGLE_NAMESPACE(qInitResources_resources)() +{ + QT_RCC_PREPEND_NAMESPACE(qRegisterResourceData) + (0x2, qt_resource_struct, qt_resource_name, qt_resource_data); + return 1; +} + +int QT_RCC_MANGLE_NAMESPACE(qCleanupResources_resources)(); +int QT_RCC_MANGLE_NAMESPACE(qCleanupResources_resources)() +{ + QT_RCC_PREPEND_NAMESPACE(qUnregisterResourceData) + (0x2, qt_resource_struct, qt_resource_name, qt_resource_data); + return 1; +} + +namespace { + struct initializer { + initializer() { QT_RCC_MANGLE_NAMESPACE(qInitResources_resources)(); } + ~initializer() { QT_RCC_MANGLE_NAMESPACE(qCleanupResources_resources)(); } + } dummy; +} diff --git a/dashboard/default/default.bg b/dashboard/default/default.bg new file mode 100644 index 0000000..ffa8b6e Binary files /dev/null and b/dashboard/default/default.bg differ diff --git a/dashboard/main.cpp b/dashboard/main.cpp new file mode 100644 index 0000000..bfd7410 --- /dev/null +++ b/dashboard/main.cpp @@ -0,0 +1,12 @@ +#include <QApplication> +#include <QQmlApplicationEngine> + +int main(int argc, char *argv[]) +{ + QApplication app(argc, argv); + + QQmlApplicationEngine engine; + engine.load(QUrl(QStringLiteral("qrc:/Abbith.qml"))); + + return app.exec(); +} diff --git a/dashboard/qml/DateTimeModule.qml b/dashboard/qml/DateTimeModule.qml new file mode 100644 index 0000000..b441821 --- /dev/null +++ b/dashboard/qml/DateTimeModule.qml @@ -0,0 +1,85 @@ +import QtQuick 2.6 +import QtQuick.Layouts 1.3 +import QtQuick.Controls 1.4 +import QtCharts 2.1 + +import "." as App + +Rectangle { + id: clock + + Layout.alignment: Qt.AlignTop + Layout.preferredWidth: parent.width / 2 + Layout.preferredHeight: parent.height / 4 + Layout.minimumHeight: 200 + Layout.minimumWidth: 200 + + property var current: new Date() + + ChartView { + title: clock.current.toLocaleString(Qt.locale(), "hh:mm") + legend.visible: false + antialiasing: true + animationOptions: ChartView.SeriesAnimations + anchors.fill: parent + backgroundColor: "transparent" + + margins {top: 0; right: 0; bottom: 0; left: 0} + + PieSeries { + id: secondsSeries + size: 1 + holeSize: .9 + PieSlice { + id: secondsSlice + color: "#bd0806" + value: (clock.current.getSeconds() / 60) * 100 + } + PieSlice { + color: "#E6E6E6" + value: 100 - secondsSlice.value + } + } + + PieSeries { + id: minutesSeries + size: .9 + holeSize: .7 + PieSlice { + id: minutesSlice + color: "#A0A0A0" + value: (clock.current.getMinutes() / 60) * 100 + } + PieSlice { + color: "#B4B4B4" + value: 100 - minutesSlice.value + } + } + + PieSeries { + id: hoursSeries + size: .7 + holeSize: .3 + PieSlice { + id: hoursSlice + color: "#6E6E6E" + value: (clock.current.getHours() / 24) * 100 + } + PieSlice { + color: "#828282" + value: 100 - hoursSlice.value + } + } + } + + Timer { + interval: 100 + running: true + repeat: true + onTriggered: clock.timeChanged() + } + + function timeChanged() { + current = new Date; + } +} diff --git a/dashboard/resources.qrc b/dashboard/resources.qrc new file mode 100644 index 0000000..b11e066 --- /dev/null +++ b/dashboard/resources.qrc @@ -0,0 +1,6 @@ +<RCC> +<qresource prefix="/"> +<file>Abbith.qml</file> +<file>components/DateTimeModule.qml</file> +</qresource> +</RCC> \ No newline at end of file