gsy-component-library
Version:
reusable components from grid singularity
171 lines (170 loc) • 6.26 kB
CSS
@import url("https://fonts.googleapis.com/css?family=Lato:300,400,700");
@import url("https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,700");
/* VERBUND THEME */
.button {
display: inline-block;
padding: 12px 22px;
border: 0;
border-radius: 2px;
cursor: pointer;
transition: color .1s, background-color .1s;
font-size: 12px; }
.theme-d3a .button {
color: #fff;
font-family: "Lato", sans-serif;
font-weight: 100; }
.theme-verbund .button {
color: #fff;
font-family: "Roboto", sans-serif;
font-weight: 100; }
.button.settings {
position: absolute;
right: 0;
top: 0;
width: 175px;
line-height: 44px;
text-align: left;
font-size: 14px;
color: rgba(255, 255, 255, 0.73); }
.button.settings:hover {
color: white; }
.theme-d3a .button:hover {
box-shadow: 5px 5px 0 0 rgba(9, 21, 25, 0.25); }
.theme-verbund .button:hover {
box-shadow: 5px 5px 0 0 rgba(9, 21, 25, 0.25); }
.button[disabled] {
opacity: .5;
cursor: not-allowed; }
.theme-d3a .button--primary {
background-color: #553581; }
.theme-d3a .button--primary:hover {
background-color: #69459b; }
.theme-d3a .button--primary:active {
background-color: #69459b;
box-shadow: none; }
.theme-verbund .button--primary {
background-color: #553581; }
.theme-verbund .button--primary:hover {
background-color: #69459b; }
.theme-verbund .button--primary:active {
background-color: #69459b;
box-shadow: none; }
.theme-d3a .button--cta, .theme-d3a .button--secondary {
color: #fff;
background-color: rgba(0, 0, 0, 0.05);
border: solid 1px #a666ff;
box-shadow: none; }
.theme-d3a .button--cta:hover, .theme-d3a .button--secondary:hover {
background-color: rgba(255, 255, 255, 0.05); }
.theme-d3a .button--cta:active, .theme-d3a .button--secondary:active {
background-color: rgba(255, 255, 255, 0.1); }
.theme-verbund .button--cta, .theme-verbund .button--secondary {
color: #fff;
background-color: rgba(0, 0, 0, 0.05);
border: solid 1px #a666ff;
box-shadow: none; }
.theme-verbund .button--cta:hover, .theme-verbund .button--secondary:hover {
background-color: rgba(255, 255, 255, 0.05); }
.theme-verbund .button--cta:active, .theme-verbund .button--secondary:active {
background-color: rgba(255, 255, 255, 0.1); }
.button--cta .button__label {
position: relative;
display: inline-block;
padding-right: 15px; }
.button--cta .button__label::after {
content: '';
display: block;
position: absolute;
top: calc(50% - 5px);
right: -5px;
width: 0;
height: 0;
border: solid transparent;
border-width: 5px; }
.theme-d3a .button--cta .button__label::after {
border-left-color: #a666ff; }
.theme-verbund .button--cta .button__label::after {
border-left-color: #a666ff; }
.button--icon {
display: flex;
flex-direction: column;
align-items: center; }
.theme-d3a .button--icon {
background-color: transparent; }
.theme-verbund .button--icon {
background-color: transparent; }
.button--icon .button__icon {
border-radius: 50%;
padding: 5px;
margin-bottom: 5px; }
.theme-d3a .button--icon .button__icon {
background-color: rgba(0, 0, 0, 0.05);
border: solid 1px #a666ff; }
.theme-verbund .button--icon .button__icon {
background-color: rgba(0, 0, 0, 0.05);
border: solid 1px #a666ff; }
.button--icon .button__icon svg {
width: 22px;
height: 22px; }
.theme-d3a .button--icon .button__icon svg {
fill: #a666ff; }
.theme-verbund .button--icon .button__icon svg {
fill: #a666ff; }
.theme-d3a .button--icon:active, .theme-d3a .button--icon:hover {
box-shadow: none; }
.theme-verbund .button--icon:active, .theme-verbund .button--icon:hover {
box-shadow: none; }
.theme-d3a .button--icon:active .button__icon, .theme-d3a .button--icon:hover .button__icon {
box-shadow: 5px 5px 0 0 rgba(9, 21, 25, 0.25);
background-color: rgba(255, 255, 255, 0.1); }
.theme-verbund .button--icon:active .button__icon, .theme-verbund .button--icon:hover .button__icon {
box-shadow: 5px 5px 0 0 rgba(9, 21, 25, 0.25);
background-color: rgba(255, 255, 255, 0.1); }
.button--icon:active .button__label, .button--icon:hover .button__label {
text-decoration: underline; }
.button--verbund-primary, .button--verbund-secondary {
border-radius: 4px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
padding: 0 22px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
position: relative; }
.button--verbund-primary {
min-width: 175px;
font-size: 16px;
font-weight: 300;
line-height: 60px; }
.theme-d3a .button--verbund-primary:hover {
box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); }
.theme-d3a .button--verbund-primary:active {
box-shadow: none; }
.theme-verbund .button--verbund-primary {
background-color: #24A98E; }
.theme-verbund .button--verbund-primary:hover {
background-color: #10BC8D;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); }
.theme-verbund .button--verbund-primary:active {
background-color: #10BC8D;
box-shadow: none; }
.button--verbund-secondary {
font-size: 16px;
line-height: 60px;
width: 100%; }
.theme-d3a .button--verbund-secondary {
border: 1px solid;
background-color: rgba(255, 255, 255, 0.05); }
.theme-d3a .button--verbund-secondary:hover {
box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); }
.theme-d3a .button--verbund-secondary:active {
box-shadow: none; }
.theme-verbund .button--verbund-secondary {
border: 1px solid #24A98E;
background-color: rgba(255, 255, 255, 0.05); }
.theme-verbund .button--verbund-secondary:hover {
box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); }
.theme-verbund .button--verbund-secondary:active {
box-shadow: none; }
.button--verbund-secondary .button__icon {
position: absolute;
right: 14.23px;
height: 100%;
top: 0; }