Implementei horário e ajustes no HTML, css.

parent 8affe60b
...@@ -11142,8 +11142,7 @@ p .button_agendar { ...@@ -11142,8 +11142,7 @@ p .button_agendar {
color: white; color: white;
} }
#data, #data {
#hora {
width: 12rem; width: 12rem;
height: 10%; height: 10%;
text-align: center; text-align: center;
...@@ -11156,6 +11155,23 @@ p .button_agendar { ...@@ -11156,6 +11155,23 @@ p .button_agendar {
border-color: transparent; border-color: transparent;
} }
#hora {
width: 8rem;
height: 10%;
text-align: center;
font-size: 1.5em;
font-weight: 400;
font-family: Arial;
display: inline;
padding: 10px;
margin: 1px auto 0;
border-color: transparent;
}
#hora:hover {
background-color: silver;
}
#simButton, #simButton,
#cancelarButton { #cancelarButton {
font-family: Arial; font-family: Arial;
...@@ -11221,31 +11237,33 @@ body { ...@@ -11221,31 +11237,33 @@ body {
color: @body-color; color: @body-color;
} */ } */
/*
*, *,
*:before, *:before,
*:after { *:after {
box-sizing: border-box; box-sizing: border-box;
} } */
.group {
&:after { /*
.group:after {
content: ""; content: "";
display: table; display: table;
clear: both; clear: both;
} } */
}
}
img { img {
max-width: 100%; max-width: 100%;
height: auto; height: auto;
vertical-align: baseline; vertical-align: baseline;
} }
a { a {
text-decoration: none; text-decoration: none;
} }
/* .max(@maxWidth; /* .max(@maxWidth;
@rules) { @rules) {
@media only screen and (max-width: @maxWidth) { @media only screen and (max-width: @maxWidth) {
...@@ -11259,16 +11277,14 @@ a { ...@@ -11259,16 +11277,14 @@ a {
@rules(); @rules();
} }
} */ } */
.calendar-wrapper { .calendar-wrapper {
width: 90%; width: 90%;
margin: .2em auto; margin: .01rem auto;
padding: 2em; padding: 2em;
border: .2em solid rgb(236, 191, 92); border: .2em solid rgb(236, 191, 92);
border-radius: 5px; border-radius: 5px;
background: linear-gradient( 174deg, rgb(226, 226, 226) 4%, rgb(221, 221, 221) 100%); background: linear-gradient( 174deg, rgb(226, 226, 226) 4%, rgb(221, 221, 221) 100%);
} }
table { table {
clear: both; clear: both;
width: 100%; width: 100%;
...@@ -11277,7 +11293,6 @@ table { ...@@ -11277,7 +11293,6 @@ table {
border-collapse: collapse; border-collapse: collapse;
color: black; color: black;
} }
td { td {
height: 48px; height: 48px;
text-align: center; text-align: center;
...@@ -11285,20 +11300,16 @@ td { ...@@ -11285,20 +11300,16 @@ td {
border-right: 1px solid border-top: 1px solid; border-right: 1px solid border-top: 1px solid;
width: 100% / 7; width: 100% / 7;
} }
td.not-current { td.not-current {
color: rgb(145, 141, 141); color: rgb(145, 141, 141);
; ;
} }
td.normal {} td.normal {}
td.today { td.today {
font-weight: 700; font-weight: 700;
color: red; color: red;
font-size: 1.5em; font-size: 1.5em;
} }
thead td { thead td {
border: none; border: none;
color: black; color: black;
...@@ -11306,27 +11317,26 @@ thead td { ...@@ -11306,27 +11317,26 @@ thead td {
text-transform: uppercase; text-transform: uppercase;
font-size: 1.5em; font-size: 1.5em;
} }
#btnPrev { #btnPrev {
float: left; float: left;
margin-bottom: 20px; margin-bottom: 20px;
&:before { }
/* #btnPrev:before {
content: '\f104'; content: '\f104';
font-family: FontAwesome; font-family: FontAwesome;
padding-right: 4px; padding-right: 4px;
} } */
}
#btnNext { #btnNext {
float: right; float: right;
margin-bottom: 20px; margin-bottom: 20px;
&:after { }
/* #btnNext:after {
content: '\f105'; content: '\f105';
font-family: FontAwesome; font-family: FontAwesome;
padding-left: 4px; padding-left: 4px;
} } */
}
#btnPrev, #btnPrev,
#btnNext { #btnNext {
background: transparent; background: transparent;
...@@ -11339,11 +11349,9 @@ thead td { ...@@ -11339,11 +11349,9 @@ thead td {
text-transform: uppercase; text-transform: uppercase;
transition: all 0.3s ease; transition: all 0.3s ease;
} }
#btnPrev:hover { #btnPrev:hover {
color: rgb(96, 238, 96); color: rgb(123, 121, 121);
} }
#btnNext:hover { #btnNext:hover {
color: rgb(96, 238, 96); color: rgb(123, 121, 121);
} }
\ No newline at end of file
...@@ -15,7 +15,30 @@ ...@@ -15,7 +15,30 @@
<p id="agendar">Agendar horário</p> <p id="agendar">Agendar horário</p>
</fieldset> </fieldset>
<fieldset class="calendario"> <fieldset class="calendario">
<input type="time" id="data" name="horaAgendamento"> <input type="button" id="hora" name="horaAgendamento" value="08:00">
<input type="button" id="hora" name="horaAgendamento" value="08:20">
<input type="button" id="hora" name="horaAgendamento" value="08:40">
<input type="button" id="hora" name="horaAgendamento" value="09:00">
<input type="button" id="hora" name="horaAgendamento" value="09:20">
<input type="button" id="hora" name="horaAgendamento" value="09:40">
<input type="button" id="hora" name="horaAgendamento" value="10:00">
<input type="button" id="hora" name="horaAgendamento" value="10:20">
<input type="button" id="hora" name="horaAgendamento" value="10:40">
<input type="button" id="hora" name="horaAgendamento" value="11:00">
<input type="button" id="hora" name="horaAgendamento" value="11:20">
<input type="button" id="hora" name="horaAgendamento" value="11:40">
<input type="button" id="hora" name="horaAgendamento" value="13:00">
<input type="button" id="hora" name="horaAgendamento" value="13:20">
<input type="button" id="hora" name="horaAgendamento" value="13:40">
<input type="button" id="hora" name="horaAgendamento" value="14:00">
<input type="button" id="hora" name="horaAgendamento" value="14:20">
<input type="button" id="hora" name="horaAgendamento" value="14:40">
<input type="button" id="hora" name="horaAgendamento" value="15:00">
<input type="button" id="hora" name="horaAgendamento" value="15:20">
<input type="button" id="hora" name="horaAgendamento" value="15:40">
<input type="button" id="hora" name="horaAgendamento" value="16:00">
<input type="button" id="hora" name="horaAgendamento" value="16:20">
<input type="button" id="hora" name="horaAgendamento" value="16:40">
<br> <br>
<button class="enviarbtn" onclick="window.location = '{{ route('agendamentoConfere') }}'">@lang('agendamento.next')</button> <button class="enviarbtn" onclick="window.location = '{{ route('agendamentoConfere') }}'">@lang('agendamento.next')</button>
</fieldset> </fieldset>
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
</fieldset> </fieldset>
<fieldset class="calendario"> <fieldset class="calendario">
<div class="calendar-wrapper"> <div class="calendar-wrapper">
<button id="btnPrev" type="button"><< Voltar</button> <button id="btnPrev" type="button"> < Voltar</button>
<button id="btnNext" type="button">Proximo >></button> <button id="btnNext" type="button">Proximo > </button>
<div id="divCal"></div> <div id="divCal"></div>
</div> </div>
</fieldset> </fieldset>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment