death-notifier/src/main/css/main.css

71 lines
1.5 KiB
CSS
Raw Normal View History

:root {
/* Color taken from https://fandom.com */
2022-08-22 22:55:19 +02:00
--fandom-redlink: #ba0000;
}
/* General definitions */
2022-11-20 22:26:38 +01:00
a.red-link {
2022-08-22 22:55:19 +02:00
color: var(--fandom-redlink);
}
2022-11-26 15:10:10 +01:00
/* Messages */
#global-message,
#shared-status-card {
margin-bottom: 0;
}
2022-11-26 15:10:10 +01:00
/* Welcome */
#welcome-part {
align-items: start;
2022-11-14 15:44:21 +01:00
}
/* Trackings table */
2022-11-18 15:36:15 +01:00
.placeholder {
font-style: italic;
}
2022-11-20 22:26:38 +01:00
#filter-trackings-query {
2022-11-18 15:28:54 +01:00
width: unset;
}
2022-11-20 22:26:38 +01:00
#trackings-wrapper {
2022-11-18 13:22:58 +01:00
max-height: 54rem;
2022-11-26 15:10:10 +01:00
/*noinspection CssUnresolvedCustomProperty*/
2022-11-20 22:26:38 +01:00
margin-bottom: var(--typography-spacing-vertical);
2022-11-18 13:22:58 +01:00
border-bottom: .1rem solid #e1e1e1;
overflow-y: scroll;
2022-11-18 14:15:14 +01:00
/* Shows scrolling shadows. Adapted from https://css-tricks.com/books/greatest-css-tricks/scroll-shadows/ */
2022-11-26 15:10:10 +01:00
/*noinspection CssUnresolvedCustomProperty*/
2022-11-20 22:26:38 +01:00
background: linear-gradient(white 30%, rgba(255, 255, 255, 0)) no-repeat local center calc(var(--spacing) + 1.6em),
2022-11-18 14:15:14 +01:00
linear-gradient(rgba(255, 255, 255, 0), white 70%) no-repeat local center bottom,
2022-11-20 22:26:38 +01:00
radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) no-repeat scroll center calc(var(--spacing) + 1.6em),
2022-11-18 14:15:14 +01:00
radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) no-repeat scroll center bottom;
background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
}
2022-11-18 13:22:58 +01:00
#trackings {
margin-bottom: 0;
}
#trackings thead {
position: sticky;
top: 0;
background: white;
}
#trackings td {
padding-top: 0.6rem;
padding-bottom: 0.6rem;
}
2022-11-20 22:26:38 +01:00
#trackings form,
#trackings button {
margin-bottom: unset;
}