UNPKG

plumes

Version:

Flying-fast Metro future vision components

176 lines (175 loc) 5.22 kB
@-webkit-keyframes pl-button-indicator-show { 0% { -webkit-transform: scale(0); } 100% { -webkit-transform: scale(1); } } @-moz-keyframes pl-button-indicator-show { 0% { -moz-transform: scale(0); } 100% { -moz-transform: scale(1); } } @-ms-keyframes pl-button-indicator-show { 0% { -ms-transform: scale(0); } 100% { -ms-transform: scale(1); } } @-o-keyframes pl-button-indicator-show { 0% { -o-transform: scale(0); } 100% { -o-transform: scale(1); } } @keyframes pl-button-indicator-show { 0% { transform: scale(0); } 100% { transform: scale(1); } } .pl-button-indicator { cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; position: relative; top: -0.5em; width: 5rem; height: 5rem; -webkit-border-radius: 50%; -moz-border-radius: 50%; -ms-border-radius: 50%; -o-border-radius: 50%; border-radius: 50%; overflow: hidden; border: none; border-radius: 0; padding: 0; margin: 0; -webkit-animation: pl-button-indicator-show 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); -moz-animation: pl-button-indicator-show 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); -ms-animation: pl-button-indicator-show 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); -o-animation: pl-button-indicator-show 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); animation: pl-button-indicator-show 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); -webkit-transition: all 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); -moz-transition: all 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); -ms-transition: all 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); -o-transition: all 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); transition: all 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); } .pl-button-indicator .pl-button-indicator-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 3rem; -webkit-transition: all 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); -moz-transition: all 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); -ms-transition: all 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); -o-transition: all 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); transition: all 0.55s cubic-bezier(0.165, 0.84, 0.44, 1); } .pl-button-indicator .pl-button-indicator-image, .pl-button-indicator .pl-button-indicator-image:hover, .pl-button-indicator .pl-button-indicator-notification-picture { position: absolute; top: 0.5rem; left: 0.5rem; height: 4rem; width: 4rem; border: none; border-radius: 50%; background-size: cover; background-position: 50%; background-repeat: no-repeat; -webkit-transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1); -moz-transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1); -ms-transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1); -o-transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1); transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1); } .pl-button-indicator .pl-button-indicator-image.hide, .pl-button-indicator .pl-button-indicator-image:hover.hide, .pl-button-indicator .pl-button-indicator-notification-picture.hide { opacity: 0; } .pl-button-indicator .pl-button-indicator-notification-picture { opacity: 0; } .pl-button-indicator .pl-button-indicator-notification-message { opacity: 0; position: absolute; top: 0.9rem; left: 10rem; width: 17.5rem; white-space: normal; text-align: left; color: white; text-transform: none; font-weight: 400; font-size: 1.2rem; line-height: 1.4; -webkit-transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); -moz-transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); -ms-transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); -o-transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); } .pl-button-indicator .pl-button-indicator-notification-message strong { font-weight: 600; } .pl-button-indicator .pl-button-indicator-number { opacity: 0; position: absolute; right: 0; bottom: 0; box-sizing: border-box; min-width: 2rem; height: 2rem; line-height: 2; color: white; border-radius: 1em; padding: 0 0.4rem; -webkit-transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); -moz-transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); -ms-transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); -o-transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); } .pl-button-indicator .pl-button-indicator-number.showed { opacity: 1; } .pl-button-indicator.opened { width: 25rem; } .pl-button-indicator.opened .pl-button-indicator-image, .pl-button-indicator.opened .pl-button-indicator-image:hover, .pl-button-indicator.opened .pl-button-indicator-notification-picture { -webkit-transform: rotate(-360deg); -moz-transform: rotate(-360deg); -ms-transform: rotate(-360deg); -o-transform: rotate(-360deg); transform: rotate(-360deg); } .pl-button-indicator.opened .pl-button-indicator-notification-message { opacity: 1; left: 5.5rem; } .pl-button-indicator.opened .pl-button-indicator-notification-picture { opacity: 1; }