tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ui.rs (886B)


      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 
      7 use crate::values::computed::color::Color;
      8 use crate::values::computed::image::Image;
      9 use crate::values::computed::Number;
     10 use crate::values::generics::ui as generics;
     11 
     12 pub use crate::values::specified::ui::{
     13    BoolInteger, CursorKind, Inert, MozTheme, PointerEvents, UserFocus, UserSelect,
     14 };
     15 
     16 /// A computed value for the `cursor` property.
     17 pub type Cursor = generics::GenericCursor<CursorImage>;
     18 
     19 /// A computed value for item of `image cursors`.
     20 pub type CursorImage = generics::GenericCursorImage<Image, Number>;
     21 
     22 /// A computed value for `scrollbar-color` property.
     23 pub type ScrollbarColor = generics::GenericScrollbarColor<Color>;