qrbtf/src/components/Qrcode.css

326 lines
6.0 KiB
CSS
Raw Normal View History

2020-05-01 04:35:59 +00:00
.Qr-titled {
2020-05-02 12:39:02 +00:00
background-color: #f5f5f7;
2020-05-01 04:35:59 +00:00
box-sizing: border-box;
2020-05-01 10:58:11 +00:00
padding-top: calc((10px + 2vmin) * 2);
padding-bottom: calc((10px + 2vmin) * 2);
}
2020-05-01 14:26:28 +00:00
2020-05-01 10:58:11 +00:00
.Qr-titled-nobg {
padding-top: calc((10px + 2vmin) * 2);
padding-bottom: calc((10px + 2vmin) * 2);
2020-05-01 14:06:22 +00:00
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
-webkit-transition-duration: 0.2s; /* Safari */
transition-duration: 0.2s;
2020-05-01 10:58:11 +00:00
}
.Qr-title {
margin-top: 3em;
2020-05-02 12:58:54 +00:00
font-weight: bold;
2020-05-01 10:58:11 +00:00
}
.Qr-subtitle {
margin-top: -1em;
2020-05-01 11:46:41 +00:00
margin-bottom: 0;
2020-05-01 10:58:11 +00:00
}
.Qr-s-subtitle {
2020-05-01 11:46:41 +00:00
margin-top: 0.25em;
2020-05-01 10:58:11 +00:00
margin-bottom: 0;
2020-05-01 04:35:59 +00:00
}
.Qr-s {
overflow-x: scroll;
overflow-y: hidden;
overflow-scrolling: touch;
width: 100vw;
white-space: nowrap;
display: flex;
}
.Qr-s::-webkit-scrollbar {
display: none;
}
.Qr-s-title {
font-size: 1.4em;
}
2020-05-01 10:58:11 +00:00
.title-margin {
margin-bottom: 20px;
}
2020-05-01 04:35:59 +00:00
.Qr-box {
white-space: nowrap;
display: flex;
2020-05-01 11:46:41 +00:00
padding: 0px 13px 0px 23px;
2020-05-01 04:35:59 +00:00
}
@media (min-width: 1000px) {
.Qr-box {
padding-left: calc((100vw - 1000px) / 2 + 23px);
padding-right: calc((100vw - 1000px) / 2 + 13px);
2020-05-01 04:35:59 +00:00
}
}
.Qr-item {
user-select: none;
float: left;
display:block!important;
margin-right: 10px;
cursor: pointer;
2020-05-01 04:35:59 +00:00
}
.Qr-item-image {
2020-05-01 09:07:06 +00:00
padding: 23px;
2020-05-01 04:35:59 +00:00
background-color: white;
width: calc((100vw - 56px) / 2);
height: calc((100vw - 56px) / 2);
border-radius: 10px;
box-sizing: border-box;
2020-05-01 14:26:28 +00:00
border: rgba(0,0,0,0.12) solid 2px;
2020-05-01 04:35:59 +00:00
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
-webkit-transition-duration: 0.2s; /* Safari */
transition-duration: 0.2s;
}
2020-05-01 14:26:28 +00:00
@media (min-width: 500px) {
.Qr-item-image {
border: rgba(0,0,0,0.12) solid 3px;
}
}
2020-05-01 12:32:15 +00:00
.Qr-item-image-inner {
2020-05-01 10:58:11 +00:00
opacity: 0.36;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
-webkit-transition-duration: 0.2s; /* Safari */
transition-duration: 0.2s;
2020-05-01 12:32:15 +00:00
-webkit-transform: translateZ(0);
2020-05-01 10:58:11 +00:00
}
2020-05-01 04:35:59 +00:00
@media (min-width: 500px) {
.Qr-item-image {
width: 200px;
height: 200px;
}
}
2020-05-02 16:52:31 +00:00
.Qr-item-selected .Qr-item-image {
2020-05-02 16:22:05 +00:00
border-color: #44D7B6 !important;
}
2020-05-02 16:52:31 +00:00
.Qr-item-selected .Qr-item-image-inner {
opacity: 1;
}
.Qr-item-selected .Qr-item-detail {
color: #000000;
2020-05-01 04:35:59 +00:00
}
2020-05-01 12:32:15 +00:00
.Qr-item:hover .Qr-item-image-inner {
2020-05-01 10:58:11 +00:00
opacity: 1;
}
2020-05-01 04:35:59 +00:00
.Qr-item:hover .Qr-item-detail {
color: #000000;
}
.Qr-item-detail {
color: rgba(0,0,0,0.3);
margin-top: 5px;
font-size: 1em;
text-align: left;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
-webkit-transition-duration: 0.2s; /* Safari */
transition-duration: 0.2s;
}
2020-05-01 11:46:41 +00:00
tr {
width: 100%;
display: inline-flex;
justify-content: space-between ;
2020-05-01 14:06:22 +00:00
align-items: center;
2020-05-01 11:46:41 +00:00
}
2020-05-01 10:58:11 +00:00
td:nth-child(1) {
2020-05-01 11:46:41 +00:00
font-size: 1em;
white-space: nowrap;
2020-05-01 10:58:11 +00:00
}
td:nth-child(2) {
2020-05-01 11:46:41 +00:00
white-space: nowrap;
font-size: 1em;
}
td {
padding-bottom: 10px;
2020-05-01 10:58:11 +00:00
}
2020-05-01 14:06:22 +00:00
table {
margin-bottom: -10px;
}
2020-05-01 10:58:11 +00:00
.big-input {
font-size: calc(10px + 2vmin);
2020-05-01 11:46:41 +00:00
margin-top: calc((10px + 2vmin) * 2);
2020-05-01 10:58:11 +00:00
margin-bottom: calc((10px + 2vmin) * 2);
2020-05-01 14:26:28 +00:00
border: rgba(0,0,0,0.12) solid 2px;
2020-05-01 11:46:41 +00:00
width: 20em;
2020-05-01 14:06:22 +00:00
max-width: calc(100vw - 46px);
2020-05-01 11:46:41 +00:00
}
2020-05-01 14:26:28 +00:00
@media (min-width: 500px) {
.big-input {
border: rgba(0,0,0,0.12) solid 3px;
}
}
2020-05-01 11:46:41 +00:00
.small-input {
2020-05-01 14:06:22 +00:00
font-size: 0.9em;
2020-05-01 14:26:28 +00:00
border: rgba(0,0,0,0.12) solid 2px;
2020-05-01 14:06:22 +00:00
width: calc((100vw - 56px) / 2);
}
2020-05-01 14:26:28 +00:00
@media (min-width: 500px) {
.small-input {
border: rgba(0,0,0,0.12) solid 3px;
}
}
2020-05-01 14:06:22 +00:00
@media (min-width: 500px) {
.small-input {
width: 200px;
}
2020-05-01 10:58:11 +00:00
}
2020-05-01 04:35:59 +00:00
.Qr-input {
2020-05-01 12:32:15 +00:00
caret-color: #44d7b6;
2020-05-01 04:35:59 +00:00
padding: 0;
line-height: 2em;
box-sizing: border-box;
border-radius: 3em;
outline: none;
text-indent: 1em;
overflow: visible;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
-webkit-transition-duration: 0.2s; /* Safari */
transition-duration: 0.2s;
-webkit-appearance: none;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
2020-05-01 10:58:11 +00:00
font-family: 'Futura', sans-serif;
color: rgba(0,0,0,0.6);
2020-05-01 04:35:59 +00:00
}
.Qr-input::placeholder {
2020-05-01 09:07:06 +00:00
font-family: 'Futura', sans-serif;
2020-05-01 04:35:59 +00:00
color: rgba(0,0,0,0.18);
}
.Qr-Centered {
padding-left: 23px;
padding-right: 23px;
max-width: 954px;
text-align: -webkit-left;
}
.Qr-input:focus {
border-color: #44D7B6;
color: #000000;
2020-05-01 10:58:11 +00:00
}
2020-05-01 14:57:24 +00:00
2020-05-01 10:58:11 +00:00
.Qr-table {
width: 100%;
border-spacing: 0;
margin-top: 23px;
}
.Qr-div-table {
2020-05-01 14:06:22 +00:00
max-width: 410px;
}
.div-btn {
white-space: nowrap;
overflow-x: hidden;
display: flex;
justify-content: space-between;
}
.dl-btn {
cursor: pointer;
2020-05-01 14:06:22 +00:00
float: left;
font-size: 1em;
line-height: 1em;
margin: 0;
width: calc((100vw - 56px) / 2);
height: 2em;
border-radius: 3em;
outline: none;
padding: 0;
box-sizing: border-box;
2020-05-01 14:26:28 +00:00
border: rgba(0,0,0,0.12) solid 2px;
2020-05-01 14:06:22 +00:00
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
-webkit-transition-duration: 0.2s; /* Safari */
transition-duration: 0.2s;
-webkit-appearance: none;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
background: white;
font-family: 'Futura', sans-serif;
color: rgba(0,0,0,0.6);
}
2020-05-01 14:26:28 +00:00
@media (min-width: 500px) {
.dl-btn {
border: rgba(0,0,0,0.12) solid 3px;
}
}
2020-05-01 14:06:22 +00:00
.dl-btn:hover {
border-color: #44D7B6;
color: #44D7B6;
}
.dl-btn:active {
-webkit-transition-duration: 0s; /* Safari */
transition-duration: 0s;
border-color: #3BBC9F;
color: #3BBC9F;
}
@media (min-width: 500px) {
.div-btn {
max-width: 410px;
}
.dl-btn {
width: 200px;
height: 2em;
}
2020-05-02 12:39:02 +00:00
}
.Qr-footer {
font-size: 14px;
margin-bottom: -4px;
}
.Qr-footer div {
margin-bottom: 4px;
}
a {
color: currentColor;
text-decoration: none;
}
a:hover {
text-decoration: underline;
2020-05-02 16:22:05 +00:00
}