style/values/computed/
ui.rs

1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5//! Computed values for UI properties
6
7use crate::values::computed::color::Color;
8use crate::values::computed::image::Image;
9use crate::values::computed::Number;
10use crate::values::generics::ui as generics;
11
12pub use crate::values::specified::ui::{
13    BoolInteger, CursorKind, Inert, MozTheme, PointerEvents, UserFocus, UserSelect,
14};
15
16/// A computed value for the `cursor` property.
17pub type Cursor = generics::GenericCursor<CursorImage>;
18
19/// A computed value for item of `image cursors`.
20pub type CursorImage = generics::GenericCursorImage<Image, Number>;
21
22/// A computed value for `scrollbar-color` property.
23pub type ScrollbarColor = generics::GenericScrollbarColor<Color>;