Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correction responsive billetterie #1314

Merged
merged 2 commits into from
Sep 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 57 additions & 16 deletions htdocs/css/tickets.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ fieldset div.fieldset--inner {
padding: 15px 10px;
width: 100%;
}
fieldset div.fieldset--inner > div{
padding: 0.4em 0;
fieldset div#fieldset--optin > div{
display: flex;
gap: 10px;
}

fieldset p {
Expand Down Expand Up @@ -111,16 +112,11 @@ form[name=purchase] .boutons .input td{
border-left: 1px solid #7d7d7d;
}
ul.tickets--type-list hr{
width:600px;
margin-left: 0;
}
ul.tickets--type-list{
margin-left:150px;
}
ul.tickets--type-list li {
padding: 1em 0;
border-top: 1px #4c6eaf solid;
width: 600px;
}

ul.tickets--type-list li:first-child{
Expand All @@ -133,6 +129,10 @@ ul.tickets--type-list li.tickets--type-list-emphasis {
padding-top:2em;
}

fieldset div.fieldset--inner > div{
padding: 0.4em 0;
}

ul.tickets--type-list label{
width: 500px;
font-weight: 700 !important;
Expand All @@ -145,12 +145,14 @@ ul.tickets--type-list input{
display:inline-block;
width: 20px;
position: relative;
top: 12px;
top: 49px;
left: -7px;
}
ul.tickets--type-list span.tickets--type-details{
padding-left: 42px;
padding-left: 20px;
font-style: italic;
}

.tickets--type-list .tickets--type-description{
padding-left: 42px;
padding-top: .5em;
Expand Down Expand Up @@ -179,17 +181,10 @@ div.tickets--errors ul.tickets--errors{
margin-left: 1em;
}

ul.tickets--errors, #fieldset--optin div{
margin-left:200px;
}
.tickets--errors{
font-weight: bold;
color: #B0413E;
}
p.tickets--type-stock-limit{
margin-left:200px;
}

.tickets--type-stock-close-to-sold-out {
font-weight: bold;
}
Expand Down Expand Up @@ -217,3 +212,49 @@ div.sponsor--become-form label {
div.tickets--errors{
border-color: #B0413E;
}


@media(min-width: 460px) {

ul.tickets--type-list{
margin-left:150px;
}

ul.tickets--type-list li {
width: 600px;
}

ul.tickets--type-list hr{
width:600px;
}

ul.tickets--type-list span.tickets--type-details{
padding-left: 42px;
}

ul.tickets--type-list input {
top: 12px;
left: -7px;
}

p.tickets--type-stock-limit{
margin-left:200px;
}

ul.tickets--errors, #fieldset--optin div{
margin-left:200px;
}

}

@media(max-width:460px) {
form label{
min-width: 0;
text-align:left;
font-size: 16px;
}
form {
font-size:16px;
}

}
Loading