AlertBox.uss
1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/* AlertBox Styles */
.alert-box {
flex: var(--fixed-size);
}
.alert-box__content {
padding: var(--standard-padding);
}
.alert-box__text {
margin-top: 1px;
}
.alert-box__button-box {
align-items: flex-end;
}
.alert-box__button {
margin-right: 0;
}
.alert-box__icon {
flex: var(--fixed-size);
width: var(--icon-size);
height: var(--icon-size);
margin-right: var(--icon-standard-margin);
}
.dark .alert-box__icon.icon-info {
background-image: resource("Packages/com.unity.collab-proxy/Editor/Assets/Icons/status-info-dark.png");
}
.light .alert-box__icon.icon-info {
background-image: resource("Packages/com.unity.collab-proxy/Editor/Assets/Icons/status-info-light.png");
}
.dark .alert-box__icon.icon-warning {
background-image: resource("Packages/com.unity.collab-proxy/Editor/Assets/Icons/status-warning-dark.png");
}
.light .alert-box__icon.icon-warning {
background-image: resource("Packages/com.unity.collab-proxy/Editor/Assets/Icons/status-warning-light.png");
}
.dark .alert-box__icon.icon-alert {
background-image: resource("Packages/com.unity.collab-proxy/Editor/Assets/Icons/status-error-dark.png");
}
.light .alert-box__icon.icon-alert {
background-image: resource("Packages/com.unity.collab-proxy/Editor/Assets/Icons/status-error-light.png");
}