/* You can add global styles to this file, and also import other style files */ $ionicons-font-path: "~ionicons/dist/fonts"; @import "~ionicons/dist/scss/ionicons.scss"; :root { --brand-blue: #007bcc; --brand-yellow: #f79319; --grey: #9a9a9a; --dark-grey: #666666; } * { font-family: 'Roboto', sans-serif; box-sizing: border-box; margin: 0; padding: 0; outline: none; } a { text-decoration: none; cursor: pointer; } button { cursor: pointer; } .rect-button { border-radius: 5px; background-color: var(--brand-blue); color: white; border: 0px; height: 40px; font-size: 16px; padding: 0 15px; letter-spacing: 0.5px; } .round-button { padding: 0 20px; border-radius: 20px; background-color: #cecece; color: white; font-size: 13px; letter-spacing: 1px; height: 30px; border: 0px; } .widget-heading-holder { width: 90%; margin: 30px auto 0; display: flex; justify-content: space-between; header { font-size: 20px; color: var(--dark-grey); font-weight: 500; letter-spacing: 0.5px; } } .popup { position: fixed; width: 100%; height: 100%; left: 0; top: 0; z-index: 2; background-color: rgba(black, 0.8); display: flex; align-items: center; justify-content: center; transition: opacity 0.3s; transform: scale(0); opacity: 0; &.active { opacity: 1; transform: scale(1); .popup-box { transform: scale(1); } } .popup-box { background-color: white; border-radius: 10px; padding: 50px; text-align: center; transform: scale(0); transition: transform 0.3s; transition-delay: 0.3s; header { font-size: 16px; font-weight: 500; letter-spacing: 1px; } select { margin: 20px 0; width: 300px; padding: 10px; border-radius: 10px; font-size: 14px; color: var(--dark-grey); letter-spacing: 1px; } .action-buttons { button { margin: 0 10px; &:first-child { background-color: white; border: 1px solid var(--brand-blue); color: var(--brand-blue); } } } } } .toggle { position: relative; border-radius: 20px; background-color: #cecece; width: 50px; height: 20px; display: flex; align-items: center; margin: 0 auto; transition: background-color 0.4s; &.on { background-color: #8cc63f; .knob { transform: translateX(calc(50px - 18px)); } } .knob { width: 16px; height: 16px; border-radius: 50%; background-color: white; position: relative; transition: transform 0.4s; transform: translateX(2px); } }