From 676270d21beed31d767a06c89522198c77d5d865 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 20 Sep 2017 16:15:18 -0400 Subject: Initial commit --- www/lib/ionic/scss/_items.scss | 825 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 825 insertions(+) create mode 100644 www/lib/ionic/scss/_items.scss (limited to 'www/lib/ionic/scss/_items.scss') diff --git a/www/lib/ionic/scss/_items.scss b/www/lib/ionic/scss/_items.scss new file mode 100644 index 00000000..d545e644 --- /dev/null +++ b/www/lib/ionic/scss/_items.scss @@ -0,0 +1,825 @@ +/** + * Items + * -------------------------------------------------- + */ + +.item { + @include item-style($item-default-bg, $item-default-border, $item-default-text); + + position: relative; + z-index: $z-index-item; // Make sure the borders and stuff don't get hidden by children + display: block; + + margin: $item-border-width * -1; + padding: $item-padding; + + border-width: $item-border-width; + border-style: solid; + font-size: $item-font-size; + + h2 { + margin: 0 0 2px 0; + font-size: 16px; + font-weight: normal; + } + h3 { + margin: 0 0 4px 0; + font-size: 14px; + } + h4 { + margin: 0 0 4px 0; + font-size: 12px; + } + h5, h6 { + margin: 0 0 3px 0; + font-size: 10px; + } + p { + color: #666; + font-size: 14px; + margin-bottom: 2px; + } + + h1:last-child, + h2:last-child, + h3:last-child, + h4:last-child, + h5:last-child, + h6:last-child, + p:last-child { + margin-bottom: 0; + } + + // Align badges within items + .badge { + @include display-flex(); + position: absolute; + top: $item-padding; + right: ($item-padding * 2); + } + &.item-button-right .badge { + right: ($item-padding * 2) + 35; + } + &.item-divider .badge { + top: ceil($item-padding / 2); + } + .badge + .badge { + margin-right: 5px; + } + + // Different themes for items + &.item-light { + @include item-style($item-light-bg, $item-light-border, $item-light-text); + } + &.item-stable { + @include item-style($item-stable-bg, $item-stable-border, $item-stable-text); + } + &.item-positive { + @include item-style($item-positive-bg, $item-positive-border, $item-positive-text); + } + &.item-calm { + @include item-style($item-calm-bg, $item-calm-border, $item-calm-text); + } + &.item-assertive { + @include item-style($item-assertive-bg, $item-assertive-border, $item-assertive-text); + } + &.item-balanced { + @include item-style($item-balanced-bg, $item-balanced-border, $item-balanced-text); + } + &.item-energized { + @include item-style($item-energized-bg, $item-energized-border, $item-energized-text); + } + &.item-royal { + @include item-style($item-royal-bg, $item-royal-border, $item-royal-text); + } + &.item-dark { + @include item-style($item-dark-bg, $item-dark-border, $item-dark-text); + } + + &[ng-click]:hover { + cursor: pointer; + } + +} + +.list-borderless .item, +.item-borderless { + border-width: 0; +} + +// Link and Button Active States +.item.active, +.item.activated, +.item-complex.active .item-content, +.item-complex.activated .item-content, +.item .item-content.active, +.item .item-content.activated { + @include item-active-style($item-default-active-bg, $item-default-active-border); + + // Different active themes for and