docbrown/app/views/html_variants/_page_styles.html.erb
Glenn Carremans bcce614a80 Last general linting sweep (#1947)
* Fixed HTML errors in /app/views/additional_content_boxes

* Fixed indentation

* Fixed linting error in /app/views/comments

* Fixed indentation in /app/views/html_variants

* Fixed HTML errors + Fixed indentation in /app/views/internal

* Fixed HTML errors + Fixed indentation in /app/views/layouts

* Fixed indentation in /app/views/mailers

* Fixed indentation in /app/views/moderations

* Fixed HTML errors + Fixed indentation in /app/views/notifications

* Fixed HTML errors in /app/views/pages

* Fixed HTML errors + Fixed indentation in /app/views/social_previews

* Fixed indentation in /app/views/stories

* Fixed indentation in /app/views/stripe_subscriptions

* Fixed indentation in /app/views/tags

* Fixed indentation in /app/views/users
2019-03-02 07:47:14 -08:00

144 lines
2.4 KiB
Text

<style>
.html-variants-page {
margin: 100px auto;
width: 1100px;
max-width: 96%;
overflow: hidden;
}
.html-variants-page nav a {
display: inline-block;
padding: 5px 12px;
border-radius: 3px;
color: blue;
}
.html-variants-page nav a.selected {
background: blue;
color: white;
font-size: 1.1em;
font-weight: bold;
}
h1 a {
border: 1px solid black;
padding: 10px 40px;
border-radius: 100px;
}
.flash {
background: green;
color: white;
padding: 10px 20px;
border-radius: 3px;
font-weight: bold;
margin-bottom: 10px;
}
input, textarea {
width: 100%;
font-size: 20px;
font-family: monospace;
padding: 10px;
margin-bottom: 20px;
}
input[type="submit"] {
background: blue;
color: white;
font-size: 30px;
padding: 15px 0px;
border: 0px;
}
textarea {
height: calc(100vh - 500px);
font-size: 0.8em;
overflow-x: scroll;
overflow-wrap: normal;
}
.form-sub-details input {
display: inline-block;
max-width: 40%;
margin-left: 1%;
}
.form-sub-details input[type="checkbox"] {
max-width: 5%;
}
#error_explanation {
margin-bottom: 20px;
}
.html-variants-page-single-variant {
border: 1px solid black;
padding: 15px 15px 5px;
border-radius: 3px;
margin: 15px;
width: 450px;
height: 620px;
float: left;
overflow: hidden;
position: relative;
}
.html-variants-page-single-big {
width: 962px;
}
.html-variants-page-single-variant h3 {
margin-top: 0px;
font-size: 1.3em;
}
.html-variants-page-single-variant iframe {
border: 0px;
width: 310px;
height: 350px;
border: 1px solid #888888;
}
.html-variants-page-single-big iframe {
width: 800px;
}
.html-variants-page-single-variant-details {
padding: 10px;
border-top: 1px solid gray;
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
.pill {
padding: 3px 10px;
display: inline-block;
margin-right: 5px;
border-radius: 100px;
background: gray;
color: white;
}
.published {
background: blue;
}
.approved {
background: green;
}
.html-variants-page-single-variant-details input {
background: green;
padding: 20px;
font-size: 35px;
border-radius: 3px;
border: 0px;
margin-top: 15px;
color: white;
font-weight: bold;
}
</style>