Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHANGE nest Css module under Ui namespace #62

Merged
merged 1 commit into from
Feb 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/Css.elm → source/Ui/Css.elm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Css exposing (..)
module Ui.Css exposing (..)

import Html exposing (text)
import Regex
Expand Down
6 changes: 3 additions & 3 deletions source/Css/Properties.elm → source/Ui/Css/Properties.elm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Css.Properties exposing (..)
module Ui.Css.Properties exposing (..)

import Css exposing (Node, property)
import Ui.Css exposing (Node, property)

type alias Transition =
{ easing : String
Expand Down Expand Up @@ -498,7 +498,7 @@ maxWidth =

userSelect : String -> Node
userSelect value =
Css.mixin
Ui.Css.mixin
[ property "-webkit-user-select" value
, property "-moz-user-select" value
, property "-ms-user-select" value
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles.elm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Ui.Styles exposing (Style, apply, attributes)
import Html.Attributes exposing (attribute)
import Html

import Css exposing (Node, resolve)
import Ui.Css exposing (Node, resolve)
import Lazy exposing (Lazy)
import Json.Encode as Json
import Native.Styles
Expand Down Expand Up @@ -52,6 +52,6 @@ attributes node =
id = Murmur3.hashString 0 (toString node)
in
{ value =
resolve [ Css.selector ("[style-id='" ++ (toString id) ++ "']") [ node ] ]
resolve [ Ui.Css.selector ("[style-id='" ++ (toString id) ++ "']") [ node ] ]
, id = id
}
4 changes: 2 additions & 2 deletions source/Ui/Styles/Breadcrumbs.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Breadcrumbs exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Button.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Button exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Ripple as Ripple
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/ButtonGroup.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.ButtonGroup exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Calendar.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Calendar exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Checkbox.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Checkbox exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Chooser.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Chooser exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/ColorFields.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.ColorFields exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/ColorPanel.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.ColorPanel exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/ColorPicker.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.ColorPicker exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Picker as Picker
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Container.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Container exposing (style, defaultStyle)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles exposing (Style)
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/DatePicker.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.DatePicker exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Picker as Picker
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Dropdown.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Dropdown exposing (..)

@docs style
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/DropdownMenu.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.DropdownMenu exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Fab.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Fab exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/FileInput.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.FileInput exposing (..)

@docs style, styleDetails, defaultStyle, defaultStyleDetails
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Header.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Header exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/IconButton.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.IconButton exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Button as Button
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Image.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Image exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles exposing (Style)
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/InplaceInput.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.InplaceInput exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Input.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Input exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Layout.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Layout exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Loader.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Loader exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
6 changes: 3 additions & 3 deletions source/Ui/Styles/Mixins.elm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ module Ui.Styles.Mixins exposing (..)
@docs placeholder, defaults, focused, focusedIdle, ellipsis, disabled
@docs disabledColors, disabledCursor, readonlyCursor, readonly
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Regex
Expand Down Expand Up @@ -74,7 +74,7 @@ focused theme =
ellipsis : Node
ellipsis =
mixin
[ textOverflow Css.Properties.ellipsis
[ textOverflow Ui.Css.Properties.ellipsis
, whiteSpace nowrap
, overflow hidden
]
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Modal.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Modal exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/NotificationCenter.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.NotificationCenter exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/NumberPad.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.NumberPad exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/NumberRange.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.NumberRange exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Pager.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Pager exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Picker.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Picker exposing (..)

@docs style
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Dropdown as Dropdown
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Ratings.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Ratings exposing (..)

@docs style, defaultStyle
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

import Ui.Styles.Theme as Theme exposing (Theme)
import Ui.Styles.Mixins as Mixins
Expand Down
4 changes: 2 additions & 2 deletions source/Ui/Styles/Ripple.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Ui.Styles.Ripple exposing (style)

@docs style
-}
import Css.Properties exposing (..)
import Css exposing (..)
import Ui.Css.Properties exposing (..)
import Ui.Css exposing (..)

{-| Returns the style node for the ripple effect.
-}
Expand Down
Loading