223 lines
3.7 KiB
SCSS
223 lines
3.7 KiB
SCSS
.embed-page {
|
|
min-height: 100vh;
|
|
background: #f8f9fa;
|
|
padding: 2rem 0;
|
|
.aside {
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
.layout {
|
|
display: grid;
|
|
grid-template-columns: 400px 1fr;
|
|
grid-template-rows: minmax(100vh, auto);
|
|
gap: 0;
|
|
min-height: 100vh;
|
|
|
|
&.is-small {
|
|
grid-template-columns: 100px 1fr;
|
|
}
|
|
}
|
|
|
|
.aside {
|
|
background: #f8f9fa;
|
|
border-right: 1px solid #e9ecef;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.main {
|
|
background: white;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.page-header {
|
|
text-align: center;
|
|
margin-bottom: 3rem;
|
|
|
|
h1 {
|
|
color: #2c3e50;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
p {
|
|
color: #6c757d;
|
|
font-size: 1.1rem;
|
|
}
|
|
}
|
|
|
|
.embed-config {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 2rem;
|
|
margin-bottom: 3rem;
|
|
|
|
@media (max-width: 768px) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.config-form {
|
|
background: white;
|
|
padding: 2rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
|
|
h2 {
|
|
color: #2c3e50;
|
|
margin-bottom: 1.5rem;
|
|
border-bottom: 2px solid #3498db;
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 1.5rem;
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
font-weight: 600;
|
|
color: #2c3e50;
|
|
}
|
|
|
|
input, select {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
transition: border-color 0.3s;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
border-color: #3498db;
|
|
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
|
|
}
|
|
}
|
|
}
|
|
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1rem;
|
|
}
|
|
}
|
|
|
|
.code-output {
|
|
background: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
|
|
.code-header {
|
|
background: #2c3e50;
|
|
color: white;
|
|
padding: 1rem 1.5rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
h2 {
|
|
margin: 0;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.code-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
}
|
|
|
|
.code-container {
|
|
padding: 1.5rem;
|
|
background: #f8f9fa;
|
|
|
|
pre {
|
|
margin: 0;
|
|
background: #2c3e50;
|
|
color: #ecf0f1;
|
|
padding: 1rem;
|
|
border-radius: 4px;
|
|
overflow-x: auto;
|
|
font-size: 0.9rem;
|
|
line-height: 1.4;
|
|
|
|
code {
|
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.usage-info {
|
|
background: white;
|
|
padding: 2rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
|
|
h2 {
|
|
color: #2c3e50;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
h3 {
|
|
color: #34495e;
|
|
margin: 1.5rem 0 1rem 0;
|
|
}
|
|
|
|
ol {
|
|
padding-left: 1.5rem;
|
|
margin-bottom: 2rem;
|
|
|
|
li {
|
|
margin-bottom: 0.5rem;
|
|
line-height: 1.6;
|
|
}
|
|
}
|
|
|
|
.features {
|
|
ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
|
|
li {
|
|
padding: 0.5rem 0;
|
|
border-bottom: 1px solid #ecf0f1;
|
|
color: #2c3e50;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.btn {
|
|
padding: 0.5rem 1rem;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
transition: all 0.3s;
|
|
|
|
&.btn-primary {
|
|
background: #3498db;
|
|
color: white;
|
|
|
|
&:hover {
|
|
background: #2980b9;
|
|
}
|
|
}
|
|
|
|
&.btn-secondary {
|
|
background: #95a5a6;
|
|
color: white;
|
|
|
|
&:hover {
|
|
background: #7f8c8d;
|
|
}
|
|
}
|
|
}
|