Horriblesubs/fansub/css/fansub.css

513 lines
7.3 KiB
CSS

/**
* Last updated: 21/04/2016
*/
/**
* Normalize
*/
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body.fansub {
margin: 0;
}
.fansub article,
.fansub aside,
.fansub details,
.fansub figcaption,
.fansub figure,
.fansub footer,
.fansub header,
.fansub main,
.fansub menu,
.fansub nav,
.fansub section,
.fansub summary {
display: block;
}
.fansub audio,
.fansub canvas,
.fansub progress,
.fansub video {
display: inline-block;
vertical-align: baseline;
}
.fansub audio:not([controls]) {
display: none;
height: 0;
}
.fansub [hidden],
.fansub template {
display: none;
}
.fansub abbr[title] {
border-bottom: 1px dotted;
text-decoration: none;
}
.fansub b,
.fansub strong {
font-weight: 700;
}
.fansub dfn {
font-style: italic;
}
.fansub mark {
background: #ff0;
color: #000;
}
.fansub small {
font-size: 80%;
}
.fansub sub,
.fansub sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
.fansub sup {
top: -0.5em;
}
.fansub sub {
bottom: -0.25em;
}
.fansub img {
border: 0;
}
.fansub svg:not(:root) {
overflow: hidden;
}
.fansub figure {
margin: 0;
}
.fansub hr {
box-sizing: content-box;
height: 0;
}
.fansub pre {
overflow: auto;
}
.fansub code,
.fansub kbd,
.fansub pre,
.fansub samp {
font-family: monospace, monospace;
font-size: 1em;
}
.fansub button,
.fansub input,
.fansub optgroup,
.fansub select,
.fansub textarea {
color: inherit;
font: inherit;
margin: 0;
}
.fansub button,
.fansub select {
text-transform: none;
}
.fansub button {
overflow: visible;
}
.fansub button,
.fansub input,
.fansub select,
.fansub textarea {
max-width: 100%;
}
.fansub button,
.fansub html input[type="button"],
.fansub input[type="reset"],
.fansub input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
.fansub button[disabled],
.fansub html input[disabled] {
cursor: default;
opacity: .5;
}
.fansub button::-moz-focus-inner,
.fansub input::-moz-focus-inner {
border: 0;
padding: 0;
}
.fansub input {
line-height: normal;
}
.fansub input[type="checkbox"],
.fansub input[type="radio"] {
box-sizing: border-box;
margin-right: 0.4375em;
padding: 0;
}
.fansub input[type="number"]::-webkit-inner-spin-button,
.fansub input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
.fansub input[type="search"] {
box-shadow: 0 1px 2px #eee inset;
-webkit-appearance: textfield;
}
.fansub input[type="search"]::-webkit-search-cancel-button,
.fansub input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
.fansub fieldset {
border: 1px solid #e8e8e8;
margin: 0 0 1.75em;
padding: 0.875em;
}
.fansub fieldset > :last-child {
margin-bottom: 0;
}
.fansub legend {
border: 0 none;
display: inline-block;
margin: 0;
padding: 0 10px;
width: auto;
}
.fansub textarea {
overflow: auto;
vertical-align: top;
}
.fansub optgroup {
font-weight: 700;
}
.fansub table {
border-collapse: collapse;
border-spacing: 0;
}
/**
* Global
*/
.font-weight-normal {
font-weight: 400;
}
.fansub img {
height: auto;
max-width: 100%;
}
.fansub-widget .fansub-number.image-size,
.fansub-number.image-size {
display: inline-block;
max-width: 100px;
width: auto;
}
.fansub-number.image-size + span {
display: inline-block;
margin: 0 5px;
}
label.label-input-size {
display: inline-block;
margin-right: 10px;
}
.disabled {
box-shadow: none;
cursor: not-allowed;
opacity: 0.65;
pointer-events: none;
text-decoration: none;
}
.margin-top-10 {
margin-top: 10px;
}
.margin-bottom-10 {
margin-bottom: 10px;
}
.margin-top-15 {
margin-top: 15px;
}
.margin-bottom-15 {
margin-bottom: 15px;
}
.margin-top-20 {
margin-top: 20px;
}
.margin-bottom-20 {
margin-bottom: 20px;
}
.padding-top-10 {
padding-top: 10px;
}
.padding-bottom-10 {
padding-bottom: 10px;
}
.padding-top-15 {
padding-top: 15px;
}
.padding-bottom-15 {
padding-bottom: 15px;
}
.ajax-loading.full-page {
background-color: rgba(0, 0, 0, 0.5);
display: none;
height: 100%;
left: 0;
position: fixed;
top: 0;
width: 100%;
z-index: 9999;
}
.ajax-loading.full-page img {
background-color: #000;
border-radius: 10px;
box-sizing: content-box;
height: auto;
left: 50%;
margin-left: -16px;
margin-top: -16px;
padding: 20px;
position: relative;
top: 50%;
width: 32px;
}
.ajax-loading.full-page.active {
display: block;
}
.flip-horizontal {
-webkit-transform: scaleX(-1);
-moz-transform: scaleX(-1);
-ms-transform: scaleX(-1);
-o-transform: scaleX(-1);
transform: scaleX(-1);
}
.no-pointer-events {
pointer-events: none;
}
.fansub .noselect {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/**
* Backgrounds
*/
.bg-success {
}
/**
* Buttons
*/
.fansub form .fansub-button,
.fansub .fansub-button {
border-radius: 3px;
display: inline-block;
line-height: 40px;
padding: 0 15px;
vertical-align: top;
}
.fansub .fansub-button.btn-grey,
.fansub form .fansub-button.btn-grey {
background: #e7e7e7 none repeat scroll 0 0;
color: #333;
}
/**
* Icons
*/
.icon-circle {
background-color: #ddd;
border-radius: 50%;
cursor: pointer;
display: inline-block;
height: 14px;
width: 14px;
}
.icon-circle-success {
background-color: #7ad03a;
}
.button img.fansub-icon,
button img.fansub-icon {
display: inline-block;
height: 18px;
margin-right: 5px;
padding: 0;
vertical-align: -4px;
width: 18px;
}
/*
* Upload
*/
input[type="file"].fansub-field-upload + .image-preview {
display: none;
margin-top: 10px;
}
input[type="file"].fansub-field-upload + .image-preview img {
border: 4px solid #ddd;
display: inline-block;
height: 140px;
margin-bottom: 15px;
margin-right: 15px;
width: 210px;
}
/*
* Modal
*/
.modal-dialog {
padding-top: 5%;
}
.admin-bar .modal-dialog {
padding-top: 6%;
}
.single-product.woocommerce .modal.product-fast-buy .modal-dialog {
padding-top: 2%;
}
@media only screen and (max-width: 780px) {
.admin-bar .modal-dialog {
padding-top: 15%;
}
.admin-bar.single-product.woocommerce .modal.product-fast-buy .modal-dialog {
padding-top: 15%;
}
}
@media only screen and (max-width: 360px) {
.admin-bar .modal-dialog {
padding-top: 15%;
}
.admin-bar.single-product.woocommerce .modal.product-fast-buy .modal-dialog {
padding-top: 15%;
}
}
/**
* Columns
*/
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
min-height: 1px;
padding-left: 10px;
padding-right: 10px;
position: relative;
}
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
float: left;
}
.col-xs-15 {
width: 20%;
}
@media (min-width: 768px) {
.col-sm-15 {
width: 20%;
}
}
@media (min-width: 992px) {
.col-md-15 {
width: 20%;
}
}
@media (min-width: 1200px) {
.col-lg-15 {
width: 20%;
}
}
/**
* Media Queries
*/
@-ms-viewport {
width: device-width;
}
@viewport {
width: device-width;
}