Zmiany w plikach graficznych - styl rwd (wersja 1.7.3
Transkrypt
Zmiany w plikach graficznych - styl rwd (wersja 1.7.3
Dokumentacja zmian plików graficznych: rwd clickshop
Wersja zmian: 1.7.3 - 1.7.4
Pliki .tpl
scripts/product/index.tpl
141
142
143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
+ 144
{if $product->product->group_id && count($options)}
<div class="stocks">
{foreach from=$options item=option}
<div class="f-row">
<div class="label f-grid-6">
<label for="option_{$option.id|escape}" class="label">
{if 1 == $option.required}<em class="color">*</em>{/if}
{$option.name|escape}:
</label>
</div>
<div class="stock-options f-grid-6">
{if (0 == $option.stock && count($option.values) > 0) || 1 == $opti
on.stock || $option.type == 'file' || $option.type == 'text' || $option.type == 'checkbox'}
+ 145
<div class="f-row">
+ 146
<div class="label f-grid-6">
+ 147
<label for="option_{$option.id|escape}" class="label">
+ 148
{if 1 == $option.required}<em class="color">*</em>{/if}
+ 149
+ 150
+ 151
+ 152
153
154
{$option.name|escape}:
</label>
</div>
<div class="stock-options f-grid-6">
{if $option.type == 'file'}
<div class="option_{$option.type|escape}{if 1 == $option.st
ock} option_truestock{/if}{if 1 == $option.required} option_required{/if}">
155
<input type="file" id="option_{$option.id|escape}" name
="option_{$option.id|escape}"/>
180
181
{elseif $option.type == 'color'}
<div class="option_{$option.type|escape}{if 1 == $option.st
ock} option_truestock{/if}{if 1 == $option.required} option_required{/if}">
182
<select id="option_{$option.id|escape}" name="option_{$
option.id|escape}">
- 183
<option value="" title="">({translate key='choose'}
)</option>
+ 183
<option value="" title="">{translate key='choose'}<
Strona 1/4
/option>
184
185
{foreach from=$option.values item=value}
<option value="{$value.id|escape}" title="{$value.c
olor|escape}">{$value.name|escape}</option>
186
{/foreach}
190
<div class="option_{$option.type|escape}{if 1 == $option.st
ock} option_truestock{/if}{if 1 == $option.required} option_required{/if}">
191
<select id="option_{$option.id|escape}" name="option_{$
option.id|escape}">
192
- 193
{if 0 == $option.stock}
<option value="" title="">({translate key='choose'}
)</option>
+ 193
<option value="" title="">{translate key='choose'}<
/option>
194
195
196
{/if}
{foreach from=$option.values item=value}
<option value="{$value.id|escape}">{$value.name|esc
ape}</option>
198
199
200
+ 201
202
- 203
+ 202
203
204
205
</select>
</div>
{/if}
</div>
</div>
</div>
{/if}
{/foreach}
</div>
{/if}
212
<input name="quantity" value="{float precision=$QUANTITY_PRECISION
value=1 trim=true}" type="text" class="short inline">
213
214
- 215
+ 215
+ 216
</span>
<span class="unit">{$product->unit->translation->name|escape}</span>
<input type="hidden" value="{$stock_id|escape}" name="stock_id" >
<input type="hidden" value="{$stock_id|escape}" name="stock_id">
<input type="hidden" value="{$product->product->product_id}" name="prod
uct_id">
217
218
219
<input type="hidden" value="1" name="nojs">
</div>
<div class="button_wrap">
Pliki .css
Strona 2/4
Pliki .less
styles/_product.less
1452
}
1453 }
1454
+ 1455
+ 1456 .option_truestock {
+ 1457
position: relative;
+ 1458
+ 1459
&.loading {
+ 1460
.transition(all 0.4s linear);
+ 1461
+ 1462
min-height: 41px;
+ 1463
overflow: hidden;
+ 1464
+ 1465
&::after {
+ 1466
.transition(all 0.4s linear);
+ 1467
+ 1468
display: inline-block;
+ 1469
font-family: FontAwesome;
+ 1470
font-style: normal;
+ 1471
font-weight: normal;
+ 1472
line-height: 1;
+ 1473
-webkit-font-smoothing: antialiased;
+ 1474
-moz-osx-font-smoothing: grayscale;
+ 1475
-webkit-animation: spin 2s infinite linear;
+ 1476
-moz-animation: spin 2s infinite linear;
+ 1477
-o-animation: spin 2s infinite linear;
+ 1478
animation: spin 2s infinite linear;
+ 1479
content: "\f013";
+ 1480
position: absolute;
+ 1481
left: 50%;
+ 1482
top: 7px;
+ 1483
z-index: 99999 !important;
+ 1484
font-size: 2em;
+ 1485
}
+ 1486
+ 1487
&::before {
+ 1488
.transition(all 0.4s linear);
+ 1489
+ 1490
content: '' !important;
+ 1491
display: block;
+ 1492
position: absolute;
+ 1493
left: 0;
+ 1494
top: 0;
+ 1495
right: 0;
+ 1496
bottom: 0;
+ 1497
background-color: rgba(255, 255, 255, 0.9);
Strona 3/4
+ 1498
z-index: 99999 !important;
+ 1499
}
+ 1500
}
+ 1501 }
+ 1502
1503 .default-currency {
1504
color: @greyFont;
1505 }
Strona 4/4