SMW-Upload/static/css/test_iframe.css

123 lines
1.7 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background: #f5f5f5;
padding: 20px;
}
.test-container {
max-width: 1200px;
margin: 0 auto;
}
h1 {
color: #333;
margin-bottom: 10px;
}
.test-info {
background: #e3f2fd;
border-left: 4px solid #2196f3;
padding: 15px;
margin-bottom: 20px;
border-radius: 4px;
}
.test-info p {
margin: 5px 0;
color: #1976d2;
}
.iframe-wrapper {
background: white;
border: 2px solid #ddd;
border-radius: 8px;
padding: 10px;
margin-bottom: 30px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.iframe-wrapper h2 {
margin-bottom: 10px;
color: #555;
font-size: 18px;
}
.iframe-container {
width: 100%;
border: 1px solid #ccc;
border-radius: 4px;
overflow: hidden;
background: white;
}
iframe {
width: 100%;
border: none;
display: block;
}
.size-controls {
margin-top: 10px;
padding: 10px;
background: #f9f9f9;
border-radius: 4px;
}
.size-controls label {
margin-right: 15px;
color: #666;
}
.size-controls input[type="number"] {
width: 80px;
padding: 5px;
border: 1px solid #ccc;
border-radius: 4px;
margin: 0 5px;
}
.size-presets {
margin-top: 10px;
}
.size-presets button {
padding: 5px 15px;
margin-right: 10px;
background: #2196f3;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 12px;
}
.size-presets button:hover {
background: #1976d2;
}
.full-width {
width: 100%;
}
.mobile {
max-width: 375px;
margin: 0 auto;
}
.tablet {
max-width: 768px;
margin: 0 auto;
}
.desktop {
max-width: 1024px;
margin: 0 auto;
}