Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function addCssToHead(cssRules) {
- var styleElement = document.createElement('style');
- styleElement.textContent = cssRules;
- document.head.appendChild(styleElement);
- }
- var css = ` #next.cs-button.btn {
- border-radius: 50px !important;
- border: 0.5px solid rgba(255, 255, 255, 0.349) !important;
- background-color: rgb(12, 12, 12) !important;
- margin: 0 !important;
- display: flex !important;
- align-items: center !important;
- justify-content: center !important;
- overflow: hidden !important;
- position: relative !important;
- transition: background-color 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
- margin: none !important;
- }
- #next.cs-button.btn .view-content {
- width: 100% !important;
- position: relative !important;
- }
- #next.cs-button.btn .btn-icon {
- width: 30px !important;
- height: 30px !important;
- background: linear-gradient(to bottom, rgb(255, 136, 255), rgb(172, 70, 255)) !important;
- border-radius: 50% !important;
- display: flex !important;
- align-items: center !important;
- justify-content: center !important;
- position: absolute !important;
- left: 0 !important;
- z-index: 2 !important;
- transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-radius 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
- }
- #next.cs-button.btn .cs-icon.next-icon {
- width: 10px !important;
- height: 18px !important;
- fill: white !important;
- border-radius: 1px !important;
- transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
- }
- #next.cs-button.btn .text {
- height: 100% !important;
- margin-left: 10px !important;
- width: 60px !important;
- display: flex !important;
- align-items: center !important;
- justify-content: center !important;
- color: white !important;
- z-index: 1 !important;
- transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), font-size 0.5s ease, opacity 0.5s ease !important;
- }
- #next.cs-button.btn:hover .btn-icon {
- width: 100% !important;
- border-radius: 50px !important;
- transition-duration: 0.5s !important;
- }
- #next.cs-button.btn:hover .text {
- transform: translateX(20px) !important;
- width: 0 !important;
- font-size: 0 !important;
- opacity: 0 !important;
- transition-duration: 0.5s !important;
- }
- #next.cs-button.btn:hover .cs-icon.next-icon {
- transform: scale(1.2) !important;
- }
- #next.cs-button.btn.cs-disabled {
- opacity: 0.6 !important;
- cursor: not-allowed !important;
- }
- #next.cs-button.btn.cs-disabled .btn-icon {
- background: linear-gradient(to bottom, rgb(180, 180, 180), rgb(120, 120, 120)) !important;
- }
- #next.cs-button.btn.cs-disabled:hover .btn-icon {
- width: 30px !important;
- }
- #next.cs-button.btn.cs-disabled:hover .text {
- transform: none !important;
- width: 60px !important;
- font-size: 1.04em !important;
- }
- #next.cs-button.btn.cs-disabled:active {
- transform: none !important;
- }
- #next.cs-button.btn .text {
- margin-left: 25px !important;
- margin-right: 0px !important;
- } `;
- addCssToHead(css);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement