UNPKG

glide-design-system

Version:

Glide design system is an open-source React component library. It offers numerous benefits that make them essential tools for design and development teams.

117 lines (114 loc) 2.31 kB
.buttonPrimary { border-radius: 5px; box-sizing: border-box; font-family: "Roboto", sans-serif; font-weight: 400; text-align: center; line-height: normal; text-transform: capitalize; font-size: 16px; cursor: pointer; display: flex; padding: 10px 16px; min-width: auto; height: 36px; justify-content: center; position: relative; align-items: center; } .buttonSecondary { border-radius: 5px; box-sizing: border-box; font-family: "Roboto", sans-serif; font-weight: 400; text-align: center; line-height: normal; text-transform: capitalize; cursor: pointer; display: flex; padding: 10px 16px; min-width: auto; justify-content: center; position: relative; align-items: center; } .buttonPrimary:hover { opacity: 0.9 !important; color: #ffffff !important; } .buttonSecondary:hover { background-color: #e2e2e2 !important; color: #7f7f7f !important; } .buttonIcon { width: 16px; height: 16px; display: flex; align-items: center; } .buttonPrimary:disabled { background-color: #77bbeb; cursor: not-allowed; } .buttonPrimary:disabled:hover { background-color: #77bbeb; } .buttonSecondary:disabled { background-color: #e2e2e2; cursor: not-allowed; } .buttonSecondary:disabled:hover { background-color: #e2e2e2; } .primaryLoader { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #ffffff; border-top: 2px solid #1b80c9; animation: spin 1s linear infinite; transform: translate(-50%, -50%); justify-content: center; align-items: center; top: 50%; left: 50%; } .secondaryLoader { display: inline-block; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #7f7f7f; border-top: 2px solid #ffffff; animation: spin 1s linear infinite; transform: translate(-50%, -50%); justify-content: center; align-items: center; top: 50%; left: 50%; } .buttonParentContainer { padding: 0.1px; } .buttonChildren { display: flex; gap: 6px; justify-content: center; align-items: center; text-align: center; } @keyframes spin { 0% { transform: translate(-50%, -50%) rotate(0deg); opacity: 0.5; } 50% { opacity: 1; } 100% { transform: translate(-50%, -50%) rotate(360deg); opacity: 0.5; } }