UNPKG

@seniorsistemas/tecnologia-webcomponents

Version:

A webcomponents library for Senior Sistemas - Suite BPM products.

141 lines (133 loc) 4.25 kB
/* This file is injected on all components by stencil.config.ts */ /* design tokens */ /* Do not edit directly Generated on Mon, 29 Mar 2021 19:05:43 GMT */ @import url(https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Inter:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700;900&display=swap);@import url(https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Volkhov:wght@400;700&display=swap);@import url(https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&family=Oxygen+Mono&family=Roboto+Mono:wght@300;400;500;600;700&display=swap);.bg-default{background:#f6f8fa}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-2x1{font-size:1.5rem;line-height:2rem}.text-3x1{font-size:1.875rem;line-height:2.25rem}.text-4x1{font-size:2.25rem;line-height:2.5rem}.text-5x1{font-size:3rem;line-height:3rem}.text-6x1{font-size:3.75rem;line-height:3.75rem}.text-7x1{font-size:4.5rem;line-height:4.5rem}.text-8x1{font-size:6rem;line-height:6rem}.text-9x1{font-size:8rem;line-height:8rem}.text-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Roboto,Almarai,Inter,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-serif{font-family:ui-serif,Volkhov,Libre Baskerville,Georgia,serif,serif}.text-mono{font-family:ui-monospace,Fira Mono,Roboto Mono,Oxygen Mono,Consolas,monospace,monospace}.text-title{font-family:Inter,sans-serif} /* shared properties */ @import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;700&family=Open+Sans:wght@400;600&display=swap"); /** Generate 10 colors shades */ /* themes */ * { box-sizing: border-box; } :host([hidden]) { display: none; } :host([theme=light]) { --tecnologia-color-primary: #3c9bec; --tecnologia-color-secondary: #cbd0d8; --tecnologia-color-danger: #ec3c43; --tecnologia-color-success: #00c99a; --tecnologia-color-warning: #ff9800; } :host([theme=light]) .bg-primary { background-color: #3c9bec; } :host([theme=light]) .bg-secondary { background-color: #cbd0d8; } :host([theme=light]) .bg-danger { background-color: #ec3c43; } :host([theme=light]) .bg-success { background-color: #00c99a; } :host([theme=light]) .bg-warning { background-color: #ff9800; } :host([theme=dark]) { --tecnologia-color-primary: #7dbcf2; --tecnologia-color-secondary: #cbd0d8; --tecnologia-color-danger: #ec3c43; --tecnologia-color-success: #00c99a; --tecnologia-color-warning: #ff9800; } :host([theme=dark]) .bg-primary { background-color: #7dbcf2; } :host([theme=dark]) .bg-secondary { background-color: #cbd0d8; } :host([theme=dark]) .bg-danger { background-color: #ec3c43; } :host([theme=dark]) .bg-success { background-color: #00c99a; } :host([theme=dark]) .bg-warning { background-color: #ff9800; } :host { display: block; } :host * { outline: none; } :host([theme=dark]) input { color: #f6f8fa; background: #212121; border: none; } :host([theme=dark]) input:focus { box-shadow: 0 0 15px rgba(22, 22, 22, 0.87); border: 2px solid #3c9bec; } :host([theme=dark]) input::placeholder { color: #9ea2a8; } :host([theme=light]) input { color: #434548; } .wrapper { display: flex; flex-direction: row; justify-content: center; } .wrapper input { width: 7rem; height: 9rem; font-weight: 500; border-radius: 3px; border: 1px solid #e2e8f0; text-align: center; transition: 200ms ease-in; box-shadow: 0 0 7px rgba(73, 73, 73, 0.061); } .wrapper input.use-margin { margin: 0 0.5rem 0 0.5rem; } .wrapper input:focus { box-shadow: 0 0 15px rgba(56, 56, 56, 0.233); border: 2px solid #2e61ec; } .wrapper input::placeholder { color: #cbd0d8; } @media (max-width: 1024px) { .responsive input { width: 6rem; height: 8rem; font-size: 6rem; } } @media (max-width: 768px) { .responsive input { width: 5rem; height: 7rem; font-size: 3rem; } } @media (max-width: 640px) { .responsive input { width: 3.5rem; height: 5rem; font-size: 1.875rem; line-height: 0; } }