Plugin Directory

Changeset 1649915


Ignore:
Timestamp:
05/02/2017 07:18:06 PM (9 years ago)
Author:
robby.roboter
Message:

responsivness of people and date select

Location:
redi-restaurant-reservation/branches/newDesign
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • redi-restaurant-reservation/branches/newDesign/css/restaurant.css

    r1646920 r1649915  
    10741074}
    10751075
    1076 .date {
    1077     width: 33px;
    1078 }
    1079 
    10801076.redi-restaurant-time-button[disabled="disabled"],
    10811077.redi-restaurant-button[disabled="disabled"] {
     
    13181314    color: #888 !important;
    13191315}
     1316
     1317.persons, .more_persons, .message_for_large_group, .more_date_select,.date{
     1318    max-width: 33px;
     1319}
  • redi-restaurant-reservation/branches/newDesign/templates/frontend.php

    r1646920 r1649915  
    6161                    <tr>
    6262                        <?php foreach ( range( $minPersons, $maxPersons - $minPersons <= $maxInRow ? $maxPersons : $minPersons + $maxInRow - 1 ) as $current ): ?>
    63                             <td style="width:33px;"
     63                            <td
    6464                                class="persons <?php if ( $current == $minPersons ): ?>select<?php endif ?>">
    6565                                <?php echo $current ?>
     
    6767                        <?php endforeach; ?>
    6868                        <?php if ( ! $fits ): ?>
    69                             <td style="width:33px;" class="more_persons">
     69                            <td class="more_persons">
    7070                                <div class="selectBox" data-value="Option 1">
    7171                                    <span id="more">...</span>
     
    8181                        <?php endif; ?>
    8282                        <?php if ( ! empty( $largeGroupsMessage ) ): ?>
    83                             <td style="width:33px;" class="message_for_large_group">
     83                            <td class="message_for_large_group">
    8484                                <abbr title="<?php echo sprintf( __( 'More than %s people', 'redi-booking' ), $maxPersons ); ?>">
    8585                                    <span id="large">> </span>
     
    118118                                <input type="hidden" value="<?php echo $date['hidden'] ?>"/>
    119119                                <span class="legend">
    120                                 <?php echo $date['month'] ?>
    121                             </span>
     120                                    <?php echo $date['month'] ?>
     121                                </span>
    122122                                <br/>
    123123                                <?php echo $date['day'] ?>
     
    136136                            </td>
    137137                        <?php endforeach ?>
    138                         <td style="width:33px;" id="more-date-select">
     138                        <td id="more-date-select" class="more_date_select">
    139139                            <input type="hidden" value=""/>
    140140                            <br/>
Note: See TracChangeset for help on using the changeset viewer.