UNPKG

@workday/canvas-kit-css-core

Version:

The core css for canvas-kit-css

234 lines (208 loc) • 7.36 kB
/* * Workday Canvas - canvas-kit-css-core v9.1.26 * Copyright 2019-2023 Workday, Inc. */ .wdc-depth-inset { box-shadow: inset 0px 0px 8px 0 rgba(82, 97, 115, 0.09); } .wdc-depth-1 { box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.08); } .wdc-depth-2 { box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.1); } .wdc-depth-3 { box-shadow: 0px 8px 16px 0 rgba(0, 0, 0, 0.12); } .wdc-depth-4 { border: 1px solid rgb(218, 226, 230); box-shadow: 0px 8px 16px 0 rgba(0, 0, 0, 0.12); } .wdc-type { font-family: "Roboto", "Helvetica Neue", "Helvetica", Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; margin: 0; font-size: 14px; font-weight: 400; line-height: 20px; color: #494949; } .wdc-type-data-viz-1 { font-size: 56px; font-weight: 300; line-height: 68px; color: #333333; } .wdc-type-data-viz-2 { font-size: 34px; font-weight: 300; line-height: 40px; color: #333333; } .wdc-type-h1 { font-weight: 500; font-size: 28px; line-height: 36px; color: #333333; } .wdc-type-h2 { font-weight: 700; font-size: 24px; line-height: 32px; color: #333333; } .wdc-type-h3 { font-weight: 700; font-size: 20px; line-height: 28px; color: #333333; } .wdc-type-h4 { font-weight: 700; font-size: 16px; line-height: 24px; color: #333333; } .wdc-type-h5 { font-weight: 400; font-size: 16px; line-height: 24px; color: #333333; } .wdc-type-body, .wdc-type-body-1 { font-size: 14px; font-weight: 400; line-height: 20px; color: #494949; } .wdc-type-body-2 { font-size: 14px; font-weight: 400; line-height: 20px; color: #494949; font-size: 13px; } .wdc-type-small { font-size: 12px; font-weight: 400; line-height: 16px; color: #494949; } .wdc-type-variant-label { font-weight: 500; } .wdc-type-variant-btn, .wdc-type-variant-button { font-weight: 500; } .wdc-type-variant-caps { font-weight: 500; text-transform: uppercase; } .wdc-type-variant-link { color: #0875e1; text-decoration: none; cursor: pointer; border-radius: 2px; display: inline-block; padding: 0 2px; margin: 0 -2px; transition: color 0.15s, background-color 0.15s; } .wdc-type-variant-link:hover { color: #005cb9; background: #f0f1f2; } .wdc-type-variant-link.wdc-type-variant-link-focus, .wdc-type-variant-link:focus { box-shadow: 0 0 0 2px #0875e1; } .wdc-type-variant-link:active { color: #004387; background: #f0f1f2; } .wdc-type-variant-hint { color: #5e6a75; } .wdc-type-variant-error { color: #de4721; } .wdc-type-variant-mono { font-family: "Roboto Mono", "Courier New", Courier, monospace; } .wdc-type-variant-inverse, .wdc-type-variant-white { color: #ffffff; } /* default styling before what-input executes */ .wdc-a11y a:not([tabindex="-1"]):focus, .wdc-a11y input:not([tabindex="-1"]):focus, .wdc-a11y button:not([tabindex="-1"]):focus, .wdc-a11y .wdc-type-variant-link:not([tabindex="-1"]):focus, .wdc-a11y area[href]:not([tabindex="-1"]):focus, .wdc-a11y iframe:not([tabindex="-1"]):focus, .wdc-a11y [contentEditable=true]:not([tabindex="-1"]):focus { text-decoration: none; outline: 2px solid #005cb9; } [data-whatinput=initial] .wdc-a11y a:not([tabindex="-1"]):focus, [data-whatinput=initial] .wdc-a11y input:not([tabindex="-1"]):focus, [data-whatinput=initial] .wdc-a11y button:not([tabindex="-1"]):focus, [data-whatinput=initial] .wdc-a11y .wdc-type-variant-link:not([tabindex="-1"]):focus, [data-whatinput=initial] .wdc-a11y area[href]:not([tabindex="-1"]):focus, [data-whatinput=initial] .wdc-a11y iframe:not([tabindex="-1"]):focus, [data-whatinput=initial] .wdc-a11y [contentEditable=true]:not([tabindex="-1"]):focus, [data-whatinput=initial].wdc-a11y a:not([tabindex="-1"]):focus, [data-whatinput=initial].wdc-a11y input:not([tabindex="-1"]):focus, [data-whatinput=initial].wdc-a11y button:not([tabindex="-1"]):focus, [data-whatinput=initial].wdc-a11y .wdc-type-variant-link:not([tabindex="-1"]):focus, [data-whatinput=initial].wdc-a11y area[href]:not([tabindex="-1"]):focus, [data-whatinput=initial].wdc-a11y iframe:not([tabindex="-1"]):focus, [data-whatinput=initial].wdc-a11y [contentEditable=true]:not([tabindex="-1"]):focus, [data-whatinput=mouse] .wdc-a11y a:not([tabindex="-1"]):focus, [data-whatinput=mouse] .wdc-a11y input:not([tabindex="-1"]):focus, [data-whatinput=mouse] .wdc-a11y button:not([tabindex="-1"]):focus, [data-whatinput=mouse] .wdc-a11y .wdc-type-variant-link:not([tabindex="-1"]):focus, [data-whatinput=mouse] .wdc-a11y area[href]:not([tabindex="-1"]):focus, [data-whatinput=mouse] .wdc-a11y iframe:not([tabindex="-1"]):focus, [data-whatinput=mouse] .wdc-a11y [contentEditable=true]:not([tabindex="-1"]):focus, [data-whatinput=mouse].wdc-a11y a:not([tabindex="-1"]):focus, [data-whatinput=mouse].wdc-a11y input:not([tabindex="-1"]):focus, [data-whatinput=mouse].wdc-a11y button:not([tabindex="-1"]):focus, [data-whatinput=mouse].wdc-a11y .wdc-type-variant-link:not([tabindex="-1"]):focus, [data-whatinput=mouse].wdc-a11y area[href]:not([tabindex="-1"]):focus, [data-whatinput=mouse].wdc-a11y iframe:not([tabindex="-1"]):focus, [data-whatinput=mouse].wdc-a11y [contentEditable=true]:not([tabindex="-1"]):focus, [data-whatinput=touch] .wdc-a11y a:not([tabindex="-1"]):focus, [data-whatinput=touch] .wdc-a11y input:not([tabindex="-1"]):focus, [data-whatinput=touch] .wdc-a11y button:not([tabindex="-1"]):focus, [data-whatinput=touch] .wdc-a11y .wdc-type-variant-link:not([tabindex="-1"]):focus, [data-whatinput=touch] .wdc-a11y area[href]:not([tabindex="-1"]):focus, [data-whatinput=touch] .wdc-a11y iframe:not([tabindex="-1"]):focus, [data-whatinput=touch] .wdc-a11y [contentEditable=true]:not([tabindex="-1"]):focus, [data-whatinput=touch].wdc-a11y a:not([tabindex="-1"]):focus, [data-whatinput=touch].wdc-a11y input:not([tabindex="-1"]):focus, [data-whatinput=touch].wdc-a11y button:not([tabindex="-1"]):focus, [data-whatinput=touch].wdc-a11y .wdc-type-variant-link:not([tabindex="-1"]):focus, [data-whatinput=touch].wdc-a11y area[href]:not([tabindex="-1"]):focus, [data-whatinput=touch].wdc-a11y iframe:not([tabindex="-1"]):focus, [data-whatinput=touch].wdc-a11y [contentEditable=true]:not([tabindex="-1"]):focus { text-decoration: none; outline: none; } [data-whatinput=keyboard] .wdc-a11y a:not([tabindex="-1"]):focus, [data-whatinput=keyboard] .wdc-a11y input:not([tabindex="-1"]):focus, [data-whatinput=keyboard] .wdc-a11y button:not([tabindex="-1"]):focus, [data-whatinput=keyboard] .wdc-a11y .wdc-type-variant-link:not([tabindex="-1"]):focus, [data-whatinput=keyboard] .wdc-a11y area[href]:not([tabindex="-1"]):focus, [data-whatinput=keyboard] .wdc-a11y iframe:not([tabindex="-1"]):focus, [data-whatinput=keyboard] .wdc-a11y [contentEditable=true]:not([tabindex="-1"]):focus, [data-whatinput=keyboard].wdc-a11y a:not([tabindex="-1"]):focus, [data-whatinput=keyboard].wdc-a11y input:not([tabindex="-1"]):focus, [data-whatinput=keyboard].wdc-a11y button:not([tabindex="-1"]):focus, [data-whatinput=keyboard].wdc-a11y .wdc-type-variant-link:not([tabindex="-1"]):focus, [data-whatinput=keyboard].wdc-a11y area[href]:not([tabindex="-1"]):focus, [data-whatinput=keyboard].wdc-a11y iframe:not([tabindex="-1"]):focus, [data-whatinput=keyboard].wdc-a11y [contentEditable=true]:not([tabindex="-1"]):focus { text-decoration: none; outline: 2px solid #005cb9; }