summaryrefslogtreecommitdiff
path: root/src/components/rules/RuleProviderItem.module.scss
blob: 933fa08c91323a1b105dc93229611567ba0891a8 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
.RuleProviderItem {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 16px 20px;
  transition: all 0.2s ease;

  &:hover {
    background: var(--bg-near-transparent);

    .refreshButton {
      opacity: 1;
    }
  }
}

.left {
  width: 32px;
  flex-shrink: 0;
  color: var(--color-text-secondary);
  font-size: 11px;
  opacity: 0.4;
  font-family: var(--font-mono);
}

.middle {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nameRow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-highlight);
}

.badgeGroup {
  display: flex;
  gap: 6px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--color-text-secondary);
  background: var(--bg-near-transparent);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.infoRow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--color-text-secondary);
}

.dot {
  opacity: 0.5;
}

.right {
  margin-left: 12px;
}

.refreshButton {
  opacity: 0.4;
  transition: all 0.2s ease;
  padding: 8px !important;
  border-radius: 50% !important;
  color: var(--color-text-secondary);

  &:hover {
    opacity: 1;
    color: var(--color-focus-blue);
    background: var(--bg-near-transparent) !important;
  }
}

.rotating {
  animation: rotate 1s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}