You've already forked element-x-android
mirror of
https://github.com/element-hq/element-x-android.git
synced 2026-10-25 06:59:19 +03:00
The gallery gave no indication of how old the screenshots on the page were, which is one of the remaining items on the GitHub Pages improvement list. The generator now writes the time it ran alongside the screenshot data, and the page renders it in the footer next to the existing links.
259 lines
3.7 KiB
CSS
259 lines
3.7 KiB
CSS
/*
|
|
* Copyright (c) 2025 Element Creations Ltd.
|
|
* Copyright 2024, 2025 New Vector Ltd.
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
|
|
* Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
html {
|
|
width: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family: InterHosted, sans-serif;
|
|
margin: 0px;
|
|
background: #F0F0F0;
|
|
}
|
|
|
|
table, td, th {
|
|
border: 2px solid white;
|
|
}
|
|
|
|
table {
|
|
margin: 0 auto;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
td {
|
|
padding: 0px;
|
|
background: #DDD;
|
|
}
|
|
|
|
td.view-header {
|
|
background: #0DBD8B;
|
|
text-align: center;
|
|
padding: 10px;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
img {
|
|
padding: 2px;
|
|
display: block;
|
|
}
|
|
|
|
.missing {
|
|
text-align: center;
|
|
}
|
|
|
|
th {
|
|
background: #0DBD8B;
|
|
}
|
|
|
|
br {
|
|
display: block;
|
|
margin: 4px 0;
|
|
}
|
|
|
|
#form_container {
|
|
margin: 0px auto;
|
|
}
|
|
|
|
form {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
label {
|
|
margin-left: 10px;
|
|
margin-right: 6px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
input {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
#width_input {
|
|
width: 60px;
|
|
height: 32px;
|
|
background: #21262e;
|
|
color: white;
|
|
border: 1px solid #30363d;
|
|
border-radius: 6px;
|
|
padding-left: 8px;
|
|
}
|
|
|
|
#screenshots_container {
|
|
overflow: scroll;
|
|
position: absolute;
|
|
top: 64px;
|
|
bottom: 40px;
|
|
width: 100%;
|
|
padding-top: 16px;
|
|
padding-bottom: 16px;
|
|
}
|
|
|
|
.screenshot {
|
|
margin: 0 auto;
|
|
display: block;
|
|
}
|
|
|
|
#header, #footer {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
position: fixed;
|
|
background: #101318;
|
|
color: #FFF;
|
|
padding: 0px;
|
|
z-index: 100;
|
|
}
|
|
#header {
|
|
top: 0;
|
|
height: 64px;
|
|
}
|
|
|
|
.element-logo {
|
|
display: flex;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.main-title {
|
|
margin-left: 48px;
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
margin-top: 5px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.fullstop--green {
|
|
margin-left: -2px;
|
|
color: #0DBD8B;
|
|
font-family: Extratype eina02;
|
|
}
|
|
|
|
.issue-links {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.issue-link {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
#footer {
|
|
bottom: 0;
|
|
text-align: center;
|
|
height: 40px;
|
|
}
|
|
|
|
.build-date {
|
|
margin-right: 20px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
a:link {
|
|
color: white;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
font-size: 13px;
|
|
}
|
|
|
|
a:visited {
|
|
color: white;
|
|
}
|
|
|
|
.img-link {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
a {
|
|
color: white;
|
|
margin-left: 4px;
|
|
float: left;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.multiselect {
|
|
width: 200px;
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
.selectBox {
|
|
position: relative;
|
|
}
|
|
|
|
.selectBox select {
|
|
width: 100%;
|
|
height: 32px;
|
|
font-weight: bold;
|
|
background: #21262e;
|
|
color: white;
|
|
border: 1px solid #30363d;
|
|
border-radius: 6px;
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.overSelect {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#checkboxes {
|
|
display: none;
|
|
border: 1px solid #30363d;
|
|
background-color: #161b22;
|
|
position: absolute;
|
|
z-index: 10;
|
|
width: 100%;
|
|
max-height: 600px;
|
|
overflow-y: auto;
|
|
box-shadow: 0 8px 16px rgba(0,0,0,0.5);
|
|
border-radius: 6px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
#checkboxes label {
|
|
display: block;
|
|
margin: 0;
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#checkboxes label:hover {
|
|
background-color: #0DBD8B;
|
|
}
|
|
|
|
#checkboxes input {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
#lines {
|
|
margin-left: 16px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.copy-message {
|
|
position: absolute;
|
|
bottom: 60px;
|
|
right: 20px;
|
|
background-color: #0DBD8B;
|
|
color: white;
|
|
padding: 10px 20px;
|
|
border: 1px solid #30363d;
|
|
border-radius: 6px;
|
|
font-size: 16px;
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
|
}
|