1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-06-18 05:04:13 +02:00
Files
OpenIntegrations/docs/docusaurus/src/pages/download.module.css
T
2025-11-02 15:54:33 +03:00

243 lines
4.0 KiB
CSS
Vendored

.downloadHeaderWrapper {
display: flex;
align-items: flex-start;
gap: 1rem;
margin-bottom: 0;
}
.downloadIcon {
width: 4rem;
height: 4rem;
flex-shrink: 0;
color: #004943;
margin-top: 0.31rem;
margin-right: 10px;
}
.downloadTitle {
margin: 0;
font-weight: 350;
color: inherit;
}
.downloadSubtitle {
margin: 0.1rem 0 0;
font-weight: lighter;
color: #555;
}
.downloadGroup {
margin-bottom: 2.5rem;
}
.downloadGroup h2 {
margin-top: 2rem;
margin-bottom: 1rem;
font-weight: 340;
color: #004943;
font-size: 1.25rem;
}
.itemsGrid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1.2rem;
}
.downloadItem {
padding: 1rem;
border: 1px solid #ddd;
border-radius: 12px;
background: white;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
transition: box-shadow 0.2s ease;
}
.downloadItem:hover {
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.downloadItem h3 {
margin-top: 0;
font-weight: 400;
font-size: 1rem;
}
.downloadItem p {
font-size: 0.95rem;
color: #555;
margin-bottom: 1rem;
}
.downloadButton {
appearance: none;
background-color: white;
border: 1px solid rgba(27, 31, 35, 0.15);
border-radius: 16px;
box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0, rgba(255, 255, 255, 0.25) 0 1px 0 inset;
color: #24292e;
cursor: pointer;
font-size: 14px;
font-weight: 500;
padding: 6px 16px;
transition: background-color 0.2s;
}
.downloadButton:hover {
background-color: #f3f4f6;
}
.langButtons {
display: flex;
gap: 0.6rem;
margin-top: 0.8rem;
}
.langButtons .downloadButton {
flex: 1;
min-width: 0;
text-align: center;
}
.otherVersions {
text-align: center;
margin-top: 2rem;
}
/* Modal */
.modalOverlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: flex-start;
padding: 20px 16px;
box-sizing: border-box;
z-index: 1000;
overflow-y: auto;
/* Начальное состояние */
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
.modalOverlayVisible {
opacity: 1;
pointer-events: auto;
}
.modalContent {
background: white;
border-radius: 16px;
padding: 1.5rem;
max-width: 800px;
width: 100%;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
margin-top: 80px;
max-height: calc(100vh - 80px);
display: flex;
flex-direction: column;
/* Анимация контента */
transform: translateY(20px);
opacity: 0;
transition: transform 0.3s ease, opacity 0.3s ease;
}
.modalOverlayVisible .modalContent {
transform: translateY(0);
opacity: 1;
}
.modalScrollable {
flex: 1;
overflow-y: auto;
padding-bottom: 1rem;
}
.closeButton {
display: block;
width: 100%;
padding: 12px;
background: none;
border: 1px solid #ddd;
border-radius: 12px;
color: #888;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
margin-top: auto;
box-sizing: border-box;
}
.closeButton:hover {
color: #555;
background: #f9f9f9;
}
.supportGrid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin: 1.5rem 0;
}
.supportCard {
text-align: center;
background: white;
border: 1px solid #ddd;
border-radius: 12px;
padding: 1.2rem;
box-shadow:
inset 0 1px 3px rgba(255, 255, 255, 0.7),
0 4px 8px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.supportCard:hover {
box-shadow:
inset 0 1px 3px rgba(255, 255, 255, 0.7),
0 6px 12px rgba(0, 0, 0, 0.12);
}
.supportIcon {
width: 40px;
height: 40px;
margin-bottom: 0.8rem;
}
.supportButton {
display: inline-block;
margin-top: 0.8rem;
font-size: 0.95rem;
color: #004943;
text-decoration: none;
font-weight: 500;
border-bottom: 1px dashed #004943;
}
.supportButton:hover {
color: #00302a;
border-bottom-style: solid;
}
.thankYouText {
text-align: center;
margin: 1rem 0;
color: #333;
}
@media (max-width: 768px) {
.supportGrid {
grid-template-columns: 1fr;
}
.modalContent {
padding: 1.5rem;
}
}