Plugin Directory

Changeset 2309391

Timestamp:
05/21/2020 10:29:55 AM (4 years ago)
Author:
mehedi_csit
Message:

Fixed responsive mobile issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cwm-stylish-woo-quick-view/trunk/scripts/css/cwm-quick-view.css

    r2309343 r2309391  
    11#btn-close-modal {
    2     text-align: center;
    3     cursor:pointer;
    4     color:#fff;
     2  text-align: center;
     3  pointer;
     4  #fff;
    55}
    66
    7 .cwm-quick-view-modal{
    8     width: 60%!important;
    9     height: 560px!important;
    10     top: 20%!important;
    11     left: 20%!important;
    12     bottom: 20%!important;
    13     right: 20%!important;
    14     display: none;
    15     position: fixed;
    16     background: #fff;
    17     z-index: 999;
    18     border: 5px solid#D3D3D3;
    19     padding: 2%;
     7.cwm-quick-view-modal{
     8!important;
     9!important;
     10!important;
     11!important;
     12!important;
     13!important;
     14display: none;
     15position: fixed;
     16background: #fff;
     17z-index: 999;
     18  border: 5px solid#D3D3D3;
     19  padding: 2%;
    2020}
    2121
    2222a#cwm-modal-close {
    23     float: right;
    24     width: 25px;
    25     height: 25px;
    26     background: #222;
    27     color: #fff;
    28     text-align: center;
    29     font-weight: bold;
    30     border-radius: 100%;
    31     position: absolute;
    32     right: 15px;
    33     top: 15px;
     23  float: right;
     24  width: 25px;
     25  height: 25px;
     26  background: #222;
     27  color: #fff;
     28  text-align: center;
     29  font-weight: bold;
     30  border-radius: 100%;
     31  position: absolute;
     32  right: 15px;
     33  top: 15px;
    3434}
    3535
    3636.cwm-qview-left {
    37     float: left;
    38     width: 35%;
    39     margin-right: 5%;
     37  float: left;
     38  width: 35%;
     39  margin-right: 5%;
    4040}
    4141
    4242.cwm-qview-right {
    43     float: left;
    44     width: 60%;
     43  float: left;
     44  width: 60%;
    4545}
    4646.cwm-qview-left img {
    47     width: 100%;
     47  width: 100%;
    4848}
    4949.cwm-qview-right p {
    50     margin-bottom: 5px;
     50  margin-bottom: 5px;
    5151}
    5252a.cwm-qv-addTo-cart {
    53     display: inline-block;
    54     background: #222;
    55     color: #fff;
    56     padding: 5px 10px;
     53  display: inline-block;
     54  background: #222;
     55  color: #fff;
     56  padding: 5px 10px;
    5757}
    5858.qv-pgallery {
    59     float: left;
    60     width: 100%;
     59  float: left;
     60  width: 100%;
    6161}
    6262.qv-pgallery img {
    63     max-width: 90px!important;
    64     margin-right: 5px;
    65     margin-top: 10px;
    66     float: left;
     63  !important;
     64  margin-right: 5px;
     65  margin-top: 10px;
     66  float: left;
    6767}
    6868.cwm-modal-content {
     69
     70
     71
     72
     73
     74
     75
     76
     77
     78
     79
     80
     81
     82
     83
     84
     85
     86
     87
     88
     89
     90
     91
     92
     93
     94
     95
     96
     97
     98
     99
     100
     101
     102
     103
     104
     105
     106
     107
     108
     109
     110
     111
     112
     113
     114
     115
     116
     117
     118
     119
     120
     121
     122
     123
     124
     125
     126
     127
     128
     129
     130
     131
     132
     133
     134
     135
     136
     137
     138
     139
     140
    69141    width: 100%;
    70142    padding: 0;
     
    72144    max-height: 100%;
    73145    padding-top: 15px;
    74     height: 100%;
     146    max-height: 560px;
     147    height: 560px;
     148    overflow-y: scroll;
     149  }
    75150}
    76 a.cwm-quick-view {
    77     background: #222;
    78     color: #fff;
    79     padding: 10px 15px;
    80     margin-right: 10px;
    81 }
    82 .cwm-qview-right .quantity {
    83     float: left;
    84     width: 150px;
    85     margin-right: 15px;
    86 }
    87 /*Quantity increment and decrement button*/
    88 a#cwm-qplus {
    89     background: green;
    90     color: #fff;
    91     display: inline-block;
    92     text-align: center;
    93     font-size: 18px;
    94     font-weight: 600;
    95     width: 28px;
    96     height: 28px;
    97     border-radius: 50%;
    98 }
    99 a#cwm-qminus {
    100     background: red;
    101     color: #fff;
    102     display: inline-block;
    103     text-align: center;
    104     font-size: 18px;
    105     font-weight: 600;
    106     width: 28px;
    107     height: 28px;
    108     border-radius: 50%;
    109 }
    110 span.qv-tquanity {
    111     width: 25px;
    112     display: inline-block;
    113     text-align: center;
    114 }
    115 @media(max-width:480px){
    116     .cwm-quick-view-modal {
    117         width: 80%!important;
    118         height: 80%!important;
    119         top: 10%!important;
    120         left: 10%!important;
    121         bottom: 10%!important;
    122         right: 10%!important;
    123         display: none;
    124         position: fixed;
    125         background: #fff;
    126         z-index: 999;
    127         border: 5px solid#D3D3D3;
    128         padding: 2%;
    129     }
    130     .cwm-qview-left {
    131         float: left;
    132         width: 95%;
    133         margin: 10px;
    134     }
    135     .cwm-qview-right {
    136         float: left;
    137         width: 95%;
    138         margin: 0 10px;
    139     }
    140 }
Note: See TracChangeset for help on using the changeset viewer.