From 58cda9cc7fb79ca9df6746de7f9662bc08dc156a Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Fri, 13 Oct 2017 12:29:40 +0200 Subject: initial commit --- src/styles/content-tabs.scss | 52 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/styles/content-tabs.scss (limited to 'src/styles/content-tabs.scss') diff --git a/src/styles/content-tabs.scss b/src/styles/content-tabs.scss new file mode 100644 index 000000000..aa3c8594b --- /dev/null +++ b/src/styles/content-tabs.scss @@ -0,0 +1,52 @@ +@import './config.scss'; + +.content-tabs { + .content-tabs__tabs { + display: flex; + border-top-left-radius: $theme-border-radius-small; + border-top-right-radius: $theme-border-radius-small; + overflow: hidden; + + .content-tabs__item { + padding: 10px; + flex: 1; + // border: 1px solid $theme-gray-lightest; + color: $theme-gray-dark; + background: $theme-gray-lightest; + border-bottom: 1px solid $theme-gray-lighter; + box-shadow: inset 0px -3px 10px rgba(black, 0.05); + transition: all $theme-transition-time; + + &.is-active { + background: $theme-brand-primary; + color: #FFF; + border-bottom: 1px solid $theme-brand-primary; + box-shadow: none; + } + } + } + + .content-tabs__content { + padding: 20px 20px; + border-bottom-left-radius: $theme-border-radius-small; + border-bottom-right-radius: $theme-border-radius-small; + background: $theme-gray-lightest; + + .content-tabs__item { + top: 0; + display: none; + + &.is-active { + display: block; + } + } + + .franz-form__input-wrapper { + background: #FFF; + } + + .franz-form__field:last-of-type { + margin-bottom: 0; + } + } +} -- cgit v1.2.3-70-g09d2