Commit 139413b3584bf3b7d7d69a9594cc67831d67f827
1 parent
6e490db6
Веталь
Showing
2 changed files
with
35 additions
and
13 deletions
Show diff stats
frontend/views/basket/index.php
... | ... | @@ -121,7 +121,7 @@ $('#orders-delivery input[type=\"radio\"]').click(function(){ |
121 | 121 | |
122 | 122 | |
123 | 123 | |
124 | -<div class="input-blocks-group textareagroup" style="border-bottom: none;"> | |
124 | +<div class="input-blocks-group textareagroup" style="border-bottom: none; padding-bottom: 0;"> | |
125 | 125 | <?php echo $form->field($modelOrder,'body')->textarea(['rows'=>7]); ?> |
126 | 126 | <div class="checkout_basket"> |
127 | 127 | <?php echo Html::submitButton(' Оформить заказ ',array('class'=>'submit4')); ?> | ... | ... |
frontend/web/css/style.css
... | ... | @@ -119,29 +119,44 @@ a.myorders{color:#f75d50} |
119 | 119 | strike, strike span#old_cost{font-size:14px; color: #333} |
120 | 120 | |
121 | 121 | |
122 | -.submit4m, a.link_buy { | |
122 | +.submit4m, a.link_buy, .checkout_basket button { | |
123 | 123 | background: #95ba2f; |
124 | 124 | border-radius:4px; |
125 | 125 | height: 29px; |
126 | -} | |
127 | -a.link_buy { | |
126 | + text-transform: uppercase; | |
127 | + color:#ffffff; | |
128 | + text-decoration:none; | |
129 | + font-weight:600; | |
130 | + text-align:center; | |
131 | + border-bottom: 3px solid #799920; | |
128 | 132 | font-size: 12px; |
133 | +} | |
134 | +a.link_buy, .checkout_basket button { | |
135 | + | |
129 | 136 | display:block; |
130 | 137 | margin:0 auto 10px auto; |
131 | 138 | width:122px; |
132 | 139 | line-height:32px; |
133 | - text-transform: uppercase;color:#ffffff; | |
134 | - text-decoration:none;font-weight:600; | |
135 | - text-align:center; | |
136 | - border-bottom: 3px solid #799920; | |
137 | 140 | } |
138 | -a.link_buy:hover, .submit4m:hover { | |
141 | +.checkout_basket button{ | |
142 | + margin: 0; | |
143 | + padding: 0 20px; | |
144 | + line-height: 31px; | |
145 | + width: auto; | |
146 | + border-top: 0; | |
147 | + border-left: 0; | |
148 | + border-right: 0; | |
149 | + cursor: pointer; | |
150 | +} | |
151 | +a.link_buy:hover, .submit4m:hover, .checkout_basket button:hover { | |
139 | 152 | border-bottom: 3px solid #95ba2f;; |
140 | 153 | } |
141 | -a.link_buy:active, .submit4m:active { | |
154 | +a.link_buy:active, .submit4m:active,.checkout_basket button:active { | |
142 | 155 | background: #799920; |
143 | 156 | border-bottom: 3px solid #799920; |
157 | + | |
144 | 158 | } |
159 | +.checkout_basket button:focus { outline: none;} | |
145 | 160 | .mycarousel{position:absolute;right:0;top:13px;} |
146 | 161 | ul.mycarousel{list-style:none;margin:0px;padding:0px;} |
147 | 162 | ul.mycarousel li{margin:0px;padding:0px;} |
... | ... | @@ -354,8 +369,8 @@ a.del:hover{color:#a52828;text-decoration: underline;} |
354 | 369 | |
355 | 370 | .total{text-align:right;color:#87476a;font-size:20px;margin:10px 0px;} |
356 | 371 | |
357 | -.submit4{margin-top:5px;border:none;padding:8px 13px;background:#95ba2f;border-radius:5px;color:#ffffff;text-transform: uppercase;text-decoration:none;font-size:14px;cursor:pointer;} | |
358 | -.submit4:hover{background:#f75d50;} | |
372 | +/*.submit4{margin-top:5px;border:none;padding:8px 13px;background:#95ba2f;border-radius:5px;color:#ffffff;text-transform: uppercase;text-decoration:none;font-size:14px;cursor:pointer;}*/ | |
373 | +/*.submit4:hover{background:#f75d50;}*/ | |
359 | 374 | |
360 | 375 | .submit4m {font-family: Roboto;border:none;background:#95ba2f;border-radius:4px;color:#ffffff;text-transform: uppercase;font-size:10px;cursor:pointer; width:102px; height: 29px; border-bottom: 3px solid #799920; line-height: 29px;} |
361 | 376 | .submit4m:active,.submit4m:focus {outline: none} |
... | ... | @@ -1400,4 +1415,11 @@ input.custom-radio + label:hover { |
1400 | 1415 | margin-top: 7px; |
1401 | 1416 | } |
1402 | 1417 | .custom-form-buttons:first-child {margin-top: 0} |
1403 | -.delivery-data .field-order-delivery-childs .control-label {display: none;} | |
1404 | 1418 | \ No newline at end of file |
1419 | +.delivery-data .field-order-delivery-childs .control-label {display: none;} | |
1420 | +.checkout_basket { | |
1421 | + width: 100%; | |
1422 | + float: left; | |
1423 | +} | |
1424 | +.checkout_basket button { | |
1425 | + margin: 0 auto; | |
1426 | +} | ... | ... |