aboutsummaryrefslogtreecommitdiff
path: root/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/next-meeting.js
blob: c4a0a0fe80cbbe88d28abe01b3c918e3920c5b05 (plain)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// Styles for /lib/components/data/next-meeting.jsx component
export const nextMeetingStyles = /* css */ `
.next-meeting {
  background-color: var(--cyan);
}
.simple-bar--widgets-background-color-as-foreground .next-meeting {
  color: var(--cyan);
  background-color: transparent;
}
.simple-bar--no-color-in-data .next-meeting {
  background-color: var(--minor);
}
.next-meeting--upcoming {
  background-color: var(--yellow) !important;
}
.simple-bar--widgets-background-color-as-foreground .next-meeting--upcoming {
  color: var(--yellow);
  background-color: transparent !important;
}
.next-meeting--urgent {
  background-color: var(--red) !important;
  animation: next-meeting-pulse 1.5s ease-in-out infinite;
}
.simple-bar--widgets-background-color-as-foreground .next-meeting--urgent {
  color: var(--red);
  background-color: transparent !important;
}
@keyframes next-meeting-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.simple-bar--animations-disabled .next-meeting--urgent {
  animation: none;
}
.next-meeting__title {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 6px;
}
.next-meeting__time {
  font-weight: 600;
  opacity: 0.9;
}
.next-meeting__join {
  margin-left: 6px;
  padding: 2px 6px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 3px;
  color: inherit;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms var(--transition-easing),
              transform 160ms var(--transition-easing);
}
.next-meeting__join:hover {
  background-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}
.next-meeting__join:active {
  transform: translateY(0);
}
.next-meeting__join:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}
`;