|
| 1 | +:global(.webchat-fluent) .feedback-form { |
| 2 | + box-sizing: border-box; |
| 3 | + display: grid; |
| 4 | + gap: var(--webchat-spacingHorizontalXS); |
| 5 | + grid-template-rows: auto auto; |
| 6 | + position: relative; |
| 7 | +} |
| 8 | + |
| 9 | +:global(.webchat-fluent) .feedback-form__body1 { |
| 10 | + font-family: var(--webchat-fontFamilyBase); |
| 11 | + font-style: normal; |
| 12 | + font-weight: 400; |
| 13 | + font-size: 14px; |
| 14 | + line-height: 20px; |
| 15 | +} |
| 16 | + |
| 17 | +:global(.webchat-fluent) .feedback-form__caption1 { |
| 18 | + font-family: var(--webchat-fontFamilyBase); |
| 19 | + font-style: normal; |
| 20 | + font-weight: 400; |
| 21 | + font-size: 10px; |
| 22 | + line-height: 14px; |
| 23 | + color: #616161; |
| 24 | +} |
| 25 | + |
| 26 | +:global(.webchat-fluent) .feedback-button__container { |
| 27 | + display: flex; |
| 28 | + flex-direction: row; |
| 29 | + gap: var(--webchat-spacingHorizontalS); |
| 30 | +} |
| 31 | + |
| 32 | +:global(.webchat-fluent) .feedback-button__submit { |
| 33 | + background-color: var(--webchat-colorBrandForeground1); |
| 34 | + border: 1px solid var(--webchat-colorBrandForeground1); |
| 35 | + border-radius: var(--webchat-borderRadiusMedium); |
| 36 | + color: var(--webchat-colorNeutralBackground1); |
| 37 | + cursor: pointer; |
| 38 | + font-size: var(--webchat-fontSizeBase300); |
| 39 | + line-height: var(--webchat-lineHeightBase300); |
| 40 | + font-family: var(--webchat-fontFamilyBase); |
| 41 | +} |
| 42 | + |
| 43 | +:global(.webchat-fluent) .feedback-button__submit:hover { |
| 44 | + background-color: var(--webchat-colorBrandForeground2Hover); |
| 45 | +} |
| 46 | + |
| 47 | +:global(.webchat-fluent) .feedback-button__submit:active { |
| 48 | + background-color: var(--webchat-colorBrandForeground2Pressed); |
| 49 | +} |
| 50 | + |
| 51 | +:global(.webchat-fluent) .feedback-button__submit:disabled { |
| 52 | + background-color: var(--webchat-colorNeutralBackground5); |
| 53 | + cursor: not-allowed; |
| 54 | +} |
| 55 | + |
| 56 | +:global(.webchat-fluent) .feedback-button__cancel { |
| 57 | + background-color: white; |
| 58 | + border-radius: var(--webchat-borderRadiusMedium); |
| 59 | + cursor: pointer; |
| 60 | + font-size: var(--webchat-fontSizeBase300); |
| 61 | + line-height: var(--webchat-lineHeightBase300); |
| 62 | + border: 1px solid var(--webchat-colorNeutralBackground5); |
| 63 | + font-family: var(--webchat-fontFamilyBase); |
| 64 | +} |
| 65 | + |
| 66 | +:global(.webchat-fluent) .feedback-button__cancel:hover { |
| 67 | + background-color: var(--webchat-colorNeutralBackground1Hover); |
| 68 | +} |
| 69 | + |
| 70 | +:global(.webchat-fluent) .sendbox__sendbox { |
| 71 | + background-color: var(--webchat-colorNeutralBackground1); |
| 72 | + border-radius: var(--webchat-borderRadiusMedium); |
| 73 | + border: 1px solid var(--webchat-colorNeutralStroke1); |
| 74 | + display: grid; |
| 75 | + font-family: var(--webchat-fontFamilyBase); |
| 76 | + font-size: 14px; |
| 77 | + gap: 6px; |
| 78 | + line-height: 20px; |
| 79 | + padding: 8px; |
| 80 | + position: relative; |
| 81 | + |
| 82 | + &:focus-within { |
| 83 | + border-color: var(--webchat-colorNeutralStroke1Selected); |
| 84 | + } |
| 85 | + |
| 86 | + &::after { |
| 87 | + border-bottom-left-radius: var(--webchat-sendbox-border-radius); |
| 88 | + border-bottom-right-radius: var(--webchat-sendbox-border-radius); |
| 89 | + border-bottom: var(--webchat-strokeWidthThicker) solid var(--webchat-colorCompoundBrandForeground1Hover); |
| 90 | + bottom: -1px; |
| 91 | + clip-path: inset(calc(100% - var(--webchat-strokeWidthThicker)) 50% 0 50%); |
| 92 | + content: ''; |
| 93 | + height: var(--webchat-sendbox-border-radius); |
| 94 | + left: -1px; |
| 95 | + position: absolute; |
| 96 | + right: -1px; |
| 97 | + transition: clip-path var(--webchat-durationUltraFast) var(--webchat-curveAccelerateMid); |
| 98 | + } |
| 99 | + |
| 100 | + &:focus-within::after { |
| 101 | + clip-path: inset(calc(100% - var(--webchat-strokeWidthThicker)) 0 0 0); |
| 102 | + transition: clip-path var(--webchat-durationNormal) var(--webchat-curveDecelerateMid); |
| 103 | + } |
| 104 | + |
| 105 | + > .sendbox__text-area--in-grid { |
| 106 | + grid-area: text-area; |
| 107 | + } |
| 108 | +} |
0 commit comments