36 |
Looking up audio file URL...
37 |
38 | );
39 | };
40 |
--------------------------------------------------------------------------------
/src/components/target-controls/config-dialog/styles.ts:
--------------------------------------------------------------------------------
1 | import { css, SerializedStyles, Theme } from "@emotion/react";
2 | import { shadow } from "@styles/_common";
3 |
4 | export const closeIcon = (theme: Theme): SerializedStyles => css`
5 | position: absolute;
6 | background-color: ${theme.highlightBackground}!important;
7 | right: 50px;
8 | width: 24px;
9 | height: 24px;
10 | min-height: 24px;
11 | & span,
12 | svg {
13 | width: 15px;
14 | }
15 | `;
16 |
17 | export const targetsDialog = css`
18 | min-width: 400px;
19 | `;
20 |
21 | export const targetsDialogMain = (theme: Theme): SerializedStyles => css`
22 | ${shadow}
23 | box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.8);
24 | margin-bottom: 12px;
25 | border: 2px solid ${theme.line};
26 | border-radius: 6px;
27 | padding: 12px;
28 | `;
29 |
30 | export const targetsDialogFooter = css`
31 | padding-top: 12px;
32 | & button {
33 | padding: 0 18px !important;
34 | }
35 | & svg {
36 | margin-left: 6px;
37 | }
38 | `;
39 |
40 | export const targetLabel = (theme: Theme): SerializedStyles => css`
41 | color: ${theme.altTextColor};
42 | position: absolute;
43 | font-size: 12px;
44 | font-weight: 400;
45 | line-height: 1;
46 | margin: 0;
47 | margin-top: -4px;
48 | `;
49 |
--------------------------------------------------------------------------------
/src/svgs/fad-headphones.svg:
--------------------------------------------------------------------------------
1 |