{"version":3,"sources":["../scss/02_atoms/_avatar.scss","00_helpers/mixins/_font-style.scss","00_helpers/variables/_fonts.scss","00_helpers/mixins/_avatar.scss","00_helpers/variables/_colors.scss","02_atoms/_avatar.scss"],"names":[],"mappings":"AAAA;EACE,yBAAmB;EAAnB,2BAAmB;EAAnB,sBAAmB;EAAnB,mBAAmB;EACnB,kBAAkB;EAClB,sBAAsB;EACtB,oBAAa;EAAb,qBAAa;EAAb,oBAAa;EAAb,aAAa;EACb,wBAAuB;EAAvB,+BAAuB;EAAvB,qBAAuB;EAAvB,uBAAuB;EACvB,gBAAgB;EAChB,kBAAkB,EAAA;EAPpB;IAWI,kBAAkB,EAAA;EAXtB;IAeI,oBAAiB;IAAjB,iBAAiB;IACjB,UAAU,EAAA;;AAId;ECQE,oDCXmE;EDYnE,eCuDiB;EDtDjB,yBCwD2B;EDvD3B,iBCsDmB;EF/DnB,aAAsB;EACtB,gBAAgB;EAChB,YAAY,EAAA;;AAGd;ECCE,oDCXmE;EDYnE,eC2CiB;ED1CjB,yBC4C2B;ED3C3B,iBC0CmB;EF5CnB,aAAsB;EACtB,gBAAgB;EAChB,YAAY,EAAA;;AAGd;ECNE,oDCXmE;EDYnE,eC+BiB;ED9BjB,yBCgC2B;ED/B3B,iBC8BmB;EFzBnB,YAAqB;EACrB,eAAe;EACf,WAAW,EAAA;;AAGb;ECbE,0CCb+C;EDc/C,eCaiB;EDZjB,oBCcsB;EDbtB,iBCYmB;EFAnB,YAAqB;EACrB,eAAe;EACf,WAAW,EAAA;;AAGb;ECpBE,0CCb+C;EDc/C,eCOiB;EDNjB,oBCQsB;EDPtB,iBCMmB;EFanB,YAAqB;EACrB,eAAe;EACf,WAAW,EAAA;;AAGb;EC3BE,0CCb+C;EDc/C,eCLiB;EDMjB,oBCJsB;EDKtB,iBCNmB;EFgCnB,YAAqB;EACrB,eAAe;EACf,WAAW,EAAA;;AAGb;EACE,YAAuB;EACvB,eAAe;EACf,WAAW;EACX,oBAAoB,EAAA;EAJtB;IAOI,YAAY,EAAA;EAPhB;IClCE,0CCb+C;IDc/C,eCLiB;IDMjB,oBCJsB;IDKtB,iBCNmB,EAAA;;ACxBnB;EACE,yBCkCoB;EDjCpB,cCEwB,EAAA;EDAxB;IACE,yBCDsB,EAAA;;ADK1B;EACE,gBCVqB,EAAA;;ACDzB;EACE,yBDmCsB;EClCtB,cDG0B,EAAA;ECD1B;IACE,yBDAwB,EAAA;;ACI5B;EACE,gBDTuB,EAAA","file":"avatar.css","sourcesContent":[".avatar {\n  align-items: center;\n  border-radius: 50%;\n  box-sizing: border-box;\n  display: flex;\n  justify-content: center;\n  overflow: hidden;\n  position: relative;\n\n  // make image over initials possible (for slow loading/missing images)\n  span {\n    position: absolute;\n  }\n\n  img {\n    object-fit: cover;\n    z-index: 1;\n  }\n}\n\n.avatar--XXL {\n  @include font-style('title--l', 'title--l');\n  height: $baseline * 15;\n  min-width: 150px;\n  width: 150px;\n}\n\n.avatar--XL {\n  @include font-style('title--m', 'title--m');\n  height: $baseline * 10;\n  min-width: 100px;\n  width: 100px;\n}\n\n.avatar--L {\n  @include font-style('title--s', 'title--s');\n  height: $baseline * 8;\n  min-width: 80px;\n  width: 80px;\n}\n\n.avatar--M {\n  @include font-style('title--xxs', 'title--xxs');\n  height: $baseline * 5;\n  min-width: 50px;\n  width: 50px;\n}\n\n.avatar--S {\n  @include font-style('body--m', 'body--m');\n  height: $baseline * 4;\n  min-width: 40px;\n  width: 40px;\n}\n\n.avatar--XS {\n  @include font-style('body--xs', 'body--xs');\n  height: $baseline * 3;\n  min-width: 30px;\n  width: 30px;\n}\n\n.avatar--XXS {\n  height: $baseline * 2.5;\n  min-width: 25px;\n  width: 25px;\n  line-height: initial;\n\n  span {\n    font-size: 0;\n  }\n\n  span:first-letter {\n    @include font-style('body--xs', 'body--xs');\n  }\n}\n\n@include avatar-background-mapping;\n","// @font-style($font-style-small, $font-style-large)\n\n// $font-style-small - Desired type size for small/medium viewport.\n// $font-style-large - Desired type size for large viewport. This includes default fallback\n//                     for the S/M viewport.\n\n//\n// | viewport S       | viewport M       | viewport L      | default mapping |\n// |------------------|------------------|-----------------|-----------------|\n// | title l    | 40  | title l    | 40  | title xxl  | 80 | default         |\n// | title m    | 32  | title m    | 32  | title xl   | 60 | default         |\n// | title s    | 26  | title s    | 26  | title l    | 40 |                 |\n// | title s    | 26  | title s    | 26  | title m    | 32 | default         |\n// | title xs   | 20  | title xs   | 20  | title s    | 26 |                 |\n// | title xs   | 20  | title xs   | 20  | title xs   | 20 | default         |\n// | title xxs  | 18  | title xxs  | 18  | title xxs  | 18 |                 |\n// |            |     |            |     |            |    |                 |\n// | body l     | 18  | body l     | 18  | body l     | 18 |                 |\n// | body m     | 16  | body m     | 16  | body m     | 16 |                 |\n// | body s     | 12  | body s     | 12  | body s     | 12 |                 |\n\n// import variables needed for the mixins\n@import '../variables/__variables.scss';\n\n// mixin to get applicable properties for chosen type size\n@mixin typeset($type) {\n  $type: map-get($types, $type);\n\n  font-family: (map-get($type, font-family));\n  font-size: (map-get($type, font-size));\n  text-transform: (map-get($type, text-transform));\n  line-height: (map-get($type, line-height));\n}\n\n// get correct font characteristics based on font\n@mixin type-size($size) {\n  $size: map-get($type-sizes, $size);\n  @include typeset($size);\n}\n\n// mixin to get font-size\n@mixin font-style($font-style-small: 'body--l', $font-style-large: null) {\n  // if both arguments are added\n  @if ($font-style-large != null) {\n    // make sure $font-style-small & $font-style-large are not equal\n    @if ($font-style-small != $font-style-large) {\n      @include type-size($font-style-small);\n\n      @include viewport--l {\n        @include type-size($font-style-large);\n      }\n    } @else {\n      @include type-size($font-style-small);\n    }\n  } @else {\n    @include type-size($font-style-small);\n    // default font style mappings\n    @if ($font-style-small == 'title--l') {\n      @include viewport--l {\n        @include type-size('title--xxl');\n      }\n    } @else if ($font-style-small == 'title--m') {\n      @include viewport--l {\n        @include type-size('title--xl');\n      }\n    } @else if ($font-style-small == 'title--s') {\n      @include viewport--l {\n        @include type-size('title--m');\n      }\n    }\n  }\n}\n","// | viewport S       | viewport M       | viewport L      | default mapping |\n// |------------------|------------------|-----------------|-----------------|\n// | title l    | 40  | title l    | 40  | title xxl  | 80 | default         |\n// | title m    | 32  | title m    | 32  | title xl   | 60 | default         |\n// | title s    | 26  | title s    | 26  | title l    | 40 |                 |\n// | title s    | 26  | title s    | 26  | title m    | 32 | default         |\n// | title xs   | 20  | title xs   | 20  | title s    | 26 |                 |\n// | title xs   | 20  | title xs   | 20  | title xs   | 20 | default         |\n// | title xxs  | 18  | title xxs  | 18  | title xxs  | 18 |                 |\n// |            |     |            |     |            |    |                 |\n// | body l     | 18  | body l     | 18  | body l     | 18 |                 |\n// | body m     | 16  | body m     | 16  | body m     | 16 |                 |\n// | body s     | 12  | body s     | 12  | body s     | 12 |                 |\n\n// font family\n$font-family-theme: Montserrat, arial, sans-serif;\n$font-family-theme-semibold: Montserrat-SemiBold, arial, sans-serif;\n$font-family-theme-extrabold: Montserrat-ExtraBold, arial, sans-serif;\n// assets path to font\n// this path is overwritten in component CSS\n\n// font mappings - font-size / line-height / letter-spacing\n$types: (\n  12: (\n    font-size: 12px,\n    line-height: 15px,\n    text-transform: none,\n    font-family: $font-family-theme\n  ),\n  14: (\n    font-size: 14px,\n    line-height: 25px,\n    text-transform: none,\n    font-family: $font-family-theme\n  ),\n  16: (\n    font-size: 16px,\n    line-height: 25px,\n    text-transform: none,\n    font-family: $font-family-theme\n  ),\n  18: (\n    font-size: 18px,\n    line-height: 30px,\n    text-transform: none,\n    font-family: $font-family-theme\n  ),\n  20: (\n    font-size: 20px,\n    line-height: 30px,\n    text-transform: none,\n    font-family: $font-family-theme-extrabold\n  ),\n  20s: (\n    font-size: 20px,\n    line-height: 30px,\n    text-transform: none,\n    font-family: $font-family-theme-semibold\n  ),\n  26: (\n    font-size: 26px,\n    line-height: 30px,\n    text-transform: uppercase,\n    font-family: $font-family-theme-extrabold\n  ),\n  26s: (\n    font-size: 26px,\n    line-height: 30px,\n    text-transform: none,\n    font-family: $font-family-theme-semibold\n  ),\n  32: (\n    font-size: 32px,\n    line-height: 40px,\n    text-transform: uppercase,\n    font-family: $font-family-theme-extrabold\n  ),\n  32s: (\n    font-size: 32px,\n    line-height: 40px,\n    text-transform: none,\n    font-family: $font-family-theme-semibold\n  ),\n  40: (\n    font-size: 40px,\n    line-height: 45px,\n    text-transform: uppercase,\n    font-family: $font-family-theme-extrabold\n  ),\n  40s: (\n    font-size: 40px,\n    line-height: 45px,\n    text-transform: none,\n    font-family: $font-family-theme-semibold\n  ),\n  60: (\n    font-size: 60px,\n    line-height: 60px,\n    text-transform: uppercase,\n    font-family: $font-family-theme-extrabold\n  ),\n  80: (\n    font-size: 80px,\n    line-height: 80px,\n    text-transform: uppercase,\n    font-family: $font-family-theme-extrabold\n  )\n);\n\n// type-sizes - links the type-size to correct font mapping\n$type-sizes: (\n  title--xxl: 80,\n  title--xl: 60,\n  title--l: 40,\n  title--l-slim: 40s,\n  title--m: 32,\n  title--m-slim: 32s,\n  title--s: 26,\n  title--s-slim: 26s,\n  title--xs: 20,\n  title--xs-slim: 20s,\n  title--xxs: 18,\n  body--l: 18,\n  body--m: 16,\n  body--s: 14,\n  body--xs: 12\n);\n","@mixin avatar-background-mapping {\n  .avatar {\n    background-color: $color--grey-10;\n    color: $color-brand--three;\n\n    &__initials {\n      border: 2px solid $color-brand--three;\n    }\n  }\n\n  .bg-brand--light-grey .avatar {\n    background: $color-brand--white;\n  }\n\n}\n","$color-brand--black: #000000;\n$color-brand--white: #fff;\n\n$color-brand--one: #ff661a;\n$color-brand--two: #2e2e2e;\n$color-brand--three: #1f82db;\n$color-brand--four: #c4c4c4;\n$color-brand--five: #f8f8f8;\n$color-brand--six: #97999b;\n\n$color-brand--gradient-orange: linear-gradient(\n  56.45deg,\n  #ff8200 0%,\n  #ed1f24 100%\n);\n$color-brand--gradient-orange-50: linear-gradient(\n  56.45deg,\n  #ff9b33 0%,\n  #ed4e52 100%\n);\n$color-brand--gradient-blue: linear-gradient(45deg, #1f82db 0%, #1166b3 100%);\n$color-brand--gradient-purple: linear-gradient(\n  45deg,\n  #595a9f 0%,\n  #6152a3 50%,\n  #292765 100%\n);\n// user interface colors\n//\n// additional colors, such as surface, background and error colors, typically don't\n// represent the brand but can be applied sparingly to accent select parts of your UI.\n//\n\n$color--black-80: #303030;\n\n$color--grey: #e2e2e2;\n$color--grey-10: #f8f8f8;\n\n$color--white: #fff;\n\n$color--one-10: #fff0e8;\n$color--one-80: #ff8548;\n$color--one-130: #e64c00;\n\n$color--two-50: #97999b;\n$color--two-80: #4d4d4d;\n$color--two-180: #000000;\n\n$color--three-5: #edf6ff;\n\n$color--four-80: #f9f7f3;\n$color--four-110: #dedcd8;\n\n$color--negative: #f13c23;\n$color--negative-5: #fef5f4;\n\n$color--positive: #11d15e;\n$color--positive-5: #f3fdf7;\n\n$color--warning: #e9a204;\n$color--warning-10: #fcf5e5;\n\n// user interface opacities\n//\n// opacity colors are only used on modal backgrounds. HEX colors would not be\n// used due to the colors' alpha layers.\n//\n\n$color-alpha--one-10: rgba(255, 102, 26, 0.1);\n$color-alpha--one-30: rgba(255, 102, 26, 0.3);\n\n$color-alpha--two-10: rgba(0, 0, 0, 0.1);\n$color-alpha--two-30: rgba(0, 0, 0, 0.3);\n$color-alpha--two-70: rgba(0, 0, 0, 0.7);\n$color-alpha--two-80: rgba(0, 0, 0, 0.8);\n\n$color-alpha--four-30: rgba(255, 255, 255, 0.2);\n$color-alpha--four-50: rgba(255, 255, 255, 0.5);\n\n// set color values\n$color--disabled: $color--two-50;\n$color--text: $color-brand--two;\n$color--one-light: $color--one-10;\n\n// degree brand colors\n// used in the charts as extra color scheme\n$color-brand--one-65: #ffc8ad;\n$color-brand--one-45: #ffe7da;\n$color-brand--one-25: #f7beb9;\n$color-brand--two-65: #afaf;\n$color-brand--two-45: #dbdbdb;\n$color-brand--two-25: #fce8b5;\n$color-brand--three-65: #afd2f2;\n$color-brand--three-45: #dbebf9;\n$color-brand--five-25: #a6c8f0;\n$color-brand--six-65: #dadadb;\n$color-brand--six-45: #eeefef;\n$color-brand--six-25: #c4dbe1;\n\n// degree user interface colors\n// used in the charts as extra color scheme\n$color--positive-65: #aaefc5;\n$color--positive-45: #d9f8e5;\n\n// notice colors\n$color-notice--warning: #fff2f2;\n",".avatar {\n  background-color: $color--grey-10;\n  color: $color-brand--three;\n\n  &__initials {\n    border: 2px solid $color-brand--three;\n  }\n}\n\n.bg-brand--light-grey .avatar {\n  background: $color-brand--white;\n}\n"]}