Files
Umbraco-CMS/src/Umbraco.Web.UI.Client/src/less/components/buttons/umb-era-button.less
2017-02-27 15:39:47 +01:00

113 lines
1.8 KiB
Plaintext

.umb-era-button {
display: flex;
justify-content: center;
align-items: center;
font-size: 14px;
height: 38px;
line-height: 1;
max-width: 100%;
padding: 0 18px;
color: #202129;
background-color: #edeeee;
text-decoration: none !important;
user-select: none;
white-space: nowrap;
overflow: hidden;
border-radius: 3px;
border: 0 none;
box-sizing: border-box;
cursor: pointer;
transition: background-color 80ms ease, color 80ms ease;
font-weight: bold;
}
.umb-era-button:hover,
.umb-era-button:active {
color: #484848;
background-color: #e1e2e2;
outline: none;
text-decoration: none;
}
.umb-era-button:focus {
outline: none;
}
.umb-era-button.-blue {
background: @blue;
color: white;
}
.umb-era-button.-blue:hover {
background-color: @blueDark;
}
.umb-era-button.-red {
background: @btnDangerBackground;
color: white;
}
.umb-era-button.-red:hover {
background-color: darken(@btnDangerBackground, 5%);
}
.umb-era-button.-green {
background: @green;
color: @white;
}
.umb-era-button.-green:hover {
background-color: @green-d1;
}
.umb-era-button.-link {
padding: 0;
background: transparent;
}
.umb-era-button.-link:hover {
background-color: transparent;
opacity: .6;
}
.umb-era-button.-inactive {
cursor: not-allowed;
color: #BBB;
background: #EAE7E7;
}
.umb-era-button.-inactive:hover {
color: #BBB;
background: #EAE7E7;
}
.umb-era-button.-full-width {
display: block;
width: 100%;
}
.umb-era-button.umb-button--s {
height: 30px;
font-size: 13px;
}
.umb-era-button.-white {
background-color: @white;
&:hover {
opacity: .9;
}
}
.umb-era-button.-text-black {
color: @black;
}
/* icons */
.umb-era-button i {
margin-right: 5px;
}