houdini/client/css/global/buttons.css
Bradley M. Kuhn 847bc3864c Relicense all .css files as LGPL-3.0-or-later
The primary license of the project is changing to:
  AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later

The Additional Permission is designed to permit publicly distributed CSS to
be relicensed under LGPL-3.0-or-later, so we're also relicensing all CSS
files in the repository as LGPL-3.0-or-later, too.

This commit is one of the many steps to relicense the entire codebase.

Documentation granting permission for this relicensing (from all past
contributors who hold copyrights) is on file with Software Freedom
Conservancy, Inc.
2018-03-25 15:10:40 -04:00

40 lines
788 B
CSS

/* License: LGPL-3.0-or-later */
.btn,
button {
border-width: 2px;
border-style: solid;
border-color: var(--blue);
color: var(--blue);
background: white;
transition: color 100ms ease, background 100ms ease, border-color 100ms ease;
padding: .25em .5em;
}
.btn-main,
.btn:hover,
button:hover {
color: white;
background: var(--blue);
}
[data-ff-confirmation-button="yes"],
.btn-danger {
border-color: var(--red);
color: var(--red);
}
[data-ff-confirmation-button="yes"]:hover,
.btn-danger:hover {
background: var(--red);
}
.btn-main:hover {
border-color: color(var(--blue) l(40%));
background-color: color(var(--blue) l(40%));
}
.buttons [class*=btn]:last-of-type,
.buttons button:last-of-type {
border-radius: 0 3px 3px 0;
border-right-width: 2px;
}