diff --git a/src/scss/cdb-components/shapes/views.scss b/src/scss/cdb-components/shapes/views.scss new file mode 100644 index 0000000..5fbd24c --- /dev/null +++ b/src/scss/cdb-components/shapes/views.scss @@ -0,0 +1,161 @@ +/* SG +# Shapes/Mode Carousel + +Description + +``` +
+

+

+
+

+
+ +
+
+ +
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+ +``` +*/ + +@import '../../cdb-variables/colors'; +@import '../../cdb-utilities/mixins'; + + +.ModeCarousel-Map { + border-radius: 1px; + background: $cHighlight; +} + +.ModeCarousel-Map--embed { + width: 27px; + height: 12px; + margin: 2px 0; +} + +.ModeCarousel-Map--mobile { + height: 24px; + margin: 1px 0; +} + +.ModeCarousel-Map--desktop { + height: 15px; + margin: 3px 5px; +} + +.ModeCarousel { + position: relative; + border: 1px solid $cSecondaryLine; + border-radius: 2px; + background: $cWhite; + box-sizing: border-box; +} + +.ModeCarousel--embed, +.ModeCarousel--desktop { + width: 56px; + height: 32px; +} + +.ModeCarousel--embed { + padding: 3px 4px; +} + +.ModeCarousel--mobile { + width: 18px; + height: 34px; + padding: 2px 2px 3px; +} + +.ModeCarousel-Embed-text { + height: 2px; + margin-top: 1px; + background: $cMainLine; +} +.ModeCarousel-Embed-text--01 { + width: 37px; +} +.ModeCarousel-Embed-text--02 { + width: 27px; +} + +.ModeCarousel-Mobile-microphone { + width: 2px; + height: 2px; + margin: 0 auto; + border-radius: 50%; + background: $cMainLine; +} +.ModeCarousel-Mobile-camera, +.ModeCarousel-Mobile-speaker { + display: inline-block; + background: $cMainLine; + vertical-align: top; +} +.ModeCarousel-Mobile-header { + height: 1px; + text-align: center; +} +.ModeCarousel-Mobile-camera { + width: 1px; + height: 1px; + border-radius: 50%; +} +.ModeCarousel-Mobile-speaker { + width: 4px; + height: 1px; + margin-left: -2px; + border-radius: 50px; +} + +.ModeCarousel-Desktop-header { + box-sizing: border-box; + height: 8px; + padding: 2px 4px; + border-top-left-radius: 2px; + border-top-right-radius: 2px; + background: #DDD; +} +.ModeCarousel-Desktop-headerItems { + display: inline-block; + width: 3px; + height: 3px; + border-radius: 50%; + vertical-align: top; + margin-left: -2px; +} + +.ModeCarousel-Desktop-headerItems--1 { + background: $cError; +} +.ModeCarousel-Desktop-headerItems--2 { + background: $cAlert; +} +.ModeCarousel-Desktop-headerItems--3 { + background: #8FB83F; +} + + + + + diff --git a/src/scss/cdb-components/shapes/widgets.scss b/src/scss/cdb-components/shapes/widgets.scss index 1887941..9c965b9 100644 --- a/src/scss/cdb-components/shapes/widgets.scss +++ b/src/scss/cdb-components/shapes/widgets.scss @@ -131,8 +131,8 @@ Description .ShapeCarousel-histogram { position: absolute; - top: 7px; - left: 7px; + top: 5px; + left: 5px; } .ShapeCarousel-histogram-title { @@ -166,9 +166,9 @@ Description .ShapeCarousel-category { position: absolute; - top: 6px; - right: 6px; - left: 6px; + top: 5px; + right: 5px; + left: 5px; } .ShapeCarousel-category-title { @@ -204,8 +204,8 @@ Description .ShapeCarousel-formula { position: absolute; top: 5px; - left: 7px; - width: 40px; + right: 6px; + left: 6px; } .ShapeCarousel-formula-title { @@ -232,8 +232,8 @@ Description .ShapeCarousel-timeSeries { position: absolute; - top: 0; - left: 7px; + top: -1px; + left: 6px; width: 40px; } @@ -253,7 +253,7 @@ Description @include inline-block(); width: 0; height: 0; - border: 4px solid transparent; + border: 3px solid transparent; border-left: 5px solid #979EA1; }