2022-02-17 15:56:54 -07:00
|
|
|
/* apply a natural box layout model to all elements, but allowing components to change */
|
|
|
|
html {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
*,
|
|
|
|
*:before,
|
|
|
|
*:after {
|
|
|
|
box-sizing: inherit;
|
|
|
|
}
|
|
|
|
|
2022-06-10 14:57:22 -06:00
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2022-10-20 21:48:00 -06:00
|
|
|
summary {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.PrimaryActionButton {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 4px 16px;
|
|
|
|
|
|
|
|
background-color: transparent;
|
|
|
|
/* Always make a pill shape */
|
|
|
|
border-radius: 9999px;
|
|
|
|
border: 1px solid #2774c2;
|
|
|
|
|
|
|
|
color: #2774c2;
|
|
|
|
line-height: 24px;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.PrimaryActionButton:hover,
|
|
|
|
.PrimaryActionButton:focus {
|
|
|
|
background-color: #2774c2;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
|
2022-02-10 01:21:49 -07:00
|
|
|
/* Based on .SessionView from Hydrogen */
|
2022-09-20 15:02:09 -06:00
|
|
|
.ArchiveRoomView {
|
2022-02-10 01:21:49 -07:00
|
|
|
/* this takes into account whether or not the url bar is hidden on mobile
|
|
|
|
(have tested Firefox Android and Safari on iOS),
|
|
|
|
see https://developers.google.com/web/updates/2016/12/url-bar-resizing */
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-template:
|
|
|
|
'status status' auto
|
|
|
|
'middle right' 1fr /
|
|
|
|
1fr 300px;
|
|
|
|
min-height: 0;
|
|
|
|
min-width: 0;
|
2022-02-10 00:42:02 -07:00
|
|
|
}
|
2022-02-14 20:11:55 -07:00
|
|
|
|
2022-11-01 07:36:32 -06:00
|
|
|
.ArchiveRoomView_mainArea {
|
|
|
|
grid-area: middle;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
|
2022-09-20 15:02:09 -06:00
|
|
|
.RoomHeader_actionButton {
|
|
|
|
display: inline-flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
color: var(--icon-color--darker-20);
|
|
|
|
}
|
|
|
|
.RoomHeader_actionButton > * {
|
|
|
|
vertical-align: middle;
|
|
|
|
color: var(--icon-color--darker-20);
|
|
|
|
}
|
|
|
|
|
2022-08-30 17:47:03 -06:00
|
|
|
/* No need to open the right-panel when it's always visible at desktop widths */
|
2022-09-20 15:02:09 -06:00
|
|
|
.RoomHeader_changeDatesButton {
|
2022-08-30 17:47:03 -06:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
/* No need to close the right-panel when it's always visible at desktop widths */
|
|
|
|
.RightPanelView_buttons .close {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-11-01 07:36:32 -06:00
|
|
|
.ArchiveRoomView_mainBody {
|
|
|
|
flex: 1 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
min-height: 0;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ArchiveRoomView_mainBody > .Timeline {
|
|
|
|
flex: 1 0;
|
|
|
|
}
|
|
|
|
|
2022-08-30 17:47:03 -06:00
|
|
|
@media screen and (max-width: 800px) {
|
|
|
|
/* Only the middle needs to be visible mobile by default */
|
2022-09-20 15:02:09 -06:00
|
|
|
.ArchiveRoomView {
|
2022-08-30 17:47:03 -06:00
|
|
|
grid-template:
|
|
|
|
'status' auto
|
|
|
|
'middle' 1fr /
|
|
|
|
1fr;
|
|
|
|
}
|
|
|
|
/* Which also means hiding the right-panel by default on mobile */
|
2022-09-20 15:02:09 -06:00
|
|
|
.ArchiveRoomView:not(.right-shown) .RightPanelView {
|
2022-08-30 17:47:03 -06:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* When the user opens the right-panel, show it */
|
2022-09-20 15:02:09 -06:00
|
|
|
.ArchiveRoomView.right-shown {
|
2022-08-30 17:47:03 -06:00
|
|
|
grid-template:
|
|
|
|
'status' auto
|
|
|
|
'right' 1fr /
|
|
|
|
1fr;
|
|
|
|
}
|
2022-11-01 07:36:32 -06:00
|
|
|
.ArchiveRoomView.right-shown .ArchiveRoomView_mainArea {
|
2022-08-30 17:47:03 -06:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
/* And show the button to open the right-panel on mobile */
|
2022-09-20 15:02:09 -06:00
|
|
|
.RoomHeader_changeDatesButton {
|
2022-08-30 17:47:03 -06:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
/* And show the button to close the right-panel on mobile */
|
|
|
|
.RightPanelView_buttons .close {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-20 15:02:09 -06:00
|
|
|
.RightPanelContentView {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.RightPanelContentView_footer {
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
padding-bottom: 16px;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.RightPanelContentView_footerLinkList > * + * {
|
|
|
|
margin-left: 1ch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.RightPanelContentView_footerLink {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.RightPanelContentView_footerLink:hover,
|
|
|
|
.RightPanelContentView_footerLink:focus {
|
|
|
|
color: #0098d4;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2022-02-14 20:11:55 -07:00
|
|
|
.CalendarView {
|
|
|
|
}
|
|
|
|
|
2022-02-17 19:40:48 -07:00
|
|
|
.CalendarView_header {
|
2022-02-14 20:11:55 -07:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2022-02-17 19:40:48 -07:00
|
|
|
.CalendarView_header_prevButton,
|
|
|
|
.CalendarView_header_nextButton {
|
2022-02-14 20:11:55 -07:00
|
|
|
padding-left: 2em;
|
|
|
|
padding-right: 2em;
|
|
|
|
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2022-02-17 19:40:48 -07:00
|
|
|
.CalendarView_header_prevButton:hover,
|
|
|
|
.CalendarView_header_nextButton:hover {
|
2022-02-14 20:11:55 -07:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2022-02-17 19:40:48 -07:00
|
|
|
.CalendarView_heading {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2022-02-14 20:11:55 -07:00
|
|
|
.CalendarView_heading_text {
|
2022-02-17 19:40:48 -07:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CalendarView_heading_monthInput {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
|
|
|
|
opacity: 0;
|
2022-02-17 20:10:36 -07:00
|
|
|
|
|
|
|
cursor: pointer;
|
2022-02-17 19:40:48 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.fallback-input-month .CalendarView_heading_monthInput {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-02-17 20:10:36 -07:00
|
|
|
/* The little calendar icon button in the input that opens the date picker.
|
|
|
|
* We're stretching this out over the heading */
|
2022-02-17 19:40:48 -07:00
|
|
|
.CalendarView_heading_monthInput::-webkit-calendar-picker-indicator {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2022-02-17 20:10:36 -07:00
|
|
|
margin-left: 0;
|
|
|
|
|
2022-02-17 19:40:48 -07:00
|
|
|
background-color: #f00;
|
2022-02-17 20:10:36 -07:00
|
|
|
|
|
|
|
cursor: pointer;
|
2022-02-17 19:40:48 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.CalendarView_heading_yearSelectFallback {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
opacity: 0;
|
2022-02-17 20:10:36 -07:00
|
|
|
|
|
|
|
cursor: pointer;
|
2022-02-17 19:40:48 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.fallback-input-month .CalendarView_heading_yearSelectFallback {
|
|
|
|
display: block;
|
2022-02-14 20:11:55 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.CalendarView_calendar {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(7, 1fr);
|
|
|
|
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CalendarView_dayName {
|
|
|
|
background: #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CalendarView_day {
|
|
|
|
padding: 2px;
|
|
|
|
}
|
2022-02-16 22:08:18 -07:00
|
|
|
|
|
|
|
.CalendarView_dayLink {
|
2022-02-17 15:56:54 -07:00
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
2022-08-30 17:47:03 -06:00
|
|
|
padding-top: 18%;
|
|
|
|
padding-bottom: 18%;
|
2022-02-17 15:56:54 -07:00
|
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CalendarView_dayLink:hover {
|
|
|
|
background-color: rgba(141, 151, 165, 0.1);
|
2022-02-16 22:08:18 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.CalendarView_dayLink_active {
|
2022-02-17 15:56:54 -07:00
|
|
|
background-color: #0dbd8b;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CalendarView_dayLink_active:hover {
|
|
|
|
background-color: #0a8f69;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CalendarView_dayLink_disabled {
|
|
|
|
opacity: 0.5;
|
2022-02-16 22:08:18 -07:00
|
|
|
}
|
2022-07-14 10:08:50 -06:00
|
|
|
|
2022-09-20 15:02:09 -06:00
|
|
|
/* Some custom timeline, tiles stuff */
|
|
|
|
|
2022-11-02 03:27:30 -06:00
|
|
|
.JumpToPreviousActivitySummaryTileView,
|
|
|
|
.JumpToNextActivitySummaryTileView {
|
|
|
|
padding: calc(20px - 1em) 0;
|
2022-09-20 15:02:09 -06:00
|
|
|
|
|
|
|
background: rgba(46, 48, 51, 0.1);
|
|
|
|
border-top: 1px solid rgba(46, 48, 51, 0.38);
|
2022-11-02 03:27:30 -06:00
|
|
|
border-bottom: 1px solid rgba(46, 48, 51, 0.38);
|
|
|
|
}
|
|
|
|
|
|
|
|
.JumpToPreviousActivitySummaryTileView {
|
|
|
|
/* no margin so it's easier to notice when you scroll up */
|
2022-09-20 15:02:09 -06:00
|
|
|
}
|
|
|
|
|
2022-11-02 03:27:30 -06:00
|
|
|
.JumpToNextActivitySummaryTileView {
|
|
|
|
margin-top: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.JumpToNextActivitySummaryTileView_summaryMessage {
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-left: 12px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-right: 12px;
|
|
|
|
|
2022-09-20 15:02:09 -06:00
|
|
|
font-size: 1.17em;
|
|
|
|
}
|
|
|
|
|
2022-11-02 03:27:30 -06:00
|
|
|
.JumpToActivitySummaryTileView_activityLink {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 1em 12px;
|
|
|
|
|
2022-09-20 15:02:09 -06:00
|
|
|
text-decoration: none;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2022-11-02 03:27:30 -06:00
|
|
|
.JumpToActivitySummaryTileView_activityLink:hover,
|
|
|
|
.JumpToActivitySummaryTileView_activityLink:focus {
|
2022-09-20 15:02:09 -06:00
|
|
|
color: #0098d4;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2022-11-02 03:27:30 -06:00
|
|
|
.JumpToActivitySummaryTileView_activityIcon {
|
2022-09-20 15:02:09 -06:00
|
|
|
margin-left: 1ch;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
|
2022-10-19 00:04:19 -06:00
|
|
|
/* Modal */
|
2022-09-20 15:02:09 -06:00
|
|
|
|
2022-10-19 00:04:19 -06:00
|
|
|
.ModalView_modal {
|
|
|
|
width: 100%;
|
|
|
|
/* Only expand up to 500px, but on width-constrained devices, make sure there is a bit
|
|
|
|
* of gap between the modal and the edge.
|
|
|
|
*/
|
|
|
|
max-width: min(500px, 100% - 20px);
|
|
|
|
max-height: 80%;
|
|
|
|
padding: 0;
|
2022-09-20 15:02:09 -06:00
|
|
|
|
2022-10-19 00:04:19 -06:00
|
|
|
background-color: #ffffff;
|
|
|
|
border-radius: 8px;
|
|
|
|
border: 0;
|
|
|
|
box-shadow: 2px 15px 30px 0 rgb(0 0 0 / 48%);
|
2022-09-20 15:02:09 -06:00
|
|
|
}
|
|
|
|
|
2022-10-19 00:04:19 -06:00
|
|
|
.ModalView_modalInner {
|
2022-09-20 15:02:09 -06:00
|
|
|
overflow-y: auto;
|
|
|
|
padding: 24px;
|
|
|
|
padding-bottom: 100px;
|
2022-10-19 00:04:19 -06:00
|
|
|
}
|
2022-09-20 15:02:09 -06:00
|
|
|
|
2022-10-19 00:04:19 -06:00
|
|
|
.ModalView_modal::backdrop {
|
|
|
|
background-color: rgba(46, 48, 51, 0.38);
|
2022-09-20 15:02:09 -06:00
|
|
|
}
|
|
|
|
|
2022-10-19 00:04:19 -06:00
|
|
|
.ModalView_modalHeader {
|
2022-09-20 15:02:09 -06:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2022-10-19 00:04:19 -06:00
|
|
|
.ModalView_modalDismissForm {
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ModalView_modalDismissButton {
|
2022-09-20 15:02:09 -06:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
color: var(--icon-color);
|
|
|
|
}
|
|
|
|
|
2022-10-20 01:06:43 -06:00
|
|
|
.ModalView_footerActionBar {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
2022-10-19 00:04:19 -06:00
|
|
|
/* Developer options modal */
|
|
|
|
|
|
|
|
.DeveloperOptionsContentView_settingsFlag {
|
2022-09-20 15:02:09 -06:00
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
2022-10-19 00:04:19 -06:00
|
|
|
.DeveloperOptionsContentView_labelText {
|
2022-09-20 15:02:09 -06:00
|
|
|
line-height: 1.5em;
|
|
|
|
}
|
|
|
|
|
2022-10-19 00:04:19 -06:00
|
|
|
.DeveloperOptionsContentView_microcopy {
|
2022-09-20 15:02:09 -06:00
|
|
|
font-size: 0.85em;
|
|
|
|
line-height: 1.5em;
|
|
|
|
color: #737d8c;
|
|
|
|
}
|
|
|
|
|
2022-10-20 01:06:43 -06:00
|
|
|
.GeneralForm_textField {
|
|
|
|
width: 100%;
|
|
|
|
padding: 12px 16px;
|
|
|
|
|
|
|
|
border: 1px solid #e7e7e7;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
transition: border-color 0.25s;
|
|
|
|
}
|
|
|
|
.GeneralForm_textField:focus {
|
|
|
|
outline: none;
|
|
|
|
border-color: #238cf5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.GeneralForm_textField::placeholder {
|
|
|
|
color: #888888;
|
|
|
|
}
|
|
|
|
|
2022-07-14 10:08:50 -06:00
|
|
|
/* Error pages */
|
|
|
|
|
|
|
|
.heading-sub-detail {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tracing-span-list {
|
|
|
|
}
|
|
|
|
|
|
|
|
.tracing-span-list-item {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tracing-span-item-http-details {
|
|
|
|
}
|
|
|
|
|
|
|
|
.tracing-span-item-sub-details {
|
|
|
|
margin-left: 4ch;
|
|
|
|
}
|