UNPKG

@fishtank/fishtank-vue

Version:
333 lines (315 loc) 9.72 kB
body.user-is-tabbing button:focus { box-shadow: 0 0 0 2px #0D9DDB; } .ft-baseButton { font-size: 1rem; line-height: 1.5rem; font-family: open sans, arial, sans-serif; font-weight: 600; padding: 7px 11px 9px 11px; height: 2.5rem; } .ft-baseButtonSm { font-size: 0.75rem; line-height: 1rem; font-family: open sans, arial, sans-serif; font-weight: 600; padding: 7px 11px 9px 11px; height: 2.5rem; } .ft-button { font-size: 1rem; line-height: 1.5rem; font-family: open sans, arial, sans-serif; font-weight: 600; padding: 7px 11px 9px 11px; height: 2.5rem; box-sizing: border-box; border-radius: 2px; border-width: 1px; border-style: solid; outline: none; } .ft-button:active, .ft-button:hover { cursor: pointer; } .ft-button:active:disabled, .ft-button:hover:disabled { cursor: default; box-shadow: none; } .ft-button:active { box-shadow: none; } .ft-button--block { display: block; width: 100%; } .ft-button--primary { background-color: #3DA774; border-color: #30855C; color: #FFFFFF; box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 8px 8px -8px rgba(61, 167, 116, 0.5), 0 10px 15px -8px rgba(0, 0, 0, 0.2); } .ft-button--primary:disabled { box-shadow: none; } .ft-button--primary:hover { box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 8px 8px -8px rgba(61, 167, 116, 0.6), 0 10px 15px -8px rgba(0, 0, 0, 0.3); } .ft-button--primary:hover { background-color: #49B88B; } .ft-button--primary:active { background-color: #399E6E; box-shadow: none; } .ft-button--primary:disabled { opacity: 0.4; } .ft-button--primary:disabled:hover { background-color: #3DA774; } .ft-button--secondary { background-color: #EDF2F5; border-color: #C5CACD; color: #505558; font-weight: 400; box-shadow: inset 0 -1px 0 0px rgba(0, 0, 0, 0.08), inset 0 1px 0 0px rgba(255, 255, 255, 0.5), 0 3px 1px -2px rgba(237, 242, 245, 0.5), 0 4px 3px -2px rgba(0, 0, 0, 0.15); } .ft-button--secondary:hover { background-color: #F6F8FA; color: #292E31; box-shadow: inset 0 -1px 0 0px rgba(0, 0, 0, 0.08), inset 0 1px 0 0px rgba(255, 255, 255, 0.5), 0 3px 1px -2px rgba(237, 242, 245, 0.6), 0 4px 3px -2px rgba(0, 0, 0, 0.2); } .ft-button--secondary:active { background-color: #E0E5E8; box-shadow: none; } .ft-button--secondary:disabled { color: #C5CACD; border-color: #C5CACD; background-color: #EDF2F5; box-shadow: none; } .ft-button--secondary:disabled:hover { background-color: #EDF2F5; } .ft-button--destructive { background-color: #E1483E; border-color: #B43931; color: #FFFFFF; box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 8px 8px -8px rgba(225, 72, 62, 0.5), 0 10px 15px -8px rgba(0, 0, 0, 0.2); } .ft-button--destructive:disabled { box-shadow: none; } .ft-button--destructive:hover { box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 8px 8px -8px rgba(225, 72, 62, 0.6), 0 10px 15px -8px rgba(0, 0, 0, 0.3); } .ft-button--destructive:hover { background-color: #E7564A; } .ft-button--destructive:active { background-color: #D5443A; box-shadow: none; } .ft-button--destructive:disabled { opacity: 0.4; } .ft-button--destructive:disabled:hover { background-color: #E1483E; } .ft-button--wrapper { padding: 2px; border-radius: 4px; box-sizing: border-box; display: inline-block; } .ft-button--white { background-color: #FFFFFF; border-color: #EDF2F5; color: #777C7F; box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 8px 8px -8px rgba(255, 255, 255, 0.5), 0 10px 15px -8px rgba(0, 0, 0, 0.2); } .ft-button--white:disabled { box-shadow: none; } .ft-button--white:hover { box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 8px 8px -8px rgba(255, 255, 255, 0.6), 0 10px 15px -8px rgba(0, 0, 0, 0.3); } .ft-button--white:hover { color: #292E31; } .ft-button--white:active { background-color: #EDF2F5; box-shadow: none; } .ft-button--white:disabled { opacity: 0.4; } .ft-button--white:disabled:hover { background-color: #C5CACD; color: #C5CACD; } .ft-button--gradient { border: none; background-color: #FFFFFF; color: #777C7F; } .ft-button--gradient:hover { background: transparent; color: #FFFFFF; } .ft-button--gradient:disabled { opacity: 0.4; } .ft-button--gradient:disabled:hover { background-color: #777C7F; } .ft-button--gradient:active { background-color: rgba(0, 0, 0, 0.3); border-color: rgba(0, 0, 0, 0.3); } .ft-button--outline { background-color: none; border-color: #777C7F; border-width: 2px; color: #777C7F; } .ft-button--outline:hover { color: #FFFFFF; background-color: #777C7F; } .ft-button--outline:disabled { color: #C5CACD; border-color: #C5CACD; } .ft-button--outline:disabled:hover { background-color: transparent; } .ft-button--outline:active { background-color: #505558; border-color: #505558; } .ft-button--fab-wrapper { position: fixed; right: 50px; bottom: 50px; z-index: 49; display: flex; flex-direction: center; align-items: center; border-color: #3DA774; background-color: none; text-align: center; } .ft-button--fab-wrapper .ft-button--fab { position: relative; z-index: 50; background-color: #292E31; border-image: transparent; width: 56px; height: 56px; border-radius: 50%; font-size: 6em; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.3); transition: all 1s ease-in-out; } .ft-button--fab-wrapper .ft-button--fab:hover { transform: scale(1.25); box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); } .ft-button--fab-wrapper svg { fill: #FFFFFF; } .ft-button--fab-wrapper svg path { fill: #FFFFFF; } .ft-button--fab-wrapper:hover ul { transition: 0.5s ease-in; bottom: 50px; opacity: 1; } .ft-button--fab-wrapper:hover ul li p { right: 70px; opacity: 1; transition: 0.3s ease-in; } .ft-button--fab-wrapper p, .ft-button--fab-wrapper a { text-decoration: none; color: #FFFFFF; } .ft-button--fab-wrapper ul { opacity: 0; list-style-type: none; padding: 0px; width: 100%; position: absolute; z-index: 49; bottom: 0px; margin-bottom: 0; padding-bottom: 12px; display: flex; flex-direction: column-reverse; justify-content: center; align-items: center; transition: all 0.15s ease-in-out; } .ft-button--fab-wrapper li { background: #777C7F; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 12px; position: relative; font-size: 2em; display: flex; flex-direction: column; justify-content: center; align-self: center; box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3); transition: all .5s ease-in-out; } .ft-button--fab-wrapper li:hover { box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); transform: scale(1.25); } .ft-button--fab-wrapper li svg { align-self: center; } .ft-button--fab-wrapper li a { height: 100%; width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; } .ft-button--fab-wrapper li p { opacity: 0; color: #292E31; font-size: 0.5em; position: absolute; z-index: 499; right: 0px; top: -12px; height: 100%; display: flex; flex-direction: column; justify-content: center; align-self: center; text-align: left; } .ft-button--feature-label { padding: 0px; margin: 0px; height: 100%; background-color: transparent; border-color: transparent; border-radius: 4px; color: #777C7F; display: flex; flex-direction: row; justify-content: center; align-items: center; } .ft-button--feature-label:hover { color: #292E31; background-color: #EDF2F5; } .ft-button--feature-label:hover svg { fill: #292E31; } .ft-button--feature-label:active { color: #292E31; background-color: #E0E5E8; } .ft-button--feature-label:disabled { color: #C5CACD; background: transparent; } .ft-button--feature-label p { margin: 0px; padding: 0px 4px; font-size: 14px; font-weight: 600; letter-spacing: 0.1px; line-height: 20px; } .ft-button--outline-dark { background-color: transparent; border-color: #FFFFFF; border-width: 2px; color: #FFFFFF; } .ft-button--outline-dark:hover { color: #505558; background-color: #FFFFFF; } .ft-button--outline-dark:disabled { color: #505558; border-color: #505558; } .ft-button--outline-dark:disabled:hover { background-color: transparent; } .ft-button--outline-dark:active { background-color: #E0E5E8; border-color: #E0E5E8; } .ft-button--outline-small { height: 24px; border-width: 1px; padding: 1px 8px 2px 8px; line-height: 20px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1px; text-align: center; } .hvr-grow { display: inline-block; vertical-align: middle; transform: translateZ(0); box-shadow: 0 0 1px rgba(0, 0, 0, 0); backface-visibility: hidden; -moz-osx-font-smoothing: grayscale; transition-duration: 0.3s; transition-property: transform; } .hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active { transform: scale(1.1); }