Showing preview only (1,046K chars total). Download the full file or copy to clipboard to get everything.
Repository: arc-design/arc-theme
Branch: master
Commit: 1fd68cc4e846
Files: 134
Total size: 996.4 KB
Directory structure:
gitextract_eqqzwbgu/
├── .github/
│ └── ISSUE_TEMPLATE.md
├── .gitignore
├── .nvmrc
├── AUTHORS
├── COPYING
├── HACKING.md
├── Makefile.am
├── README.md
├── autogen.sh
├── change_color.sh
├── common/
│ ├── Makefile.am
│ ├── cinnamon/
│ │ └── sass/
│ │ ├── _colors.scss
│ │ ├── _common.scss
│ │ ├── _drawing.scss
│ │ ├── cinnamon-dark.scss
│ │ └── cinnamon.scss
│ ├── gnome-shell/
│ │ ├── 3.18/
│ │ │ └── sass/
│ │ │ ├── _colors.scss
│ │ │ ├── _common.scss
│ │ │ ├── _drawing.scss
│ │ │ ├── gnome-shell-dark.scss
│ │ │ └── gnome-shell.scss
│ │ ├── 3.26/
│ │ │ └── sass/
│ │ │ ├── _colors.scss
│ │ │ ├── _common.scss
│ │ │ ├── _drawing.scss
│ │ │ ├── gnome-shell-dark.scss
│ │ │ └── gnome-shell.scss
│ │ ├── 3.30/
│ │ │ └── sass/
│ │ │ ├── _colors.scss
│ │ │ ├── _common.scss
│ │ │ ├── _drawing.scss
│ │ │ ├── gnome-shell-dark.scss
│ │ │ └── gnome-shell.scss
│ │ └── 3.32/
│ │ └── sass/
│ │ ├── _colors.scss
│ │ ├── _common.scss
│ │ ├── _drawing.scss
│ │ ├── gnome-shell-dark.scss
│ │ └── gnome-shell.scss
│ ├── gtk-2.0/
│ │ ├── Makefile.am
│ │ ├── apps.rc
│ │ ├── assets.txt
│ │ ├── dark/
│ │ │ └── gtkrc
│ │ ├── darker/
│ │ │ └── gtkrc
│ │ ├── light/
│ │ │ └── gtkrc
│ │ ├── main.rc
│ │ ├── menubar-toolbar/
│ │ │ ├── menubar-toolbar-dark.rc
│ │ │ └── menubar-toolbar.rc
│ │ ├── panel.rc
│ │ └── xfce-notify.rc
│ ├── gtk-3.0/
│ │ ├── 3.18/
│ │ │ ├── Makefile.am
│ │ │ ├── assets.txt
│ │ │ └── sass/
│ │ │ ├── _applications.scss
│ │ │ ├── _colors-public.scss
│ │ │ ├── _colors.scss
│ │ │ ├── _common.scss
│ │ │ ├── _drawing.scss
│ │ │ ├── _granite.scss
│ │ │ ├── _lightdm.scss
│ │ │ ├── _transparent_widgets.scss
│ │ │ ├── _unity.scss
│ │ │ ├── gtk-dark.scss
│ │ │ ├── gtk-darker.scss
│ │ │ ├── gtk-solid-dark.scss
│ │ │ ├── gtk-solid-darker.scss
│ │ │ ├── gtk-solid.scss
│ │ │ └── gtk.scss
│ │ ├── 3.20/
│ │ │ ├── Makefile.am
│ │ │ ├── assets.txt
│ │ │ └── sass/
│ │ │ ├── _applications.scss
│ │ │ ├── _budgie.scss
│ │ │ ├── _colors-public.scss
│ │ │ ├── _colors.scss
│ │ │ ├── _common.scss
│ │ │ ├── _drawing.scss
│ │ │ ├── _granite.scss
│ │ │ ├── _lightdm.scss
│ │ │ ├── _transparent_widgets.scss
│ │ │ ├── _unity.scss
│ │ │ ├── gtk-dark.scss
│ │ │ ├── gtk-darker.scss
│ │ │ ├── gtk-solid-dark.scss
│ │ │ ├── gtk-solid-darker.scss
│ │ │ ├── gtk-solid.scss
│ │ │ └── gtk.scss
│ │ ├── Makefile.am
│ │ ├── _colors.scss.thpl
│ │ └── common.am
│ ├── index/
│ │ ├── dark/
│ │ │ └── index.theme
│ │ ├── darker/
│ │ │ └── index.theme
│ │ └── light/
│ │ └── index.theme
│ ├── metacity-1/
│ │ ├── metacity-theme-1-dark.xml
│ │ ├── metacity-theme-1.xml
│ │ ├── metacity-theme-2-dark.xml
│ │ ├── metacity-theme-2.xml
│ │ └── metacity-theme-3.xml
│ ├── openbox/
│ │ ├── Arc/
│ │ │ └── openbox-3/
│ │ │ ├── close.xbm
│ │ │ ├── desk.xbm
│ │ │ ├── desk_toggled.xbm
│ │ │ ├── iconify.xbm
│ │ │ ├── max.xbm
│ │ │ ├── max_toggled.xbm
│ │ │ ├── shade.xbm
│ │ │ ├── shade_toggled.xbm
│ │ │ └── themerc
│ │ ├── Arc-Dark/
│ │ │ └── openbox-3/
│ │ │ ├── close.xbm
│ │ │ ├── desk.xbm
│ │ │ ├── desk_toggled.xbm
│ │ │ ├── iconify.xbm
│ │ │ ├── max.xbm
│ │ │ ├── max_toggled.xbm
│ │ │ ├── shade.xbm
│ │ │ ├── shade_toggled.xbm
│ │ │ └── themerc
│ │ └── Arc-Darker/
│ │ └── openbox-3/
│ │ ├── close.xbm
│ │ ├── desk.xbm
│ │ ├── desk_toggled.xbm
│ │ ├── iconify.xbm
│ │ ├── max.xbm
│ │ ├── max_toggled.xbm
│ │ ├── shade.xbm
│ │ ├── shade_toggled.xbm
│ │ └── themerc
│ └── xfwm4/
│ ├── Makefile.am
│ ├── assets.txt
│ ├── dark/
│ │ └── themerc
│ └── light/
│ └── themerc
├── configure.ac
├── extra/
│ ├── Arc-Plank/
│ │ └── dock.theme
│ └── Makefile.am
├── m4/
│ ├── arc-enable.m4
│ ├── arc-gnome-shell.m4
│ └── arc-gtk3.m4
├── mkrelease.sh
├── package.json
└── scripts/
├── darker.sh
└── mix.sh
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/ISSUE_TEMPLATE.md
================================================
# READ CAREFULLY BEFORE SUBMITTING
Whilst we are happy for issues to be raised, we do strongly recommend that you investigate as much as possible
and provide a Git Pull Request with a suggested fix.
**The list below is for avoiding duplicated issues; if your issue isn't listed, you should remove this and continue.**
- The theme doesn't work in a distribution that have a GTK+ 3 version lower than 3.18.
- Arc only supports versions since 3.18, you should update to latest versions.
- The theme is broken after a major GTK+ 3 update (i.e. 3.18 to 3.20 or 3.20 to 3.22).
- Update the package or install from sources.
- The theme is broken after installing from sources.
- Possibly a bug on GTK+ 3 version checking, use `--with-gtk3=<version>` flag with `./autogen.sh`.
- Possibly a bug with GNOME-Shell version checking, use `--with-gnome-shell=<version>` flag with `./autogen.sh`.
- Theme isn't transparent on GNOME applications without CSD (i.e. Ubuntu's applications).
- Transparency isn't supported for non-CSD applications.
- Theme doesn't build from AUR in Arch/Manjaro and others.
- Ensure you have the `base-devel` group installed.
### Checks
*Ensure you...*
- **Really** read the list above and checked if your issue is or not duplicated.
- **Really** read the README and there is nothing about your issue.
- **Really** checked if the theme is installed or built specifically for the GTK+ 3/distribution version you're using.
### Details
- Distribution (with version):
- Base distribution (if have, with version):
- Desktop environment (with version):
- Arc version/commit (don't put "latest"):
- GTK+ 3 version:
- Murrine engine version:
- `gnome-themes-extras` version:
- Installation method (package or source):
================================================
FILE: .gitignore
================================================
node_modules
Makefile
Makefile.in
aclocal.m4
autom4te.cache
build-aux
compile
config.*
configure
install-sh
missing
.idea/
common/cinnamon/cinnamon-dark.css
common/cinnamon/cinnamon.css
common/gnome-shell/**/gnome-shell-dark.css
common/gnome-shell/**/gnome-shell.css
common/gtk-3.0/**/*.css
common/gtk-3.0/**/light/
common/gtk-3.0/**/darker/
common/gtk-3.0/**/dark/
common/gtk-3.0/**/assets/*.png
common/gtk-2.0/*/assets/*.png
common/gtk-2.0/menubar-toolbar/*.png
common/xfwm4/*/assets/*.png
common/compile-gresources.sh
================================================
FILE: .nvmrc
================================================
stable
================================================
FILE: AUTHORS
================================================
See a list of contributors here
https://github.com/arc-design/Arc-theme/graphs/contributors
================================================
FILE: COPYING
================================================
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
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.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
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 <http://www.gnu.org/licenses/>.
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:
<program> Copyright (C) <year> <name of author>
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
<http://www.gnu.org/licenses/>.
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
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
================================================
FILE: HACKING.md
================================================
This theme uses node-sass/libsass to process the various .scss files. Never edit any of the .css files manually.
#### Editing the CSS based themes in the `common` directory (cinnamon, gnome-shell, gtk-3.0)
* Edit the `common/*/sass/*.scss` files
* Run `make` to generate all css files using sassc (starting with version 20180114). Gulp is no longer required.
--
#### Editing the GTK 2 themes
* Go to `common/gtk-2.0`
* The colors and includes are defined in `light/gtkrc`, `dark/gtkrc` and `darker/gtkrc` for each theme variant
* `main.rc` contains the major part of the theme
* `panel.rc` contains the panel styling for Xfce and MATE
* `apps.rc` contains some application specific rules
Because this theme is heavily based on the pixmap engine, a lot of the styling comes from the images in the `light/assets` and `dark/assets` folders. Don't edit these images directly. See the next section.
--
#### Editing the images for the GTK 2 and GTK 3 themes
* Go to the `common/gtk-2.0/light`, `common/gtk-2.0/dark`, or `common/gtk-3.0/$gtk-version` directory.
* Open the `assets.svg` file in inkscape. Each object in the .svg file corresponds to an image in the `assets` folder.
* Find the object you want to edit and make your changes. Important: Don't change the object id!
* Save `assets.svg` and run `make` (or `make -j$(nproc)` if you're in a hurry) from a terminal in the parent directory.
================================================
FILE: Makefile.am
================================================
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
README.md \
HACKING.md \
autogen.sh \
package.json \
.nvmrc
SUBDIRS = common extra
================================================
FILE: README.md
================================================
# Arc Theme
*This project needs new maintainers to continue. The current maintainers do not have the bandwidth to continue. As such this project has now been put into archive readonly mode. The theme is actively maintained under a separate project at [github.com/jnsh/arc-theme](https://github.com/jnsh/arc-theme).*
Arc is a flat theme with transparent elements for GTK 3, GTK 2 and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments like GNOME, Unity, Pantheon, Xfce, MATE, Cinnamon (>=3.4), Budgie Desktop (10.4 for GTK+3.22) etc.
The arc-design/arc-theme repository is a fork of the horst3180/arc-theme repository which as been umaintained since March 2017.
Its aim is to continue the maintenance of arc-theme. The two administrators of the project are the Arch-Linux and Debian & Ubuntu packaging maintainers.
It is strongly encouraged to submit pull-requests to suggest fixes and enhancements.
Those that show good quality submissions will be invited to become maintainers.
## Arc is available in three variants
##### Arc

##### Arc-Darker

##### Arc-Dark

## Installation
### Packages
|Distro|Package Name/Link|
|:----:|:----:|
| Arch Linux | [`arc-gtk-theme`](https://www.archlinux.org/packages/community/any/arc-gtk-theme/), [`arc-solid-gtk-theme`](https://www.archlinux.org/packages/community/any/arc-solid-gtk-theme/) |
| Debian | `arc-theme` |
| Fedora | `arc-theme` |
| Gentoo/Funtoo | `x11-themes/arc-theme` from the [Scriptkitties Overlay][sk-overlay] |
| Sabayon | `arc-theme`
| Solus | `arc-gtk-theme` |
| Ubuntu 16.10 and later | `arc-theme`
| Ubuntu 16.04 and later | `arc-theme` from [fossfreedom/arc-gtk-theme-daily](https://launchpad.net/~fossfreedom/+archive/ubuntu/arc-gtk-theme-daily) |
| FreeBSD | `x11-themes/gtk-arc-themes` |
[](https://repology.org/project/arc-theme/versions)
--
### Manual Installation
To build the theme the following packages are required
* `autoconf`
* `automake`
* `sassc` for GTK 3, Cinnamon, or GNOME Shell
* `pkg-config` or `pkgconfig` for Fedora
* `git` to clone the source directory
* `optipng` for GTK 2, GTK 3, or XFWM
* `inkscape` for GTK 2, GTK 3, or XFWM
The following packages are optionally required
* `gnome-shell`for auto-detecting the GNOME Shell version
* `libgtk-3-dev` for Debian based distros or `gtk3-devel` for RPM based distros, for auto-detecting the GTK3 version
**Note:** For distributions which don't ship separate development packages, just the GTK 3 package is needed instead of the `-dev` packages.
For the theme to function properly, install the following
* GNOME Shell 3.18 - 3.32, GTK 3.18 - 3.24
* The `gnome-themes-extra` package
* The murrine engine. This has different names depending on the distro.
* `gtk-engine-murrine` (Arch Linux)
* `gtk2-engines-murrine` (Debian, Ubuntu, elementary OS)
* `gtk-murrine-engine` (Fedora)
* `gtk2-engine-murrine` (openSUSE)
* `gtk-engines-murrine` (Gentoo)
Install the theme with the following commands
#### 1. Get the source
Clone the git repository with
git clone https://github.com/arc-design/arc-theme --depth 1 && cd arc-theme
#### 2. Build and install the theme
./autogen.sh --prefix=/usr
sudo make install
Other options to pass to autogen.sh are
--disable-transparency disable transparency in the GTK3 theme
--disable-light disable Arc Light support
--disable-darker disable Arc Darker support
--disable-dark disable Arc Dark support
--disable-cinnamon disable Cinnamon support
--disable-gnome-shell disable GNOME Shell support
--disable-gtk2 disable GTK2 support
--disable-gtk3 disable GTK3 support
--disable-metacity disable Metacity support
--disable-unity disable Unity support
--disable-xfwm disable XFWM support
--disable-plank disable Plank theme support
--disable-openbox disable Openbox support
--with-gnome-shell=<version> build the gnome-shell theme for a specific version
--with-gtk3=<version> build the GTK3 theme for a specific version
Note: Normally the correct version is detected automatically
and these options should not be needed.
After the installation is complete the theme can be activated with `gnome-tweak-tool` or a similar program by selecting `Arc`, `Arc-Darker` or `Arc-Dark` as Window/GTK+ theme and `Arc` or `Arc-Dark` as GNOME Shell/Cinnamon theme.
If the `--disable-transparency` option was used, the theme will be installed as `Arc-solid`, `Arc-Darker-solid` and `Arc-Dark-solid`.
## Uninstall
Run
sudo make uninstall
from the cloned git repository, or
sudo rm -rf /usr/share/themes/{Arc,Arc-Darker,Arc-Dark}
## Extras
### Arc KDE
A port of Arc for the Plasma 5 desktop with a few additions and extras. Available [here](https://github.com/PapirusDevelopmentTeam/arc-kde).
### Arc icon theme
The Arc icon theme is available at https://github.com/NicoHood/arc-icon-theme
### Plank theme
As of version `20180114` the plank theme will be installed along with the normal arc gtk theme. You can disable the install by passing `disable-plank` to the autogen command.
Now open the Plank preferences window by executing `plank --preferences` from a terminal and select `Gtk+` as the theme.
### FirefoxColor theme
Arc color palettes for FirefoxColor testpilot project
1.[Arc](https://color.firefox.com/?theme=XQAAAALsAAAAAAAAAABBqYhm849SCiazH1KEGccwS-xNVAWBveAusLC2VAlvlSjJ6UJSeqAgCYbdusEoPO6gs3O7v6uHbeft01vfMj--IcmWccV5ZVhbS5pAY21H4rQoo83UfS5UcAgLsFRnmMUloj0SFmW1HehCUMDfDxPPF1kUuA9qWMRgNi28lIsiXLMPZZcTMJdrmyjo335zNimxUcokvCK-KCKaas3H1WasbB4OVMJidW2cC2pVrAp_-pQmAA)
2.[Arc-Dark](https://color.firefox.com/?theme=XQAAAALsAAAAAAAAAABBqYhm849SCiazH1KEGccwS-xNVAVYwOBtiY0uPWyYE7WQD-5SgdZ71r2F-lXEQxrGAEzv_buK8bCyok70SsUy0GeciWa6veHgAFpeOvR5esr0TgHrmzAVtbaluSV2pYGKFkF03u_F69WpX-5y0OWddI2Y12nn6XZrfhTCe6wjAGRgrpfgKzbG8oTgp9v362NBpHcLnPzzzzC_3PGq4PfhQJimy-2PSgzHFoG6322X_-hAUAA)
3.[Arc-Darker](https://color.firefox.com/?theme=XQAAAALsAAAAAAAAAABBqYhm849SCiazH1KEGccwS-xNVAWBveAusLC2VAlvlSjJ6UJSeqAgCYbdusEoPO6gs3O7v6uHbeft01vfMkT1y4Tf1nzX1xYaRp0u6XBPage606lAwQt0F0O7Q6pf8R-lAjw8ljDMgG2fgvNk2K-ZUhapxWWNnKLb0LTrm1yLUWJYMgTx2cr9o4MWazvWLg9DPQcdumiH0qiUFROpAtIMassKweMS9iAEenpp0qT_Et_AAA)
### Arc-Dark for Ubuntu Software Center
The Arc Dark theme for the Ubuntu Software Center by [mervick](https://github.com/mervick) can be installed from [here](https://github.com/mervick/arc-dark-software-center). It solves readability issues with Arc Dark and the Ubuntu Software Center.
## Troubleshooting
If you get artifacts like black or invisible backgrounds under Unity, disable overlay scrollbars with
gsettings set com.canonical.desktop.interface scrollbar-mode normal
## Bugs
If you find a bug, please report it at https://github.com/arc-design/arc-theme/issues
## License
Arc is available under the terms of the GPL-3.0. See `COPYING` for details.
## Full Preview

<sub>Screenshot Details: Icons: [Arc](https://github.com/NicoHood/arc-icon-theme) | Launcher Icons based on [White Pixel Icons](http://darkdawg.deviantart.com/art/White-Pixel-Icons-252310560) | [Wallpaper](https://pixabay.com/photo-869593/) | Font: Futura Bk bt</sub>
[sk-overlay]: https://github.com/fkmclane/overlay/tree/master/x11-themes/arc-theme
[NicoHood-fossfreedom]: https://launchpad.net/~fossfreedom/+archive/ubuntu/arc-gtk-theme-daily
================================================
FILE: autogen.sh
================================================
#!/bin/sh
test -z "$srcdir" && srcdir=$(dirname "$0")
test -z "$srcdir" && srcdir=.
set -ue
cwd=$(pwd)
cd "$srcdir"
mkdir -p m4
autoreconf --verbose --force --install
cd "$cwd"
# shellcheck disable=SC2068
"$srcdir/configure" $@
================================================
FILE: change_color.sh
================================================
#!/usr/bin/env bash
# shellcheck disable=SC1090
#set -x
set -ueo pipefail
SRC_PATH="$(readlink -f "$(dirname "$0")")"
darker() {
"$SRC_PATH/scripts/darker.sh" "$@"
}
mix() {
"$SRC_PATH/scripts/mix.sh" "$@"
}
is_dark() {
hexinput="$(tr '[:lower:]' '[:upper:]' <<< "$1")"
half_darker="$(darker "$hexinput" 88)"
[[ "$half_darker" == "000000" ]]
}
print_usage() {
echo "usage: $0 [-o OUTPUT_THEME_NAME] [-a AUTOGEN_OPTS] [-j JOBS] PATH_TO_PRESET"
echo
echo "examples:"
# shellcheck disable=SC2028 # This is meant to be usage text.
echo " $0 --output my-theme-name <(echo -e \"BG=d8d8d8\\nFG=101010\\nHDR_BG=3c3c3c\\nHDR_FG=e6e6e6\\nSEL_BG=ad7fa8\\nSEL_FG=ffffff\\nTXT_BG=ffffff\\nTXT_FG=1a1a1a\\nBTN_BG=f5f5f5\\nBTN_FG=111111\\n\")"
echo " $0 ../colors/retro/twg"
echo " $0 --autogen-opts '--disable-cinnamon --disable-gnome-shell' --jobs 4 ../colors/retro/clearlooks"
exit 1
}
AUTOGEN_OPTS=""
unset JOBS
while [[ "$#" -gt 0 ]]; do
case "$1" in
-o|--output)
OUTPUT_THEME_NAME="$2"
shift
;;
-d|--hidpi)
OPTION_GTK2_HIDPI="$2"
shift
;;
-a|--autogen-opts)
AUTOGEN_OPTS="${2}"
shift
;;
-j|--jobs)
JOBS="${2}"
shift
;;
*)
if [[ "$1" == -* ]] || [[ "${THEME-}" ]]; then
echo "unknown option $1"
print_usage
exit 2
fi
THEME="$1"
;;
esac
shift
done
if [[ -z "${THEME:-}" ]]; then
print_usage
fi
OPTION_GTK2_HIDPI=$(tr '[:upper:]' '[:lower:]' <<< "${OPTION_GTK2_HIDPI-False}")
export OPTION_GTK2_HIDPI
if [[ "$THEME" == */* ]] || [[ "$THEME" == *.* ]]; then
source "$THEME"
THEME=$(basename "$THEME")
else
if [[ -f "$SRC_PATH/../colors/$THEME" ]]; then
source "$SRC_PATH/../colors/$THEME"
else
echo "Theme '$THEME' not found"
exit 1
fi
fi
if [[ $(date +"%m%d") = "0401" ]] && grep -q "no-jokes" <<< "$*"; then
echo -e "\\n\\nError patching uxtheme.dll\\n\\n"
ACCENT_BG=000000 BG=C0C0C0 BTN_BG=C0C0C0 BTN_FG=000000 FG=000000
HDR_BTN_BG=C0C0C0 HDR_BTN_FG=000000 HDR_BG=C0C0C0
HDR_FG=000000 SEL_BG=000080 SEL_FG=FFFFFF TXT_BG=FFFFFF TXT_FG=000000
fi
# Migration:
HDR_BG=${HDR_BG-$MENU_BG}
HDR_FG=${HDR_FG-$MENU_FG}
ARC_TRANSPARENCY=$(tr '[:upper:]' '[:lower:]' <<< "${ARC_TRANSPARENCY-True}")
ARC_WIDGET_BORDER_COLOR=${ARC_WIDGET_BORDER_COLOR-$(mix ${BG} ${FG} 0.75)}
TXT_FG=$FG
BTN_FG=$FG
HDR_BTN_FG=$HDR_FG
ACCENT_BG=${ACCENT_BG-$SEL_BG}
HDR_BTN_BG=${HDR_BTN_BG-$BTN_BG}
# Not implemented yet:
HDR_BTN_FG=${HDR_BTN_FG-$BTN_FG}
WM_BORDER_FOCUS=${WM_BORDER_FOCUS-$SEL_BG}
WM_BORDER_UNFOCUS=${WM_BORDER_UNFOCUS-$HDR_BG}
SPACING=${SPACING-3}
GRADIENT=${GRADIENT-0}
ROUNDNESS=${ROUNDNESS-2}
#ROUNDNESS_GTK2_HIDPI=$(( ROUNDNESS * 2 ))
TERMINAL_COLOR1=${TERMINAL_COLOR1:-F04A50}
TERMINAL_COLOR3=${TERMINAL_COLOR3:-F08437}
TERMINAL_COLOR4=${TERMINAL_COLOR4:-1E88E5}
TERMINAL_COLOR5=${TERMINAL_COLOR5:-E040FB}
TERMINAL_COLOR9=${TERMINAL_COLOR9:-DD2C00}
TERMINAL_COLOR10=${TERMINAL_COLOR10:-00C853}
TERMINAL_COLOR11=${TERMINAL_COLOR11:-FF6D00}
TERMINAL_COLOR12=${TERMINAL_COLOR12:-66BB6A}
INACTIVE_FG=$(mix "$FG" "$BG" 0.75)
INACTIVE_BG=$(mix "$BG" "$FG" 0.75)
INACTIVE_HDR_FG=$(mix "$HDR_FG" "$HDR_BG" 0.75)
INACTIVE_HDR_BG=$(mix "$HDR_BG" "$HDR_FG" 0.75)
INACTIVE_TXT_MIX=$(mix "$TXT_FG" "$TXT_BG")
INACTIVE_TXT_FG=$(mix "$TXT_FG" "$TXT_BG" 0.75)
INACTIVE_TXT_BG=$(mix "$TXT_BG" "$BG" 0.75)
OUTPUT_THEME_NAME=${OUTPUT_THEME_NAME-oomox-arc-$THEME}
DEST_PATH="$HOME/.themes/${OUTPUT_THEME_NAME/\//-}"
if [[ "$SRC_PATH" == "$DEST_PATH" ]]; then
echo "can't do that"
exit 1
fi
if [[ ! -d "$(dirname "${DEST_PATH}")" ]] ; then
mkdir -p "${DEST_PATH}"
fi
tempdir=$(mktemp -d)
post_clean_up() {
rm -r "$tempdir"
}
trap post_clean_up EXIT SIGHUP SIGINT SIGTERM
cp -r "$SRC_PATH/"* "$tempdir/"
cd "$tempdir"
echo "== Converting theme into template..."
PATHLIST=(
'./common/'
)
for FILEPATH in "${PATHLIST[@]}"; do
find "$FILEPATH" -type f -exec sed -i'' \
-e 's/#cfd6e6/%ARC_WIDGET_BORDER_COLOR%/gI' \
-e 's/#f5f6f7/%BG%/gI' \
-e 's/#dde3e9/%BG_DARKER%/gI' \
-e 's/#3b3e45/%FG%/gI' \
-e 's/#FFFFFF/%TXT_BG%/gI' \
-e 's/#3b3e45/%TXT_FG%/gI' \
-e 's/#5294e2/%SEL_BG%/gI' \
-e 's/#fcfdfd/%BTN_BG%/gI' \
-e 's/#e7e8eb/%HDR_BG%/gI' \
-e 's/#2f343f/%HDR_BG%/gI' \
-e 's/#D3DAE3/%HDR_FG%/gI' \
-e 's/#fbfcfc/%INACTIVE_BG%/gI' \
-e 's/#a9acb2/%INACTIVE_FG%/gI' \
-e 's/#e2e7ef/%BG_DARKER%/gI' \
-e 's/#F04A50/%TERMINAL_COLOR1%/gI' \
-e 's/#F08437/%TERMINAL_COLOR3%/gI' \
-e 's/#FC4138/%TERMINAL_COLOR9%/gI' \
-e 's/#73d216/%TERMINAL_COLOR10%/gI' \
-e 's/#F27835/%TERMINAL_COLOR11%/gI' \
-e 's/#4DADD4/%TERMINAL_COLOR12%/gI' \
-e 's/#353945/%HDR_BG2%/gI' \
-e 's/Name=Arc/Name=%OUTPUT_THEME_NAME%/g' \
-e 's/#f46067/%TERMINAL_COLOR9%/gI' \
-e 's/#cc575d/%TERMINAL_COLOR9%/gI' \
-e 's/#f68086/%TERMINAL_COLOR9_LIGHTER%/gI' \
-e 's/#d7787d/%TERMINAL_COLOR9_LIGHTER%/gI' \
-e 's/#f13039/%TERMINAL_COLOR9_DARKER%/gI' \
-e 's/#be3841/%TERMINAL_COLOR9_DARKER%/gI' \
-e 's/#F8F8F9/%HDR_FG%/gI' \
-e 's/#fdfdfd/%HDR_FG%/gI' \
-e 's/#454C5C/%HDR_FG%/gI' \
-e 's/#D1D3DA/%HDR_FG%/gI' \
-e 's/#90949E/%HDR_FG%/gI' \
-e 's/#90939B/%HDR_FG%/gI' \
-e 's/#B6B8C0/%INACTIVE_HDR_FG%/gI' \
-e 's/#666A74/%INACTIVE_HDR_FG%/gI' \
-e 's/#7A7F8B/%INACTIVE_HDR_FG%/gI' \
-e 's/#C4C7CC/%INACTIVE_HDR_FG%/gI' \
-e 's/#BAC3CF/%HDR_FG%/gI' \
-e 's/#4B5162/%TXT_FG%/gI' \
-e 's/#AFB8C5/%HDR_FG%/gI' \
-e 's/#404552/%HDR_BG%/gI' \
-e 's/#383C4A/%HDR_BG%/gI' \
-e 's/#5c616c/%FG%/gI' \
-e 's/#d3d8e2/%SEL_BG%/gI' \
-e 's/#b7c0d3/%SEL_BG%/gI' \
-e 's/#cbd2e3/%ARC_WIDGET_BORDER_COLOR%/gI' \
-e 's/#fcfcfc/%TXT_BG%/gI' \
-e 's/#dbdfe3/%INACTIVE_TXT_BG%/gI' \
-e 's/#eaebed/%INACTIVE_TXT_BG%/gI' \
-e 's/#b8babf/%INACTIVE_TXT_MIX%/gI' \
-e 's/#d3d4d8/%INACTIVE_TXT_FG%/gI' \
-e 's/#d7d8dd/%HDR_BG2%/gI' \
-e 's/#262932/%HDR_BG2%/gI' \
{} \; ;
done
#Not implemented yet:
#-e 's/%HDR_BTN_FG%/'"$HDR_BTN_FG"'/g' \
#-e 's/%WM_BORDER_FOCUS%/'"$WM_BORDER_FOCUS"'/g' \
#-e 's/%WM_BORDER_UNFOCUS%/'"$WM_BORDER_UNFOCUS"'/g' \
#-e 's/%SPACING%/'"$SPACING"'/g' \
#-e 's/%INACTIVE_HDR_FG%/'"$INACTIVE_HDR_FG"'/g' \
#-e 's/#01A299/%ACCENT_BG%/g' \
#sed -i -e 's/^$material_radius: .px/$material_radius: '"$ROUNDNESS"'px/g' ./src/_sass/gtk/_variables.scss
if [[ "${DEBUG:-}" ]]; then
echo "You can debug TEMP DIR: $tempdir, press [Enter] when finished"
read -r answer
if [[ "${answer}" = "q" ]] ; then
exit 125
fi
fi
while IFS= read -r -d '' template_file
do
cat "${template_file}" >> "${template_file::-5}"
done < <(find ./common -name '*.thpl' -print0)
ASSETS_FILES=(
'./common/gtk-2.0/light/assets.svg'
'./common/gtk-2.0/dark/assets.svg'
'./common/gtk-3.0/3.18/assets.svg'
'./common/gtk-3.0/3.20/assets.svg'
)
for assets_file in "${ASSETS_FILES[@]}"; do
sed -i'' -e 's/%SEL_BG%/%ACCENT_BG%/g' "${assets_file}"
done
echo "== Filling the template with the new colorscheme..."
for FILEPATH in "${PATHLIST[@]}"; do
find "$FILEPATH" -type f -exec sed -i'' \
-e 's/%ARC_WIDGET_BORDER_COLOR%/#'"$ARC_WIDGET_BORDER_COLOR"'/g' \
-e 's/%BG%/#'"$BG"'/g' \
-e 's/%BG_DARKER%/#'"$(darker $BG)"'/g' \
-e 's/%FG%/#'"$FG"'/g' \
-e 's/%ACCENT_BG%/#'"$ACCENT_BG"'/g' \
-e 's/%SEL_BG%/#'"$SEL_BG"'/g' \
-e 's/%SEL_FG%/#'"$SEL_FG"'/g' \
-e 's/%TXT_BG%/#'"$TXT_BG"'/g' \
-e 's/%TXT_FG%/#'"$TXT_FG"'/g' \
-e 's/%HDR_BG%/#'"$HDR_BG"'/g' \
-e 's/%HDR_BG2%/#'"$(mix $HDR_BG $BG 0.85)"'/g' \
-e 's/%HDR_FG%/#'"$HDR_FG"'/g' \
-e 's/%BTN_BG%/#'"$BTN_BG"'/g' \
-e 's/%BTN_FG%/#'"$BTN_FG"'/g' \
-e 's/%HDR_BTN_BG%/#'"$HDR_BTN_BG"'/g' \
-e 's/%HDR_BTN_FG%/#'"$HDR_BTN_FG"'/g' \
-e 's/%WM_BORDER_FOCUS%/#'"$WM_BORDER_FOCUS"'/g' \
-e 's/%WM_BORDER_UNFOCUS%/#'"$WM_BORDER_UNFOCUS"'/g' \
-e 's/%SPACING%/'"$SPACING"'/g' \
-e 's/%INACTIVE_FG%/#'"$INACTIVE_FG"'/g' \
-e 's/%INACTIVE_BG%/#'"$INACTIVE_BG"'/g' \
-e 's/%INACTIVE_TXT_MIX%/#'"$INACTIVE_TXT_MIX"'/g' \
-e 's/%INACTIVE_TXT_FG%/#'"$INACTIVE_TXT_FG"'/g' \
-e 's/%INACTIVE_TXT_BG%/#'"$INACTIVE_TXT_BG"'/g' \
-e 's/%INACTIVE_HDR_FG%/#'"$INACTIVE_HDR_FG"'/g' \
-e 's/%INACTIVE_HDR_BG%/#'"$INACTIVE_HDR_BG"'/g' \
-e 's/%TERMINAL_COLOR1%/#'"$TERMINAL_COLOR1"'/g' \
-e 's/%TERMINAL_COLOR3%/#'"$TERMINAL_COLOR3"'/g' \
-e 's/%TERMINAL_COLOR4%/#'"$TERMINAL_COLOR4"'/g' \
-e 's/%TERMINAL_COLOR5%/#'"$TERMINAL_COLOR5"'/g' \
-e 's/%TERMINAL_COLOR9%/#'"$TERMINAL_COLOR9"'/g' \
-e 's/%TERMINAL_COLOR9_DARKER%/#'"$(darker "$TERMINAL_COLOR9" 10)"'/g' \
-e 's/%TERMINAL_COLOR9_LIGHTER%/#'"$(darker "$TERMINAL_COLOR9" -10)"'/g' \
-e 's/%TERMINAL_COLOR10%/#'"$TERMINAL_COLOR10"'/g' \
-e 's/%TERMINAL_COLOR11%/#'"$TERMINAL_COLOR11"'/g' \
-e 's/%TERMINAL_COLOR12%/#'"$TERMINAL_COLOR12"'/g' \
-e 's/%OUTPUT_THEME_NAME%/'"$OUTPUT_THEME_NAME"'/g' \
{} \; ;
done
#if [[ "$OPTION_GTK2_HIDPI" == "true" ]]; then
#mv ./src/gtk-2.0/main.rc.hidpi ./src/gtk-2.0/main.rc
#fi
#if [[ "$EXPORT_QT5CT" = 1 ]]; then
#config_home=${XDG_CONFIG_HOME:-"$HOME/.config"}
#qt5ct_colors_dir="$config_home/qt5ct/colors/"
#test -d "$qt5ct_colors_dir" || mkdir -p "$qt5ct_colors_dir"
#mv ./src/qt5ct_palette.conf "$qt5ct_colors_dir/$OUTPUT_THEME_NAME.conf"
#fi
if [[ "$ARC_TRANSPARENCY" == "false" ]]; then
AUTOGEN_OPTS="${AUTOGEN_OPTS} --disable-transparency"
fi
echo "== Making theme..."
mkdir distrib
./autogen.sh --prefix="$(readlink -e ./distrib/)" --disable-light --disable-dark "${AUTOGEN_OPTS}"
make --jobs="${JOBS:-$(nproc || echo 1)}" install
echo
echo
rm -fr "${DEST_PATH}"
if [[ "$ARC_TRANSPARENCY" == "false" ]]; then
mv ./distrib/share/themes/Arc-Darker-solid "${DEST_PATH}"
if [[ -d ./distrib/share/themes/Arc-solid/cinnamon ]] ; then
mv ./distrib/share/themes/Arc-solid/cinnamon "${DEST_PATH}"/cinnamon
fi
if [[ -d ./distrib/share/themes/Arc-solid/gnome-shell ]] ; then
mv ./distrib/share/themes/Arc-solid/gnome-shell "${DEST_PATH}"/gnome-shell
fi
else
mv ./distrib/share/themes/Arc-Darker "${DEST_PATH}"
if [[ -d ./distrib/share/themes/Arc/cinnamon ]] ; then
mv ./distrib/share/themes/Arc/cinnamon "${DEST_PATH}"/cinnamon
fi
if [[ -d ./distrib/share/themes/Arc/gnome-shell ]] ; then
mv ./distrib/share/themes/Arc/gnome-shell "${DEST_PATH}"/gnome-shell
fi
fi
cd "${DEST_PATH}"
cp ./gtk-2.0/assets/focus-line.png ./gtk-2.0/assets/frame.png
cp ./gtk-2.0/assets/null.png ./gtk-2.0/assets/frame-gap-start.png
cp ./gtk-2.0/assets/null.png ./gtk-2.0/assets/frame-gap-end.png
cp ./gtk-2.0/assets/null.png ./gtk-2.0/assets/line-v.png
cp ./gtk-2.0/assets/null.png ./gtk-2.0/assets/line-h.png
echo "== The theme was installed to ${DEST_PATH}"
echo
exit 0
================================================
FILE: common/Makefile.am
================================================
if ENABLE_GTK2
GTK2_SUBDIR = gtk-2.0
endif
if ENABLE_GTK3
GTK3_SUBDIR = gtk-3.0
endif
if ENABLE_XFWM
XFWM_SUBDIR = xfwm4
endif
SUBDIRS = $(GTK2_SUBDIR) $(GTK3_SUBDIR) $(XFWM_SUBDIR)
if ENABLE_LIGHT
theme_DATA = $(srcdir)/index/light/index.theme
endif
if ENABLE_DARKER
themedarker_DATA = $(srcdir)/index/darker/index.theme
endif
if ENABLE_DARK
themedark_DATA = $(srcdir)/index/dark/index.theme
endif
ithemedir = $(DESTDIR)$(themedir)
ithemedarkerdir = $(DESTDIR)$(themedarkerdir)
ithemedarkdir = $(DESTDIR)$(themedarkdir)
install-exec-hook:
install-data-local:
if ENABLE_CINNAMON
$(MKDIR_P) $(ithemedir)/cinnamon
cd $(srcdir)/cinnamon && cp thumbnail.png $(ithemedir)/cinnamon
$(SASSC) $(srcdir)/cinnamon/sass/cinnamon.scss $(srcdir)/cinnamon/cinnamon.css;
cd $(srcdir)/cinnamon && cp -R \
common-assets \
light-assets \
cinnamon.css \
$(ithemedir)/cinnamon
if ENABLE_DARK
$(MKDIR_P) $(ithemedarkdir)/cinnamon
cd $(srcdir)/cinnamon && cp thumbnail-dark.png $(ithemedarkdir)/cinnamon/thumbnail.png
$(SASSC) $(srcdir)/cinnamon/sass/cinnamon-dark.scss $(srcdir)/cinnamon/cinnamon-dark.css;
cd $(srcdir)/cinnamon && cp -R \
common-assets \
dark-assets \
$(ithemedarkdir)/cinnamon
cd $(srcdir)/cinnamon && cp -R \
cinnamon-dark.css \
$(ithemedarkdir)/cinnamon/cinnamon.css
endif # ENABLE_DARK
endif # ENABLE_GNOME_SHELL
if ENABLE_GNOME_SHELL
$(MKDIR_P) $(ithemedir)/gnome-shell
$(SASSC) $(srcdir)/gnome-shell/$(GNOME_SHELL_VERSION)/sass/gnome-shell.scss $(srcdir)/gnome-shell/$(GNOME_SHELL_VERSION)/gnome-shell.css;
cd $(srcdir)/gnome-shell/$(GNOME_SHELL_VERSION) && cp -RL \
common-assets \
light-assets \
gnome-shell.css \
$(ithemedir)/gnome-shell
if ENABLE_DARK
$(MKDIR_P) $(ithemedarkdir)/gnome-shell
$(SASSC) $(srcdir)/gnome-shell/$(GNOME_SHELL_VERSION)/sass/gnome-shell-dark.scss $(srcdir)/gnome-shell/$(GNOME_SHELL_VERSION)/gnome-shell-dark.css;
cd $(srcdir)/gnome-shell/$(GNOME_SHELL_VERSION) && cp -RL \
common-assets \
dark-assets \
$(ithemedarkdir)/gnome-shell
cd $(srcdir)/gnome-shell/$(GNOME_SHELL_VERSION) && cp -R \
gnome-shell-dark.css \
$(ithemedarkdir)/gnome-shell/gnome-shell.css
endif # ENABLE_DARK
endif # ENABLE_GNOME_SHELL
if ENABLE_METACITY
if ENABLE_LIGHT
cp -R $(srcdir)/metacity-1 $(ithemedir)
cd $(ithemedir)/metacity-1 && rm metacity-theme-1-dark.xml metacity-theme-2-dark.xml thumbnail-dark.png
endif # ENABLE_LIGHT
if ENABLE_DARKER
cp -R $(srcdir)/metacity-1 $(ithemedarkerdir)
cd $(ithemedarkerdir)/metacity-1 && \
mv metacity-theme-1-dark.xml metacity-theme-1.xml && \
mv metacity-theme-2-dark.xml metacity-theme-2.xml && \
mv thumbnail-dark.png thumbnail.png
endif # ENABLE_DARKER
if ENABLE_DARK
cp -R $(srcdir)/metacity-1 $(ithemedarkdir)
cd $(ithemedarkdir)/metacity-1 && \
mv metacity-theme-1-dark.xml metacity-theme-1.xml && \
mv metacity-theme-2-dark.xml metacity-theme-2.xml && \
mv thumbnail-dark.png thumbnail.png
endif # ENABLE_DARK
endif # ENABLE_METACITY
if ENABLE_OPENBOX
if ENABLE_LIGHT
cp -R $(srcdir)/openbox/Arc/* $(ithemedir)
endif # ENABLE_LIGHT
if ENABLE_DARKER
cp -R $(srcdir)/openbox/Arc-Darker/* $(ithemedarkerdir)
endif # ENABLE_DARKER
if ENABLE_DARK
cp -R $(srcdir)/openbox/Arc-Dark/* $(ithemedarkdir)
endif # ENABLE_DARK
endif # ENABLE_OPENBOX
if ENABLE_UNITY
if ENABLE_LIGHT
cp -R $(srcdir)/unity $(ithemedir)
cd $(ithemedir)/unity && rm -rf window-buttons-dark
endif # ENABLE_LIGHT
if ENABLE_DARKER
cp -R $(srcdir)/unity $(ithemedarkerdir)
cd $(ithemedarkerdir)/unity && \
rm -rf window-buttons && \
mv window-buttons-dark window-buttons
endif # ENABLE_DARKER
if ENABLE_DARK
cp -R $(srcdir)/unity $(ithemedarkdir)
cd $(ithemedarkdir)/unity && \
rm -rf window-buttons && \
mv window-buttons-dark window-buttons
endif # ENABLE_DARK
endif # ENABLE_UNITY
uninstall-local:
rm -rf $(ithemedir)
if ENABLE_DARKER
rm -rf $(ithemedarkerdir)
endif # ENABLE_DARKER
if ENABLE_DARK
rm -rf $(ithemedarkdir)
endif # ENABLE_DARK
EXTRA_DIST = \
cinnamon \
gnome-shell \
index \
metacity-1 \
unity
================================================
FILE: common/cinnamon/sass/_colors.scss
================================================
// When color definition differs for dark and light variant,
// it gets @if ed depending on $variant
$base_color: if($variant =='light', #ffffff, #404552);
$text_color: if($variant == 'light', #5c616c, #D3DAE3);
$bg_color: if($variant =='light', #F5F6F7, #383C4A);
$fg_color: if($variant =='light', #5c616c, #D3DAE3);
$selected_fg_color: #ffffff;
$selected_bg_color: #5294e2;
$selected_borders_color: darken($selected_bg_color, 20%);
$borders_color: if($variant =='light', darken($bg_color,9%), darken($bg_color,6%));
$link_color: if($variant == 'light', darken($selected_bg_color,10%),
lighten($selected_bg_color,20%));
$link_visited_color: if($variant == 'light', darken($selected_bg_color,20%),
lighten($selected_bg_color,10%));
$selection_mode_bg: if($transparency == 'true', transparentize($selected_bg_color, 0.05), $selected_bg_color);
$selection_mode_fg: $selected_fg_color;
$warning_color: #F27835;
$error_color: #FC4138;
$warning_fg_color: white;
$error_fg_color: white;
$success_color: #73d216;
$destructive_color: #F04A50;
$suggested_color: #4DADD4;
$destructive_fg_color: white;
$suggested_fg_color: white;
$drop_target_color: #F08437;
//insensitive state derived colors
$insensitive_fg_color: if($variant == 'light', transparentize($fg_color, 0.45), transparentize($fg_color, 0.55));
$insensitive_bg_color: if($variant == 'light', mix($bg_color, $base_color, 40%), lighten($bg_color, 2%));
$header_bg: red;
@if $transparency=='true' and $variant=='light' { $header_bg: transparentize(#e7e8eb, 0.05); }
@if $transparency=='false' and $variant=='light' { $header_bg: #e7e8eb; }
@if $transparency=='true' and ($variant=='dark' or $darker=='true') { $header_bg: transparentize(#2f343f, 0.03); }
@if $transparency=='false' and ($variant=='dark' or $darker=='true') { $header_bg: #2f343f; }
$header_bg_backdrop: if($darker == 'true' or $variant == 'dark', lighten($header_bg, 1.5%), lighten($header_bg, 3%));
$header_border: if($variant == 'light' and $darker=='false', darken($header_bg, 7%), darken($header_bg, 4%));
$header_fg: if($variant == 'light', saturate(transparentize($fg_color, 0.2), 10%), saturate(transparentize($fg_color, 0.2), 10%));
$header_fg: if($darker == 'true', saturate(transparentize(#D3DAE3, 0.2), 10%), $header_fg);
$dark_sidebar_bg: if($transparency == 'true', transparentize(#353945, 0.05), #353945);
$dark_sidebar_fg: #BAC3CF;
$dark_sidebar_border: if($variant == 'light', $dark_sidebar_bg, darken($dark_sidebar_bg, 5%));
$osd_fg_color: $dark_sidebar_fg;
$osd_bg_color: $dark_sidebar_bg;
$osd_button_bg: transparentize(lighten($osd_bg_color, 22%), 0.6);
$osd_button_border: transparentize(darken($osd_bg_color, 12%), 0.6);
$osd_entry_bg: transparentize(lighten($osd_bg_color, 22%), 0.6);
$osd_entry_border: transparentize(darken($osd_bg_color, 12%), 0.6);
$osd_insensitive_bg_color: darken($osd_bg_color, 3%);
$osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 30%);
$osd_borders_color: transparentize(black, 0.3);
$panel_bg: darken($dark_sidebar_bg, 4.7%);
$panel_fg: $dark_sidebar_fg;
$entry_bg: if($variant=='light', $base_color, lighten($base_color, 0%));
$entry_border: if($variant == 'light', #cfd6e6, darken($borders_color, 0%));
$header_entry_bg: if($darker == 'true' or $variant == 'dark', transparentize(lighten($header_bg, 22%), 0.6), transparentize($base_color, 0.1));
$header_entry_border: if($darker == 'true' or $variant == 'dark', transparentize(darken($header_bg, 12%), 0.6), transparentize($header_fg, 0.7));
$button_bg: if($variant == 'light', lighten($bg_color, 2%), lighten($base_color, 2%));
$button_border: $entry_border;
$header_button_bg: if($darker == 'true' or $variant == 'dark', transparentize(lighten($header_bg, 22%), 0.6), transparentize($button_bg, 0.1));
$header_button_border: if($darker == 'true' or $variant == 'dark', transparentize(darken($header_bg, 12%), 0.6), transparentize($header_fg, 0.7));
//WM Buttons
// Close
$wm_button_close_bg: if($variant == 'light' and $darker == 'false', #f46067, #cc575d);
$wm_button_close_hover_bg: if($variant == 'light' and $darker == 'false', #f68086, #d7787d);
$wm_button_close_active_bg: if($variant == 'light' and $darker == 'false', #f13039, #be3841);
$wm_icon_close_bg: if($variant == 'light' and $darker == 'false',#F8F8F9 , #2f343f);
// Minimize, Maximize
$wm_button_hover_bg: if($variant == 'light' and $darker == 'false', #fdfdfd, #454C5C);
$wm_button_active_bg: $selected_bg_color;
$wm_button_hover_border: if($variant == 'light' and $darker == 'false', #D1D3DA, #262932);
$wm_icon_bg: if($variant == 'light' and $darker == 'false', #90949E, #90939B);
$wm_icon_unfocused_bg: if($variant == 'light' and $darker == 'false', #B6B8C0, #666A74);
$wm_icon_hover_bg: if($variant == 'light' and $darker == 'false', #7A7F8B, #C4C7CC);
$wm_icon_active_bg: $selected_fg_color;
================================================
FILE: common/cinnamon/sass/_common.scss
================================================
$asset_path: if($variant == 'dark', dark-assets, light-assets);
//
// Globals
//
$font-size: 9;
$font-family: Futura Bk bt, sans, Sans-Serif;
$_bubble_bg_color: opacify($osd_bg_color,0.25);
$_bubble_fg_color: $osd_fg_color;
$_bubble_borders_color: transparentize($osd_fg_color,0.8);
$_shell_fg_color: white;
stage {
font-family: $font-family;
@include fontsize($font-size);
color: $fg_color;
}
.label-shadow {
color: rgba(0, 0, 0, 0);
}
%reset_style {
background-color: transparent !important;
background-gradient-direction: none !important;
border: none !important;
border-radius: 0 !important;
}
//
// Buttons
//
%button {
min-height: 20px;
padding: 5px 32px;
transition-duration: 0;
&, &:focus, &:hover, &:hover:focus, &:active, &:active:focus, &:insensitive {
border-radius: 2px;
}
@include button(normal);
&:focus { @include button(focus); }
&:hover { @include button(hover); }
&:hover:focus { @include button(focus-hover); }
&:active, &:active:focus { @include button(active); }
&:insensitive { @include button(insensitive); }
}
%osd_button {
min-height: 20px;
padding: 5px 32px;
transition-duration: 0;
border-radius: 2px;
@include button(osd);
&:hover { @include button(osd-hover); }
&:focus { color: $selected_bg_color; }
&:active { @include button(osd-active); }
&:insensitive { @include button(osd-insensitive); }
}
//
// Entries
//
%entry {
padding: 7px;
caret-size: 1px;
selection-background-color: $selected_bg_color;
selected-color: $selected_fg_color;
transition-duration: 300ms;
border-radius: 3px;
@include entry(normal);
&:focus, &:hover { @include entry(focus); }
&:insensitive { @include entry(insensitive); }
StIcon.capslock-warning {
icon-size: 16px;
warning-color: $warning_color;
padding: 0 4px;
}
}
%osd_entry {
padding: 7px;
caret-size: 1px;
caret-color: $osd_fg_color;
selection-background-color: $selected_bg_color;
selected-color: $selected_fg_color;
transition-duration: 300ms;
border-radius: 3px;
@include entry(osd);
&:focus { @include entry(osd-focus); }
&:insensitive { @include entry(osd-insensitive); }
}
//
// Scrollbars
//
StScrollView {
&.vfade { -st-vfade-offset: 0px; }
&.hfade { -st-hfade-offset: 0px; }
}
StScrollBar {
padding: 8px;
StScrollView & {
min-width: 5px;
min-height: 5px;
}
StBin#trough {
background-color: transparentize($base_color, 0.9);
border-radius: 8px;
}
StButton#vhandle, StButton#hhandle {
border-radius: 2px;
background-color: mix($fg_color, $bg_color, 40%);
border: 0px solid;
margin: 0px;
&:hover { background-color: mix($fg_color, $bg_color, 30%); }
&:active { background-color: $selected_bg_color; }
}
}
.separator {
-gradient-height: 1px;
-gradient-start: rgba(0,0,0,0);
-gradient-end: rgba(0,0,0,0);
-margin-horizontal: 1.5em;
height: 1em;
}
//
// Slider
//
.popup-slider-menu-item,
.slider {
-slider-height: 4px;
-slider-background-color: $button_border; //background of the trough
-slider-border-color: transparentize(black, 1); //trough border color
-slider-active-background-color: $selected_bg_color; //active trough fill
-slider-active-border-color: transparentize(black, 1); //active trough border
-slider-border-width: 0;
-slider-handle-radius: 4px;
height: 18px;
min-width: 15em;
border: 0 solid transparent;
border-right-width: 1px;
border-left-width: 5px;
color: transparent;
.popup-menu-item:active & {
-slider-background-color: transparentize(black, 0.8);
-slider-active-background-color: $selected_fg_color;
}
}
//
// Check Boxes
//
.check-box {
CinnamonGenericContainer {
spacing: .2em;
min-height: 30px;
padding-top: 2px;
}
StLabel { font-weight: normal; }
StBin {
width: 16px;
height: 16px;
background-image: url("#{$asset_path}/checkbox/checkbox-unchecked.svg");
}
&:focus StBin { background-image: url("#{$asset_path}/checkbox/checkbox-unchecked-focused.svg"); }
&:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked.svg"); }
&:focus:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked-focused.svg"); }
}
//
// Radio Buttons
//
.radiobutton {
CinnamonGenericContainer {
spacing: .2em;
height: 26px;
padding-top: 2px;
}
StLabel {
padding-top: 4px;
font-size: 0.9em;
box-shadow: none;
}
StBin {
width: 16px;
height: 16px;
background-image: url("#{$asset_path}/checkbox/checkbox-unchecked.svg");
}
&:focus StBin { background-image: url("#{$asset_path}/checkbox/checkbox-unchecked-focused.svg"); }
&:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked.svg"); }
&:focus:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked-focused.svg"); }
}
//
// Switches
//
.toggle-switch {
width: 50px;
height: 20px;
background-size: contain;
background-image: url("#{$asset_path}/switch/switch-off.svg");
&:checked { background-image: url("#{$asset_path}/switch/switch-on.svg"); }
.popup-menu-item:active & {
background-image: url("common-assets/switch/switch-off-selected.svg");
&:checked { background-image: url("common-assets/switch/switch-on-selected.svg"); }
}
}
//
// Links
//
.cinnamon-link {
color: $link_color;
text-decoration: underline;
&:hover { color: lighten($link_color,10%); }
}
//
// Tooltip
//
#Tooltip {
border-radius: 3px;
padding: 5px 12px;
background-color: $osd_bg_color;
color: $osd_fg_color;
font-size: 1em;
font-weight: normal;
text-align: center;
}
//
// Popvers/Menus
//
.menu,
.popup-menu,
%menu {
color: $fg_color;
border-image: url("#{$asset_path}/menu/menu.svg") 9 9 9 9;
&-arrow { icon-size: 16px; }
.popup-sub-menu {
background-gradient-direction: none;
box-shadow: none;
border-image: url("#{$asset_path}/menu/submenu.svg") 9 9 9 9;
.popup-menu-item:ltr { padding-right: 0em; }
.popup-menu-item:rtl { padding-left: 0em; }
StScrollBar {
padding: 4px;
StBin#trough, StBin#vhandle { border-width: 0; }
}
}
.popup-menu-content { padding: 1em 1px; }
.popup-menu-item {
padding: .4em 1.75em;
spacing: 1em;
&:active {
color: $selected_fg_color;
background-color: transparent;
border-image: url("common-assets/menu/menu-hover.svg") 9 9 1 1;
}
&:insensitive {
color: transparentize($fg_color, 0.5);
background: none;
}
}
.popup-inactive-menu-item { //all icons and other graphical elements
color: $fg_color;
&:insensitive { color: $insensitive_fg_color; }
}
.popup-menu-item:active .popup-inactive-menu-item { color: $selected_fg_color; }
&-icon { icon-size: 16px; }
}
.popup-menu-boxpointer {
-arrow-border-radius: 3px;
-arrow-background-color: rgba(0,0,0,0.0);
-arrow-border-width: 1px;
-arrow-border-color: rgba(0,0,0,0.0);
-arrow-base: 0;
-arrow-rise: 0;
}
.popup-combo-menu {
@extend %menu;
padding: 10px 1px;
}
.popup-image-menu-item {}
.popup-combobox-item { spacing: 1em; }
.popup-separator-menu-item {
-gradient-height: 1px;
-gradient-start: $borders_color;
-gradient-end: $borders_color;
-margin-horizontal: 0;
height: 0.5em;
}
.popup-alternating-menu-item:alternate {
font-weight: normal;
}
.popup-device-menu-item { spacing: .5em; }
.popup-subtitle-menu-item { font-weight: normal; }
.nm-menu-item-icons { spacing: .5em; }
//
// Panel
//
#panel {
height: 27px;
width: 32px;
&:highlight {
border-image: none;
background-color: transparentize($error_color, 0.5);
}
&Left {
spacing: 4px;
&:dnd {
background-gradient-direction: vertical;
background-gradient-start: rgba(255,0,0,0.05);
background-gradient-end: rgba(255,0,0,0.2);
}
&:ltr { padding-right: 4px; }
&:rtl { padding-left: 4px; }
&.vertical {
padding: 0;
&:ltr { padding-right: 0px; }
&:rtl { padding-left: 0px; }
}
}
&Right {
&:dnd {
background-gradient-direction: vertical;
background-gradient-start: rgba(0,0,255,0.05);
background-gradient-end: rgba(0,0,255,0.2);
}
&:ltr { padding-left: 4px; spacing: 0px; }
&:rtl { padding-right: 4px; spacing: 0px; }
&.vertical {
padding: 0;
&:ltr { padding-right: 0px; }
&:rtl { padding-left: 0px; }
}
}
&Center {
spacing: 4px;
&:dnd {
background-gradient-direction: vertical;
background-gradient-start: rgba(0,255,0,0.05);
background-gradient-end: rgba(0,255,0,0.2);
}
}
}
.panel {
$_panel_fg_color: $_shell_fg_color;
&-top, &-bottom, &-left, &-right {
color: $_panel_fg_color;
font-size: 1em;
padding: 0px;
}
&-top { border-image: url('common-assets/panel/panel-top.svg') 1 1 1 1; }
&-bottom { border-image: url('common-assets/panel/panel-bottom.svg') 1 1 1 1; }
&-left { border-image: url('common-assets/panel/panel-left.svg') 1 1 1 1; }
&-right { border-image: url('common-assets/panel/panel-right.svg') 1 1 1 1; }
&-dummy {
background-color: transparentize($error_color, 0.5);
&:entered { background-color: transparentize($error_color, 0.4); }
}
&-status-button {
border-width: 0;
-natural-hpadding: 3px;
-minimum-hpadding: 3px;
font-weight: bold;
color: white;
&:hover {}
}
&-button {
-natural-hpadding: 6px;
-minimum-hpadding: 2px;
font-weight: bold;
color: green;
transition-duration: 100;
&:hover {}
}
}
.system-status-icon {
icon-size: 16px;
padding: 0 1px;
}
//
// Overview
//
#overview { spacing: 12px; }
.window-caption {
background-color: $osd_bg_color;
border: 1px solid $osd_bg_color;
color: $osd_fg_color;
spacing: 4px;
border-radius: 2px;
font-size: 9pt;
padding: 5px 8px;
-cinnamon-caption-spacing: 4px;
&#selected, &:focus {
background-color: $selected_bg_color;
color: $selected_fg_color;
border: 1px solid $selected_bg_color;
}
}
.overview-empty-placeholder {
text-align: center;
font-weight: bold;
spacing: 1em;
padding: 16px;
color: $_shell_fg_color;
border-image: url("common-assets/misc/osd.svg") 9 9 9 9;
}
.expo-workspaces-name-entry {
height: 1.5em;
border-radius: 2px;
font-size: 9pt;
padding: 5px 8px;
-cinnamon-caption-spacing: 4px;
transition-duration: 300;
@include entry(osd);
&:focus, &#selected {
border: 1px solid $selected_bg_color;
background-color: $selected_bg_color;
color: $selected_fg_color;
font-style: italic;
selection-background-color: $selected_fg_color;
selected-color: $selected_bg_color;
}
&:hover {
border: 1px solid $selected_bg_color;
}
}
.expo-workspace-thumbnail-frame {
border: 4px solid rgba(255,255,255,0.0);
background-color: rgba(255,255,255,0.0);
border-radius: 2px;
&#active {
border: 4px solid $selected_bg_color;
background-color: black;
border-radius: 2px;
}
}
.expo-background {
background-color: opacify($osd_bg_color, 1);
}
.workspace {
//&-controls { visible-height: 32px; }
&-thumbnails {
spacing: 26px;
&-background, &-background:rtl { padding: 8px; }
}
&-add-button {
background-image: url("common-assets/misc/add-workspace.svg");
height: 200px;
width: 35px;
transition-duration: 100;
&:hover {
background-image: url("common-assets/misc/add-workspace-hover.svg");
transition-duration: 100;
}
&:active {
background-image: url("common-assets/misc/add-workspace-active.svg");
transition-duration: 100;
}
}
&-overview-background-shade { background-color: rgba(0,0,0,0.5); }
}
.workspace-close-button,
.window-close {
background-image: url("common-assets/misc/close.svg");
background-size: 26px;
height: 26px;
width: 26px;
-cinnamon-close-overlap: 10px;
&:hover {
background-image: url("common-assets/misc/close-hover.svg");
background-size: 26px;
height: 26px;
width: 26px;
}
&:active {
background-image: url("common-assets/misc/close-active.svg");
background-size: 26px;
height: 26px;
width: 26px;
}
}
//.workspace-thumbnail-indicator {
// outline: 2px solid red;
// border: 1px solid green;
//}
//
//.window-close:rtl {
// -st-background-image-shadow: 2px 2px 6px rgba(0,0,0,0.5);
//}
.window-close-area {
background-image: url("common-assets/misc/trash-icon.svg");
height: 120px;
width: 400px;
}
//
// About Dialog (applet.js and desklet.js)
//
.about {
&-content {
width: 550px;
height: 250px;
spacing: 8px;
padding-bottom: 10px;
}
&-title {
font-size: 2em;
font-weight: bold;
}
&-uuid {
font-size: 10px;
color: #888;
}
&-icon {
padding-right: 20px;
padding-bottom: 14px;
}
&-scrollBox {
border: 1px solid $borders_color;
border-radius: 2px;
background-color: $base_color;
padding: 4px;
padding-right: 0;
border-radius: 0;
&-innerBox {
padding: 1.2em;
spacing: 1.2em;
}
}
&-description {
padding-top: 4px;
padding-bottom: 16px;
}
&-version {
padding-left: 7px;
font-size: 10px;
color: #888;
}
}
//
// Calendar
//
.calendar {
padding: .4em 1.75em;
spacing-rows: 0px;
spacing-columns: 0px;
}
.calendar-month-label {
color: $fg_color;
font-weight: bold;
padding: 8px 0;
}
.calendar-change-month-back,
.calendar-change-month-forward {
width: 16px;
height: 16px;
}
//arrow back
.calendar-change-month-back {
background-image: url("common-assets/misc/calendar-arrow-left.svg");
&:focus, &:hover { background-image: url("common-assets/misc/calendar-arrow-left-hover.svg"); }
&:active { background-image: url("common-assets/misc/calendar-arrow-left.svg"); }
&:rtl {
background-image: url("common-assets/misc/calendar-arrow-right.svg");
&:focus, &:hover { background-image: url("common-assets/misc/calendar-arrow-right-hover.svg"); }
&:active { background-image: url("common-assets/misc/calendar-arrow-right.svg"); }
}
}
//arrow forward
.calendar-change-month-forward {
background-image: url("common-assets/misc/calendar-arrow-right.svg");
&:focus, &:hover { background-image: url("common-assets/misc/calendar-arrow-right-hover.svg"); }
&:active { background-image: url("common-assets/misc/calendar-arrow-right.svg"); }
&:rtl {
background-image: url("common-assets/misc/calendar-arrow-left.svg");
&:focus, &:hover { background-image: url("common-assets/misc/calendar-arrow-left-hover.svg"); }
&:active { background-image: url("common-assets/misc/calendar-arrow-left.svg"); }
}
}
.datemenu-date-label {
padding: .4em 1.75em;
font-weight: bold;
text-align: center;
color: $fg_color;
border-radius: 2px;
}
.calendar-day-base {
font-size: 8pt;
text-align: center;
width: 2.5em;
height: 2.5em;
padding: 0.1em;
margin: 0.1em;
border-radius: 999px;
}
.calendar-day-heading {
color: transparentize($fg_color, 0.15);
margin-top: 1em;
font-size: 6pt;
width: 2.5em;
height: 2em;
}
.calendar-day {
border-width: 0;
color: transparentize($fg_color, 0.2);
}
.calendar-day-top {
border-top-width: 0;
}
.calendar-day-left {
border-left-width: 0;
}
.calendar-nonwork-day {
color: $fg_color;
background-color: transparent;
font-weight: bold;
border-width: 0;
}
.calendar-today,
.calendar-today:active,
.calendar-today:focus,
.calendar-today:hover {
font-weight: bold;
color: $selected_fg_color;
background-color: $selected_bg_color;
border-width: 0;
}
.calendar-other-month-day {
color: transparentize($fg_color, 0.7);
opacity: 1;
}
.calendar-week-number {
color: transparentize($fg_color, 0.3);
font-size: 6pt;
width: 2.5em;
height: 2em;
padding: 1.2em 0 0;
text-align: center;
}
//
// Notifications
//
#notification {
border-radius: 3px;
border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
padding: 13px;
spacing-rows: 10px;
spacing-columns: 10px;
margin-from-right-edge-of-screen: 20px;
width: 34em;
color: $osd_fg_color;
.menu &,
.popup-menu & {
&, &.multi-line-notification { color: $fg_color; }
border-image: url("#{$asset_path}/misc/message.svg") 9 9 9 9;
.notification-button, .notification-icon-button {
@extend %button;
padding: 5px;
}
StEntry { @extend %entry; }
}
&.multi-line-notification {
padding-bottom: 13px;
color: $osd_fg_color;
}
&-scrollview {
max-height: 10em;
> .top-shadow, > .bottom-shadow { height: 1em; }
&:ltr > StScrollBar { padding-left: 6px; }
&:rtl > StScrollBar { padding-right: 6px; }
}
&-body { spacing: 5px; }
&-actions { spacing: 10px; }
}
.notification {
&-with-image {
min-height: 159px;
color: $osd_fg_color;
}
&-button, &-icon-button {
@extend %osd_button;
padding: 5px;
}
&-icon-button > StIcon { icon-size: 36px; }
StEntry { @extend %osd_entry; }
}
//
// Alt Tab
///
#altTabPopup {
padding: 8px;
spacing: 16px;
}
.switcher-list {
color: $osd_fg_color;
background: none;
border: none;
border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
border-radius: 3px;
padding: 20px;
> StBoxLayout {
padding: 4px;
}
&-item-container { spacing: 8px; }
.item-box {
padding: 8px;
border-radius: 2px;
&:outlined {
padding: 8px;
border: 1px solid $selected_bg_color;
}
&:selected {
color: $selected_fg_color;
background-color: $selected_bg_color;
border: 0px solid $selected_bg_color;
}
}
.thumbnail { width: 256px; }
.thumbnail-box {
padding: 2px;
spacing: 4px;
}
.separator {
width: 1px;
background: rgba(255,255,255,0.2);
}
}
.switcher-arrow {
border-color: rgba(0,0,0,0);
color: $osd_fg_color;
&:highlighted {
border-color: rgba(0,0,0,0);
color: $_shell_fg_color;
}
}
//.switcher-preview-backdrop { background-color: rgba(25,25,25,0.95); }
.thumbnail-scroll-gradient-left {
background-color: rgba(0, 0, 0, 0);
border-radius: 24px;
border-radius-topright: 0px;
border-radius-bottomright: 0px;
width: 60px;
}
.thumbnail-scroll-gradient-right {
background-color: rgba(0, 0, 0, 0);
border-radius: 24px;
border-radius-topleft: 0px;
border-radius-bottomleft: 0px;
width: 60px;
}
//
//Activities Ripples
//
.ripple-box {
width: 104px;
height: 104px;
background-image: url("common-assets/misc/corner-ripple.svg");
background-size: contain;
}
//
// Modal dialogs
//
.lightbox { background-color: rgba(0, 0, 0, 0.4); }
.flashspot { background-color: white; }
.modal-dialog {
color: $fg_color;
background-color: transparentize($bg_color, 1);
border: none;
border-image: url("#{$asset_path}/misc/modal.svg") 9 9 9 67;
padding: 0 5px 6px 5px;
> StBoxLayout:first-child {
padding: 20px 10px 10px 10px;
}
&-button-box {
spacing: 0;
margin: 0px;
padding: 14px 10px;
background: none;
border: none;
border-image: url("#{$asset_path}/misc/button-box.svg") 9 9 9 9;
.modal-dialog-button {
padding-top: 0;
padding-bottom: 0;
height: 30px;
@extend %osd_button;
}
}
}
//
// Run dialog
//
.run-dialog {
padding: 0px 15px 10px 15px;
border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
> * { padding: 0; }
&-label {
font-size: 0;
font-weight: bold;
color: $osd_fg_color;
padding-bottom: 0;
}
&-error-label { color: $error_color; }
&-error-box {
padding-top: 15px;
spacing: 5px;
}
&-completion-box {
padding-left: 15px;
font-size: 10px;
}
&-entry {
width: 21em;
padding: 7px;
border-radius: 3px;
caret-color: $osd_fg_color;
selected-color: $selected_fg_color;
selection-background-color: $selected_bg_color;
@include entry(osd);
&:focus { @include entry(osd-focus); }
}
.modal-dialog-button-box {
border: none;
box-shadow: none;
background: none;
border-image: none;
background-gradient-direction: none;
}
}
/* CinnamonMountOperation Dialogs */
.cinnamon-mount-operation-icon {
icon-size: 48px;
}
.mount-password-reask {
color: $warning_color;
}
.show-processes-dialog,
.mount-question-dialog {
spacing: 24px;
&-subject {
padding-top: 10px;
padding-left: 17px;
padding-bottom: 6px;
&:rtl {
padding-left: 0px;
padding-right: 17px;
}
}
&-description {
padding-left: 17px;
width: 28em;
&:rtl { padding-right: 17px; }
}
}
.show-processes-dialog-app-list {
max-height: 200px;
padding-top: 24px;
padding-left: 49px;
padding-right: 32px;
&:rtl {
padding-right: 49px;
padding-left: 32px;
}
&-item {
color: #ccc;
&:hover { color: white }
&:ltr { padding-right: 1em; }
&:rtl { padding-left: 1em; }
&-icon:ltr { padding-right: 17px; }
&-icon:rtl { padding-left: 17px; }
&-name { font-size: 1.1em; }
}
}
//
// Magnifier
//
.magnifier-zoom-region {
border: 2px solid rgba(128, 0, 0, 1);
.full-screen { border-width: 0px; }
}
//
// On-Screen Keyboard
//
#keyboard {
background-color: $osd_bg_color;
border-width: 0;
border-top-width: 1px;
border-color: transparentize(black, 0.6);
}
.keyboard-layout {
spacing: 10px;
padding: 10px;
}
.keyboard-row {
spacing: 15px;
}
.keyboard-key {
min-height: 2em;
min-width: 2em;
font-size: 14pt;
font-weight: bold;
border-radius: 3px;
box-shadow: none;
@include button(osd);
&:hover { @include button(osd-hover); }
&:active, &:checked { @include button(osd-active); }
&:grayed { @include button(osd-insensitive); }
}
.keyboard-subkeys { //long press on a key popup
color: $osd_fg_color;
padding: 5px;
-arrow-border-radius: 2px;
-arrow-background-color: $osd_bg_color;
-arrow-border-width: 1px;
-arrow-border-color: transparentize(black, 0.6);;
-arrow-base: 20px;
-arrow-rise: 10px;
-boxpointer-gap: 5px;
}
//
// Cinnamon Specific Section
//
//
// Menu (menu.js)
//
.menu {
&-favorites-box {
padding: 10px;
transition-duration: 300;
background-color: $bg_color;
border: 1px solid $borders_color;
spacing: 0.5em;
}
&-favorites-scrollbox {
padding-bottom: 0.5em;
border-bottom: 1px solid;
border-color: $selected_bg_color;
}
&-favorites-button {
padding: 10px;
border: 1px solid rgba(0,0,0,0);
&:hover { @extend %button:hover; }
}
&-places {
&-box {
padding: 10px;
border: 0px solid red;
}
&-button { padding: 10px; }
}
&-categories-box { padding: 10px 30px 10px 30px; }
&-applications-inner-box,
&-applications-outer-box { padding: 10px 10px 0 10px; }
&-application-button {
padding: 7px;
border: 1px solid rgba(0,0,0,0);
// This style is used in menu application buttons for applications which were newly installed
&:highlighted { font-weight: bold; }
&-selected {
padding: 7px;
@extend %button:hover;
&:highlighted { font-weight: bold; }
}
&-label:ltr { padding-left: 5px; }
&-label:rtl { padding-right: 5px; }
}
&-category-button {
padding: 7px;
border: 1px solid rgba(0,0,0,0);
&-selected {
padding: 7px;
@extend %button:hover;
}
&-hover {
background-color: red;
border-radius: 2px;
}
&-greyed {
padding: 7px;
color: $insensitive_fg_color;
border: 1px solid rgba(0,0,0,0);
}
&-label:ltr { padding-left: 5px; }
&-label:rtl { padding-right: 5px; }
}
// Name and description of the currently hovered item in the menu
// This appears on the bottom right hand corner of the menu
&-selected-app-box {
padding-right: 30px;
padding-left: 28px;
text-align: right;
height: 30px;
&:rtl {
padding-top: 10px;
height: 30px;
}
}
&-selected-app-title { font-weight: bold; }
&-selected-app-description { max-width: 150px; }
&-search-box:ltr { padding-left: 30px; }
&-search-box-rtl { padding-right: 30px; }
}
#menu-search-entry {
width: 250px;
font-weight: normal;
caret-color: $fg_color;
@extend %entry;
}
.menu-search-entry-icon {
icon-size: 1em;
color: $fg_color;
}
/* Context menu (at the moment only for favorites) */
.menu-context-menu {
padding: 1em 1px;
}
//
// OSD
//
.info-osd {
text-align: center;
font-weight: bold;
spacing: 1em;
padding: 16px;
color: $_shell_fg_color;
border-image: url("common-assets/misc/osd.svg") 9 9 9 9;
}
.osd-window {
text-align: center;
font-weight: bold;
spacing: 1em;
padding: 20px;
margin: 32px;
min-width: 64px;
min-height: 64px;
color: $_shell_fg_color;
background: none;
border: none;
border-radius: 5px;
border-image: url("common-assets/misc/osd.svg") 9 9 9 9;
.osd-monitor-label { font-size: 3em; }
.level {
padding: 0;
height: 4px;
background-color: transparentize(black, 0.5);
border-radius: 2px;
color: $selected_bg_color;
}
.level-bar {
background-color: $selected_bg_color;
}
}
//
// Window list (windowList.js)
//
.window-list {
&-box {
spacing: 6px;
padding-left: 10px;
.panel-bottom & { padding-top: 1px; }
.panel-top & { padding-bottom: 1px; }
.progress {
background-color: $selected_bg_color;
}
&.vertical {
spacing: 4px;
padding: 10px 0;
}
&:highlight { background-color: transparentize($error_color, 0.5); }
}
&-preview {
spacing: 8px;
color: $osd_fg_color;
background: none;
border: none;
border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
border-radius: 3px;
padding: 16px;
}
&-item-label {
width: 15em;
min-width: 5px;
}
&-item-box {
background-image: none;
padding-top: 0;
padding-left: 8px;
padding-right: 8px;
spacing: 4px;
transition-duration: 100;
color: transparentize($_shell_fg_color, 0.4);
&:hover,
&:focus:hover {
color: $_shell_fg_color;
background-color: $selected_bg_color;
}
&:focus:hover {
.panel-bottom & { box-shadow: 0 -2px 0 0 $_shell_fg_color inset; }
.panel-top & { box-shadow: 0 2px 0 0 $_shell_fg_color inset; }
.panel-left & { box-shadow: 2px 0 0 0 $_shell_fg_color inset; }
.panel-right & { box-shadow: -2px 0 0 0 $_shell_fg_color inset; }
}
&:active,
&:checked,
&:focus {
color: $_shell_fg_color;
background-color: transparentize($osd_fg_color,.6);
font-weight: bold;
.panel-bottom & { box-shadow: 0 -2px 0 0 $selected_bg_color inset; }
.panel-top & { box-shadow: 0 2px 0 0 $selected_bg_color inset; }
.panel-left & { box-shadow: 2px 0 0 0 $selected_bg_color inset; }
.panel-right & { box-shadow: -2px 0 0 0 $selected_bg_color inset; }
}
&.right, &.left {
padding-left: 0px;
padding-right: 0px;
}
}
&-item-demands-attention {
background-gradient-start: $warning_color;
background-gradient-end: $warning_color;
}
}
//
// Grouped Window List (Cinnamon 4)
//
.grouped-window-list {
&-thumbnail-label {
padding-left: 3px;
}
&-number-label {
z-index: 99;
color: $_shell_fg_color;
}
/// May need to revise depending on upstream GWL developments
&-button-label {
padding: 1px;
}
&-badge {
border-radius: 256px;
background-color: $panel_bg;
}
&-thumbnail-alert {
background-color: $warning_color;
}
&-item-box {
transition-duration: 100;
background-image: none;
color: transparentize($_shell_fg_color, 0.4);
&:hover, &:active:hover {
color: $_shell_fg_color;
background-color: $selected_bg_color;
}
&:active {
background-color: rgba(0,0,0,0.01);
.panel-bottom & { box-shadow: 0 -2px 0 0 $selected_bg_color inset; }
.panel-top & { box-shadow: 0 2px 0 0 $selected_bg_color inset; }
.panel-left & { box-shadow: 2px 0 0 0 $selected_bg_color inset; }
.panel-right & { box-shadow: -2px 0 0 0 $selected_bg_color inset; }
}
&:active:hover {
.panel-bottom & { box-shadow: 0 -2px 0 0 $_shell_fg_color inset; }
.panel-top & { box-shadow: 0 2px 0 0 $_shell_fg_color inset; }
.panel-left & { box-shadow: 2px 0 0 0 $_shell_fg_color inset; }
.panel-right & { box-shadow: -2px 0 0 0 $_shell_fg_color inset; }
}
&:focus {
color: $_shell_fg_color;
background-color: transparentize($osd_fg_color,.6);
font-weight: bold;
.panel-bottom & { box-shadow: 0 -2px 0 0 $selected_bg_color inset; }
.panel-top & { box-shadow: 0 2px 0 0 $selected_bg_color inset; }
.panel-left & { box-shadow: 2px 0 0 0 $selected_bg_color inset; }
.panel-right & { box-shadow: -2px 0 0 0 $selected_bg_color inset; }
}
&:focus:hover {
background-color: $selected_bg_color;
.panel-bottom & { box-shadow: 0 -2px 0 0 $_shell_fg_color inset; }
.panel-top & { box-shadow: 0 2px 0 0 $_shell_fg_color inset; }
.panel-left & { box-shadow: 2px 0 0 0 $_shell_fg_color inset; }
.panel-right & { box-shadow: -2px 0 0 0 $_shell_fg_color inset; }
}
.progress {
background-color: $selected_bg_color;
}
}
&-item-demands-attention {
background-gradient-start: $warning_color;
background-gradient-end: $warning_color;
}
&-thumbnail-menu {
color: $osd_fg_color;
background: none;
border: none;
border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
border-radius: 3px;
padding: 10px 20px;
.item-box {
margin: 8px;
spacing: 4px;
border-radius: 2px;
border: 1px solid none;
&:outlined {
border: 1px solid $selected_bg_color;
}
&:selected {
background-color: $selected_bg_color;
border: 1px solid $selected_bg_color;
color: $selected_fg_color;
}
}
.thumbnail-box {
padding: 2px;
spacing: 4px;
}
.thumbnail {
width: 256px;
}
.separator {
width: 1px;
background: $selected_bg_color;
}
}
}
.vertical .grouped-window-list-item-box {
padding: 2px 0;
}
///
// Sound Applet (status/volume.js)
//
.sound-button {
width: 22px;
height: 13px;
padding: 8px;
@extend %button;
&-container {
padding-right: 3px;
padding-left: 3px;
}
StIcon { icon-size: 1.4em; }
}
.sound-track {
&-infos { padding: 5px; }
&-info {
padding-top: 2px;
padding-bottom: 2px;
StIcon { icon-size: 16px; }
StLabel {
padding-left: 5px;
padding-right: 5px;
}
}
&-box {
padding-left: 15px;
padding-right: 15px;
max-width: 220px;
}
}
.sound-seek-box {
padding-left: 15px;
StLabel { padding-top: 2px; }
StIcon { icon-size: 16px; }
}
.sound-seek-slider { width: 140px; }
.sound-volume-menu-item {
padding: .4em 1.75em;
StIcon {
icon-size: 1.14em;
padding-left: 8px;
padding-right: 8px;
}
}
.sound-playback-control { padding: 5px 10px 10px 10px; }
// 2.8
.sound-player {
padding: 0 4px;
> StBoxLayout:first-child {
padding: 5px 10px 12px 10px;
spacing: 0.5em;
StButton:small {
width: 16px;
height: 16px;
padding: 1px;
StIcon { icon-size: 12px; }
}
}
&-generic-coverart {
background: rgba(0,0,0,0.2);
}
&-overlay {
width: 290px;
height: 70px;
padding: 15px;
spacing: 0.5em;
background: transparentize(darken($osd_bg_color, 5%), 0.1);
border: 0px solid darken($osd_bg_color, 10%);
border-bottom: 1px ;
color: $osd_fg_color;
StButton {
width: 22px;
height: 13px;
padding: 5px;
color: $osd_fg_color;
border-radius: 2px;
border: 1px solid transparentize($osd_bg_color,1);
StIcon { icon-size: 16px; }
&:hover{ @include button(osd-hover); }
&:active { @include button(active); }
}
StBoxLayout {
padding-top: 2px;
}
}
.slider {
height: 0.5em;
padding: 0;
border: none;
-slider-height: 0.5em;
-slider-background-color: if($variant == 'light', $button_border, darken($bg_color, 5%));
-slider-border-color: rgba(0,0,0,0);
-slider-active-background-color: $selected_bg_color;
-slider-active-border-color: rgba(0,0,0,0);
-slider-border-width: 0px;
-slider-handle-radius: 0px;
}
}
//
// Workspace Switcher applet (workspaceSwitcher.js)
//
#workspaceSwitcher {
spacing: 0px;
padding: 3px;
}
/* Controls the styling when using the "Simple buttons" option */
.workspace-switcher {
padding-left: 3px;
padding-right: 3px;
}
.workspace-button {
width: 20px;
height: 10px;
color: $selected_fg_color;
padding: 3px;
padding-top: 4px;
transition-duration: 300;
&:outlined, &:outlined:hover { color: $selected_bg_color; }
&:hover { color: transparentize($selected_bg_color, 0.5) }
&.vertical {
height: 15px;
}
}
/* Controls the style when using the "Visual representation" option */
.workspace-graph {
padding: 3px;
spacing: 3px;
}
.workspace-graph .workspace {
border: 1px solid transparentize(black, 0.6);
background-gradient-direction: none;
background-color: transparentize(black, 0.8);
}
.workspace-graph .workspace:active {
border: 1px solid $selected_bg_color;
background-gradient-direction: none;
}
.workspace-graph .workspace .windows {
-active-window-background: lighten($panel_bg, 15%);
-active-window-border: rgba(0, 0, 0, 0.8);
-inactive-window-background: lighten($panel_bg, 15%);
-inactive-window-border: rgba(0, 0, 0, 0.8);
}
.workspace-graph .workspace:active .windows {
-active-window-background: lighten($panel_bg, 20%);
-active-window-border: rgba(0, 0, 0, 0.8);
-inactive-window-background: lighten($panel_bg, 5%);
-inactive-window-border: rgba(0, 0, 0, 0.8);
}
//
// Panel Launchers Applet (panelLaunchers.js)
//
.panel-launchers {
padding: 0 4px;
.launcher {
padding: 0 4px;
transition-duration: 200;
background-image: none;
}
&.vertical {
padding: 4px 0;
.launcher {
padding: 4px 0;
}
}
.launcher:hover {
background-color: $selected_bg_color;
}
}
//
// Overview corner
//
#overview-corner {
background-image: url("common-assets/misc/overview.png");
&:hover { background-image: url("common-assets/misc/overview-hover.png"); }
}
//
// Applets (applet.js)
//
.applet {
&-separator { padding: 1px 4px; }
&-separator-line {
width: 1px;
background: rgba(255,255,255, 0.12);
}
&-box {
padding-left: 3px;
padding-right: 3px;
spacing: 4px;
color: $_shell_fg_color;
text-shadow: none;
transition-duration: 100;
&.vertical {
padding: 3px 0;
}
&:hover {
color: $selected_fg_color;
background-color: $selected_bg_color;
}
&:highlight {
background-image: none;
border-image: none;
background-color: transparentize($error_color, 0.5);
}
}
&-label {
font-weight: bold;
color: $_shell_fg_color;
&:hover, .applet-box:hover > & {
color: $selected_fg_color;
text-shadow: none;
}
}
&-icon {
color: $_shell_fg_color;
icon-size: 22px;
&:hover, .applet-box:hover > & {
color: $selected_fg_color;
text-shadow: none;
}
}
}
//
// User Applet
//
.user-icon {
width: 32px;
height: 32px;
background-color: transparent;
border: none;
border-radius: 0;
}
.user-label {
color: $fg_color;
font-size: 1em;
font-weight: bold;
margin: 0px;
}
//
// Desklets (desklet.js)
//
.desklet {
color: $osd_fg_color;
&:highlight {
background-color: transparentize($error_color, 0.5);
}
&-with-borders {
border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
color: $osd_fg_color;
padding: 12px;
padding-bottom: 16px;
&:highlight {
background-color: transparentize($error_color, 0.5);
}
}
&-with-borders-and-header {
border-image: url("common-assets/misc/desklet.svg") 9 9 9 9;
color: $osd_fg_color;
border-radius: 0;
border-radius-topleft: 0;
border-radius-topright: 0;
padding: 12px;
padding-bottom: 17px;
&:highlight {
background-color: transparentize($error_color, 0.5);
}
}
&-header {
border-image: url("common-assets/misc/desklet-header.svg") 9 9 9 9;
color: $osd_fg_color;
font-size: 1em;
padding: 12px;
padding-bottom: 6px;
}
&-drag-placeholder {
border: 2px solid $selected_bg_color;
background-color: transparentize($selected_bg_color, 0.7);
}
}
.photoframe-box {
border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
color: $osd_fg_color;
padding: 12px;
padding-bottom: 16px;
}
//
// Workspace OSD
//
.workspace-osd {
text-align: center;
font-weight: bold;
spacing: 1em;
padding: 16px;
color: $_shell_fg_color;
border-image: url("common-assets/misc/osd.svg") 9 9 9 9;
}
//
// Notification Applet
//
.notification-applet-padding { padding: .5em 1em; }
.notification-applet-container { max-height: 100px; }
//
// Tile Preview
//
.tile-preview, .tile-preview.snap,
.tile-hud, .tile-hud.snap {
background-color: transparentize($selected_bg_color, 0.7);
border: 1px solid $selected_bg_color;
}
//
// Xkcd Desklet
//
.xkcd-box {
padding: 6px;
border: 0px;
background-color: rgba(0,0,0,0);
border-radius: 0px;
}
================================================
FILE: common/cinnamon/sass/_drawing.scss
================================================
// Drawing mixins
// generic drawing of more complex things
// provide font size in rem, with px fallback
@mixin fontsize($size: 24, $base: 16) {
font-size: round($size) + pt;
//font-size: ($size / $base) * 1rem;
}
// Entries
@mixin entry($t, $dark:false) {
//
// Entries drawing function
//
//@extend %reset_style;
@if $t==normal {
color: $text_color;
background-color: $entry_bg;
border: 1px solid $entry_border;
box-shadow: inset 0 2px 4px transparentize($entry_bg, 0.95);
}
@if $t==focus {
color: $fg_color;
background-color: $entry_bg;
border: 1px solid $selected_bg_color;
box-shadow: inset 0 2px 4px transparentize($entry_bg, 0.95);
}
@if $t==insensitive {
color: $insensitive_fg_color;
background-color: mix($entry_bg, $bg_color, 55%);
border-color: 1px solid mix($entry_border, $bg_color, 55%);
box-shadow: inset 0 2px 4px transparentize(mix($entry_bg, $bg_color, 55%), 0.95);
}
@if $t==osd {
color: $osd_fg_color;
background-color: $osd_entry_bg;
border: 1px solid $osd_entry_border;
box-shadow: inset 0 2px 4px transparentize(black, 0.95);
}
@if $t==osd-focus {
color: $selected_fg_color;
background-color: $selected_bg_color;
border: 1px solid $selected_bg_color;
box-shadow: inset 0 2px 4px transparentize(black, 0.95);
}
@if $t==osd-insensitive {
color: transparentize($osd_fg_color, 0.45);
background-color: transparentize($osd_entry_bg, 0.15);
border: 1px solid $osd_entry_border;
box-shadow: inset 0 2px 4px transparentize(black, 0.95);
}
}
// Buttons
@mixin button($t) {
//
// Button drawing function
//
//@extend %reset_style;
text-shadow: 0 1px transparentize($base_color, 1);
@if $t==normal {
//
// normal button
//
color: $fg_color;
background-color: $button_bg;
border: 1px solid $button_border;
box-shadow: inset 0 2px 4px transparentize($button_bg, 0.95);
}
@else if $t==focus {
//
// focused button
//
color: $fg_color;
background-color: $button_bg;
border: 1px solid $selected_bg_color;
box-shadow: inset 0 2px 4px transparentize($button_bg, 0.95);
}
@else if $t==focus-hover {
//
// focused button
//
color: $fg_color;
background-color: $button_bg;
border: 1px solid $selected_bg_color;
box-shadow: inset 0 2px 4px transparentize($button_bg, 0.95);
}
@else if $t==hover {
//
// hovered button
//
color: $fg_color;
background-color: lighten($button_bg, 5%);
border: 1px solid $button_border;
box-shadow: inset 0 2px 4px transparentize(lighten($button_bg, 5%), 0.95);
}
@else if $t==active {
//
// pushed button
//
color: $selected_fg_color;
background-color: $selected_bg_color;
border: 1px solid $selected_bg_color;
box-shadow: inset 0 2px 4px $selected_bg_color;
}
@else if $t==insensitive {
//
// insensitive button
//
color: $insensitive_fg_color;
border: 1px solid transparentize($button_border, 0.45);
background-color: transparentize($button_bg, 0.45);
box-shadow: inset 0 2px 4px transparentize($button_bg, 0.95);
}
@else if $t==osd {
//
// normal osd button
//
color: $osd_fg_color;
border: 1px solid $osd_button_border;
background-color: $osd_button_bg;
}
@else if $t==osd-hover {
//
// active osd button
//
color: $osd_fg_color;
border: 1px solid $osd_button_border;
background-color: opacify(lighten($osd_button_bg, 7%), 0.1);
}
@else if $t==osd-active {
//
// active osd button
//
color: $selected_fg_color;
border: 1px solid $selected_bg_color;
background-color: $selected_bg_color;
}
@else if $t==osd-insensitive {
//
// insensitive osd button
//
color: $osd_insensitive_fg_color;
border: 1px solid $osd_button_border;
background-color: transparentize($osd_button_bg, 0.15);
}
}
================================================
FILE: common/cinnamon/sass/cinnamon-dark.scss
================================================
$variant: 'dark';
$transparency: 'true';
$darker: 'false';
@import "_colors"; //use gtk colors
@import "_drawing";
@import "_common";
================================================
FILE: common/cinnamon/sass/cinnamon.scss
================================================
$variant: 'light';
$transparency: 'true';
$darker: 'false';
@import "_colors"; //use gtk colors
@import "_drawing";
@import "_common";
================================================
FILE: common/gnome-shell/3.18/sass/_colors.scss
================================================
// When color definition differs for dark and light variant,
// it gets @if ed depending on $variant
$base_color: if($variant =='light', #ffffff, #404552);
$text_color: if($variant == 'light', #5c616c, #D3DAE3);
$bg_color: if($variant =='light', #F5F6F7, #383C4A);
$fg_color: if($variant =='light', #5c616c, #D3DAE3);
$selected_fg_color: #ffffff;
$selected_bg_color: #5294e2;
$selected_borders_color: darken($selected_bg_color, 20%);
$borders_color: if($variant =='light', darken($bg_color,9%), darken($bg_color,6%));
$link_color: if($variant == 'light', darken($selected_bg_color,10%),
lighten($selected_bg_color,20%));
$link_visited_color: if($variant == 'light', darken($selected_bg_color,20%),
lighten($selected_bg_color,10%));
$selection_mode_bg: if($transparency == 'true', transparentize($selected_bg_color, 0.05), $selected_bg_color);
$selection_mode_fg: $selected_fg_color;
$warning_color: #F27835;
$error_color: #FC4138;
$warning_fg_color: white;
$error_fg_color: white;
$success_color: #73d216;
$destructive_color: #F04A50;
$suggested_color: #4DADD4;
$destructive_fg_color: white;
$suggested_fg_color: white;
$drop_target_color: #F08437;
//insensitive state derived colors
$insensitive_fg_color: if($variant == 'light', transparentize($fg_color, 0.45), transparentize($fg_color, 0.55));
$insensitive_bg_color: if($variant == 'light', mix($bg_color, $base_color, 40%), lighten($bg_color, 2%));
$header_bg: red;
@if $transparency=='true' and $variant=='light' { $header_bg: transparentize(#e7e8eb, 0.05); }
@if $transparency=='false' and $variant=='light' { $header_bg: #e7e8eb; }
@if $transparency=='true' and ($variant=='dark' or $darker=='true') { $header_bg: transparentize(#2f343f, 0.03); }
@if $transparency=='false' and ($variant=='dark' or $darker=='true') { $header_bg: #2f343f; }
$header_bg_backdrop: if($darker == 'true' or $variant == 'dark', lighten($header_bg, 1.5%), lighten($header_bg, 3%));
$header_border: if($variant == 'light' and $darker=='false', darken($header_bg, 7%), darken($header_bg, 4%));
$header_fg: if($variant == 'light', saturate(transparentize($fg_color, 0.2), 10%), saturate(transparentize($fg_color, 0.2), 10%));
$header_fg: if($darker == 'true', saturate(transparentize(#D3DAE3, 0.2), 10%), $header_fg);
$dark_sidebar_bg: if($transparency == 'true', transparentize(#353945, 0.05), #353945);
$dark_sidebar_fg: #BAC3CF;
$dark_sidebar_border: if($variant == 'light', $dark_sidebar_bg, darken($dark_sidebar_bg, 5%));
$osd_fg_color: $dark_sidebar_fg;
$osd_bg_color: $dark_sidebar_bg;
$osd_button_bg: transparentize(lighten($osd_bg_color, 22%), 0.6);
$osd_button_border: transparentize(darken($osd_bg_color, 12%), 0.6);
$osd_entry_bg: transparentize(lighten($osd_bg_color, 22%), 0.6);
$osd_entry_border: transparentize(darken($osd_bg_color, 12%), 0.6);
$osd_insensitive_bg_color: darken($osd_bg_color, 3%);
$osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 30%);
$osd_borders_color: transparentize(black, 0.3);
$panel_bg: darken($dark_sidebar_bg, 4.7%);
$panel_fg: $dark_sidebar_fg;
$entry_bg: if($variant=='light', $base_color, lighten($base_color, 0%));
$entry_border: if($variant == 'light', #cfd6e6, darken($borders_color, 0%));
$header_entry_bg: if($darker == 'true' or $variant == 'dark', transparentize(lighten($header_bg, 22%), 0.6), transparentize($base_color, 0.1));
$header_entry_border: if($darker == 'true' or $variant == 'dark', transparentize(darken($header_bg, 12%), 0.6), transparentize($header_fg, 0.7));
$button_bg: if($variant == 'light', lighten($bg_color, 2%), lighten($base_color, 2%));
$button_border: $entry_border;
$header_button_bg: if($darker == 'true' or $variant == 'dark', transparentize(lighten($header_bg, 22%), 0.6), transparentize($button_bg, 0.1));
$header_button_border: if($darker == 'true' or $variant == 'dark', transparentize(darken($header_bg, 12%), 0.6), transparentize($header_fg, 0.7));
//WM Buttons
// Close
$wm_button_close_bg: if($variant == 'light' and $darker == 'false', #f46067, #cc575d);
$wm_button_close_hover_bg: if($variant == 'light' and $darker == 'false', #f68086, #d7787d);
$wm_button_close_active_bg: if($variant == 'light' and $darker == 'false', #f13039, #be3841);
$wm_icon_close_bg: if($variant == 'light' and $darker == 'false',#F8F8F9 , #2f343f);
// Minimize, Maximize
$wm_button_hover_bg: if($variant == 'light' and $darker == 'false', #fdfdfd, #454C5C);
$wm_button_active_bg: $selected_bg_color;
$wm_button_hover_border: if($variant == 'light' and $darker == 'false', #D1D3DA, #262932);
$wm_icon_bg: if($variant == 'light' and $darker == 'false', #90949E, #90939B);
$wm_icon_unfocused_bg: if($variant == 'light' and $darker == 'false', #B6B8C0, #666A74);
$wm_icon_hover_bg: if($variant == 'light' and $darker == 'false', #7A7F8B, #C4C7CC);
$wm_icon_active_bg: $selected_fg_color;
================================================
FILE: common/gnome-shell/3.18/sass/_common.scss
================================================
//This is the RIGHT PLACE to edit the stylesheet
$panel-corner-radius: 0px;
$asset_path: if($variant == 'dark', dark-assets, light-assets);
/* Copyright 2009, 2015 Red Hat, Inc.
*
* Portions adapted from Mx's data/style/default.css
* Copyright 2009 Intel Corporation
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
* version 2.1, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
* more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*/
//
// Globals
//
$font-size: 9;
$font-family: Futura Bk bt, Cantarell, Sans-Serif;
$_bubble_bg_color: opacify($osd_bg_color,0.25);
$_bubble_fg_color: $osd_fg_color;
$_bubble_borders_color: transparentize($osd_fg_color,0.8);
$_shell_fg_color: white;
stage {
font-family: $font-family;
@include fontsize($font-size);
color: $fg_color;
}
%reset_style {
background-color: transparent !important;
background-gradient-direction: none !important;
border: none !important;
border-radius: 0 !important;
}
//
// Buttons
//
.button {
min-height: 20px;
padding: 5px 32px;
transition-duration: 0;
border-radius: 2px;
@extend %button;
}
%button {
@include button(normal);
&:focus { @include button(focus); }
&:hover { @include button(hover); }
&:hover:focus { @include button(focus-hover); }
&:active, &:active:focus { @include button(active); }
&:insensitive { @include button(insensitive); }
}
%osd_button {
@include button(osd);
&:hover { @include button(osd-hover); }
&:focus { color: $selected_bg_color; }
&:active { @include button(osd-active); }
&:insensitive { @include button(osd-insensitive); }
}
//
// Entries
//
StEntry {
padding: 7px;
caret-size: 1px;
caret-color: $fg_color;
selection-background-color: $selected_bg_color;
selected-color: $selected_fg_color;
transition-duration: 300ms;
border-radius: 3px;
@include entry(normal);
&:focus, &:hover { @include entry(focus); }
&:insensitive { @include entry(insensitive); }
StIcon.capslock-warning {
icon-size: 16px;
warning-color: $warning_color;
padding: 0 4px;
}
}
//
// Scrollbars
//
StScrollView {
&.vfade { -st-vfade-offset: 0px; }
&.hfade { -st-hfade-offset: 0px; }
}
StScrollBar {
padding: 8px;
StScrollView & {
min-width: 5px;
min-height: 5px;
}
StBin#trough {
background-color: transparentize($base_color, 0.9);
border-radius: 8px;
}
StButton#vhandle, StButton#hhandle {
border-radius: 4px;
background-color: mix($fg_color, $bg_color, 40%);
border: 0px solid;
margin: 0px;
&:hover { background-color: mix($fg_color, $bg_color, 30%); }
&:active { background-color: $selected_bg_color; }
}
}
//
// Slider
//
.slider {
-slider-height: 4px;
-slider-background-color: $button_border; //background of the trough
-slider-border-color: transparentize(black, 1); //trough border color
-slider-active-background-color: $selected_bg_color; //active trough fill
-slider-active-border-color: transparentize(black, 1); //active trough border
-slider-border-width: 0;
-slider-handle-radius: 0px;
height: 18px;
border: 0 solid transparent;
border-right-width: 1px;
border-left-width: 5px;
color: transparent;
.popup-menu-item.selected & {
-slider-background-color: transparentize(black, 0.8);
-slider-active-background-color: $selected_fg_color;
}
}
//
// Check Boxes
//
.check-box {
StBoxLayout { spacing: .8em; }
StBin {
width: 16px;
height: 16px;
background-image: url("#{$asset_path}/checkbox/checkbox-unchecked.svg");
}
&:focus StBin { background-image: url("#{$asset_path}/checkbox/checkbox-unchecked-focused.svg"); }
&:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked.svg"); }
&:focus:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked-focused.svg"); }
}
//
// Switches
//
.toggle-switch {
width: 50px;
height: 20px;
background-size: contain;
background-image: url("#{$asset_path}/switch/switch-off.svg");
&:checked { background-image: url("#{$asset_path}/switch/switch-on.svg"); }
.popup-menu-item.selected & {
background-image: url("common-assets/switch/switch-off-selected.svg");
&:checked { background-image: url("common-assets/switch/switch-on-selected.svg"); }
}
}
//
// Links
//
.shell-link {
color: $link_color;
&:hover { color: lighten($link_color,10%); }
}
//
// Modal Dialogs
//
.headline { font-size: 110%; }
.lightbox { background-color: black; }
.flashspot { background-color: white; }
.modal-dialog {
color: $fg_color;
background-color: transparentize($bg_color, 1);
border: none;
border-image: url("#{$asset_path}/misc/modal.svg") 9 9 9 67;
padding: 0 5px 6px 5px;
.modal-dialog-content-box {
padding: 20px 10px 10px 10px;
}
&-linked-button {
height: if($variant=='light', 39px, 38px);
padding: 0;
box-shadow: inset 0 0 black;
border-top-width: if($variant=='light', 0px, 1px);
border-bottom-width: 0;
color: $osd_fg_color;
background-color: $osd_bg_color;
border-color: if($variant=='light', darken($osd_bg_color, 5%), darken($osd_bg_color, 8%));
&:hover { background-color: lighten($osd_bg_color, 5%); }
&:focus { color: $selected_bg_color; }
&:active {
color: $selected_fg_color;
background-color: $selected_bg_color;
}
&:insensitive {
color: transparentize($osd_fg_color, 0.5);
background-color: darken($osd_bg_color, 2%);
}
&:first-child {
border-radius: 0px 0px 0px 2px;
}
&:last-child {
border-right-width: 0px;
border-radius: 0px 0px 2px 0px;
}
&:first-child:last-child {
border-right-width: 0px;
border-radius: 0px 0px 2px 2px;
}
}
.run-dialog-entry { width: 21em; }
.run-dialog-error-box {
padding-top: 5px;
spacing: 5px;
}
//.run-dialog-button-box { padding-top: 1em; }
.run-dialog-label {
font-size: 0;
}
}
.show-processes-dialog-subject,
.mount-question-dialog-subject,
.end-session-dialog-subject { //this should be a generic header class
@include fontsize($font-size * 1.2);
font-weight: bold;
color: $fg_color;
}
//
// End Session Dialog
//
.end-session-dialog {
spacing: 42px;
//border: 3px solid $_bubble_borders_color;
&-list {
padding-top: 20px;
}
&-layout {
padding-left: 17px;
&:rtl { padding-right: 17px; }
}
&-description {
width: 28em;
padding-bottom: 10px;
&:rtl {
text-align: right;
}
}
&-warning {
width: 28em;
color: $warning_color;
padding-top: 6px;
&:rtl {
text-align: right;
}
}
&-logout-icon {
border: 0px solid transparent;
border-radius: 2px;
width: 48px;
height: 48px;
background-size: contain;
}
&-shutdown-icon {
color: $fg_color;
width: 48px;
height: 48px;
}
&-inhibitor-layout {
spacing: 16px;
max-height: 200px;
padding-right: 10px;
padding-left: 10px;
}
&-session-list, &-app-list {
spacing: 1em;
}
&-list-header {
font-weight: bold;
&:rtl { text-align: right; }
}
&-app-list-item, &-session-list-item {
spacing: 1em;
}
&-app-list-item-name, &-session-list-item-name {
font-weight: bold;
}
&-app-list-item-description {
color: lighten($fg_color,5%);
@include fontsize($font-size * 0.9);
}
.modal-dialog-linked-button:last-child {
color: $destructive_fg_color;
background-color: $destructive_color;
&:hover {
color: $destructive_fg_color;
background-color: lighten($destructive_color, 9%);
}
&:active {
color: $destructive_fg_color;
background-color: darken($destructive_color, 5%);
}
}
}
//
// ShellMountOperation Dialogs
//
.shell-mount-operation-icon { icon-size: 48px; }
.show-processes-dialog,
.mount-question-dialog {
spacing: 24px;
}
.show-processes-dialog-subject,
.mount-question-dialog-subject {
padding-top: 10px;
padding-left: 17px;
padding-bottom: 6px;
&:rtl {
padding-left: 0px;
padding-right: 17px;
}
}
.mount-question-dialog-subject {
max-width: 500px;
}
.show-processes-dialog-description,
.mount-question-dialog-description {
padding-left: 17px;
width: 28em;
&:rtl {
padding-right: 17px;
}
}
.show-processes-dialog-app-list {
@include fontsize($font-size * 1.1);
max-height: 200px;
padding-top: 24px;
padding-left: 49px;
padding-right: 32px;
&:rtl {
padding-right: 49px;
padding-left: 32px;
}
}
.show-processes-dialog-app-list-item {
color: darken($fg_color,10%);
&:hover { color: $fg_color; }
&:ltr { padding-right: 1em; }
&:rtl { padding-left: 1em; }
}
.show-processes-dialog-app-list-item-icon {
&:ltr { padding-right: 17px; }
&:rtl { padding-left: 17px; }
}
.show-processes-dialog-app-list-item-name {
@include fontsize($font-size * 1.1);
}
//
// Password or Authentication Dialog
//
.prompt-dialog {
//this is the width of the entire modal popup
width: 500px;
//border: 3px solid $_bubble_borders_color;
&-main-layout {
spacing: 24px;
padding: 10px;
}
&-message-layout {
spacing: 16px;
}
&-headline {
@include fontsize($font-size * 1.3);
font-weight: bold;
color: $fg_color;
}
&-descritption:rtl {
text-align: right;
}
&-password-box {
spacing: 1em;
padding-bottom: 1em;
}
&-error-label {
@include fontsize($font-size);
color: $error_color;
padding-bottom: 8px;
}
&-info-label {
@include fontsize($font-size);
padding-bottom: 8px;
}
&-null-label {
@include fontsize($font-size);
padding-bottom: 8px;
}
}
.hidden {
color: transparentize(black, 1);
}
//
// Polkit Dialog
//
.polkit-dialog-user {
&-layout {
padding-left: 10px;
spacing: 10px;
&:rtl {
padding-left: 0px;
padding-right: 10px;
}
}
&-root-label {
color: $warning_color;
}
&-user-icon {
border-radius: 2px;
background-size: contain;
width: 48px;
height: 48px;
}
}
//
// Audio selection dialog
//
.audio-device-selection-dialog { spacing: 30px; }
.audio-selection {
&-content {
spacing: 20px;
padding: 24px;
}
&-title {
font-weight: bold;
text-align: center;
}
&-box { spacing: 20px; }
&-device {
border: 1px solid $borders_color;
border-radius: 3px;
&:active,&:hover,&:focus {
background-color: $selected_bg_color;
border-color: $selected_bg_color;
}
}
&-device-box {
padding: 20px;
spacing: 20px;
}
&-device-icon { icon-size: 64px; }
}
//
// Access Dialog
//
.access-dialog {
spacing: 30px;
&-main-layout {
padding: 12px 20px 0;
spacing: 12px;
}
&-content {
max-width: 28em;
spacing: 20px;
}
&-icon {
min-width: 48px;
icon-size: 48px;
}
&-title {
font-weight: bold;
}
&-subtitle {
color: $fg_color;
font-weight: bold;
}
}
//
// Geolocation Dialog
//
.geolocation-dialog {
spacing: 30px;
&-main-layout { spacing: 12px; }
&-content { spacing: 20px; }
&-icon { icon-size: 48px; }
&-title { font-weight: bold; }
&-reason {
color: $fg_color;
font-weight: bold;
}
}
//
// Network Agent Dialog
//
.network-dialog-secret-table {
spacing-rows: 15px;
spacing-columns: 1em;
}
.keyring-dialog-control-table {
spacing-rows: 15px;
spacing-columns: 1em;
}
//
// Popvers/Menus
//
.popup-menu {
min-width: 15em;
color: $fg_color;
border-image: url("#{$asset_path}/menu/menu.svg") 9 9 9 9;
.popup-menu-arrow { } //defined globally in the TOP BAR
.popup-sub-menu {
background: none;
box-shadow: none;
border-image: url("#{$asset_path}/menu/submenu.svg") 9 9 9 9;
}
.popup-menu-content { padding: 1em 0em 1em 0em; }
.popup-menu-item {
spacing: 12px;
&:ltr { padding: .4em 3em .4em 0em; }
&:rtl { padding: .4em 0em .4em 3em; }
&:checked {
font-weight: normal;
background: none;
box-shadow: none;
border-image: url("#{$asset_path}/menu/submenu-open.svg") 9 9 9 9;
}
&:active, &.selected {
color: $selected_fg_color;
background-color: transparent;
border-image: url("common-assets/menu/menu-hover.svg") 9 9 1 1;
}
&:insensitive {
color: transparentize($fg_color, 0.5);
background: none;
}
}
.popup-inactive-menu-item { //all icons and other graphical elements
color: $fg_color;
&:insensitive { color: $insensitive_fg_color; }
}
//.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is
&.panel-menu {
-boxpointer-gap: 0px;
margin-bottom: 1.75em;
}
}
.popup-menu-ornament {
text-align: right;
margin-left: 10px;
width: 16px;
}
.popup-menu-boxpointer {
-arrow-border-radius: 2px;
-arrow-background-color: rgba(0,0,0,0.0);
-arrow-border-width: 1px;
-arrow-border-color: rgba(0,0,0,0.0);
-arrow-base: 0;
-arrow-rise: 0;
}
.candidate-popup-boxpointer {
-arrow-border-radius: 2px;
-arrow-background-color: $osd_bg_color;
-arrow-border-width: 1px;
-arrow-border-color: transparentize(black, 0.6);
-arrow-base: 5;
-arrow-rise: 5;
}
.popup-separator-menu-item {
//-margin-horizontal: 24px;
height: 2px; //not really the whole box
margin: 0;
background-color: transparent;
border: none;
border-image: url("common-assets/menu/menu-separator.svg") 1 1 1 1;
}
// Background menu
.background-menu { -boxpointer-gap: 4px; -arrow-rise: 0px; }
// fallback menu
//- odd thing for styling App menu when apparently not running under shell. Light Adwaita styled
// app menu inside the main app window itself rather than the top bar
//
//
// OSD
//
.osd-window {
text-align: center;
font-weight: bold;
spacing: 1em;
padding: 20px;
margin: 32px;
min-width: 64px;
min-height: 64px;
color: $_shell_fg_color;
background: none;
border: none;
border-radius: 5px;
border-image: url("common-assets/misc/osd.svg") 9 9 9 9;
.osd-monitor-label { font-size: 3em; }
.level {
padding: 0;
height: 4px;
background-color: transparentize(black, 0.5);
border-radius: 2px;
color: $selected_bg_color;
}
.level-bar {
background-color: $selected_bg_color;
border-radius: 2px;
}
}
.resize-popup {
color: $osd_fg_color;
background: none;
border: none;
border-radius: 5px;
border-image: url("common-assets/misc/osd.svg") 9 9 9 9;
padding: 12px;
}
//
// Alt Tab Switcher
//
.switcher-popup {
padding: 8px;
spacing: 16px;
}
.switcher-list {
background: none;
border: none;
border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
border-radius: 3px;
padding: 20px;
&-item-container { spacing: 8px; }
.item-box {
padding: 8px;
border-radius: 2px;
border: 1px solid transparent;
&:outlined {
padding: 8px;
border: 1px solid $selected_bg_color;
}
&:selected {
color: $selected_fg_color;
background-color: $selected_bg_color;
border: 1px solid $selected_bg_color;
}
}
.thumbnail-box {
padding: 2px;
spacing: 4px;
}
.thumbnail {
width: 256px;
}
.separator {
width: 1px;
background: transparentize($fg_color, 0.67);
}
}
.switcher-arrow {
border-color: rgba(0,0,0,0);
color: $osd_fg_color;
&:highlighted {
color: $_shell_fg_color;
}
}
.input-source-switcher-symbol {
font-size: 34pt;
width: 96px;
height: 96px;
}
//
//Window Cycler
//
.cycler-highlight { border: 5px solid $selected_bg_color; }
//
// Workspace Switcher
//
.workspace-switcher {
background: transparent;
border: 0px;
border-radius: 0px;
padding: 0px;
spacing: 8px;
&-group { padding: 12px; }
&-container {
border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
border-radius: 3px;
padding: 20px;
padding-bottom: 24px;
}
}
.ws-switcher-active-up, .ws-switcher-active-down {
height: 30px;
background-color: $selected_bg_color;
background-size: 96px;
border-radius: 2px;
border: 1px solid $selected_bg_color;
}
.ws-switcher-active-up {
background-image: url("common-assets/misc/ws-switch-arrow-up.png");
}
.ws-switcher-active-down {
background-image: url("common-assets/misc/ws-switch-arrow-down.png");
}
.ws-switcher-box {
height: 96px;
background-color: transparentize(black, 0.67);
border-color: transparentize(black, 0.67);
border-radius: 2px;
}
//
// Tiled window previews
//
.tile-preview {
background-color: transparentize($selected_bg_color, 0.65);
border: 1px solid $selected_bg_color;
&-left.on-primary {
border-radius: $panel-corner-radius 0 0 0;
}
&-right.on-primary {
border-radius: 0 $panel-corner-radius 0 0;
}
&-left.tile-preview-right.on-primary {
border-radius: $panel-corner-radius $panel-corner-radius 0 0;
}
}
//
// Top Bar
//
#panel {
$_panel_fg_color: $_shell_fg_color;
font-weight: bold;
height: 2.1em;
min-height: 27px;
background-gradient-direction: none;
background-color: transparent;
border-bottom-width: 0;
border-image: url('common-assets/panel/panel.svg') 1 1 1 1;
// Fix dynamic top bar extension
&.dynamic-top-bar-white-btn { border-image: none; }
&.unlock-screen,
&.login-screen,
&.lock-screen {
background-color: transparent;
border-image: none;
}
&:overview { border-image: url('common-assets/panel/panel-overview.svg') 1 1 1 1; }
#panelLeft, #panelCenter { // spacing between activities<>app menu and such
spacing: 8px;
}
.panel-corner {
-panel-corner-radius: $panel-corner-radius;
-panel-corner-background-color: transparentize(black, 1);
-panel-corner-border-width: 0px;
-panel-corner-border-color: black;
&:active, &:overview, &:focus {
-panel-corner-border-color: black;
}
&.lock-screen, &.login-screen, &unlock-screen {
-panel-corner-radius: 0;
-panel-corner-background-color: transparent;
-panel-corner-border-color: transparent;
}
}
.panel-button {
-natural-hpadding: 10px;
-minimum-hpadding: 6px;
font-weight: bold;
color: $_panel_fg_color;
text-shadow: none;
transition-duration: 100ms;
border-bottom-width: 1px;
border-color: transparent;
.app-menu-icon {
width: 0;
height: 0;
margin-left: 0px;
margin-right: 0px;
}
.system-status-icon,
.app-menu-icon > StIcon,
.popup-menu-arrow {
icon-shadow: none;
}
&:hover {
color: $_panel_fg_color;
background-color: transparentize(black, 0.83);
border-bottom-width: 1px;
border-color: transparent;
.system-status-icon,
.app-menu-icon > StIcon,
.popup-menu-arrow {
icon-shadow: none;
}
}
&:active, &:overview, &:focus, &:checked {
color: $selected_fg_color;
background-color: $selected_bg_color;
box-shadow: none;
border-bottom-width: 1px;
border-color: black;
& > .system-status-icon { icon-shadow: none; }
}
.system-status-icon { color: $selected_fg_color; icon-size: 16px; padding: 0 4px; }
.unlock-screen &,
.login-screen &,
.lock-screen & {
color: lighten($fg_color, 10%);
&:focus, &:hover, &:active { color: lighten($fg_color, 10%); }
}
}
.panel-button > *{
color: $selected_fg_color;
}
#panelActivities.panel-button { -natural-hpadding: 12px; }
.panel-status-indicators-box,
.panel-status-menu-box {
spacing: 2px;
color: $selected_fg_color;
}
// spacing between power icon and (optional) percentage label
.power-status.panel-status-indicators-box {
spacing: 0;
}
.screencast-indicator { color: $error_color; }
.clock-display > * > *:last-child {
color: $selected_bg_color;
margin-left: .3em;
}
.popup-menu-arrow { width: 0; }
}
// Activities button
#panel #panelActivities.panel-button {
> * {
background-image: url("common-assets/panel/activities.svg");
background-position: center top;
width: 24px;
height: 24px;
background-color: transparent !important;
background-gradient-direction: none !important;
border: 0 solid transparent !important;
text-shadow: 0 0 transparent !important;
transition-duration: 0ms !important;
box-shadow: none !important;
color: transparent;
}
&:active, &:overview, &:focus, &:checked {
background-color: transparent;
box-shadow: none;
border-bottom-width: 1px;
border-color: transparent;
> * { background-image: url("common-assets/panel/activities-active.svg"); }
}
}
// a little unstructured mess:
.system-switch-user-submenu-icon {
icon-size: 20px;
padding: 0 2px;
}
.system-switch-user-submenu-icon.default-icon {
icon-size: 16px;
padding: 0 4px;
}
#appMenu {
spinner-image: url("common-assets/misc/process-working.svg");
spacing: 4px;
padding: 0 8px;
.label-shadow { color: transparent; }
}
.aggregate-menu {
min-width: 23.5em;
.popup-menu-icon { padding: 0 4px; }
}
.system-menu-action {
padding: 13px;
color: $fg_color;
border-radius: 32px; /* wish we could do 50% */
border: 1px solid transparent;
&:hover, &:focus {
transition-duration: 100ms;
padding: 13px;
color: $fg_color;
background-color: transparent;
border: 1px solid $selected_bg_color;
}
&:active {
color: $selected_fg_color;
background-color: $selected_bg_color;
border: 1px solid $selected_bg_color;
}
& > StIcon { icon-size: 16px; }
}
//
// Calendar popover
//
#calendarArea {
padding: 0.75em 1.0em;
}
.calendar {
margin-bottom: 1em;
}
.calendar,
.datemenu-today-button,
.datemenu-displays-box,
.message-list-sections {
margin: 0 0.4em;
}
.datemenu-calendar-column { spacing: 0.5em; border: none; }
.datemenu-displays-section { padding-bottom: 3em; }
.datemenu-today-button,
.world-clocks-button,
.weather-button,
.message-list-section-title,
.events-section-title {
border-radius: 3px;
padding: .4em;
}
.message-list-section-list:ltr {
padding-left: .4em;
}
.message-list-section-list:rtl {
padding-right: .4em;
}
.datemenu-today-button,
.world-clocks-button,
.weather-button,
.message-list-section-title,
.events-section-title {
padding: 7px 10px 7px 10px;
border: 1px solid transparentize($base_color, 1);
&:hover, &:focus { @include button(hover); }
&:active { @include button(active); }
}
.datemenu-today-button .day-label {
}
.datemenu-today-button .date-label {
font-size: 1.5em;
}
.world-clocks-header,
.weather-header,
.message-list-section-title,
.events-section-title {
color: transparentize($fg_color, 0.6);
font-weight: bold;
}
.world-clocks-button:active .world-clocks-header,
.weather-button:active .weather-header {
color: $selected_fg_color;
}
.world-clocks-grid {
spacing-rows: 0.4em;
}
.weather-box {
spacing: 0.4em;
}
.calendar-month-label {
color: $fg_color;
font-weight: bold;
padding: 8px 0;
&:focus {}
}
.pager-button {
color: transparent;
background-color: transparent;
width: 32px;
border-radius: 2px;
&:focus, &:hover, &:active { background-color: transparent; }
}
//arrow back
.calendar-change-month-back {
background-image: url("#{$asset_path}/misc/calendar-arrow-left.svg");
&:focus, &:hover { background-image: url("#{$asset_path}/misc/calendar-arrow-left-hover.svg"); }
&:active { background-image: url("#{$asset_path}/misc/calendar-arrow-left.svg"); }
&:rtl {
background-image: url("#{$asset_path}/misc/calendar-arrow-right.svg");
&:focus, &:hover { background-image: url("#{$asset_path}/misc/calendar-arrow-right-hover.svg"); }
&:active { background-image: url("#{$asset_path}/misc/calendar-arrow-right.svg"); }
}
}
//arrow forward
.calendar-change-month-forward {
background-image: url("#{$asset_path}/misc/calendar-arrow-right.svg");
&:focus, &:hover { background-image: url("#{$asset_path}/misc/calendar-arrow-right-hover.svg"); }
&:active { background-image: url("#{$asset_path}/misc/calendar-arrow-right.svg"); }
&:rtl {
background-image: url("#{$asset_path}/misc/calendar-arrow-left.svg");
&:focus, &:hover { background-image: url("#{$asset_path}/misc/calendar-arrow-left-hover.svg"); }
&:active { background-image: url("#{$asset_path}/misc/calendar-arrow-left.svg"); }
}
}
.calendar-day-base {
font-size: 80%;
text-align: center;
width: 25px; height: 25px;
padding: 0.1em;
margin: 2px;
border-radius: 12.5px;
&:hover, &:focus { background-color: transparentize(black, 0.9); }
&:active, &:selected {
color: $fg_color;
background-color: transparentize(black, 0.85);
border-width: 0; //avoid jumparound due to today
}
&.calendar-day-heading { //day of week heading
color: transparentize($fg_color, 0.15);
margin-top: 1em;
font-size: 70%;
}
}
.calendar-day { //border collapse hack - see calendar.js
border-width: 0;
color: transparentize($fg_color, 0.2);
}
.calendar-day-top { border-top-width: 0; }
.calendar-day-left { border-left-width: 0; }
.calendar-work-day {}
.calendar-nonwork-day {
color: $fg_color;
font-weight: bold;
}
.calendar-today,
.calendar-today:active,
.calendar-today:selected,
.calendar-today:focus,
.calendar-today:hover {
font-weight: bold;
color: $selected_fg_color;
background-color: $selected_bg_color;
border-width: 0;
}
.calendar-day-with-events {
font-weight: bold;
background-image: url("common-assets/misc/calendar-today.svg");
}
.calendar-today.calendar-day-with-events { color: $selected_fg_color; }
.calendar-other-month-day {
color: transparentize($fg_color, 0.7);
opacity: 1;
}
.calendar-week-number {
font-size: 70%;
font-weight: bold;
width: 2.3em; height: 1.8em;
border-radius: 2px;
padding: 0.5em 0 0;
margin: 6px;
background-color: transparentize($fg_color,0.7);
color: $bg_color;
}
//
// Message list
//
.message-list {
width: 31.5em;
&-sections { spacing: 1.5em; }
&-section,
&-section-list { spacing: 0.7em; }
&-section-list-title-box { spacing: 0.4em; }
&-placeholder {
StIcon { width: 0; height: 0; }
StLabel { color: $insensitive_fg_color; }
}
&-clear-button.button {
margin: 1.5em 1.5em 0;
padding: 4px 12px;
}
&-section-close {
> StIcon {
icon-size: 18px;
border-radius: 0px;
color: transparent;
background-color: transparent;
background-image: url('#{$asset_path}/misc/message-close.svg');
}
&:hover > StIcon {
color: transparent;
background-color: transparent;
background-image: url('#{$asset_path}/misc/message-close-hover.svg');
}
&:active > StIcon {
color: transparent;
background-color: transparent;
background-image: url('#{$asset_path}/misc/message-close-active.svg');
}
}
}
.message {
padding: 4px;
color: $fg_color;
border-image: url("#{$asset_path}/misc/message.svg") 9 9 9 9;
&:hover, &:focus {
color: $fg_color;
border-image: url("#{$asset_path}/misc/message-hover.svg") 9 9 9 9;
}
&:active {
color: $selected_fg_color;
border-image: url("#{$asset_path}/misc/message-active.svg") 9 9 9 9;
}
&-icon-bin {
padding: 8px 0px 8px 8px;
&:rtl { padding: 8px 8px 8px 0px; }
> StIcon {
//icon-size: 32px;
color: inherit;
}
}
&-secondary-bin,
&-secondary-bin > .event-time {
color: transparentize($fg_color, 0.4);
font-size: 0.9em;
&:ltr { padding-left: 8px; }
&:rtl { padding-right: 8px; }
}
&:active .message-secondary-bin,
&:active .message-secondary-bin > .event-time {
color: transparentize($selected_fg_color, 0.4);
}
&-secondary-bin > StIcon { icon-size: 16px; }
&-title {
color: inherit;
font-weight: bold;
font-size: 1em;
padding: 2px 0 2px 0;
}
&-content {
color: inherit;
padding: 8px;
font-size: 1em;
}
}
.message-media-control {
padding: 6px;
color: $fg_color;
&:last-child:ltr { padding-right: 18px; }
&:last-child:rtl { padding-left: 18px; }
&:hover { color: transparentize($fg_color, 0.3); }
&:active { color: $selected_bg_color; }
&:insensitive { color: $insensitive_fg_color; }
}
.message:active .message-media-control {
color: $selected_fg_color;
}
.media-message-cover-icon {
icon-size: 32px;
&.fallback {
color: $insensitive_fg_color;
background-color: $bg_color;
border-radius: 2px;
icon-size: 16px;
padding: 8px;
border: 1px solid $borders_color;
}
}
//
//Activities Ripples
//
.ripple-box {
width: 52px;
height: 52px;
background-image: url("common-assets/misc/corner-ripple-ltr.svg");
background-size: contain;
&:rtl { background-image: url("common-assets/misc/corner-ripple-rtl.svg"); }
}
// not really top bar only
.popup-menu-arrow { width: 16px; height: 16px; }
.popup-menu-icon { icon-size: 16px; }
//
//Close buttons
//
.window-close {
background-image: url("common-assets/misc/close.svg");
background-size: 26px;
height: 26px;
width: 26px;
&:hover {
background-image: url("common-assets/misc/close-hover.svg");
background-size: 26px;
height: 26px;
width: 26px;
}
&:active {
background-image: url("common-assets/misc/close-active.svg");
background-size: 26px;
height: 26px;
width: 26px;
}
}
.window-close {
-shell-close-overlap: 11px;
}
//
// Network Dialogs
//
.nm-dialog {
max-height: 500px;
min-height: 450px;
min-width: 470px;
&-content {
spacing: 20px;
padding: 10px;
}
&-header-hbox { spacing: 10px; }
&-airplane-box { spacing: 12px; }
&-airplane-headline {
font-size: 1.1em;
font-weight: bold;
text-align: center;
}
&-airplane-text { color: $fg_color; }
&-header-icon { icon-size: 32px; }
&-scroll-view {
border: 1px solid $borders_color;
border-radius: 2px;
background-color: $base_color;
}
&-header {
font-weight: bold;
font-size: 1.2em;
}
&-item {
font-size: 1em;
border-bottom: 0px solid;
padding: 12px;
spacing: 0px;
&:selected {
background-color: $selected_bg_color;
color: $selected_fg_color;
}
}
&-icons { spacing: .5em; }
&-icon { icon-size: 16px; }
}
.no-networks-label { color: $insensitive_fg_color; }
.no-networks-box { spacing: 12px; }
//
// Overview
//
#overview { spacing: 24px; }
.overview-controls { padding-bottom: 32px; }
.window-picker { //container around window thumbnails
-horizontal-spacing: 32px;
-vertical-spacing: 32px;
padding-left: 32px;
padding-right: 32px;
padding-bottom: 48px;
&.external-monitor { padding: 32px; }
}
.window-clone-border {
border: 3px solid transparentize($selected_bg_color, 0.2);
border-radius: 4px;
box-shadow: inset 0px 0px 0px 1px transparentize($selected_bg_color, 1);
}
.window-caption, .window-caption:hover {
spacing: 25px;
color: $osd_fg_color;
background-color: transparentize(black, 0.3);
border-radius: 2px;
padding: 4px 12px;
-shell-caption-spacing: 12px;
}
//
// Search Entry
//
.search-entry {
width: 320px;
padding: 7px 9px;
border-radius: 20px;
border: 1px solid transparentize(black, 0.75);
background-color: transparentize($entry_bg, 0.1);
&:focus {
padding: 7px 9px;
}
.search-entry-icon {
icon-size: 16px;
padding: 0 4px;
color: $fg_color;
}
&:hover, &:focus {
color: $selected_fg_color;
caret-color: $selected_fg_color;
background-color: $selected_bg_color;
selection-background-color: $selected_fg_color;
selected-color: $selected_bg_color;
.search-entry-icon { color: $selected_fg_color; }
}
}
//
// Search Results
//
#searchResultsBin { max-width: 1000px; }
#searchResultsContent {
padding-left: 20px;
padding-right: 20px;
spacing: 16px;
}
// This should be equal to #searchResultsContent spacing
.search-section { spacing: 16px; }
// This is the space between the provider icon and the results container
.search-section-content { spacing: 32px; }
// "no results"
.search-statustext {
@extend %status_text;
}
.list-search-results { spacing: 3px; }
.search-section-separator {
background-color: transparentize(white, 0.8);
-margin-horizontal: 1.5em;
height: 1px;
}
.list-search-result-content { spacing: 12px; padding: 12px; }
.list-search-result-title { font-size: 1.5em; color: $_shell_fg_color; }
.list-search-result-description { color: darken($_shell_fg_color, 20%); }
.search-provider-icon { padding: 15px; }
.search-provider-icon-more {
width: 16px;
height: 16px;
background-image: url("common-assets/misc/more-results.svg");
}
//
// Dash
//
#dash {
font-size: 1em;
color: $osd_fg_color;
background-color: $dark_sidebar_bg;
border-color: rgba(0,0,0,0.4);
padding: 4px 0;
border-radius: 0 3px 3px 0;
&:rtl { border-radius: 3px 0 0 3px; }
.right &,
&:rtl { padding: 4px 0; }
.top &, .bottom & { padding: 0; }
.placeholder {
background-image: url("common-assets/dash/dash-placeholder.svg");
background-size: contain;
height: 24px;
}
.empty-dash-drop-target {
width: 24px;
height: 24px;
}
}
.dash-item-container > StWidget {
&, &:rtl, .right & { padding: 4px 8px; }
.top &, .bottom & { padding: 6px; }
}
//osd tooltip
.dash-label {
border-radius: 3px;
padding: 4px 12px;
color: $_shell_fg_color;
background-color: transparentize(black, 0.3);
text-align: center;
-x-offset: 3px;
.bottom &, .top & {
-y-offset: 3px;
-x-offset: 0;
}
}
// Dash Buttons
#dash .app-well-app {
&:hover .overview-icon,
.right &:hover .overview-icon,
.bottom &:hover .overview-icon,
.top &:hover .overview-icon {
background-color: $selected_bg_color;
}
&:active .overview-icon,
.right &:active .overview-icon,
.bottom &:active .overview-icon,
.top &:active .overview-icon {
box-shadow: none;
background-color: darken($selected_bg_color, 10%);
}
&-running-dot {
width: 11px;
height: 2px;
margin-bottom: 2px;
background-color: $selected_bg_color;
}
}
#dashtodockContainer {
.app-well-app-running-dot {
background: none;
width: 28px;
height: 4px;
}
// Add missing 1px margin for finer .show-apps-icon alignment
// via margin property instead to keep 1px smaller .show-apps-icon size
// like standard #dash styling. Better than 1px transparent border.
.show-apps .overview-icon { margin: 1px; }
@each $var in 1, 2, 3, 4 {
.running#{$var} .app-well-app-running-dot {
background-image: url("common-assets/dash/running#{$var}.svg");
}
}
}
.show-apps {
.overview-icon {
background-color: transparentize(black, 0.5);
border-radius: 2px;
border: 0px solid;
}
&:hover .overview-icon {
background-color: transparentize(black, 0.3);
color: $selected_bg_color;
}
&:active .overview-icon,
&:active .show-apps-icon,
&:checked .overview-icon,
&:checked .show-apps-icon {
color: $selected_fg_color;
background-color: $selected_bg_color;
box-shadow: none;
transition-duration: 0ms;
}
}
//
// App Vault/Grid
//
.icon-grid {
spacing: 30px;
-shell-grid-horizontal-item-size: 136px;
-shell-grid-vertical-item-size: 136px;
.overview-icon { icon-size: 96px; }
}
//.app-display { spacing: 20px; }
//favorties | all toggle container
.app-view-controls { padding-bottom: 32px; }
//favorties | all toggle button
.app-view-control {
padding: 4px 32px;
@include button(osd);
&:hover { @include button(osd-hover); }
&:checked {
color: $selected_fg_color;
background-color: $selected_bg_color;
}
&:first-child:ltr,
&:last-child:rtl { border-radius: 2px 0 0 2px; border-right-width: 0; }
&:last-child:ltr,
&:first-child:rtl { border-radius: 0 2px 2px 0; border-left-width: 0;}
}
//
// Icon Tile
//
.search-provider-icon,
.list-search-result {
@extend %icon_tile;
&:active, &:checked { background-color: transparentize(darken($osd_bg_color,10%),.1); }
&:focus, &:selected, &:hover {
background-color: transparentize($osd_fg_color,.6);
transition-duration: 200ms;
}
}
.app-well-app,
.app-well-app.app-folder,
.grid-search-result {
.overview-icon {
@extend %icon_tile;
}
&:active .overview-icon,
&:checked .overview-icon {
background-color: transparentize(darken($osd_bg_color,10%),.1);
box-shadow: inset 0 0 $selected_bg_color;
}
&:hover .overview-icon,
&:focus .overview-icon,
&:selected .overview-icon {
background-color: transparentize($osd_fg_color,.6);
transition-duration: 0ms;
border-image: none;
background-image: none;
}
}
.app-well-app-running-dot { //running apps indicator
width: 20px;
height: 2px;
margin-bottom: 4px;
background-color: $selected_bg_color;
}
%icon_tile {
color: $_shell_fg_color;
border-radius: 2px;
padding: 6px;
border: 1px solid transparent;
transition-duration: 0ms;
text-align: center;
}
//
// Collections
//
.app-well-app.app-folder {
> .overview-icon {
background-color: darken($dark_sidebar_bg, 8%);
border: 1px solid transparentize(darken($dark_sidebar_bg, 25%), 0.5);
}
&:hover > .overview-icon {
background-color: lighten($dark_sidebar_bg, 3%);
}
&:active > .overview-icon, &:checked > .overview-icon {
color: $selected_fg_color;
background-color: $selected_bg_color;
box-shadow: none;
}
&:focus > .overview-icon {
background-color: $selected_bg_color;
}
}
.app-folder-popup { //expanded collection
-arrow-border-radius: 2px;
-arrow-background-color: darken($dark_sidebar_bg, 8%);
-arrow-border-color: transparentize(darken($dark_sidebar_bg, 25%), 0.5);
-arrow-border-width: 1px;
-arrow-base: 5;
-arrow-rise: 5;
}
.app-folder-popup-bin { padding: 5px; }
.app-folder-icon {
padding: 5px;
spacing-rows: 5px;
spacing-columns: 5px;
}
.page-indicator {
padding: 15px 20px;
.page-indicator-icon {
width: 18px;
height: 18px;
background-image: url(common-assets/misc/page-indicator-inactive.svg);
}
&:hover .page-indicator-icon { background-image: url(common-assets/misc/page-indicator-hover.svg); }
&:active .page-indicator-icon { background-image: url(common-assets/misc/page-indicator-active.svg); }
&:checked .page-indicator-icon,
&:checked:active { background-image: url(common-assets/misc/page-indicator-checked.svg); }
}
.no-frequent-applications-label { @extend %status_text; }
.app-well-app > .overview-icon.overview-icon-with-label,
.grid-search-result .overview-icon.overview-icon-with-label {
padding: 10px 8px 5px 8px;
spacing: 4px;
}
//
// Workspace pager
//
.workspace-thumbnails,
.workspace-thumbnails-left {
&, &:rtl {
visible-width: 40px; //amount visible before hover
spacing: 11px;
padding: 12px;
}
}
.workspace-thumbnails,
.workspace-thumbnails-left:rtl {
padding-right: 7px;
border-image: url("common-assets/dash/dash-right.svg") 9 9 9 9;
}
.workspace-thumbnails:rtl,
.workspace-thumbnails-left {
padding-left: 7px;
border-image: url("common-assets/dash/dash-left.svg") 9 9 9 9;
}
.workspace-thumbnail-indicator {
border: 4px solid transparentize($selected_bg_color, 0.2);
border-radius: 1px;
padding: 1px;
}
//Some hacks I don't even
.search-display > StBoxLayout,
.all-apps,
.frequent-apps > StBoxLayout {
// horizontal padding to make sure scrollbars or dash don't overlap content
padding: 0px 88px 10px 88px;
}
%status_text {
font-size: 2em;
font-weight: bold;
color: $fg_color;
}
//
// Notifications & Message Tray
//
.url-highlighter { link-color: $link_color; }
// Banners
.notification-banner,
.notification-banner:hover,
.notification-banner:focus {
font-size: 1em;
width: 34em;
margin: 5px;
padding: 10px;
color: $fg_color;
background-color: transparent;
border: 1px solid transparent;
border-image: url("#{$asset_path}/menu/menu.svg") 9 9 9 9;
.notification-icon { padding: 5px; }
.notification-content { padding: 5px; spacing: 5px; }
.secondary-icon { icon-size: 1.09em; }
.notification-actions {
background-color: transparent;
padding: 2px 2px 0 2px;
spacing: 3px;
}
.notification-button {
padding: 4px 4px 5px;
@extend %button;
&:first-child, &:last-child { border-radius: 2px; }
}
}
.secondary-icon { icon-size: 1.09em; }
// Chat Bubbles
.chat-body { spacing: 5px; }
.chat-response { margin: 5px; }
.chat-log-message { color: $fg_color; }
.chat-new-group { padding-top: 1em; }
.chat-received {
padding-left: 4px;
&:rtl { padding-left: 0px; padding-right: 4px; }
}
.chat-sent {
padding-left: 18pt;
color: $selected_bg_color;
&:rtl { padding-left: 0; padding-right: 18pt; }
}
.chat-meta-message {
padding-left: 4px;
font-size: 9pt;
font-weight: bold;
color: transparentize($fg_color, 0.4);
&:rtl { padding-left: 0; padding-right: 4px; }
}
.subscription-message { font-style: italic; }
// Hotplug
.hotplug-transient-box {
spacing: 6px;
padding: 2px 72px 2px 12px;
}
.hotplug-notification-item {
padding: 2px 10px;
@extend %button;
&:focus { padding: 2px 10px; }
}
.hotplug-notification-item-icon {
icon-size: 24px;
padding: 2px 5px;
}
.hotplug-resident-box { spacing: 8px; }
.hotplug-resident-mount {
spacing: 8px;
border-radius: 4px;
&:hover { background-color: transparentize($bg_color,0.7); }
}
.hotplug-resident-mount-label {
color: inherit;
padding-left: 6px;
}
.hotplug-resident-mount-icon {
icon-size: 24px;
padding-left: 6px;
}
.hotplug-resident-eject-icon {
icon-size: 16px;
}
.hotplug-resident-eject-button {
padding: 7px;
border-radius: 5px;
color: pink;
}
// Eeeky things
$legacy_icon_size: 24px;
.legacy-tray {
background-color: $panel_bg;
&:ltr { border-radius: 0 2px 0 0; border-left-width: 0; }
&:rtl { border-radius: 2px 0 0 0; border-right-width: 0; }
}
.legacy-tray-handle,
.legacy-tray-icon {
padding: 6px;
& StIcon { icon-size: $legacy_icon_size; }
&:hover, &:focus { background-color: transparentize($fg_color,0.9); }
}
.legacy-tray-icon-box {
spacing: 12px;
&:ltr { padding-left: 12px; }
&:rtl { padding-right: 12px; }
& StButton { width: $legacy_icon_size; height: $legacy_icon_size }
}
.masterslider.smaller .masterlabel,
.masterslider.smaller .slider {
min-width: 155px;
}
// Magnifier
.magnifier-zoom-region {
border: 2px solid $selected_bg_color;
&.full-screen { border-width: 0; }
}
//
// On-Screen Keyboard
//
#keyboard {
background-color: $osd_bg_color;
border-width: 0;
border-top-width: 1px;
border-color: transparentize(black, 0.8);
}
.keyboard-layout {
spacing: 10px;
padding: 10px;
}
.keyboard-row {
spacing: 15px;
}
.keyboard-key {
min-height: 2em;
min-width: 2em;
font-size: 14pt;
font-weight: bold;
border-radius: 3px;
box-shadow: none;
@include button(osd);
&:hover { @include button(osd-hover); }
&:active, &:checked { @include button(osd-active); }
&:grayed { @include button(osd-insensitive); }
}
.keyboard-subkeys { //long press on a key popup
color: $osd_fg_color;
padding: 5px;
-arrow-border-radius: 2px;
-arrow-background-color: $osd_bg_color;
-arrow-border-width: 1px;
-arrow-border-color: transparentize(black, 0.6);;
-arrow-base: 20px;
-arrow-rise: 10px;
-boxpointer-gap: 5px;
}
//
// IBus Candidate Popup
//
.candidate-popup-content {
padding: 0.5em;
spacing: 0.3em;
color: $osd_fg_color;
font-size: 1.15em;
}
.candidate-index {
padding: 0 0.5em 0 0;
color: lighten($osd_fg_color, 10%);
}
.candidate-box {
padding: 0.3em 0.5em 0.3em 0.5em;
border-radius: 2px;
color: $osd_fg_color;
&:selected,&:hover { background-color: $selected_bg_color; color: $selected_fg_color; }
}
.candidate-page-button-box {
height: 2em;
.vertical & { padding-top: 0.5em; }
.horizontal & { padding-left: 0.5em; }
}
.candidate-page-button {
padding: 4px;
}
.candidate-page-button-previous { border-radius: 2px 0px 0px 2px; border-right-width: 0; }
.candidate-page-button-next { border-radius: 0px 2px 2px 0px; }
.candidate-page-button-icon { icon-size: 1em; }
//
// Auth Dialogs & Screen Shield
//
.framed-user-icon {
background-size: contain;
border: 0px solid transparent;
color: $fg_color;
border-radius: 2px;
&:hover {
border-color: transparent;
color: lighten($osd_fg_color,30%);
}
}
//
// Login Dialog
//
.login-dialog-banner-view {
padding-top: 24px;
max-width: 23em;
}
.login-dialog {
//reset
border: none;
background-color: transparent;
.modal-dialog-button-box { spacing: 3px; }
.modal-dialog-button {
padding: 3px 18px;
&:default {
@include button(normal);
&:hover,&:focus { @include button(hover); }
&:active { @include button(active); }
&:insensitive { @include button(insensitive); }
}
}
}
.login-dialog-logo-bin { padding: 24px 0px; }
.login-dialog-banner { color: darken($osd_fg_color,10%); }
.login-dialog-button-box { spacing: 5px; }
.login-dialog-message-warning { color: $warning_color; }
.login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; }
.login-dialog-user-selection-box {
padding: 100px 0px;
.login-dialog-not-listed-label {
padding-left: 2px;
.login-dialog-not-listed-button:focus &,
.login-dialog-not-listed-button:hover & {
color: $osd_fg_color;
}
}
}
.login-dialog-not-listed-label {
font-size: 90%;
font-weight: bold;
color: darken($osd_fg_color,30%);
padding-top: 1em;
}
.login-dialog-user-list-view { -st-vfade-offset: 1em; }
.login-dialog-user-list {
spacing: 12px;
padding: .2em;
width: 23em;
&:expanded .login-dialog-user-list-item:focus { background-color: $selected_bg_color; color: $selected_fg_color; }
&:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; }
}
.login-dialog-user-list-item {
border-radius: 5px;
padding: .2em;
color: darken($osd_fg_color,30%);
&:ltr { padding-right: 1em; }
&:rtl { padding-left: 1em; }
&:hover { background-color: $selected_bg_color; color: $selected_fg_color; }
.login-dialog-timed-login-indicator {
height: 2px;
margin: 2px 0 0 0;
background-color: $osd_fg_color;
}
&:focus .login-dialog-timed-login-indicator { background-color: $selected_fg_color; }
}
.login-dialog-username,
.user-widget-label {
color: $osd_fg_color;
font-size: 120%;
font-weight: bold;
text-align: left;
padding-left: 15px;
}
.user-widget-label {
&:ltr { padding-left: 18px; }
&:rtl { padding-right: 18px; }
}
.login-dialog-prompt-layout {
padding-top: 24px;
padding-bottom: 12px;
spacing: 8px;
width: 23em;
}
.login-dialog-prompt-label {
color: darken($osd_fg_color, 20%);
font-size: 110%;
padding-top: 1em;
}
.login-dialog-session-list-button StIcon {
icon-size: 1.25em;
}
.login-dialog-session-list-button {
color: darken($osd_fg_color,30%);
&:hover,&:focus { color: $osd_fg_color; }
&:active { color: darken($osd_fg_color, 50%); }
}
//
// Screen Shield
//
.screen-shield-arrows {
padding-bottom: 3em;
}
.screen-shield-arrows Gjs_Arrow {
color: white;
width: 80px;
height: 48px;
-arrow-thickness: 12px;
-arrow-shadow: 0 1px 1px rgba(0,0,0,0.4);
}
.screen-shield-clock {
color: white;
text-shadow: 0px 1px 2px rgba(0,0,0,0.6);
font-weight: bold;
text-align: center;
padding-bottom: 1.5em;
}
.screen-shield-clock-time {
font-size: 72pt;
text-shadow: 0px 2px 2px rgba(0,0,0,0.4);
}
.screen-shield-clock-date { font-size: 28pt; }
.screen-shield-notifications-container {
spacing: 6px;
width: 30em;
background-color: transparent;
max-height: 500px;
.summary-notification-stack-scrollview {
padding-top: 0;
padding-bottom: 0;
}
.notification,
.screen-shield-notification-source {
padding: 12px 6px;
border: 1px solid $_bubble_borders_color;
background-color: transparentize($osd_bg_color,0.5);
color: $_bubble_fg_color;
border-radius: 4px;
}
.notification { margin-right: 15px; } //compensate for space allocated to the scrollbar
}
.screen-shield-notification-label {
font-weight: bold;
padding: 0px 0px 0px 12px;
}
.screen-shield-notification-count-text { padding: 0px 0px 0px 12px; }
#panel.lock-screen { background-color: transparentize($_bubble_bg_color, 0.5); }
.screen-shield-background { //just the shadow, really
background: black;
box-shadow: 0px 2px 4px transparentize(black,0.6);
}
#lockDialogGroup {
background: #2e3436 url(misc/noise-texture.png);
background-repeat: repeat;
}
#screenShieldNotifications {
StButton#vhandle, StButton#hhandle {
background-color: transparentize($bg_color,0.7);
&:hover, &:focus { background-color: transparentize($bg_color,0.5); }
&:active { background-color: transparentize($selected_bg_color,0.5); }
}
}
//
// Looking Glass
//
#LookingGlassDialog {
spacing: 4px;
padding: 8px 8px 10px 8px;
background-color: transparentize(black, 0.3);
border: 1px solid black;
border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
border-radius: 2px;
color: $osd_fg_color;
& > #Toolbar {
padding: 3px;
border: none;
background-color: transparent;
border-radius: 0px;
}
.labels { spacing: 4px; }
.notebook-tab {
-natural-hpadding: 12px;
-minimum-hpadding: 6px;
font-weight: bold;
color: $osd_fg_color;
transition-duration: 100ms;
padding-left: .3em;
padding-right: .3em;
&:hover {
color: $_shell_fg_color;
text-shadow: black 0px 2px 2px;
}
&:selected {
border-bottom-width: 0px;
color: $selected_bg_color;
text-shadow: black 0px 2px 2px;
}
}
StBoxLayout#EvalBox { padding: 4px; spacing: 4px; }
StBoxLayout#ResultsArea { spacing: 4px; }
}
.lg-dialog {
StEntry {
caret-color: $selected_fg_color;
selection-background-color: $selected_bg_color;
selected-color: $selected_fg_color;
@include entry(osd);
&:focus {
@include entry(osd-focus);
selection-background-color: $selected_fg_color;
selected-color: $selected_bg_color;
}
}
.shell-link {
color: $link_color;
&:hover { color: lighten($link_color,10%); }
}
}
.lg-completions-text {
font-size: .9em;
font-style: italic;
}
.lg-obj-inspector-title {
spacing: 4px;
}
.lg-obj-inspector-button {
border: 1px solid gray;
padding: 4px;
border-radius: 4px;
&:hover { border: 1px solid #ffffff; }
}
#lookingGlassExtensions { padding: 4px; }
.lg-extensions-list {
padding: 4px;
spacing: 6px;
}
.lg-extension {
border: 1px solid $osd_borders_color;
border-radius: 2px;
background-color: $osd_bg_color;
padding: 4px;
}
.lg-extension-name {
font-weight: bold;
}
.lg-extension-meta {
spacing: 6px;
}
#LookingGlassPropertyInspector {
background: transparentize(black, 0.3);
border: 1px solid grey;
border-radius: 2px;
padding: 6px;
}
================================================
FILE: common/gnome-shell/3.18/sass/_drawing.scss
================================================
// Drawing mixins
// generic drawing of more complex things
// provide font size in rem, with px fallback
@mixin fontsize($size: 24, $base: 16) {
font-size: round($size) + pt;
//font-size: ($size / $base) * 1rem;
}
// Entries
@mixin entry($t, $dark:false) {
//
// Entries drawing function
//
//@extend %reset_style;
@if $t==normal {
color: $text_color;
background-color: $entry_bg;
border: 1px solid $entry_border;
box-shadow: inset 0 2px 4px transparentize($entry_bg, 0.95);
}
@if $t==focus {
color: $fg_color;
background-color: $entry_bg;
border: 1px solid $selected_bg_color;
box-shadow: inset 0 2px 4px transparentize($entry_bg, 0.95);
}
@if $t==insensitive {
color: $insensitive_fg_color;
background-color: mix($entry_bg, $bg_color, 55%);
border-color: 1px solid mix($entry_border, $bg_color, 55%);
box-shadow: inset 0 2px 4px transparentize(mix($entry_bg, $bg_color, 55%), 0.95);
}
@if $t==osd {
color: $osd_fg_color;
background-color: $osd_entry_bg;
border: 1px solid $osd_entry_border;
box-shadow: inset 0 2px 4px transparentize(black, 0.95);
}
@if $t==osd-focus {
color: $selected_fg_color;
background-color: $selected_bg_color;
border: 1px solid $osd_entry_border;
box-shadow: inset 0 2px 4px transparentize(black, 0.95);
}
@if $t==osd-insensitive {
color: transparentize($osd_fg_color, 0.45);
background-color: transparentize($osd_entry_bg, 0.15);
border: 1px solid $osd_entry_border;
box-shadow: inset 0 2px 4px transparentize(black, 0.95);
}
}
// Buttons
@mixin button($t) {
//
// Button drawing function
//
//@extend %reset_style;
text-shadow: 0 1px transparentize($base_color, 1);
@if $t==normal {
//
// normal button
//
color: $fg_color;
background-color: $button_bg;
border: 1px solid $button_border;
box-shadow: inset 0 1px transparentize($button_bg, 0.95);
}
@else if $t==focus {
//
// focused button
//
color: $fg_color;
background-color: $button_bg;
border: 1px solid $selected_bg_color;
box-shadow: inset 0 1px transparentize($button_bg, 0.95);
}
@else if $t==focus-hover {
//
// focused button
//
color: $fg_color;
background-color: $button_bg;
border: 1px solid $selected_bg_color;
box-shadow: inset 0 1px transparentize($button_bg, 0.95);
}
@else if $t==hover {
//
// hovered button
//
color: $fg_color;
background-color: lighten($button_bg, 5%);
border: 1px solid $button_border;
box-shadow: inset 0 1px transparentize(lighten($button_bg, 5%), 0.95);
}
@else if $t==active {
//
// pushed button
//
color: $selected_fg_color;
background-color: $selected_bg_color;
border: 1px solid if($variant=='light', $selected_bg_color, $button_border);
box-shadow: inset 0 1px transparentize($selected_bg_color, 0.95);
}
@else if $t==insensitive {
//
// insensitive button
//
color: $insensitive_fg_color;
border: 1px solid transparentize($button_border, 0.45);
background-color: transparentize($button_bg, 0.45);
box-shadow: inset 0 1px transparentize($button_bg, 0.95);
}
@else if $t==osd {
//
// normal osd button
//
color: $osd_fg_color;
border: 1px solid $osd_button_border;
background-color: $osd_button_bg;
box-shadow: inset 0 1px transparentize(black, 0.95);
}
@else if $t==osd-hover {
//
// active osd button
//
color: $osd_fg_color;
border: 1px solid $osd_button_border;
background-color: opacify(lighten($osd_button_bg, 7%), 0.1);
box-shadow: inset 0 1px transparentize(black, 0.95);
}
@else if $t==osd-active {
//
// active osd button
//
color: $selected_fg_color;
border: 1px solid $osd_button_border;
background-color: $selected_bg_color;
box-shadow: inset 0 1px transparentize($selected_bg_color, 0.95);
}
@else if $t==osd-insensitive {
//
// insensitive osd button
//
color: $osd_insensitive_fg_color;
border: 1px solid $osd_button_border;
background-color: transparentize($osd_button_bg, 0.15);
box-shadow: inset 0 1px transparentize(black, 0.95);
}
}
================================================
FILE: common/gnome-shell/3.18/sass/gnome-shell-dark.scss
================================================
$variant: 'dark';
$transparency: 'true';
$darker: 'false';
@import "_colors"; //use gtk colors
@import "_drawing";
@import "_common";
================================================
FILE: common/gnome-shell/3.18/sass/gnome-shell.scss
================================================
$variant: 'light';
$transparency: 'true';
$darker: 'false';
@import "_colors"; //use gtk colors
@import "_drawing";
@import "_common";
================================================
FILE: common/gnome-shell/3.26/sass/_colors.scss
================================================
// When color definition differs for dark and light variant,
// it gets @if ed depending on $variant
$base_color: if($variant =='light', #ffffff, #404552);
$text_color: if($variant == 'light', #5c616c, #D3DAE3);
$bg_color: if($variant =='light', #F5F6F7, #383C4A);
$fg_color: if($variant =='light', #5c616c, #D3DAE3);
$selected_fg_color: #ffffff;
$selected_bg_color: #5294e2;
$selected_borders_color: darken($selected_bg_color, 20%);
$borders_color: if($variant =='light', darken($bg_color,9%), darken($bg_color,6%));
$link_color: if($variant == 'light', darken($selected_bg_color,10%),
lighten($selected_bg_color,20%));
$link_visited_color: if($variant == 'light', darken($selected_bg_color,20%),
lighten($selected_bg_color,10%));
$selection_mode_bg: if($transparency == 'true', transparentize($selected_bg_color, 0.05), $selected_bg_color);
$selection_mode_fg: $selected_fg_color;
$warning_color: #F27835;
$error_color: #FC4138;
$warning_fg_color: white;
$error_fg_color: white;
$success_color: #73d216;
$destructive_color: #F04A50;
$suggested_color: #4DADD4;
$destructive_fg_color: white;
$suggested_fg_color: white;
$drop_target_color: #F08437;
//insensitive state derived colors
$insensitive_fg_color: if($variant == 'light', transparentize($fg_color, 0.45), transparentize($fg_color, 0.55));
$insensitive_bg_color: if($variant == 'light', mix($bg_color, $base_color, 40%), lighten($bg_color, 2%));
$header_bg: red;
@if $transparency=='true' and $variant=='light' { $header_bg: transparentize(#e7e8eb, 0.05); }
@if $transparency=='false' and $variant=='light' { $header_bg: #e7e8eb; }
@if $transparency=='true' and ($variant=='dark' or $darker=='true') { $header_bg: transparentize(#2f343f, 0.03); }
@if $transparency=='false' and ($variant=='dark' or $darker=='true') { $header_bg: #2f343f; }
$header_bg_backdrop: if($darker == 'true' or $variant == 'dark', lighten($header_bg, 1.5%), lighten($header_bg, 3%));
$header_border: if($variant == 'light' and $darker=='false', darken($header_bg, 7%), darken($header_bg, 4%));
$header_fg: if($variant == 'light', saturate(transparentize($fg_color, 0.2), 10%), saturate(transparentize($fg_color, 0.2), 10%));
$header_fg: if($darker == 'true', saturate(transparentize(#D3DAE3, 0.2), 10%), $header_fg);
$dark_sidebar_bg: if($transparency == 'true', transparentize(#353945, 0.05), #353945);
$dark_sidebar_fg: #BAC3CF;
$dark_sidebar_border: if($variant == 'light', $dark_sidebar_bg, darken($dark_sidebar_bg, 5%));
$osd_fg_color: $dark_sidebar_fg;
$osd_bg_color: $dark_sidebar_bg;
$osd_button_bg: transparentize(lighten($osd_bg_color, 22%), 0.6);
$osd_button_border: transparentize(darken($osd_bg_color, 12%), 0.6);
$osd_entry_bg: transparentize(lighten($osd_bg_color, 22%), 0.6);
$osd_entry_border: transparentize(darken($osd_bg_color, 12%), 0.6);
$osd_insensitive_bg_color: darken($osd_bg_color, 3%);
$osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 30%);
$osd_borders_color: transparentize(black, 0.3);
$panel_bg: darken($dark_sidebar_bg, 4.7%);
$panel_fg: $dark_sidebar_fg;
$entry_bg: if($variant=='light', $base_color, lighten($base_color, 0%));
$entry_border: if($variant == 'light', #cfd6e6, darken($borders_color, 0%));
$header_entry_bg: if($darker == 'true' or $variant == 'dark', transparentize(lighten($header_bg, 22%), 0.6), transparentize($base_color, 0.1));
$header_entry_border: if($darker == 'true' or $variant == 'dark', transparentize(darken($header_bg, 12%), 0.6), transparentize($header_fg, 0.7));
$button_bg: if($variant == 'light', lighten($bg_color, 2%), lighten($base_color, 2%));
$button_border: $entry_border;
$header_button_bg: if($darker == 'true' or $variant == 'dark', transparentize(lighten($header_bg, 22%), 0.6), transparentize($button_bg, 0.1));
$header_button_border: if($darker == 'true' or $variant == 'dark', transparentize(darken($header_bg, 12%), 0.6), transparentize($header_fg, 0.7));
//WM Buttons
// Close
$wm_button_close_bg: if($variant == 'light' and $darker == 'false', #f46067, #cc575d);
$wm_button_close_hover_bg: if($variant == 'light' and $darker == 'false', #f68086, #d7787d);
$wm_button_close_active_bg: if($variant == 'light' and $darker == 'false', #f13039, #be3841);
$wm_icon_close_bg: if($variant == 'light' and $darker == 'false',#F8F8F9 , #2f343f);
// Minimize, Maximize
$wm_button_hover_bg: if($variant == 'light' and $darker == 'false', #fdfdfd, #454C5C);
$wm_button_active_bg: $selected_bg_color;
$wm_button_hover_border: if($variant == 'light' and $darker == 'false', #D1D3DA, #262932);
$wm_icon_bg: if($variant == 'light' and $darker == 'false', #90949E, #90939B);
$wm_icon_unfocused_bg: if($variant == 'light' and $darker == 'false', #B6B8C0, #666A74);
$wm_icon_hover_bg: if($variant == 'light' and $darker == 'false', #7A7F8B, #C4C7CC);
$wm_icon_active_bg: $selected_fg_color;
================================================
FILE: common/gnome-shell/3.26/sass/_common.scss
================================================
//This is the RIGHT PLACE to edit the stylesheet
$panel-corner-radius: 0px;
$asset_path: if($variant == 'dark', dark-assets, light-assets);
/* Copyright 2009, 2015 Red Hat, Inc.
*
* Portions adapted from Mx's data/style/default.css
* Copyright 2009 Intel Corporation
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
* version 2.1, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
* more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*/
//
// Globals
//
$font-size: 9;
$font-family: Futura Bk bt, Cantarell, Sans-Serif;
$_bubble_bg_color: opacify($osd_bg_color,0.25);
$_bubble_fg_color: $osd_fg_color;
$_bubble_borders_color: transparentize($osd_fg_color,0.8);
$_shell_fg_color: white;
stage {
font-family: $font-family;
@include fontsize($font-size);
color: $fg_color;
}
%reset_style {
background-color: transparent !important;
background-gradient-direction: none !important;
border: none !important;
border-radius: 0 !important;
}
//
// Buttons
//
.button {
min-height: 20px;
padding: 5px 32px;
transition-duration: 0;
border-radius: 2px;
@extend %button;
}
%button {
@include button(normal);
&:focus { @include button(focus); }
&:hover { @include button(hover); }
&:hover:focus { @include button(focus-hover); }
&:active, &:active:focus { @include button(active); }
&:insensitive { @include button(insensitive); }
}
%osd_button {
@include button(osd);
&:hover { @include button(osd-hover); }
&:focus { color: $selected_bg_color; }
&:active { @include button(osd-active); }
&:insensitive { @include button(osd-insensitive); }
}
//
// Entries
//
StEntry {
padding: 7px;
caret-size: 1px;
caret-color: $fg_color;
selection-background-color: $selected_bg_color;
selected-color: $selected_fg_color;
transition-duration: 300ms;
border-radius: 3px;
@include entry(normal);
&:focus, &:hover { @include entry(focus); }
&:insensitive { @include entry(insensitive); }
StIcon.capslock-warning {
icon-size: 16px;
warning-color: $warning_color;
padding: 0 4px;
}
}
//
// Scrollbars
//
StScrollView {
&.vfade { -st-vfade-offset: 0px; }
&.hfade { -st-hfade-offset: 0px; }
}
StScrollBar {
padding: 8px;
StScrollView & {
min-width: 5px;
min-height: 5px;
}
StBin#trough {
background-color: transparentize($base_color, 0.9);
border-radius: 8px;
}
StButton#vhandle, StButton#hhandle {
border-radius: 4px;
background-color: mix($fg_color, $bg_color, 40%);
border: 0px solid;
margin: 0px;
&:hover { background-color: mix($fg_color, $bg_color, 30%); }
&:active { background-color: $selected_bg_color; }
}
}
//
// Slider
//
.slider {
-slider-height: 4px;
-slider-background-color: $button_border; //background of the trough
-slider-border-color: transparentize(black, 1); //trough border color
-slider-active-background-color: $selected_bg_color; //active trough fill
-slider-active-border-color: transparentize(black, 1); //active trough border
-slider-border-width: 0;
-slider-handle-radius: 0px;
height: 18px;
border: 0 solid transparent;
border-right-width: 1px;
border-left-width: 5px;
color: transparent;
.popup-menu-item.selected & {
-slider-background-color: transparentize(black, 0.8);
-slider-active-background-color: $selected_fg_color;
}
}
//
// Check Boxes
//
.check-box {
StBoxLayout { spacing: .8em; }
StBin {
width: 16px;
height: 16px;
background-image: url("#{$asset_path}/checkbox/checkbox-unchecked.svg");
}
&:focus StBin { background-image: url("#{$asset_path}/checkbox/checkbox-unchecked-focused.svg"); }
&:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked.svg"); }
&:focus:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked-focused.svg"); }
}
//
// Switches
//
.toggle-switch {
width: 50px;
height: 20px;
background-size: contain;
background-image: url("#{$asset_path}/switch/switch-off.svg");
&:checked { background-image: url("#{$asset_path}/switch/switch-on.svg"); }
.popup-menu-item.selected & {
background-image: url("common-assets/switch/switch-off-selected.svg");
&:checked { background-image: url("common-assets/switch/switch-on-selected.svg"); }
}
}
//
// Links
//
.shell-link {
color: $link_color;
&:hover { color: lighten($link_color,10%); }
}
//
// Modal Dialogs
//
.headline { font-size: 110%; }
.lightbox { background-color: black; }
.flashspot { background-color: white; }
.modal-dialog {
color: $fg_color;
background-color: transparentize($bg_color, 1);
border: none;
border-image: url("#{$asset_path}/misc/modal.svg") 9 9 9 67;
padding: 0 5px 6px 5px;
.modal-dialog-content-box {
padding: 20px 10px 10px 10px;
}
&-linked-button {
height: if($variant=='light', 39px, 38px);
padding: 0;
box-shadow: inset 0 0 black;
border-top-width: if($variant=='light', 0px, 1px);
border-bottom-width: 0;
color: $osd_fg_color;
background-color: $osd_bg_color;
border-color: if($variant=='light', darken($osd_bg_color, 5%), darken($osd_bg_color, 8%));
&:hover { background-color: lighten($osd_bg_color, 5%); }
&:focus { color: $selected_bg_color; }
&:active {
color: $selected_fg_color;
background-color: $selected_bg_color;
}
&:insensitive {
color: transparentize($osd_fg_color, 0.5);
background-color: darken($osd_bg_color, 2%);
}
&:first-child {
border-radius: 0px 0px 0px 2px;
}
&:last-child {
border-right-width: 0px;
border-radius: 0px 0px 2px 0px;
}
&:first-child:last-child {
border-right-width: 0px;
border-radius: 0px 0px 2px 2px;
}
}
.run-dialog-entry { width: 21em; }
.run-dialog-error-box {
padding-top: 5px;
spacing: 5px;
}
//.run-dialog-button-box { padding-top: 1em; }
.run-dialog-label {
font-size: 0;
}
}
.show-processes-dialog-subject,
.mount-question-dialog-subject,
.end-session-dialog-subject { //this should be a generic header class
@include fontsize($font-size * 1.2);
font-weight: bold;
color: $fg_color;
}
//
// End Session Dialog
//
.end-session-dialog {
spacing: 42px;
//border: 3px solid $_bubble_borders_color;
&-list {
padding-top: 20px;
}
&-layout {
padding-left: 17px;
&:rtl { padding-right: 17px; }
}
&-description {
width: 28em;
padding-bottom: 10px;
&:rtl {
text-align: right;
}
}
&-warning {
width: 28em;
color: $warning_color;
padding-top: 6px;
&:rtl {
text-align: right;
}
}
&-logout-icon {
border: 0px solid transparent;
border-radius: 2px;
width: 48px;
height: 48px;
background-size: contain;
}
&-shutdown-icon {
color: $fg_color;
width: 48px;
height: 48px;
}
&-inhibitor-layout {
spacing: 16px;
max-height: 200px;
padding-right: 10px;
padding-left: 10px;
}
&-session-list, &-app-list {
spacing: 1em;
}
&-list-header {
font-weight: bold;
&:rtl { text-align: right; }
}
&-app-list-item, &-session-list-item {
spacing: 1em;
}
&-app-list-item-name, &-session-list-item-name {
font-weight: bold;
}
&-app-list-item-description {
color: lighten($fg_color,5%);
@include fontsize($font-size * 0.9);
}
.modal-dialog-linked-button:last-child {
color: $destructive_fg_color;
background-color: $destructive_color;
&:hover {
color: $destructive_fg_color;
background-color: lighten($destructive_color, 9%);
}
&:active {
color: $destructive_fg_color;
background-color: darken($destructive_color, 5%);
}
}
}
//
// ShellMountOperation Dialogs
//
.shell-mount-operation-icon { icon-size: 48px; }
.show-processes-dialog,
.mount-question-dialog {
spacing: 24px;
}
.show-processes-dialog-subject,
.mount-question-dialog-subject {
padding-top: 10px;
padding-left: 17px;
padding-bottom: 6px;
&:rtl {
padding-left: 0px;
padding-right: 17px;
}
}
.mount-question-dialog-subject {
max-width: 500px;
}
.show-processes-dialog-description,
.mount-question-dialog-description {
padding-left: 17px;
width: 28em;
&:rtl {
padding-right: 17px;
}
}
.show-processes-dialog-app-list {
@include fontsize($font-size * 1.1);
max-height: 200px;
padding-top: 24px;
padding-left: 49px;
padding-right: 32px;
&:rtl {
padding-right: 49px;
padding-left: 32px;
}
}
.show-processes-dialog-app-list-item {
color: darken($fg_color,10%);
&:hover { color: $fg_color; }
&:ltr { padding-right: 1em; }
&:rtl { padding-left: 1em; }
}
.show-processes-dialog-app-list-item-icon {
&:ltr { padding-right: 17px; }
&:rtl { padding-left: 17px; }
}
.show-processes-dialog-app-list-item-name {
@include fontsize($font-size * 1.1);
}
//
// Password or Authentication Dialog
//
.prompt-dialog {
//this is the width of the entire modal popup
width: 500px;
//border: 3px solid $_bubble_borders_color;
&-main-layout {
spacing: 24px;
padding: 10px;
}
&-message-layout {
spacing: 16px;
}
&-headline {
@include fontsize($font-size * 1.3);
font-weight: bold;
color: $fg_color;
}
&-descritption:rtl {
text-align: right;
}
&-password-box {
spacing: 1em;
padding-bottom: 1em;
}
&-error-label {
@include fontsize($font-size);
color: $error_color;
padding-bottom: 8px;
}
&-info-label {
@include fontsize($font-size);
padding-bottom: 8px;
}
&-null-label {
@include fontsize($font-size);
padding-bottom: 8px;
}
}
.hidden {
color: transparentize(black, 1);
}
//
// Polkit Dialog
//
.polkit-dialog-user {
&-layout {
padding-left: 10px;
spacing: 10px;
&:rtl {
padding-left: 0px;
padding-right: 10px;
}
}
&-root-label {
color: $warning_color;
}
&-user-icon {
border-radius: 2px;
background-size: contain;
width: 48px;
height: 48px;
}
}
//
// Audio selection dialog
//
.audio-device-selection-dialog { spacing: 30px; }
.audio-selection {
&-content {
spacing: 20px;
padding: 24px;
}
&-title {
font-weight: bold;
text-align: center;
}
&-box { spacing: 20px; }
&-device {
border: 1px solid $borders_color;
border-radius: 3px;
&:active,&:hover,&:focus {
background-color: $selected_bg_color;
border-color: $selected_bg_color;
}
}
&-device-box {
padding: 20px;
spacing: 20px;
}
&-device-icon { icon-size: 64px; }
}
//
// Access Dialog
//
.access-dialog {
spacing: 30px;
&-main-layout {
padding: 12px 20px 0;
spacing: 12px;
}
&-content {
max-width: 28em;
spacing: 20px;
}
&-icon {
min-width: 48px;
icon-size: 48px;
}
&-title {
font-weight: bold;
}
&-subtitle {
color: $fg_color;
font-weight: bold;
}
}
//
// Geolocation Dialog
//
.geolocation-dialog {
spacing: 30px;
&-main-layout { spacing: 12px; }
&-content { spacing: 20px; }
&-icon { icon-size: 48px; }
&-title { font-weight: bold; }
&-reason {
color: $fg_color;
font-weight: bold;
}
}
//
// Network Agent Dialog
//
.network-dialog-secret-table {
spacing-rows: 15px;
spacing-columns: 1em;
}
.keyring-dialog-control-table {
spacing-rows: 15px;
spacing-columns: 1em;
}
//
// Popvers/Menus
//
.popup-menu {
min-width: 15em;
color: $fg_color;
border-image: url("#{$asset_path}/menu/menu.svg") 9 9 9 9;
.popup-menu-arrow { } //defined globally in the TOP BAR
.popup-sub-menu {
background: none;
box-shadow: none;
border-image: url("#{$asset_path}/menu/submenu.svg") 9 9 9 9;
}
.popup-menu-content { padding: 1em 0em 1em 0em; }
.popup-menu-item {
spacing: 12px;
&:ltr { padding: .4em 3em .4em 0em; }
&:rtl { padding: .4em 0em .4em 3em; }
&:checked {
font-weight: normal;
background: none;
box-shadow: none;
border-image: url("#{$asset_path}/menu/submenu-open.svg") 9 9 9 9;
}
&:active, &.selected {
color: $selected_fg_color;
background-color: transparent;
border-image: url("common-assets/menu/menu-hover.svg") 9 9 1 1;
}
&:insensitive {
color: transparentize($fg_color, 0.5);
background: none;
}
}
.popup-inactive-menu-item { //all icons and other graphical elements
color: $fg_color;
&:insensitive { color: $insensitive_fg_color; }
}
//.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is
&.panel-menu {
-boxpointer-gap: 0px;
margin-bottom: 1.75em;
}
}
.popup-menu-ornament {
text-align: right;
margin-left: 10px;
width: 16px;
}
.popup-menu-boxpointer {
-arrow-border-radius: 2px;
-arrow-background-color: rgba(0,0,0,0.0);
-arrow-border-width: 1px;
-arrow-border-color: rgba(0,0,0,0.0);
-arrow-base: 0;
-arrow-rise: 0;
}
.candidate-popup-boxpointer {
-arrow-border-radius: 2px;
-arrow-background-color: $osd_bg_color;
-arrow-border-width: 1px;
-arrow-border-color: transparentize(black, 0.6);
-arrow-base: 5;
-arrow-rise: 5;
}
.popup-separator-menu-item {
//-margin-horizontal: 24px;
height: 2px; //not really the whole box
margin: 0;
background-color: transparent;
border: none;
border-image: url("common-assets/menu/menu-separator.svg") 1 1 1 1;
}
// Background menu
.background-menu { -boxpointer-gap: 4px; -arrow-rise: 0px; }
// fallback menu
//- odd thing for styling App menu when apparently not running under shell. Light Adwaita styled
// app menu inside the main app window itself rather than the top bar
//
//
// OSD
//
.osd-window {
text-align: center;
font-weight: bold;
spacing: 1em;
padding: 20px;
margin: 32px;
min-width: 64px;
min-height: 64px;
color: $_shell_fg_color;
background: none;
border: none;
border-radius: 5px;
border-image: url("common-assets/misc/osd.svg") 9 9 9 9;
.osd-monitor-label { font-size: 3em; }
.level {
padding: 0;
height: 4px;
background-color: transparentize(black, 0.5);
border-radius: 2px;
color: $selected_bg_color;
}
.level-bar {
background-color: $selected_bg_color;
border-radius: 2px;
}
}
.resize-popup {
color: $osd_fg_color;
background: none;
border: none;
border-radius: 5px;
border-image: url("common-assets/misc/osd.svg") 9 9 9 9;
padding: 12px;
}
//
// Alt Tab Switcher
//
.switcher-popup {
padding: 8px;
spacing: 16px;
}
.switcher-list {
background: none;
border: none;
border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
border-radius: 3px;
padding: 20px;
&-item-container { spacing: 8px; }
.item-box {
padding: 8px;
border-radius: 2px;
border: 1px solid transparent;
&:outlined {
padding: 8px;
border: 1px solid $selected_bg_color;
}
&:selected {
color: $selected_fg_color;
background-color: $selected_bg_color;
border: 1px solid $selected_bg_color;
}
}
.thumbnail-box {
padding: 2px;
spacing: 4px;
}
.thumbnail {
width: 256px;
}
.separator {
width: 1px;
background: transparentize($fg_color, 0.67);
}
}
.switcher-arrow {
border-color: rgba(0,0,0,0);
color: $osd_fg_color;
&:highlighted {
color: $_shell_fg_color;
}
}
.input-source-switcher-symbol {
font-size: 34pt;
width: 96px;
height: 96px;
}
//
//Window Cycler
//
.cycler-highlight { border: 5px solid $selected_bg_color; }
//
// Workspace Switcher
//
.workspace-switcher {
background: transparent;
border: 0px;
border-radius: 0px;
padding: 0px;
spacing: 8px;
&-group { padding: 12px; }
&-container {
border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
border-radius: 3px;
padding: 20px;
padding-bottom: 24px;
}
}
.ws-switcher-active-up, .ws-switcher-active-down {
height: 30px;
background-color: $selected_bg_color;
background-size: 96px;
border-radius: 2px;
border: 1px solid $selected_bg_color;
}
.ws-switcher-active-up {
background-image: url("common-assets/misc/ws-switch-arrow-up.png");
}
.ws-switcher-active-down {
background-image: url("common-assets/misc/ws-switch-arrow-down.png");
}
.ws-switcher-box {
height: 96px;
background-color: transparentize(black, 0.67);
border-color: transparentize(black, 0.67);
border-radius: 2px;
}
//
// Tiled window previews
//
.tile-preview {
background-color: transparentize($selected_bg_color, 0.65);
border: 1px solid $selected_bg_color;
&-left.on-primary {
border-radius: $panel-corner-radius 0 0 0;
}
&-right.on-primary {
border-radius: 0 $panel-corner-radius 0 0;
}
&-left.tile-preview-right.on-primary {
border-radius: $panel-corner-radius $panel-corner-radius 0 0;
}
}
//
// Top Bar
//
#panel {
$_panel_fg_color: $_shell_fg_color;
font-weight: bold;
height: 2.1em;
min-height: 27px;
background-gradient-direction: none;
background-color: transparent;
border-bottom-width: 0;
border-image: url('common-assets/panel/panel.svg') 1 1 1 1;
// Fix dynamic top bar extension
&.dynamic-top-bar-white-btn { border-image: none; }
&.unlock-screen,
&.login-screen,
&.lock-screen {
background-color: transparent;
border-image: none;
}
&:overview { border-image: url('common-assets/panel/panel-overview.svg') 1 1 1 1; }
#panelLeft, #panelCenter { // spacing between activities<>app menu and such
spacing: 8px;
}
.panel-corner {
-panel-corner-radius: $panel-corner-radius;
-panel-corner-background-color: transparentize(black, 1);
-panel-corner-border-width: 0px;
-panel-corner-border-color: black;
&:active, &:overview, &:focus {
-panel-corner-border-color: black;
}
&.lock-screen, &.login-screen, &unlock-screen {
-panel-corner-radius: 0;
-panel-corner-background-color: transparent;
-panel-corner-border-color: transparent;
}
}
.panel-button {
-natural-hpadding: 10px;
-minimum-hpadding: 6px;
font-weight: bold;
color: $_panel_fg_color;
text-shadow: none;
transition-duration: 100ms;
border-bottom-width: 1px;
border-color: transparent;
.app-menu-icon {
width: 0;
height: 0;
margin-left: 0px;
margin-right: 0px;
}
.system-status-icon,
.app-menu-icon > StIcon,
.popup-menu-arrow {
icon-shadow: none;
}
&:hover {
color: $_panel_fg_color;
background-color: transparentize(black, 0.83);
border-bottom-width: 1px;
border-color: transparent;
.system-status-icon,
.app-menu-icon > StIcon,
.popup-menu-arrow {
icon-shadow: none;
}
}
&:active, &:overview, &:focus, &:checked {
color: $selected_fg_color;
background-color: $selected_bg_color;
box-shadow: none;
border-bottom-width: 1px;
border-color: black;
& > .system-status-icon { icon-shadow: none; }
}
.system-status-icon { color: $selected_fg_color; icon-size: 16px; padding: 0 4px; }
.unlock-screen &,
.login-screen &,
.lock-screen & {
color: lighten($fg_color, 10%);
&:focus, &:hover, &:active { color: lighten($fg_color, 10%); }
}
}
.panel-button > *{
color: $selected_fg_color;
}
#panelActivities.panel-button { -natural-hpadding: 12px; }
.panel-status-indicators-box,
.panel-status-menu-box {
spacing: 2px;
color: $selected_fg_color;
}
// spacing between power icon and (optional) percentage label
.power-status.panel-status-indicators-box {
spacing: 0;
}
.screencast-indicator { color: $error_color; }
.clock-display > * > *:last-child {
color: $selected_bg_color;
margin-left: .3em;
}
.popup-menu-arrow { width: 0; }
}
// Activities button
#panel #panelActivities.panel-button {
> * {
background-image: url("common-assets/panel/activities.svg");
background-position: center top;
width: 24px;
height: 24px;
background-color: transparent !important;
background-gradient-direction: none !important;
border: 0 solid transparent !important;
text-shadow: 0 0 transparent !important;
transition-duration: 0ms !important;
box-shadow: none !important;
color: transparent;
}
&:active, &:overview, &:focus, &:checked {
background-color: transparent;
box-shadow: none;
border-bottom-width: 1px;
border-color: transparent;
> * { background-image: url("common-assets/panel/activities-active.svg"); }
}
}
// a little unstructured mess:
.system-switch-user-submenu-icon {
icon-size: 20px;
padding: 0 2px;
}
.system-switch-user-submenu-icon.default-icon {
icon-size: 16px;
padding: 0 4px;
}
#appMenu {
spinner-image: url("common-assets/misc/process-working.svg");
spacing: 4px;
padding: 0 8px;
.label-shadow { color: transparent; }
}
.aggregate-menu {
min-width: 23.5em;
.popup-menu-icon { padding: 0 4px; }
}
.system-menu-action {
padding: 13px;
color: $fg_color;
border-radius: 32px; /* wish we could do 50% */
border: 1px solid transparent;
&:hover, &:focus {
transition-duration: 100ms;
padding: 13px;
color: $fg_color;
background-color: transparent;
border: 1px solid $selected_bg_color;
}
&:active {
color: $selected_fg_color;
background-color: $selected_bg_color;
border: 1px solid $selected_bg_color;
}
& > StIcon { icon-size: 16px; }
}
//
// Calendar popover
//
#calendarArea {
padding: 0.75em 1.0em;
}
.calendar {
margin-bottom: 1em;
}
.calendar,
.datemenu-today-button,
.datemenu-displays-box,
.message-list-sections {
margin: 0 0.4em;
}
.datemenu-calendar-column { spacing: 0.5em; border: none; }
.datemenu-displays-section { padding-bottom: 3em; }
.datemenu-today-button,
.world-clocks-b
gitextract_eqqzwbgu/
├── .github/
│ └── ISSUE_TEMPLATE.md
├── .gitignore
├── .nvmrc
├── AUTHORS
├── COPYING
├── HACKING.md
├── Makefile.am
├── README.md
├── autogen.sh
├── change_color.sh
├── common/
│ ├── Makefile.am
│ ├── cinnamon/
│ │ └── sass/
│ │ ├── _colors.scss
│ │ ├── _common.scss
│ │ ├── _drawing.scss
│ │ ├── cinnamon-dark.scss
│ │ └── cinnamon.scss
│ ├── gnome-shell/
│ │ ├── 3.18/
│ │ │ └── sass/
│ │ │ ├── _colors.scss
│ │ │ ├── _common.scss
│ │ │ ├── _drawing.scss
│ │ │ ├── gnome-shell-dark.scss
│ │ │ └── gnome-shell.scss
│ │ ├── 3.26/
│ │ │ └── sass/
│ │ │ ├── _colors.scss
│ │ │ ├── _common.scss
│ │ │ ├── _drawing.scss
│ │ │ ├── gnome-shell-dark.scss
│ │ │ └── gnome-shell.scss
│ │ ├── 3.30/
│ │ │ └── sass/
│ │ │ ├── _colors.scss
│ │ │ ├── _common.scss
│ │ │ ├── _drawing.scss
│ │ │ ├── gnome-shell-dark.scss
│ │ │ └── gnome-shell.scss
│ │ └── 3.32/
│ │ └── sass/
│ │ ├── _colors.scss
│ │ ├── _common.scss
│ │ ├── _drawing.scss
│ │ ├── gnome-shell-dark.scss
│ │ └── gnome-shell.scss
│ ├── gtk-2.0/
│ │ ├── Makefile.am
│ │ ├── apps.rc
│ │ ├── assets.txt
│ │ ├── dark/
│ │ │ └── gtkrc
│ │ ├── darker/
│ │ │ └── gtkrc
│ │ ├── light/
│ │ │ └── gtkrc
│ │ ├── main.rc
│ │ ├── menubar-toolbar/
│ │ │ ├── menubar-toolbar-dark.rc
│ │ │ └── menubar-toolbar.rc
│ │ ├── panel.rc
│ │ └── xfce-notify.rc
│ ├── gtk-3.0/
│ │ ├── 3.18/
│ │ │ ├── Makefile.am
│ │ │ ├── assets.txt
│ │ │ └── sass/
│ │ │ ├── _applications.scss
│ │ │ ├── _colors-public.scss
│ │ │ ├── _colors.scss
│ │ │ ├── _common.scss
│ │ │ ├── _drawing.scss
│ │ │ ├── _granite.scss
│ │ │ ├── _lightdm.scss
│ │ │ ├── _transparent_widgets.scss
│ │ │ ├── _unity.scss
│ │ │ ├── gtk-dark.scss
│ │ │ ├── gtk-darker.scss
│ │ │ ├── gtk-solid-dark.scss
│ │ │ ├── gtk-solid-darker.scss
│ │ │ ├── gtk-solid.scss
│ │ │ └── gtk.scss
│ │ ├── 3.20/
│ │ │ ├── Makefile.am
│ │ │ ├── assets.txt
│ │ │ └── sass/
│ │ │ ├── _applications.scss
│ │ │ ├── _budgie.scss
│ │ │ ├── _colors-public.scss
│ │ │ ├── _colors.scss
│ │ │ ├── _common.scss
│ │ │ ├── _drawing.scss
│ │ │ ├── _granite.scss
│ │ │ ├── _lightdm.scss
│ │ │ ├── _transparent_widgets.scss
│ │ │ ├── _unity.scss
│ │ │ ├── gtk-dark.scss
│ │ │ ├── gtk-darker.scss
│ │ │ ├── gtk-solid-dark.scss
│ │ │ ├── gtk-solid-darker.scss
│ │ │ ├── gtk-solid.scss
│ │ │ └── gtk.scss
│ │ ├── Makefile.am
│ │ ├── _colors.scss.thpl
│ │ └── common.am
│ ├── index/
│ │ ├── dark/
│ │ │ └── index.theme
│ │ ├── darker/
│ │ │ └── index.theme
│ │ └── light/
│ │ └── index.theme
│ ├── metacity-1/
│ │ ├── metacity-theme-1-dark.xml
│ │ ├── metacity-theme-1.xml
│ │ ├── metacity-theme-2-dark.xml
│ │ ├── metacity-theme-2.xml
│ │ └── metacity-theme-3.xml
│ ├── openbox/
│ │ ├── Arc/
│ │ │ └── openbox-3/
│ │ │ ├── close.xbm
│ │ │ ├── desk.xbm
│ │ │ ├── desk_toggled.xbm
│ │ │ ├── iconify.xbm
│ │ │ ├── max.xbm
│ │ │ ├── max_toggled.xbm
│ │ │ ├── shade.xbm
│ │ │ ├── shade_toggled.xbm
│ │ │ └── themerc
│ │ ├── Arc-Dark/
│ │ │ └── openbox-3/
│ │ │ ├── close.xbm
│ │ │ ├── desk.xbm
│ │ │ ├── desk_toggled.xbm
│ │ │ ├── iconify.xbm
│ │ │ ├── max.xbm
│ │ │ ├── max_toggled.xbm
│ │ │ ├── shade.xbm
│ │ │ ├── shade_toggled.xbm
│ │ │ └── themerc
│ │ └── Arc-Darker/
│ │ └── openbox-3/
│ │ ├── close.xbm
│ │ ├── desk.xbm
│ │ ├── desk_toggled.xbm
│ │ ├── iconify.xbm
│ │ ├── max.xbm
│ │ ├── max_toggled.xbm
│ │ ├── shade.xbm
│ │ ├── shade_toggled.xbm
│ │ └── themerc
│ └── xfwm4/
│ ├── Makefile.am
│ ├── assets.txt
│ ├── dark/
│ │ └── themerc
│ └── light/
│ └── themerc
├── configure.ac
├── extra/
│ ├── Arc-Plank/
│ │ └── dock.theme
│ └── Makefile.am
├── m4/
│ ├── arc-enable.m4
│ ├── arc-gnome-shell.m4
│ └── arc-gtk3.m4
├── mkrelease.sh
├── package.json
└── scripts/
├── darker.sh
└── mix.sh
Condensed preview — 134 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,088K chars).
[
{
"path": ".github/ISSUE_TEMPLATE.md",
"chars": 1750,
"preview": "# READ CAREFULLY BEFORE SUBMITTING\n\nWhilst we are happy for issues to be raised, we do strongly recommend that you inves"
},
{
"path": ".gitignore",
"chars": 521,
"preview": "node_modules\nMakefile\nMakefile.in\naclocal.m4\nautom4te.cache\nbuild-aux\ncompile\nconfig.*\nconfigure\ninstall-sh\nmissing\n.ide"
},
{
"path": ".nvmrc",
"chars": 7,
"preview": "stable\n"
},
{
"path": "AUTHORS",
"chars": 92,
"preview": "See a list of contributors here\nhttps://github.com/arc-design/Arc-theme/graphs/contributors\n"
},
{
"path": "COPYING",
"chars": 35147,
"preview": " GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
},
{
"path": "HACKING.md",
"chars": 1408,
"preview": "This theme uses node-sass/libsass to process the various .scss files. Never edit any of the .css files manually.\n\n#### E"
},
{
"path": "Makefile.am",
"chars": 129,
"preview": "ACLOCAL_AMFLAGS = -I m4\n\nEXTRA_DIST = \\\n\tREADME.md \\\n\tHACKING.md \\\n\tautogen.sh \\\n\tpackage.json \\\n\t.nvmrc\n\nSUBDIRS = comm"
},
{
"path": "README.md",
"chars": 7942,
"preview": "# Arc Theme\n\n*This project needs new maintainers to continue. The current maintainers do not have the bandwidth to conti"
},
{
"path": "autogen.sh",
"chars": 233,
"preview": "#!/bin/sh\n\ntest -z \"$srcdir\" && srcdir=$(dirname \"$0\")\ntest -z \"$srcdir\" && srcdir=.\n\nset -ue\n\ncwd=$(pwd)\ncd \"$srcdir\"\n\n"
},
{
"path": "change_color.sh",
"chars": 10592,
"preview": "#!/usr/bin/env bash\n# shellcheck disable=SC1090\n#set -x\nset -ueo pipefail\n\nSRC_PATH=\"$(readlink -f \"$(dirname \"$0\")\")\"\n\n"
},
{
"path": "common/Makefile.am",
"chars": 4090,
"preview": "if ENABLE_GTK2\nGTK2_SUBDIR = gtk-2.0\nendif\n\nif ENABLE_GTK3\nGTK3_SUBDIR = gtk-3.0\nendif\n\nif ENABLE_XFWM\nXFWM_SUBDIR = xfw"
},
{
"path": "common/cinnamon/sass/_colors.scss",
"chars": 4912,
"preview": "// When color definition differs for dark and light variant,\n// it gets @if ed depending on $variant\n\n\n$base_color: if($"
},
{
"path": "common/cinnamon/sass/_common.scss",
"chars": 37641,
"preview": "$asset_path: if($variant == 'dark', dark-assets, light-assets);\n\n//\n// Globals\n//\n$font-size: 9;\n$font-family: Futura Bk"
},
{
"path": "common/cinnamon/sass/_drawing.scss",
"chars": 3918,
"preview": "// Drawing mixins\n\n// generic drawing of more complex things\n\n// provide font size in rem, with px fallback\n@mixin fonts"
},
{
"path": "common/cinnamon/sass/cinnamon-dark.scss",
"chars": 135,
"preview": "$variant: 'dark';\n$transparency: 'true';\n$darker: 'false';\n\n@import \"_colors\"; //use gtk colors\n@import \"_drawing\";\n@imp"
},
{
"path": "common/cinnamon/sass/cinnamon.scss",
"chars": 136,
"preview": "$variant: 'light';\n$transparency: 'true';\n$darker: 'false';\n\n@import \"_colors\"; //use gtk colors\n@import \"_drawing\";\n@im"
},
{
"path": "common/gnome-shell/3.18/sass/_colors.scss",
"chars": 4912,
"preview": "// When color definition differs for dark and light variant,\n// it gets @if ed depending on $variant\n\n\n$base_color: if($"
},
{
"path": "common/gnome-shell/3.18/sass/_common.scss",
"chars": 51594,
"preview": "//This is the RIGHT PLACE to edit the stylesheet\n\n$panel-corner-radius: 0px;\n$asset_path: if($variant == 'dark', dark-as"
},
{
"path": "common/gnome-shell/3.18/sass/_drawing.scss",
"chars": 4195,
"preview": "// Drawing mixins\n\n// generic drawing of more complex things\n\n// provide font size in rem, with px fallback\n@mixin fonts"
},
{
"path": "common/gnome-shell/3.18/sass/gnome-shell-dark.scss",
"chars": 135,
"preview": "$variant: 'dark';\n$transparency: 'true';\n$darker: 'false';\n\n@import \"_colors\"; //use gtk colors\n@import \"_drawing\";\n@imp"
},
{
"path": "common/gnome-shell/3.18/sass/gnome-shell.scss",
"chars": 136,
"preview": "$variant: 'light';\n$transparency: 'true';\n$darker: 'false';\n\n@import \"_colors\"; //use gtk colors\n@import \"_drawing\";\n@im"
},
{
"path": "common/gnome-shell/3.26/sass/_colors.scss",
"chars": 4912,
"preview": "// When color definition differs for dark and light variant,\n// it gets @if ed depending on $variant\n\n\n$base_color: if($"
},
{
"path": "common/gnome-shell/3.26/sass/_common.scss",
"chars": 51559,
"preview": "//This is the RIGHT PLACE to edit the stylesheet\n\n$panel-corner-radius: 0px;\n$asset_path: if($variant == 'dark', dark-as"
},
{
"path": "common/gnome-shell/3.26/sass/_drawing.scss",
"chars": 4195,
"preview": "// Drawing mixins\n\n// generic drawing of more complex things\n\n// provide font size in rem, with px fallback\n@mixin fonts"
},
{
"path": "common/gnome-shell/3.26/sass/gnome-shell-dark.scss",
"chars": 135,
"preview": "$variant: 'dark';\n$transparency: 'true';\n$darker: 'false';\n\n@import \"_colors\"; //use gtk colors\n@import \"_drawing\";\n@imp"
},
{
"path": "common/gnome-shell/3.26/sass/gnome-shell.scss",
"chars": 136,
"preview": "$variant: 'light';\n$transparency: 'true';\n$darker: 'false';\n\n@import \"_colors\"; //use gtk colors\n@import \"_drawing\";\n@im"
},
{
"path": "common/gnome-shell/3.30/sass/_colors.scss",
"chars": 5423,
"preview": "// When color definition differs for dark and light variant,\n// it gets @if ed depending on $variant\n\n\n$base_color: if($"
},
{
"path": "common/gnome-shell/3.30/sass/_common.scss",
"chars": 55004,
"preview": "//This is the RIGHT PLACE to edit the stylesheet\n\n$panel-corner-radius: 0px;\n$asset_path: if($variant == 'dark', dark-as"
},
{
"path": "common/gnome-shell/3.30/sass/_drawing.scss",
"chars": 4189,
"preview": "// Drawing mixins\n\n// generic drawing of more complex things\n\n// provide font size in rem, with px fallback\n@mixin fonts"
},
{
"path": "common/gnome-shell/3.30/sass/gnome-shell-dark.scss",
"chars": 135,
"preview": "$variant: 'dark';\n$transparency: 'true';\n$darker: 'false';\n\n@import \"_colors\"; //use gtk colors\n@import \"_drawing\";\n@imp"
},
{
"path": "common/gnome-shell/3.30/sass/gnome-shell.scss",
"chars": 136,
"preview": "$variant: 'light';\n$transparency: 'true';\n$darker: 'false';\n\n@import \"_colors\"; //use gtk colors\n@import \"_drawing\";\n@im"
},
{
"path": "common/gnome-shell/3.32/sass/_colors.scss",
"chars": 5423,
"preview": "// When color definition differs for dark and light variant,\n// it gets @if ed depending on $variant\n\n\n$base_color: if($"
},
{
"path": "common/gnome-shell/3.32/sass/_common.scss",
"chars": 56349,
"preview": "//This is the RIGHT PLACE to edit the stylesheet\n\n$panel-corner-radius: 0px;\n$asset_path: if($variant == 'dark', dark-as"
},
{
"path": "common/gnome-shell/3.32/sass/_drawing.scss",
"chars": 4189,
"preview": "// Drawing mixins\n\n// generic drawing of more complex things\n\n// provide font size in rem, with px fallback\n@mixin fonts"
},
{
"path": "common/gnome-shell/3.32/sass/gnome-shell-dark.scss",
"chars": 135,
"preview": "$variant: 'dark';\n$transparency: 'true';\n$darker: 'false';\n\n@import \"_colors\"; //use gtk colors\n@import \"_drawing\";\n@imp"
},
{
"path": "common/gnome-shell/3.32/sass/gnome-shell.scss",
"chars": 136,
"preview": "$variant: 'light';\n$transparency: 'true';\n$darker: 'false';\n\n@import \"_colors\"; //use gtk colors\n@import \"_drawing\";\n@im"
},
{
"path": "common/gtk-2.0/Makefile.am",
"chars": 2604,
"preview": "VPATH =\n\ntargets := $(shell cat $(srcdir)/assets.txt)\nlight := $(patsubst %,light/assets/%.png,$(targets))\ndark := $(pat"
},
{
"path": "common/gtk-2.0/apps.rc",
"chars": 3496,
"preview": "#\n# Thunar\n#\nstyle \"thunar-handle\" { GtkPaned::handle-size = 2 }\n\nstyle \"dark-sidebar\" {\n GtkTreeView::odd_row_color = "
},
{
"path": "common/gtk-2.0/assets.txt",
"chars": 2548,
"preview": "arrow-down\narrow-down-insens\narrow-down-prelight\narrow-left\narrow-left-insens\narrow-left-prelight\narrow-right\narrow-righ"
},
{
"path": "common/gtk-2.0/dark/gtkrc",
"chars": 881,
"preview": "gtk-color-scheme = \"base_color: #404552\"\ngtk-color-scheme = \"text_color: #d3dae3\"\ngtk-color-scheme = \"bg_color: #383c4a\""
},
{
"path": "common/gtk-2.0/darker/gtkrc",
"chars": 881,
"preview": "gtk-color-scheme = \"base_color: #ffffff\"\ngtk-color-scheme = \"text_color: #3b3e45\"\ngtk-color-scheme = \"bg_color: #f5f6f7\""
},
{
"path": "common/gtk-2.0/light/gtkrc",
"chars": 876,
"preview": "gtk-color-scheme = \"base_color: #ffffff\"\ngtk-color-scheme = \"text_color: #3b3e45\"\ngtk-color-scheme = \"bg_color: #f5f6f7\""
},
{
"path": "common/gtk-2.0/main.rc",
"chars": 51681,
"preview": "style \"default\" {\n\n xthickness = 1\n ythickness = 1\n\n # Style Properties\n\n GtkWidget::focus-line-width = 1\n GtkMenuB"
},
{
"path": "common/gtk-2.0/menubar-toolbar/menubar-toolbar-dark.rc",
"chars": 4899,
"preview": "style \"menubar\" {\n\n bg[NORMAL] = \"#2f343f\"\n fg[NORMAL] = \"#afb8c5\"\n fg[PRELIGHT] = \"#afb8c5\"\n fg[ACTIVE] = \"#afb8c5\""
},
{
"path": "common/gtk-2.0/menubar-toolbar/menubar-toolbar.rc",
"chars": 3726,
"preview": "style \"menubar\" {\n\n bg[NORMAL] = \"#e7e8eb\"\n fg[NORMAL] = \"#70788d\"\n fg[PRELIGHT] = \"#70788d\"\n fg[ACTIVE] = \"#70788d\""
},
{
"path": "common/gtk-2.0/panel.rc",
"chars": 5436,
"preview": "style \"theme-panel\" {\n\n xthickness = 2\n ythickness = 0\n\n bg[NORMAL] = \"#2B2E37\"\n bg[ACTIVE] = @selected_bg_color\n b"
},
{
"path": "common/gtk-2.0/xfce-notify.rc",
"chars": 1841,
"preview": "gtk-color-scheme = \"selected_bg_color:#5294E2\\nselected_fg_color:#ffffff\"\n\nstyle \"notify-window\" {\n XfceNotifyWindow::s"
},
{
"path": "common/gtk-3.0/3.18/Makefile.am",
"chars": 781,
"preview": "include ../common.am\n\nlight/gtk.css: gtk.css | light\n\tcp \"$<\" \"$@\"\nlight/gtk-dark.css: gtk-dark.css | light\n\tcp \"$<\" \"$@"
},
{
"path": "common/gtk-3.0/3.18/assets.txt",
"chars": 2442,
"preview": "checkbox-checked\ncheckbox-checked-insensitive\ncheckbox-unchecked\ncheckbox-unchecked-insensitive\ncheckbox-mixed\ncheckbox-"
},
{
"path": "common/gtk-3.0/3.18/sass/_applications.scss",
"chars": 18025,
"preview": "//\n// Tab overrides\n//\nGeditNotebook.notebook,\nScratchMainWindow .notebook,\nEphyNotebook.notebook,\nMidoriNotebook .noteb"
},
{
"path": "common/gtk-3.0/3.18/sass/_colors-public.scss",
"chars": 2887,
"preview": "//apps rely on some named colors to be exported\n\n// Sass thinks we're using the colors in the variables as strings and m"
},
{
"path": "common/gtk-3.0/3.18/sass/_colors.scss",
"chars": 4912,
"preview": "// When color definition differs for dark and light variant,\n// it gets @if ed depending on $variant\n\n\n$base_color: if($"
},
{
"path": "common/gtk-3.0/3.18/sass/_common.scss",
"chars": 80869,
"preview": "@function gtkalpha($c,$a) {\n @return unquote(\"alpha(#{$c},#{$a})\");\n}\n\n$ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0"
},
{
"path": "common/gtk-3.0/3.18/sass/_drawing.scss",
"chars": 8711,
"preview": "// Drawing mixins\n\n// Entries\n\n@mixin entry($t) {\n//\n// Entries drawing function\n//\n// $t: entry type\n//\n\n @if $t==norm"
},
{
"path": "common/gtk-3.0/3.18/sass/_granite.scss",
"chars": 4106,
"preview": "// Granite Widgets\n\n//\n// Overlay Bar\n//\n.overlay-bar {\n background-color: $selected_bg_color;\n border-color: $selecte"
},
{
"path": "common/gtk-3.0/3.18/sass/_lightdm.scss",
"chars": 2846,
"preview": "// the panel widget at the top\n#panel_window {\n background-color: $panel_bg;\n color: $panel_fg;\n font: bold;\n box-sh"
},
{
"path": "common/gtk-3.0/3.18/sass/_transparent_widgets.scss",
"chars": 7428,
"preview": ".titlebar .separator {\n color: $header_border; //fixes separator in gnome-tweak-tool\n}\n\nNemoWindow GtkEventBox { backg"
},
{
"path": "common/gtk-3.0/3.18/sass/_unity.scss",
"chars": 3873,
"preview": "// Decorations\nUnityDecoration {\n -UnityDecoration-extents: 28px 1 1 1;\n -UnityDecoration-input-extents: 10px;\n\n -Uni"
},
{
"path": "common/gtk-3.0/3.18/sass/gtk-dark.scss",
"chars": 250,
"preview": "$variant: 'dark';\n$darker: 'false';\n$transparency: 'true';\n\n@import 'colors';\n@import 'drawing';\n@import 'common';\n@impo"
},
{
"path": "common/gtk-3.0/3.18/sass/gtk-darker.scss",
"chars": 250,
"preview": "$variant: 'light';\n$darker: 'true';\n$transparency: 'true';\n\n@import 'colors';\n@import 'drawing';\n@import 'common';\n@impo"
},
{
"path": "common/gtk-3.0/3.18/sass/gtk-solid-dark.scss",
"chars": 251,
"preview": "$variant: 'dark';\n$darker: 'false';\n$transparency: 'false';\n\n@import 'colors';\n@import 'drawing';\n@import 'common';\n@imp"
},
{
"path": "common/gtk-3.0/3.18/sass/gtk-solid-darker.scss",
"chars": 251,
"preview": "$variant: 'light';\n$darker: 'true';\n$transparency: 'false';\n\n@import 'colors';\n@import 'drawing';\n@import 'common';\n@imp"
},
{
"path": "common/gtk-3.0/3.18/sass/gtk-solid.scss",
"chars": 252,
"preview": "$variant: 'light';\n$darker: 'false';\n$transparency: 'false';\n\n@import 'colors';\n@import 'drawing';\n@import 'common';\n@im"
},
{
"path": "common/gtk-3.0/3.18/sass/gtk.scss",
"chars": 251,
"preview": "$variant: 'light';\n$darker: 'false';\n$transparency: 'true';\n\n@import 'colors';\n@import 'drawing';\n@import 'common';\n@imp"
},
{
"path": "common/gtk-3.0/3.20/Makefile.am",
"chars": 1293,
"preview": "include ../common.am\n\nlight/gtk-main.css: gtk.css | light\n\tcp \"$<\" \"$@\"\nlight/gtk-main-dark.css: gtk-dark.css | light\n\tc"
},
{
"path": "common/gtk-3.0/3.20/assets.txt",
"chars": 2442,
"preview": "checkbox-checked\ncheckbox-checked-insensitive\ncheckbox-unchecked\ncheckbox-unchecked-insensitive\ncheckbox-mixed\ncheckbox-"
},
{
"path": "common/gtk-3.0/3.20/sass/_applications.scss",
"chars": 20734,
"preview": "//\n// Tab overrides\n//\n.gedit-bottom-panel-paned notebook,\nterminal-window notebook {\n > header.top > tabs > tab:checke"
},
{
"path": "common/gtk-3.0/3.20/sass/_budgie.scss",
"chars": 12217,
"preview": "// main container\n.budgie-container { background-color: transparent; }\n\n$menuitem_size: 28px;\n$medium_size: 32px;\n$large"
},
{
"path": "common/gtk-3.0/3.20/sass/_colors-public.scss",
"chars": 2887,
"preview": "//apps rely on some named colors to be exported\n\n// Sass thinks we're using the colors in the variables as strings and m"
},
{
"path": "common/gtk-3.0/3.20/sass/_colors.scss",
"chars": 5005,
"preview": "// When color definition differs for dark and light variant,\n// it gets @if ed depending on $variant\n\n$base_color: if($v"
},
{
"path": "common/gtk-3.0/3.20/sass/_common.scss",
"chars": 82504,
"preview": "@function gtkalpha($c,$a) {\n @return unquote(\"alpha(#{$c},#{$a})\");\n}\n\n$ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0"
},
{
"path": "common/gtk-3.0/3.20/sass/_drawing.scss",
"chars": 7793,
"preview": "// Drawing mixins\n\n// Solid color image\n@function _solid($c) {\n @return linear-gradient(to bottom, $c, $c);\n}\n\n// Entri"
},
{
"path": "common/gtk-3.0/3.20/sass/_granite.scss",
"chars": 3925,
"preview": "// Granite Widgets\n\n//\n// Overlay Bar\n//\n.overlay-bar {\n background-color: $selected_bg_color;\n border-color: $selecte"
},
{
"path": "common/gtk-3.0/3.20/sass/_lightdm.scss",
"chars": 2790,
"preview": "// the panel widget at the top\n#panel_window {\n background-color: $panel_bg;\n color: $panel_fg;\n font-weight: bold;\n "
},
{
"path": "common/gtk-3.0/3.20/sass/_transparent_widgets.scss",
"chars": 5245,
"preview": "//.nemo-window GtkEventBox { background-color: $bg_color; } // fixes nemo statusbar\n\n//.nemo-window,\n.nautilus-window {\n"
},
{
"path": "common/gtk-3.0/3.20/sass/_unity.scss",
"chars": 3758,
"preview": "// Decorations\nUnityDecoration {\n -UnityDecoration-extents: 28px 1 1 1;\n -UnityDecoration-input-extents: 10px;\n\n -Uni"
},
{
"path": "common/gtk-3.0/3.20/sass/gtk-dark.scss",
"chars": 268,
"preview": "$variant: 'dark';\n$darker: 'false';\n$transparency: 'true';\n\n@import 'colors';\n@import 'drawing';\n@import 'common';\n@impo"
},
{
"path": "common/gtk-3.0/3.20/sass/gtk-darker.scss",
"chars": 268,
"preview": "$variant: 'light';\n$darker: 'true';\n$transparency: 'true';\n\n@import 'colors';\n@import 'drawing';\n@import 'common';\n@impo"
},
{
"path": "common/gtk-3.0/3.20/sass/gtk-solid-dark.scss",
"chars": 269,
"preview": "$variant: 'dark';\n$darker: 'false';\n$transparency: 'false';\n\n@import 'colors';\n@import 'drawing';\n@import 'common';\n@imp"
},
{
"path": "common/gtk-3.0/3.20/sass/gtk-solid-darker.scss",
"chars": 269,
"preview": "$variant: 'light';\n$darker: 'true';\n$transparency: 'false';\n\n@import 'colors';\n@import 'drawing';\n@import 'common';\n@imp"
},
{
"path": "common/gtk-3.0/3.20/sass/gtk-solid.scss",
"chars": 270,
"preview": "$variant: 'light';\n$darker: 'false';\n$transparency: 'false';\n\n@import 'colors';\n@import 'drawing';\n@import 'common';\n@im"
},
{
"path": "common/gtk-3.0/3.20/sass/gtk.scss",
"chars": 269,
"preview": "$variant: 'light';\n$darker: 'false';\n$transparency: 'true';\n\n@import 'colors';\n@import 'drawing';\n@import 'common';\n@imp"
},
{
"path": "common/gtk-3.0/Makefile.am",
"chars": 292,
"preview": "if ENABLE_LIGHT\ngtk3theme_DATA = light/thumbnail.png\nendif\n\nif ENABLE_DARKER\ngtk3themedarker_DATA = light/thumbnail.png\n"
},
{
"path": "common/gtk-3.0/_colors.scss.thpl",
"chars": 5246,
"preview": "// When color definition differs for dark and light variant,\n// it gets @if ed depending on $variant\n$base_color: if($va"
},
{
"path": "common/gtk-3.0/common.am",
"chars": 1366,
"preview": "VPATH =\n\ntargets := $(shell cat $(srcdir)/assets.txt)\nnormal := $(patsubst %,assets/%.png,$(targets))\nhidpi := $(patsubs"
},
{
"path": "common/index/dark/index.theme",
"chars": 257,
"preview": "[Desktop Entry]\nType=X-GNOME-Metatheme\nName=Arc-Dark\nComment=A flat theme with transparent elements\nEncoding=UTF-8\n\n[X-G"
},
{
"path": "common/index/darker/index.theme",
"chars": 263,
"preview": "[Desktop Entry]\nType=X-GNOME-Metatheme\nName=Arc-Darker\nComment=A flat theme with transparent elements\nEncoding=UTF-8\n\n[X"
},
{
"path": "common/index/light/index.theme",
"chars": 242,
"preview": "[Desktop Entry]\nType=X-GNOME-Metatheme\nName=Arc\nComment=A flat theme with transparent elements\nEncoding=UTF-8\n\n[X-GNOME-"
},
{
"path": "common/metacity-1/metacity-theme-1-dark.xml",
"chars": 46577,
"preview": "<?xml version=\"1.0\"?>\n<metacity_theme>\n<info>\n\t<name>Arc</name>\n\t<author>horst3180</author>\n\t<copyright>horst3180</copyr"
},
{
"path": "common/metacity-1/metacity-theme-1.xml",
"chars": 46577,
"preview": "<?xml version=\"1.0\"?>\n<metacity_theme>\n<info>\n\t<name>Arc</name>\n\t<author>horst3180</author>\n\t<copyright>horst3180</copyr"
},
{
"path": "common/metacity-1/metacity-theme-2-dark.xml",
"chars": 46579,
"preview": "<?xml version=\"1.0\"?>\n<metacity_theme>\n<info>\n\t<name>Arc</name>\n\t<author>horst3180</author>\n\t<copyright>horst3180</copyr"
},
{
"path": "common/metacity-1/metacity-theme-2.xml",
"chars": 46578,
"preview": "<?xml version=\"1.0\"?>\n<metacity_theme>\n<info>\n\t<name>Arc</name>\n\t<author>horst3180</author>\n\t<copyright>horst3180</copyr"
},
{
"path": "common/metacity-1/metacity-theme-3.xml",
"chars": 63705,
"preview": "<?xml version=\"1.0\"?>\n<metacity_theme>\n<info>\n\t<name>Arc</name>\n\t<author>horst3180</author>\n\t<copyright>horst3180</copyr"
},
{
"path": "common/openbox/Arc/openbox-3/close.xbm",
"chars": 136,
"preview": "#define close_width 8\n#define close_height 8\nstatic unsigned char close_bits[] = {\n 0xc3, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e"
},
{
"path": "common/openbox/Arc/openbox-3/desk.xbm",
"chars": 157,
"preview": "#define desk_toggled_width 8\n#define desk_toggled_height 8\nstatic unsigned char desk_toggled_bits[] = {\n 0xe7, 0xe7, 0"
},
{
"path": "common/openbox/Arc/openbox-3/desk_toggled.xbm",
"chars": 133,
"preview": "#define desk_width 8\n#define desk_height 8\nstatic unsigned char desk_bits[] = {\n 0x04, 0x0e, 0x3f, 0x1e, 0x1c, 0x24, 0"
},
{
"path": "common/openbox/Arc/openbox-3/iconify.xbm",
"chars": 142,
"preview": "#define iconify_width 8\n#define iconify_height 8\nstatic unsigned char iconify_bits[] = {\n 0x00, 0x00, 0x00, 0xff, 0xff"
},
{
"path": "common/openbox/Arc/openbox-3/max.xbm",
"chars": 172,
"preview": "#define titlebutton_max_2_width 8\n#define titlebutton_max_2_height 8\nstatic unsigned char titlebutton_max_2_bits[] = {\n "
},
{
"path": "common/openbox/Arc/openbox-3/max_toggled.xbm",
"chars": 172,
"preview": "#define titlebutton_max_2_width 8\n#define titlebutton_max_2_height 8\nstatic unsigned char titlebutton_max_2_bits[] = {\n "
},
{
"path": "common/openbox/Arc/openbox-3/shade.xbm",
"chars": 136,
"preview": "#define shade_width 8\n#define shade_height 8\nstatic unsigned char shade_bits[] = {\n 0x18, 0x3c, 0x7e, 0xff, 0xdb, 0x18"
},
{
"path": "common/openbox/Arc/openbox-3/shade_toggled.xbm",
"chars": 160,
"preview": "#define shade_toggled_width 8\n#define shade_toggled_height 8\nstatic unsigned char shade_toggled_bits[] = {\n 0x18, 0x18"
},
{
"path": "common/openbox/Arc/openbox-3/themerc",
"chars": 4372,
"preview": "# Arc Openbox theme\n# Copyright (C) 2015 Dino Duratović <dinomol at mail dot com>\n#\n# Inspired by and made for horst3180"
},
{
"path": "common/openbox/Arc-Dark/openbox-3/close.xbm",
"chars": 136,
"preview": "#define close_width 8\n#define close_height 8\nstatic unsigned char close_bits[] = {\n 0xc3, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e"
},
{
"path": "common/openbox/Arc-Dark/openbox-3/desk.xbm",
"chars": 157,
"preview": "#define desk_toggled_width 8\n#define desk_toggled_height 8\nstatic unsigned char desk_toggled_bits[] = {\n 0xe7, 0xe7, 0"
},
{
"path": "common/openbox/Arc-Dark/openbox-3/desk_toggled.xbm",
"chars": 133,
"preview": "#define desk_width 8\n#define desk_height 8\nstatic unsigned char desk_bits[] = {\n 0x04, 0x0e, 0x3f, 0x1e, 0x1c, 0x24, 0"
},
{
"path": "common/openbox/Arc-Dark/openbox-3/iconify.xbm",
"chars": 142,
"preview": "#define iconify_width 8\n#define iconify_height 8\nstatic unsigned char iconify_bits[] = {\n 0x00, 0x00, 0x00, 0xff, 0xff"
},
{
"path": "common/openbox/Arc-Dark/openbox-3/max.xbm",
"chars": 172,
"preview": "#define titlebutton_max_2_width 8\n#define titlebutton_max_2_height 8\nstatic unsigned char titlebutton_max_2_bits[] = {\n "
},
{
"path": "common/openbox/Arc-Dark/openbox-3/max_toggled.xbm",
"chars": 172,
"preview": "#define titlebutton_max_2_width 8\n#define titlebutton_max_2_height 8\nstatic unsigned char titlebutton_max_2_bits[] = {\n "
},
{
"path": "common/openbox/Arc-Dark/openbox-3/shade.xbm",
"chars": 136,
"preview": "#define shade_width 8\n#define shade_height 8\nstatic unsigned char shade_bits[] = {\n 0x18, 0x3c, 0x7e, 0xff, 0xdb, 0x18"
},
{
"path": "common/openbox/Arc-Dark/openbox-3/shade_toggled.xbm",
"chars": 160,
"preview": "#define shade_toggled_width 8\n#define shade_toggled_height 8\nstatic unsigned char shade_toggled_bits[] = {\n 0x18, 0x18"
},
{
"path": "common/openbox/Arc-Dark/openbox-3/themerc",
"chars": 4372,
"preview": "# Arc Openbox theme\n# Copyright (C) 2015 Dino Duratović <dinomol at mail dot com>\n#\n# Inspired by and made for horst3180"
},
{
"path": "common/openbox/Arc-Darker/openbox-3/close.xbm",
"chars": 136,
"preview": "#define close_width 8\n#define close_height 8\nstatic unsigned char close_bits[] = {\n 0xc3, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e"
},
{
"path": "common/openbox/Arc-Darker/openbox-3/desk.xbm",
"chars": 157,
"preview": "#define desk_toggled_width 8\n#define desk_toggled_height 8\nstatic unsigned char desk_toggled_bits[] = {\n 0xe7, 0xe7, 0"
},
{
"path": "common/openbox/Arc-Darker/openbox-3/desk_toggled.xbm",
"chars": 133,
"preview": "#define desk_width 8\n#define desk_height 8\nstatic unsigned char desk_bits[] = {\n 0x04, 0x0e, 0x3f, 0x1e, 0x1c, 0x24, 0"
},
{
"path": "common/openbox/Arc-Darker/openbox-3/iconify.xbm",
"chars": 142,
"preview": "#define iconify_width 8\n#define iconify_height 8\nstatic unsigned char iconify_bits[] = {\n 0x00, 0x00, 0x00, 0xff, 0xff"
},
{
"path": "common/openbox/Arc-Darker/openbox-3/max.xbm",
"chars": 172,
"preview": "#define titlebutton_max_2_width 8\n#define titlebutton_max_2_height 8\nstatic unsigned char titlebutton_max_2_bits[] = {\n "
},
{
"path": "common/openbox/Arc-Darker/openbox-3/max_toggled.xbm",
"chars": 172,
"preview": "#define titlebutton_max_2_width 8\n#define titlebutton_max_2_height 8\nstatic unsigned char titlebutton_max_2_bits[] = {\n "
},
{
"path": "common/openbox/Arc-Darker/openbox-3/shade.xbm",
"chars": 136,
"preview": "#define shade_width 8\n#define shade_height 8\nstatic unsigned char shade_bits[] = {\n 0x18, 0x3c, 0x7e, 0xff, 0xdb, 0x18"
},
{
"path": "common/openbox/Arc-Darker/openbox-3/shade_toggled.xbm",
"chars": 160,
"preview": "#define shade_toggled_width 8\n#define shade_toggled_height 8\nstatic unsigned char shade_toggled_bits[] = {\n 0x18, 0x18"
},
{
"path": "common/openbox/Arc-Darker/openbox-3/themerc",
"chars": 4372,
"preview": "# Arc Openbox theme\n# Copyright (C) 2015 Dino Duratović <dinomol at mail dot com>\n#\n# Inspired by and made for horst3180"
},
{
"path": "common/xfwm4/Makefile.am",
"chars": 1302,
"preview": "VPATH =\n\ntargets := $(shell cat $(srcdir)/assets.txt)\nlight := $(patsubst %,light/assets/%.png,$(targets))\ndark := $(pat"
},
{
"path": "common/xfwm4/assets.txt",
"chars": 698,
"preview": "close-active\nclose-inactive\nclose-prelight\nclose-pressed\nhide-active\nhide-inactive\nhide-prelight\nhide-pressed\nmaximize-a"
},
{
"path": "common/xfwm4/dark/themerc",
"chars": 379,
"preview": "button_offset=2\nbutton_spacing=4\n\nshow_app_icon=true\n\nfull_width_title=true\n\ntitle_shadow_active=false\ntitle_shadow_inac"
},
{
"path": "common/xfwm4/light/themerc",
"chars": 379,
"preview": "button_offset=2\nbutton_spacing=4\n\nshow_app_icon=true\n\nfull_width_title=true\n\ntitle_shadow_active=false\ntitle_shadow_inac"
},
{
"path": "configure.ac",
"chars": 2989,
"preview": "AC_INIT(\n [arc-theme],\n [20190917],\n [https://github.com/arc-design/arc-theme/issues],\n [arc-theme],\n [ht"
},
{
"path": "extra/Arc-Plank/dock.theme",
"chars": 2479,
"preview": "# Arc theme for Plank\n# Author: Horst3180\n# Adapted from the default Plank theme\n\n[PlankDrawingTheme]\n#The roundness of "
},
{
"path": "extra/Makefile.am",
"chars": 610,
"preview": "ithemedir = $(DESTDIR)$(themedir)\nithemedarkerdir = $(DESTDIR)$(themedarkerdir)\nithemedarkdir = $(DESTDIR)$(them"
},
{
"path": "m4/arc-enable.m4",
"chars": 525,
"preview": "# ARC_ENABLE(VARIABLE, FEATURE, HELP-NAME, DISABLE/ENABLE)\n# -----------------------------------------------------------"
},
{
"path": "m4/arc-gnome-shell.m4",
"chars": 1833,
"preview": "# ARC_GNOME_SHELL()\n# ---------------\nAC_DEFUN([ARC_GNOME_SHELL], [\n GNOME_SHELL_DIR=\"$srcdir/common/gnome-shell\"\n "
},
{
"path": "m4/arc-gtk3.m4",
"chars": 1547,
"preview": "# ARC_GTK3()\n# ---------------\nAC_DEFUN([ARC_GTK3], [\n GTK3DIR=\"$srcdir/common/gtk-3.0\"\n PKG_PROG_PKG_CONFIG()\n "
},
{
"path": "mkrelease.sh",
"chars": 345,
"preview": "#!/bin/bash\nset -e\n\nVERSION=\"20190917\"\nNAME=\"arc-theme\"\ngit-archive-all.sh --format tar --prefix ${NAME}-${VERSION}/ --v"
},
{
"path": "package.json",
"chars": 108,
"preview": "{\n \"devDependencies\": {\n \"gulp\": \"~3.9.1\",\n \"gulp-sass\": \"~2.2.0\",\n \"gulp-rename\": \"~1.2.2\"\n }\n}\n"
},
{
"path": "scripts/darker.sh",
"chars": 661,
"preview": "#!/usr/bin/env bash\nset -ueo pipefail\n#set -x\n\ndarker_channel() {\n value=\"$1\"\n light_delta=\"$2\"\n result=\"$(bc <<< \"ib"
},
{
"path": "scripts/mix.sh",
"chars": 886,
"preview": "#!/usr/bin/env bash\nset -ueo pipefail\n#set -x\n\nmix_channel() {\n value1=\"$(printf '%03d' \"0x$1\")\"\n value2=\"$(printf '%0"
}
]
About this extraction
This page contains the full source code of the arc-design/arc-theme GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 134 files (996.4 KB), approximately 293.8k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.