@fishtank/fishtank-vue
Version:
Fish Tank VueJS Component Module
92 lines (80 loc) • 2.3 kB
CSS
.ft-buttongroup--is-focused, .ft-buttongroup__button--is-focused {
box-shadow: 0 0 0 2px #0D9DDB;
border-radius: 2px; }
.ft-buttongroup__button--small.ft-buttongroup--is-focused {
border-radius: 4px; }
.ft-buttongroup {
display: flex;
width: 100%;
color: #505558;
justify-content: space-between;
box-sizing: border-box; }
.ft-buttongroup__button {
flex: 1 0 0;
text-align: center;
box-sizing: border-box;
border-top-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-width: 0px;
border-style: solid;
border-color: #C5CACD;
background-color: #EDF2F5;
/*transition: all 0.1s ease;*/
overflow: hidden;
height: 40px; }
.ft-buttongroup__button:first-of-type {
border-radius: 2px 0px 0px 2px; }
.ft-buttongroup__button:last-of-type {
border-right-width: 1px;
border-radius: 0 2px 2px 0; }
.ft-buttongroup__button:hover {
background-color: #F6F8FA;
color: #292E31; }
.ft-buttongroup__button--disabled {
color: #C5CACD; }
.ft-buttongroup__button--disabled:hover {
cursor: default;
color: #C5CACD;
background-color: #EDF2F5; }
.ft-buttongroup__button--small {
height: 28px; }
.ft-buttongroup__button--small:first-of-type {
border-radius: 4px 0px 0px 4px; }
.ft-buttongroup__button--small:last-of-type {
border-right-width: 1px;
border-radius: 0 4px 4px 0; }
.ft-buttongroup__button__input {
cursor: pointer;
opacity: 0;
width: 100%;
height: 100%; }
.ft-buttongroup__button__input:disabled {
cursor: not-allowed; }
.ft-buttongroup__button__label {
position: relative;
display: inline-block;
height: 100%;
width: 100%;
font-weight: 400;
font-size: 1rem;
line-height: 1.5rem;
letter-spacing: 0rem;
font-family: open sans, arial, sans-serif;
cursor: pointer; }
.ft-buttongroup__button__label-content {
padding: 7px 0.75rem 9px 0.75rem; }
.ft-buttongroup__button__label-content--small {
font-size: 0.875rem;
font-weight: 600;
line-height: 1.25rem;
letter-spacing: 0.00625rem;
padding: 3px 0.5rem 5px 0.5rem; }
.ft-buttongroup__button__input {
position: absolute;
left: 0;
top: 0; }
.ft-buttongroup__button--active, .ft-buttongroup__button--active:hover {
color: #FFFFFF;
background-color: #0D9DDB;
border-color: #0A7DAF; }