Files
san-reymoros/ext/phpbbstudio/ass/adm/style/css/ass_common.css
2020-04-04 18:27:27 +02:00

591 lines
11 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
*
* phpBB Studio - Advanced Shop System. An extension for the phpBB Forum Software package.
*
* @copyright (c) 2019, phpBB Studio, https://www.phpbbstudio.com
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
.name i { font-size: 14px; }
.ass-pointer {
cursor: pointer;
}
.ass-width-200 {
width: 200px;
}
.ass-width-90p {
width: 90%;
}
.ass-vertical-resize {
resize: vertical;
}
.ass-inline {
display: inline-block;
}
.ass-label-fix {
vertical-align: 2px;
padding-right: 0;
}
.ass-actions {
padding: 8px;
}
.ass-no-mar {
margin: 0;
}
.ass-mar {
margin: 8px;
}
.ass-mar-left {
margin-left: 8px;
}
.ass-mar-right {
margin-right: 8px;
}
.ass-mar-right-half {
margin-right: 4px;
}
.ass-mar-side {
margin-right: 8px;
margin-left: 8px;
}
.ass-no-radius-top {
border-top-left-radius: 0 !important;
border-top-right-radius: 0 !important;
}
.ass-no-radius-right {
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
.ass-no-radius-bottom {
border-bottom-right-radius: 0 !important;
border-bottom-left-radius: 0 !important;
}
.ass-no-radius-left {
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
}
.ass-color-palette table {
border-color: #12a3eb;
border-radius: 4px;
min-width: 90%;
max-width: 90%;
margin: 0 0 4px;
padding: 4px;
}
.ass-color-palette a {
width: 100% !important;
}
.ass-radio { display: none; }
.ass-radio:checked + .aps-button-blue,
input[type="button"]:hover {
background: #12a3eb;
border-color: #12a3eb;
color: #ffffff;
}
input[type="button"] {
background-color: #ffffff;
background-image: none;
border: 1px solid #12a3eb;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
-o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.ass-input-icon i {
font-size: 14px;
line-height: 1.42857143;
text-align: center;
vertical-align: -1px;
background-color: #f3f3f3;
border: 1px solid #cccccc;
border-right: none;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
color: #555555;
display: inline-block;
width: auto;
min-width: 40px;
height: 34px;
padding: 6px 12px;
}
.ass-input-icon i + input[type="text"],
.ass-input-icon i + input[type="number"] {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.ass-file-select-container {
display: flex;
flex-flow: row wrap;
}
.ass-file-select {
flex: 1 0 210px;
}
.ass-file-select input {
display: none;
}
.ass-file-select input + * {
border: 2px solid transparent;
display: inline-block;
width: 200px;
height: auto;
}
.ass-file-select input:checked + * {
border-color: #12a3eb;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.ass-button-pulse:not(:hover) {
animation: bgPulse 3s linear 3;
}
@keyframes bgPulse {
0% { background-color: #ffffff; }
50% { background-color: #8dcc8d; }
100% { background-color: #ffffff; }
}
/* Panel icons */
.icon-blue { color: #196db5; }
.icon-green { color: #1b9a1b; }
.icon-red { color: #bc2a4d; }
.icon-orange { color: #ff6600; }
.icon-bluegray { color: #536482; }
.icon-gray { color: #777777; }
.icon-lightgray { color: #999999; }
.icon-black { color: #333333; }
.icon-white { color: #ffffff; }
.icon-lighten { color: rgba(255, 255, 255, 0.75); }
.icon-darken { color: rgba(0, 0, 0, 0.5); }
.icon-aqua { color: #18a39b; }
.icon-yellow { color: #f8b739; }
.icon-pink { color: #ed2861; }
.icon-violet { color: #c12680; }
.icon-purple { color: #5d3191; }
.icon-gold { color: #d6af36; }
.icon-silver { color: #a7a7ad; }
.icon-bronze { color: #824a02; }
.shop-panel-icon {
text-align: center;
position: absolute;
top: 0;
right: 16px;
width: 36px;
}
.shop-panel-icon:before {
font-size: 20px;
line-height: 30px;
position: relative;
z-index: 1;
}
.shop-panel-icon-small:before {
font-size: 16px;
line-height: 22px;
}
.shop-panel-icon-tiny:before {
font-size: 13px;
line-height: 18px;
}
.shop-panel-icon:after {
font-family: FontAwesome, sans-serif;
font-size: 48px;
text-shadow: -2px 1px 4px rgba(0, 0, 0, 0.4);
color: #12a3eb;
position: absolute;
top: -4px;
left: 0;
content: "\f02e";
}
.shop-panel-icon-small:after,
.shop-panel-icon-tiny:after {
text-shadow: -1px 1px 3px rgba(0, 0, 0, 0.4);
}
.shop-panel-icon-small { width: 30px; }
.shop-panel-icon-tiny { width: 25px; }
.shop-panel-icon-small:after { font-size: 40px; }
.shop-panel-icon-tiny:after { font-size: 32px; }
.shop-panel-icon-blue:after { color: #12a3eb; }
.shop-panel-icon-red:after { color: #d31141; }
.shop-panel-icon-green:after { color: #28a745; }
.shop-panel-icon-orange:after { color: #f06045; }
.shop-panel-icon-aqua:after { color: #18a39b; }
.shop-panel-icon-yellow:after { color: #f8b739; }
.shop-panel-icon-pink:after { color: #ed2861; }
.shop-panel-icon-violet:after { color: #c12680; }
.shop-panel-icon-purple:after { color: #5d3191; }
.shop-panel-icon-gold:after { color: #d6af36; }
.shop-panel-icon-silver:after { color: #a7a7ad; }
.shop-panel-icon-bronze:after { color: #824a02; }
/* Date picker */
.daterangepicker .calendar-table th {
text-transform: none;
background: #12a3eb;
padding: 0;
}
.daterangepicker .drp-calendar.left .calendar-table th:empty { display: none; }
.daterangepicker .drp-calendar.right .calendar-table th:empty { background: none; }
.daterangepicker .calendar-table td { padding: 0; }
.daterangepicker .calendar-table .active { background: #0076b1; }
/* Slider */
output {
font-weight: bold;
text-align: center;
display: block;
}
.shop-slider {
width: 100%;
margin: 0;
padding: 0;
-webkit-appearance: none;
}
.aps-form [type="range"].shop-slider {
border: none;
margin-top: 4px;
padding: 0;
}
.shop-slider:focus {
outline: none;
}
.shop-slider::-webkit-slider-runnable-track {
background: #ffffff;
border: 1px solid #cccccc;
border-radius: 4px;
box-shadow: 0 0 0 #000000, 0 0 0 #0d0d0d;
width: 100%;
height: 34px;
cursor: pointer;
}
.shop-slider::-webkit-slider-thumb {
background: #12a3eb;
border: 1px solid rgba(0, 118, 177, 0.57);
border-radius: 4px;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5), 0 0 1px rgba(13, 13, 13, 0.5);
width: 24px;
height: 24px;
margin-top: 4px;
cursor: pointer;
-webkit-appearance: none;
}
.shop-slider:focus::-webkit-slider-runnable-track {
background: #ffffff;
}
.shop-slider::-moz-range-track {
background: #ffffff;
border: 1px solid #cccccc;
border-radius: 4px;
width: 100%;
height: 34px;
cursor: pointer;
}
.shop-slider::-moz-range-thumb {
background: #12a3eb;
border: 1px solid rgba(0, 118, 177, 0.57);
border-radius: 4px;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5), 0 0 1px rgba(13, 13, 13, 0.5);
width: 24px;
height: 24px;
cursor: pointer;
}
.shop-slider::-ms-track {
background: transparent;
border-color: transparent;
color: transparent;
width: 100%;
height: 34px;
cursor: pointer;
}
.shop-slider::-ms-fill-lower {
background: #f2f2f2;
border: 1px solid #cccccc;
border-radius: 8px;
}
.shop-slider::-ms-fill-upper {
background: #ffffff;
border: 1px solid #cccccc;
border-radius: 8px;
}
.shop-slider::-ms-thumb {
background: #12a3eb;
border: 1px solid rgba(0, 118, 177, 0.57);
border-radius: 4px;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5), 0 0 1px rgba(13, 13, 13, 0.5);
width: 24px;
height: 24px;
cursor: pointer;
}
.shop-slider:focus::-ms-fill-lower { background: #ffffff; }
.shop-slider:focus::-ms-fill-upper { background: #ffffff; }
/* Overview page */
.ass-overview,
.ass-overview * {
box-sizing: border-box;
}
.ass-overview {
display: flex;
justify-content: space-between;
align-items: stretch;
flex-flow: row wrap;
}
.ass-overview > * {
flex: 0 0 24%;
}
.ass-overview > .ass-overview-50 { flex-basis: calc(50% - (4% / 6)); }
@media all and (max-width: 1200px) {
.ass-overview > * { flex-basis: calc(50% - (4% / 6)); }
}
@media all and (max-width: 700px) {
.ass-overview > .ass-overview-50,
.ass-overview > * { flex-basis: 100%; }
}
.ass-overview-list {
min-height: 305px;
list-style: none;
}
.ass-overview-list > :not(:last-child) {
border-bottom: 1px solid #d7d7d7;
margin-bottom: 5px;
padding-bottom: 5px;
}
.ass-overview-flex {
display: flex;
}
.ass-overview-flex-auto {
flex: 1 1 auto;
padding: 0 8px;
}
.ass-overview-flex-small {
text-align: center;
flex: 0 0 52px;
}
.ass-overview-flex-small img {
width: 50px;
height: auto;
max-height: 52px;
}
.ass-overview-flex-auto,
.ass-overview-flex-small {
display: flex;
align-items: center;
height: 52px;
}
.ass-overview-flex-auto > *,
.ass-overview-flex-small > * {
flex: 1 0 100%;
}
.ass-overview-flex-full-height {
height: 305px;
}
/* Item help */
.ass-help-body { margin-bottom: 400px; }
.ass-help-toolbox,
.ass-help-toolbox * {
box-sizing: border-box;
}
.ass-help-toolbox {
background: #fafafa;
border-top: 2px solid #12a3eb;
-webkit-box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.2);
box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.2);
position: fixed;
z-index: 50;
right: 0;
bottom: 0;
left: 0;
height: 400px;
}
.ass-help-flexbox {
position: relative;
z-index: 51;
display: flex;
overflow: hidden;
-webkit-overflow-scrolling: touch;
width: 100%;
height: 100%;
scroll-behavior: smooth;
scroll-snap-type: x mandatory;
}
.ass-help-flexbox > div {
flex-shrink: 0;
width: 100%;
height: 100%;
scroll-snap-align: start;
}
.ass-help-flexbox > div > h3 {
font-size: 24px;
text-align: center;
border-bottom: 1px solid #12a3eb;
color: #12a3eb;
width: 75%;
margin: 0 auto;
padding: 16px;
}
.ass-help-flexbox > div > div {
font-size: 16px;
background: #ffffff;
color: #313131;
height: 100%;
padding: 16px;
}
.ass-help-flexbox > div > div > a {
font-weight: bold;
letter-spacing: 0.05em;
color: #12a3eb;
}
.ass-help-flexbox > div > div > i {
font-family: monospace;
color: #000000;
quotes: "“" "”" "" "";
}
.ass-help-flexbox > div > div > i:before,
.ass-help-flexbox > div > div > i:after { color: #12a3eb; }
.ass-help-flexbox > div > div > i:before { content: open-quote; }
.ass-help-flexbox > div > div > i:after { content: close-quote; }
.ass-help-active {
background: #ffffff;
border: 1px solid #12a3eb;
border-radius: 4px;
-webkit-box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
position: relative;
z-index: 45;
margin-right: 32px;
padding: 16px 8px;
transition: all 0.75s ease-in-out;
pointer-events: none;
}
.ass-help-start {
border-color: #cccccc;
border-bottom: none;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
outline: none;
position: absolute;
top: -26px;
right: 8px;
}
@media all and (max-width: 1024px) {
.ass-help-start,
.ass-help-toolbox {
display: none;
}
}
.ass-help-start:hover { border-color: #28a745; }
.ass-help-next,
.ass-help-prev,
.ass-help-close {
position: fixed;
z-index: 52;
top: 16px;
right: 16px;
}
.ass-help-next,
.ass-help-prev {
top: unset;
bottom: 350px;
}
.ass-help-prev {
right: unset;
left: 16px;
}
/* Inventory */
.ass-button-inventory {
display: block;
height: auto;
padding: 16px;
}
.ass-button-inventory > span {
font-size: 24px;
display: block;
margin-bottom: 16px;
}