diff options
author | Israel Lavi <il0695@att.com> | 2018-08-07 10:54:17 +0300 |
---|---|---|
committer | Israel Lavi <il0695@att.com> | 2018-08-07 11:06:44 +0300 |
commit | b2a3acea0d0f66028c9ce5fad02d4ecc64abf70c (patch) | |
tree | 8d70110f34cb845965c42a5915e950bca967d2c3 /components/menu | |
parent | 05b37297177e8a342668c15e5d6f738b51f7aedd (diff) |
Initial commit.
Adding files needed for Linux Foundation.
Change-Id: I9f2b4851a5ae01f83800c7f8bab8608a2221c730
Issue-ID: SDC-1608
Signed-off-by: Israel Lavi <il0695@att.com>
Diffstat (limited to 'components/menu')
-rw-r--r-- | components/menu/_menu.scss | 68 | ||||
-rw-r--r-- | components/menu/popup-menu.html | 8 | ||||
-rw-r--r-- | components/menu/relative-popup-menu.html | 8 |
3 files changed, 0 insertions, 84 deletions
diff --git a/components/menu/_menu.scss b/components/menu/_menu.scss deleted file mode 100644 index fe32f32..0000000 --- a/components/menu/_menu.scss +++ /dev/null @@ -1,68 +0,0 @@ -.sdc-menu-list { - position: static; - @include box-sizing; - @include box-shadow(0 2px 4px 0 rgba($black, 0.3)); - @include border-radius(2px); - border: 1px solid $light-gray; - border-top: solid 3px $blue; - background: $white; - min-width: 150px; - width: -webkit-max-content; - width: -moz-max-content; - width: max-content; - - .sdc-menu-item:not(.separator) { - @include body-1; - height: 40px; - color: $dark-gray; - padding: 0 12px; - display: flex; - align-items: center; - - svg { - margin-right: 16px; - g, path { - fill: $dark-gray; - } - } - - &:hover { - &:not(.disabled) { - cursor: pointer; - &:not(.selected) { - background: $light-silver; - color: $text-black; - g, path { - fill: $dark-gray; - } - } - } - } - - &.disabled { - color: $gray; - g, path { - fill: $light-gray; - } - } - - &.selected { - background: $lighter-blue; - color: $light-blue; - g, path { - fill: $dark-gray; - } - } - } - - &.relative { - position: relative; - } - - .separator { - cursor: default; - border-top: 1px solid $silver; - margin: 0 0; - height: 0; - } -} diff --git a/components/menu/popup-menu.html b/components/menu/popup-menu.html deleted file mode 100644 index f4f1cbd..0000000 --- a/components/menu/popup-menu.html +++ /dev/null @@ -1,8 +0,0 @@ - -<ul class="sdc-menu-list static"> - <li class="sdc-menu-item selected">item 1 (selected)</li> - <li class="sdc-menu-item disabled">item 2</li> - <li class="separator"/> - <li class="sdc-menu-item">item 3</li> - <li class="sdc-menu-item">custom action</li> -</ul>
\ No newline at end of file diff --git a/components/menu/relative-popup-menu.html b/components/menu/relative-popup-menu.html deleted file mode 100644 index e5a5449..0000000 --- a/components/menu/relative-popup-menu.html +++ /dev/null @@ -1,8 +0,0 @@ -<div class="sdc-popup-menu"> - <ul class="sdc-menu-list relative" style="top: 10px; left: 10px;"> - <li class="sdc-menu-item selected">item 1 (selected)</li> - <li class="sdc-menu-item disabled">item 2</li> - <li class="separator"/> - <li class="sdc-menu-item">item 3</li> - </ul> -</div>
\ No newline at end of file |