karusic/front/src/generic_page.less

760 lines
13 KiB
Plaintext

// landscape
@media screen and (orientation:landscape) {
.clear {
clear: both;
text-align: center;
}
.clear-end {
clear: both;
text-align: center;
height: 250px;
}
.button-area {
grid-gap: 50px;
display: flex;
flex-direction: row;
button {
padding-left: 10px;
}
}
.generic-page {
.fill-title {
display: flex;
flex-direction: row;
grid-gap: 5px;
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
}
.shadow-text {
text-align: left;
text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.2em black;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
color: rgb(204, 204, 204);
}
.cover-area {
display: flex;
align-items: flex-start;
flex: 1;
max-width: 400px;
img {
width: 100%;
box-shadow: 0 0 40px black;
border-radius: 25px;
min-width: 150px;
max-width: 400px;
max-height: 400px;
}
.cover {
max-width: 400px;
margin-left: auto;
}
}
.description-area {
flex: 3;
min-width: 200px;
.title {
font-size: 27px;
font-weight: bold;
line-height: 60px;
vertical-align: middle;
//margin: 10px 0 10px 0;
text-transform: uppercase;
}
.sub-title-main {
font-size: 22px;
font-weight: bold;
line-height: 40px;
width: 100%;
//margin: 10px 0 10px 0;
}
.sub-title {
font-size: 22px;
font-weight: bold;
line-height: 40px;
width: 100%;
}
.description {
font-size: 15px;
text-align: left;
padding: 14px;
}
}
.fill-content {
.title {
font-size: 33px;
font-weight: bold;
line-height: 40px;
width: 100%;
text-align: left;
vertical-align: middle;
margin: 10px 0 10px 0;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
}
.item {
font-size: 20px;
padding: 1px;
height: 290px;
width: 200px;
margin: 5px;
padding: 0;
overflow: hidden;
line-height: normal;
border: none;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
font-weight: 500;
will-change: box-shadow;
outline: none;
cursor: pointer;
transition-duration: 0.4s;
float: left;
//display:inline;
&:hover {
box-shadow: 2px 2px 4px 3px rgba(0, 0, 0, 0.7);
}
.material-icons {
vertical-align: middle;
}
.material-icons {
position: absolute;
top: 50%;
left: 50%;
transform: ~"translate(-12px,-12px)";
line-height: 24px;
width: 24px;
}
}
.item-list {
font-size: 20px;
padding: 1px;
height: 110px;
width: 95%;
margin: 5px auto 5px auto;
padding: 5px;
overflow: hidden;
line-height: normal;
border: none;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
font-weight: 500;
will-change: box-shadow;
outline: none;
cursor: pointer;
background: rgba(256, 256, 256, 0.3);
border-radius: 7px;
.material-icons {
vertical-align: middle;
}
.material-icons {
position: absolute;
top: 50%;
left: 50%;
transform: ~"translate(-12px,-12px)";
line-height: 24px;
width: 24px;
}
}
}
}
}
@media all and (min-width: 3910px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 15)";
margin: auto;
}
}
@media all and (min-width: 3700px) and (max-width: 3910px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 15)";
margin: auto;
}
}
@media all and (min-width: 3390px) and (max-width: 3700px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 14)";
margin: auto;
}
}
@media all and (min-width: 3180px) and (max-width: 3390px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 13)";
margin: auto;
}
}
@media all and (min-width: 2970px) and (max-width: 3180px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 12)";
margin: auto;
}
}
@media all and (min-width: 2760px) and (max-width: 2970px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 11)";
margin: auto;
}
}
@media all and (min-width: 2550px) and (max-width: 2760px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 10)";
margin: auto;
}
}
@media all and (min-width: 2340px) and (max-width: 2550px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 9)";
margin: auto;
}
}
@media all and (min-width: 2130px) and (max-width: 2340px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 8)";
margin: auto;
}
}
@media all and (min-width: 1920px) and (max-width: 2130px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 7)";
margin: auto;
}
}
@media all and (min-width: 1710px) and (max-width: 1920px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 6)";
margin: auto;
}
}
@media all and (min-width: 1500px) and (max-width: 1710px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 5)";
}
}
@media all and (min-width: 1290px) and (max-width: 1500px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 4)";
margin: auto;
}
}
@media all and (min-width: 1080px) and (max-width: 1290px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 3)";
margin: auto;
}
}
@media all and (max-width: 1080px) and (orientation:landscape) {
.colomn_mutiple {
width: ~"calc(210px * 2)";
margin: auto;
}
}
.colomn_single {
margin-left: 50px;
margin-right: 50px;
}
// portrait
@media screen and (orientation:portrait) {
.clear {
clear: both;
text-align: center;
}
.clear-end {
clear: both;
text-align: center;
height: 250px;
}
.button-area {
grid-gap: 5px;
display: flex;
flex-direction: row;
flex-flow: row wrap;
max-width: 150px;
}
.generic-page {
.fill-title {
display: flex;
flex-direction: row;
grid-gap: 5px;
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
}
.shadow-text {
text-align: left;
text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.2em black;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
color: rgb(204, 204, 204);
}
.cover-area {
display: flex;
align-items: flex-start;
flex: 1;
max-width: 400px;
img {
width: 100%;
box-shadow: 0 0 40px black;
border-radius: 25px;
min-width: 150px;
max-width: 400px;
max-height: 400px;
}
.cover {
max-width: 400px;
margin-left: auto;
}
}
.description-area {
flex: 3;
min-width: 200px;
color: rgb(204, 204, 204);
.title {
font-size: 27px;
font-weight: bold;
line-height: 60px;
vertical-align: middle;
//margin: 10px 0 10px 0;
text-transform: uppercase;
}
.sub-title-main {
font-size: 22px;
font-weight: bold;
line-height: 40px;
width: 100%;
//margin: 10px 0 10px 0;
}
.sub-title {
font-size: 22px;
font-weight: bold;
line-height: 40px;
width: 100%;
}
.description {
font-size: 20px;
text-align: left;
padding: 14px;
}
}
.fill-content {
.title {
font-size: 33px;
font-weight: bold;
line-height: 40px;
width: 100%;
text-align: left;
vertical-align: middle;
margin: 10px 0 10px 0;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
}
.item {
font-size: 20px;
padding: 1px;
height: 290px;
width: 200px;
margin: 5px;
padding: 0;
overflow: hidden;
line-height: normal;
border: none;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
font-weight: 500;
will-change: box-shadow;
outline: none;
cursor: pointer;
transition-duration: 0.4s;
float: left;
//display:inline;
&:hover {
box-shadow: 2px 2px 4px 3px rgba(0, 0, 0, 0.7);
}
.material-icons {
vertical-align: middle;
}
.material-icons {
position: absolute;
top: 50%;
left: 50%;
transform: ~"translate(-12px,-12px)";
line-height: 24px;
width: 24px;
}
}
.item-list {
font-size: 20px;
padding: 1px;
height: 110px;
width: 95%;
margin: 5px auto 5px auto;
padding: 5px;
overflow: hidden;
line-height: normal;
border: none;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
font-weight: 500;
will-change: box-shadow;
outline: none;
cursor: pointer;
background: rgba(156, 156, 156, 0.5);
border-radius: 7px;
.material-icons {
vertical-align: middle;
}
//display:inline;
&:hover {
background-color: rgba(156, 156, 156, 1);
box-shadow: 2px 2px 4px 3px rgba(0, 0, 0, 0.7);
}
.material-icons {
position: absolute;
top: 50%;
left: 50%;
transform: ~"translate(-12px,-12px)";
line-height: 24px;
width: 24px;
}
}
}
}
}
@media all and (min-width: 3510px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 15)";
margin: auto;
}
}
@media all and (min-width: 3300px) and (max-width: 3510px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 15)";
margin: auto;
}
}
@media all and (min-width: 2990px) and (max-width: 3300px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 14)";
margin: auto;
}
}
@media all and (min-width: 2780px) and (max-width: 2990px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 13)";
margin: auto;
}
}
@media all and (min-width: 2570px) and (max-width: 2780px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 12)";
margin: auto;
}
}
@media all and (min-width: 2360px) and (max-width: 2570px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 11)";
margin: auto;
}
}
@media all and (min-width: 2150px) and (max-width: 2360px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 10)";
margin: auto;
}
}
@media all and (min-width: 1940px) and (max-width: 2150px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 9)";
margin: auto;
}
}
@media all and (min-width: 1730px) and (max-width: 1940px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 8)";
margin: auto;
}
}
@media all and (min-width: 1520px) and (max-width: 1730px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 7)";
margin: auto;
}
}
@media all and (min-width: 1310px) and (max-width: 1520px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 6)";
margin: auto;
}
}
@media all and (min-width: 1100px) and (max-width: 1310px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 5)";
margin: auto;
}
}
@media all and (min-width: 890px) and (max-width: 1100px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 4)";
margin: auto;
}
}
@media all and (min-width: 680px) and (max-width: 890px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 3)";
margin: auto;
}
}
@media all and (max-width: 680px) and (orientation:portrait) {
.colomn_mutiple {
width: ~"calc(210px * 2)";
margin: auto;
}
}
.edit-page {
.title {
//background-color: green;
font-size: 45px;
font-weight: bold;
line-height: 60px;
width: 100%;
align: center;
height: 50px;
text-align: center;
vertical-align: middle;
margin: 10px 0 10px 0;
text-shadow: 1px 1px 2px white, 0 0 1em white, 0 0 0.2em white;
text-transform: uppercase;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
}
.fill-all {
//width:100%;
max-width: 80%;
height: 100%;
margin: 20px auto;
padding: 20px;
border: 0;
background-color: rgba(200, 200, 200, 0.5);
box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.6);
}
.message-big {
width: 90%;
margin: 0 auto;
font-size: 50px;
text-align: center;
}
.request_raw2 {
width: 90%;
margin: 0 auto;
height: 160px;
.label {
width: 15%;
margin-right: 10px;
text-align: right;
float: left;
display: block;
}
.input {
width: 75%;
float: left;
display: block;
textarea {
width: 100%;
font-size: 20px;
resize: none;
}
}
}
.request_raw {
width: 90%;
margin: 0 auto;
height: 45px;
.label {
width: 15%;
margin-right: 10px;
text-align: right;
float: left;
display: block;
}
.input {
width: 75%;
float: left;
display: block;
input {
width: 100%;
font-size: 20px;
}
select {
width: 100%;
font-size: 20px;
}
textarea {
width: 100%;
font-size: 20px;
}
}
.input_add {
width: 5%;
float: right;
display: block;
}
}
.send_value {
width: 300px;
margin: 0 auto;
padding: 10px;
display: block;
}
.hide-element {
display: none;
}
.cover {
position: relative;
width: 200px;
height: 250px;
//margin: 0 auto;
overflow: hidden;
float: left;
display: block;
.cover-image {
position: absolute;
width: 200px;
height: 250px;
img {
max-width: 100%;
max-height: 100%;
height: auto;
}
}
;
.cover-no-image {
position: absolute;
width: 190px;
height: 240px;
margin: 0 auto;
border: solid 5px;
border-color: rgba(0, 0, 0, 0.7);
}
;
.cover-button {
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
;
button {
border: none;
background: none;
}
;
.button-remove {
font-size: 75px;
color: #F00000;
}
.button-add {
font-size: 75px;
color: #00F000;
}
}
}