@visa/nova-styles
Version:
Visa Product Design System Nova HTML+CSS library
18 lines (17 loc) • 4.17 kB
CSS
/**
* © 2025-2026 Visa
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
**/
@layer base{:root{--elevation-offset-x: 0;--elevation-offset-y: 0;--elevation-blur-radius: 0;--elevation-spread: 0;--elevation-color: var(--palette-default-transparent);--elevation-none-offset-x: 0;--elevation-none-offset-y: 0;--elevation-none-blur-radius: 0;--elevation-none-spread: 0;--elevation-none-color: var(--palette-default-transparent);--elevation-none: var(--elevation-none-offset-x) var(--elevation-none-offset-y) var(--elevation-none-blur-radius) var(--elevation-none-spread) var(--elevation-none-color);--elevation-inset-offset-x: 0;--elevation-inset-offset-y: 0;--elevation-inset-blur-radius: 4px;--elevation-inset-spread: 0;--elevation-inset-color: var(--palette-default-disabled);--elevation-inset: inset var(--elevation-inset-offset-x) var(--elevation-inset-offset-y) var(--elevation-inset-blur-radius) var(--elevation-inset-spread) var(--elevation-inset-color);--elevation-xsmall-offset-x: 0;--elevation-xsmall-offset-y: 1px;--elevation-xsmall-blur-radius: 3px;--elevation-xsmall-spread: 0;--elevation-xsmall-color: var(--palette-default-disabled);--elevation-xsmall: var(--elevation-xsmall-offset-x) var(--elevation-xsmall-offset-y) var(--elevation-xsmall-blur-radius) var(--elevation-xsmall-spread) var(--elevation-xsmall-color);--elevation-small-offset-x: 0;--elevation-small-offset-y: 2px;--elevation-small-blur-radius: 6px;--elevation-small-spread: -1px;--elevation-small-color: var(--palette-default-disabled);--elevation-small: var(--elevation-small-offset-x) var(--elevation-small-offset-y) var(--elevation-small-blur-radius) var(--elevation-small-spread) var(--elevation-small-color);--elevation-medium-offset-x: 0;--elevation-medium-offset-y: 4px;--elevation-medium-blur-radius: 15px;--elevation-medium-spread: -1px;--elevation-medium-color: var(--palette-default-disabled);--elevation-medium: var(--elevation-medium-offset-x) var(--elevation-medium-offset-y) var(--elevation-medium-blur-radius) var(--elevation-medium-spread) var(--elevation-medium-color);--elevation-large-offset-x: 0;--elevation-large-offset-y: 10px;--elevation-large-blur-radius: 18px;--elevation-large-spread: -3px;--elevation-large-color: var(--palette-default-disabled);--elevation-large: var(--elevation-large-offset-x) var(--elevation-large-offset-y) var(--elevation-large-blur-radius) var(--elevation-large-spread) var(--elevation-large-color);--elevation-xlarge-offset-x: 0;--elevation-xlarge-offset-y: 20px;--elevation-xlarge-blur-radius: 25px;--elevation-xlarge-spread: -5px;--elevation-xlarge-color: var(--palette-default-disabled);--elevation-xlarge: var(--elevation-xlarge-offset-x) var(--elevation-xlarge-offset-y) var(--elevation-xlarge-blur-radius) var(--elevation-xlarge-spread) var(--elevation-xlarge-color);--elevation-xxlarge-offset-x: 0;--elevation-xxlarge-offset-y: 25px;--elevation-xxlarge-blur-radius: 50px;--elevation-xxlarge-spread: -12px;--elevation-xxlarge-color: var(--palette-default-disabled);--elevation-xxlarge: var(--elevation-xxlarge-offset-x) var(--elevation-xxlarge-offset-y) var(--elevation-xxlarge-blur-radius) var(--elevation-xxlarge-spread) var(--elevation-xxlarge-color)}}@layer utilities{.v-elevation-none{box-shadow:var(--elevation-none)}.v-elevation-inset{box-shadow:var(--elevation-inset)}.v-elevation-xsmall{box-shadow:var(--elevation-xsmall)}.v-elevation-small{box-shadow:var(--elevation-small)}.v-elevation-medium{box-shadow:var(--elevation-medium)}.v-elevation-large{box-shadow:var(--elevation-large)}.v-elevation-xlarge{box-shadow:var(--elevation-xlarge)}.v-elevation-xxlarge{box-shadow:var(--elevation-xxlarge)}}