Align topic count badges in yearly and compact timeline
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
This commit is contained in:
+33
-19
@@ -1,4 +1,6 @@
|
||||
.research-timeline-card {
|
||||
--accent: #0057ff;
|
||||
|
||||
width: 100%;
|
||||
padding: 24px 28px;
|
||||
border: 1px solid #d7e4ff;
|
||||
@@ -11,7 +13,7 @@
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
button:not(.topic-chip):not(.mini-topic-chip) {
|
||||
button:not(:where(.topic-chip, .mini-topic-chip)) {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
@@ -19,12 +21,12 @@
|
||||
}
|
||||
|
||||
button:hover:not(:disabled) {
|
||||
color: #0057ff;
|
||||
color: var(--accent);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
button:focus-visible {
|
||||
outline: 2px solid #0057ff;
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: 2px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
@@ -83,11 +85,12 @@
|
||||
|
||||
&:hover {
|
||||
background: #f2f6ff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: #eef4ff;
|
||||
color: #0057ff;
|
||||
color: var(--accent);
|
||||
box-shadow: inset 0 0 0 1px #3d7cff;
|
||||
}
|
||||
}
|
||||
@@ -127,7 +130,7 @@
|
||||
}
|
||||
|
||||
.reset-range-button {
|
||||
color: #0057ff;
|
||||
color: var(--accent);
|
||||
font-size: 11px;
|
||||
|
||||
&:disabled {
|
||||
@@ -172,8 +175,8 @@
|
||||
to right,
|
||||
#d8e2f4 0%,
|
||||
#d8e2f4 var(--range-start),
|
||||
#0057ff var(--range-start),
|
||||
#0057ff var(--range-end),
|
||||
var(--accent) var(--range-start),
|
||||
var(--accent) var(--range-end),
|
||||
#d8e2f4 var(--range-end),
|
||||
#d8e2f4 100%
|
||||
);
|
||||
@@ -204,7 +207,7 @@
|
||||
margin-top: -5px;
|
||||
border: 2px solid #ffffff;
|
||||
border-radius: 50%;
|
||||
background: #0057ff;
|
||||
background: var(--accent);
|
||||
box-shadow: 0 0 0 1px #9ab7ff, 0 2px 6px rgba(0, 87, 255, 0.22);
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
@@ -215,7 +218,7 @@
|
||||
height: 15px;
|
||||
border: 2px solid #ffffff;
|
||||
border-radius: 50%;
|
||||
background: #0057ff;
|
||||
background: var(--accent);
|
||||
box-shadow: 0 0 0 1px #9ab7ff, 0 2px 6px rgba(0, 87, 255, 0.22);
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
@@ -341,12 +344,14 @@
|
||||
}
|
||||
|
||||
.topic-chip {
|
||||
display: inline-flex;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 7px;
|
||||
width: fit-content;
|
||||
justify-items: center;
|
||||
column-gap: 8px;
|
||||
width: 100%;
|
||||
max-width: 210px;
|
||||
box-sizing: border-box;
|
||||
min-height: 34px;
|
||||
padding: 6px 10px;
|
||||
border: 1px solid var(--topic-border);
|
||||
@@ -373,6 +378,8 @@
|
||||
|
||||
.topic-name,
|
||||
.mini-topic-chip span {
|
||||
min-width: 0;
|
||||
text-align: center;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
@@ -451,7 +458,7 @@
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
background: #eef4ff;
|
||||
color: #0057ff;
|
||||
color: var(--accent);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
@@ -475,11 +482,17 @@
|
||||
flex-wrap: wrap;
|
||||
gap: 7px;
|
||||
margin-top: 14px;
|
||||
|
||||
.topic-chip {
|
||||
flex: 0 0 calc((100% - 7px) / 2);
|
||||
width: calc((100% - 7px) / 2);
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
|
||||
.phase-toggle {
|
||||
margin-top: 13px;
|
||||
color: #0057ff;
|
||||
color: var(--accent);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
@@ -540,9 +553,10 @@
|
||||
}
|
||||
|
||||
.mini-topic-chip {
|
||||
display: inline-flex;
|
||||
display: inline-grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
column-gap: 5px;
|
||||
max-width: 100%;
|
||||
padding: 4px 7px;
|
||||
border: 0;
|
||||
@@ -555,7 +569,7 @@
|
||||
cursor: pointer;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
color: #0057ff;
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -564,7 +578,7 @@
|
||||
}
|
||||
|
||||
strong {
|
||||
color: #0057ff;
|
||||
color: var(--accent);
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user