@charset "UTF-8"; /*! * * bttn.css - https://ganapativs.github.io/bttn.css * Version - 0.2.4 * Demo: https://bttn.surge.sh * * Licensed under the MIT license - http://opensource.org/licenses/MIT * * Copyright (c) 2016 Ganapati V S (@ganapativs) * */ /* standalone - .bttn-pill */ .bttn-default { color: #fff; } .bttn-primary, .bttn, .bttn-lg, .bttn-md, .bttn-sm, .bttn-xs { color: #1d89ff; } .bttn-warning { color: #feab3a; } .bttn-danger { color: #ff5964; } .bttn-success { color: #28b78d; } .bttn-royal { color: #bd2df5; } .bttn, .bttn-lg, .bttn-md, .bttn-sm, .bttn-xs { margin: 0; padding: 0; border-width: 0; border-color: transparent; background: transparent; font-weight: 400; cursor: pointer; position: relative; } .bttn-lg { padding: 8px 15px; font-size: 24px; font-family: inherit; } .bttn-md { font-size: 20px; font-family: inherit; padding: 5px 12px; } .bttn-sm { padding: 4px 10px; font-size: 16px; font-family: inherit; } .bttn-xs { padding: 3px 8px; font-size: 12px; font-family: inherit; } .bttn-pill { margin: 0; padding: 0; border-width: 0; border-color: transparent; background: transparent; font-weight: 400; cursor: pointer; position: relative; font-size: 20px; font-family: inherit; padding: 5px 12px; z-index: 0; overflow: hidden; border: none; border-radius: 100px; background: #fff; color: #1d89ff; -webkit-transition: all 0.3s cubic-bezier(0.02, 0.01, 0.47, 1); transition: all 0.3s cubic-bezier(0.02, 0.01, 0.47, 1); } .bttn-pill:before, .bttn-pill:after { position: absolute; right: 0; bottom: 0; width: 100px; height: 100px; border-radius: 50%; background: #1d89ff; content: ''; opacity: 0; -webkit-transition: opacity 0.15s cubic-bezier(0.02, 0.01, 0.47, 1), -webkit-transform 0.15s cubic-bezier(0.02, 0.01, 0.47, 1); transition: opacity 0.15s cubic-bezier(0.02, 0.01, 0.47, 1), -webkit-transform 0.15s cubic-bezier(0.02, 0.01, 0.47, 1); transition: transform 0.15s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.15s cubic-bezier(0.02, 0.01, 0.47, 1); transition: transform 0.15s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.15s cubic-bezier(0.02, 0.01, 0.47, 1), -webkit-transform 0.15s cubic-bezier(0.02, 0.01, 0.47, 1); z-index: -1; -webkit-transform: translate(100%, -25%) translate3d(0, 0, 0); transform: translate(100%, -25%) translate3d(0, 0, 0); } .bttn-pill:hover, .bttn-pill:focus { box-shadow: 0 1px 8px rgba(58,51,53,0.3); color: #fff; -webkit-transition: all 0.5s cubic-bezier(0.02, 0.01, 0.47, 1); transition: all 0.5s cubic-bezier(0.02, 0.01, 0.47, 1); -webkit-transform: scale(1.1) translate3d(0, 0, 0); transform: scale(1.1) translate3d(0, 0, 0); } .bttn-pill:hover:before, .bttn-pill:focus:before { opacity: 0.15; -webkit-transition: opacity 0.2s cubic-bezier(0.02, 0.01, 0.47, 1), -webkit-transform 0.2s cubic-bezier(0.02, 0.01, 0.47, 1); transition: opacity 0.2s cubic-bezier(0.02, 0.01, 0.47, 1), -webkit-transform 0.2s cubic-bezier(0.02, 0.01, 0.47, 1); transition: transform 0.2s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.2s cubic-bezier(0.02, 0.01, 0.47, 1); transition: transform 0.2s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.2s cubic-bezier(0.02, 0.01, 0.47, 1), -webkit-transform 0.2s cubic-bezier(0.02, 0.01, 0.47, 1); -webkit-transform: translate3d(50%, 0, 0) scale(0.9); transform: translate3d(50%, 0, 0) scale(0.9); } .bttn-pill:hover:after, .bttn-pill:focus:after { opacity: 0.25; -webkit-transition: opacity 0.2s 0.05s cubic-bezier(0.02, 0.01, 0.47, 1), -webkit-transform 0.2s 0.05s cubic-bezier(0.02, 0.01, 0.47, 1); transition: opacity 0.2s 0.05s cubic-bezier(0.02, 0.01, 0.47, 1), -webkit-transform 0.2s 0.05s cubic-bezier(0.02, 0.01, 0.47, 1); transition: transform 0.2s 0.05s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.2s 0.05s cubic-bezier(0.02, 0.01, 0.47, 1); transition: transform 0.2s 0.05s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.2s 0.05s cubic-bezier(0.02, 0.01, 0.47, 1), -webkit-transform 0.2s 0.05s cubic-bezier(0.02, 0.01, 0.47, 1); -webkit-transform: translate(50%, 0) scale(1.1); transform: translate(50%, 0) scale(1.1); } .bttn-pill.bttn-xs { padding: 3px 8px; font-size: 12px; font-family: inherit; } .bttn-pill.bttn-xs:hover, .bttn-pill.bttn-xs:focus { box-shadow: 0 1px 4px rgba(58,51,53,0.3); } .bttn-pill.bttn-sm { padding: 4px 10px; font-size: 16px; font-family: inherit; } .bttn-pill.bttn-sm:hover, .bttn-pill.bttn-sm:focus { box-shadow: 0 1px 6px rgba(58,51,53,0.3); } .bttn-pill.bttn-md { font-size: 20px; font-family: inherit; padding: 5px 12px; } .bttn-pill.bttn-md:hover, .bttn-pill.bttn-md:focus { box-shadow: 0 1px 8px rgba(58,51,53,0.3); } .bttn-pill.bttn-lg { padding: 8px 15px; font-size: 24px; font-family: inherit; } .bttn-pill.bttn-lg:hover, .bttn-pill.bttn-lg:focus { box-shadow: 0 1px 10px rgba(58,51,53,0.3); } .bttn-pill.bttn-default { background: #fff; color: #1d89ff; } .bttn-pill.bttn-default:hover, .bttn-pill.bttn-default:focus { color: #1d89ff; } .bttn-pill.bttn-default:before, .bttn-pill.bttn-default:after { background: #1d89ff; } .bttn-pill.bttn-primary { background: #1d89ff; color: #fff; } .bttn-pill.bttn-primary:hover, .bttn-pill.bttn-primary:focus { color: #fff; } .bttn-pill.bttn-primary:before, .bttn-pill.bttn-primary:after { background: #fff; } .bttn-pill.bttn-warning { background: #feab3a; color: #fff; } .bttn-pill.bttn-warning:hover, .bttn-pill.bttn-warning:focus { color: #fff; } .bttn-pill.bttn-warning:before, .bttn-pill.bttn-warning:after { background: #fff; } .bttn-pill.bttn-danger { background: #ff5964; color: #fff; } .bttn-pill.bttn-danger:hover, .bttn-pill.bttn-danger:focus { color: #fff; } .bttn-pill.bttn-danger:before, .bttn-pill.bttn-danger:after { background: #fff; } .bttn-pill.bttn-success { background: #28b78d; color: #fff; } .bttn-pill.bttn-success:hover, .bttn-pill.bttn-success:focus { color: #fff; } .bttn-pill.bttn-success:before, .bttn-pill.bttn-success:after { background: #fff; } .bttn-pill.bttn-royal { background: #bd2df5; color: #fff; } .bttn-pill.bttn-royal:hover, .bttn-pill.bttn-royal:focus { color: #fff; } .bttn-pill.bttn-royal:before, .bttn-pill.bttn-royal:after { background: #fff; }