Zmiany w plikach graficznych – styl rwd (wersja

Transkrypt

Zmiany w plikach graficznych – styl rwd (wersja
Dokumentacja zmian plików graficznych: rwd clickshop
Wersja zmian: 1.6.0 - 1.6.1
Pliki .tpl
boxes/Currencies/box.tpl
4
5
6
-7
-8
+7
8
9
10
</div>
<div class="innerbox">
{if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if}
{switch expr=$boxNs->$box_id->format}
{case expr=1}
{if $boxNs->$box_id->format == 1}
<label class="singleselect" for="box_currencies_select">{translate key="Select a currency"}</label>
<select class="singleselect gotourl" id="box_currencies_select">
{foreach from=$boxNs->$box_id->list item=desc key=cur}
12
13
14
- 15
- 16
+ 15
16
17
18
23
24
25
- 26
- 27
+ 26
27
28
} value="{url}?currency={$cur|escape}">{$desc|escape}</option>
{/foreach}
</select>
{/case}
{case expr=2}
{elseif $boxNs->$box_id->format == 2}
<ul class="listwithicons">
{foreach from=$boxNs->$box_id->list item=desc key=cur}
<li{if $cur == $boxNs->$box_id->currency} class="selected"{/if
</li>
{/foreach}
</ul>
{/case}
{/switch}
{/if}
</div>
</div>
boxes/LanguageList/box.tpl
4
5
6
</div>
<div class="innerbox">
{if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if}
Strona 1/7
-7
-8
+7
8
9
10
11
12
13
- 14
- 15
+ 14
15
16
17
{switch expr=$boxNs->$box_id->format}
{case expr=1}
{if $boxNs->$box_id->format == 1}
<label class="singleselect" for="box_languages_select">{translate key="Select a language"}</label>
<select class="singleselect gotourl" id="box_languages_select">
{foreach from=$boxNs->$box_id->list item=language}
<option{if $language->name == $boxNs->$box_id->language} selected="selected"{/if} value="{$language->ur
l}">{$language->title|escape}</option>
{/foreach}
</select>
{/case}
{case expr=2}
{elseif $boxNs->$box_id->format == 2}
<ul class="listwithicons">
{foreach from=$boxNs->$box_id->list item=language}
<li{if $language->name == $boxNs->$box_id->language} class="selected"{/if}>
22
23
24
- 25
- 26
+ 25
26
27
28
34
35
36
- 37
- 38
+ 37
38
39
</li>
{/foreach}
</ul>
{/case}
{case expr=3}
{elseif $boxNs->$box_id->format == 3}
<div class="floatcenterwrap row">
<ul class="icons floatcenter">
{foreach from=$boxNs->$box_id->list item=language}
{/foreach}
</ul>
</div>
{/case}
{/switch}
{/if}
</div>
</div>
boxes/Pricelist/box.tpl
5
6
7
-8
-9
+8
9
10
11
</div>
<div class="innerbox">
{if $boxNs->$box_id->text}<h5 class="boxintro">{$boxNs->$box_id->text}</h5>{/if}
{switch expr=$boxNs->$box_id->format}
{case expr=1}
{if $boxNs->$box_id->format == 1}
<div class="row">
<ul class="icons">
{if 1 == $boxNs->$box_id->html}
Strona 2/7
26
27
28
- 29
- 30
+ 29
30
31
32
45
46
47
- 48
- 49
+ 48
49
50
51
{/if}
</ul>
</div>
{/case}
{case expr=2}
{elseif $boxNs->$box_id->format == 2}
<ul class="listwithicons">
{if 1 == $boxNs->$box_id->html}
<li class="html">
</li>
{/if}
</ul>
{/case}
{/switch}
{/if}
</div>
</div>
{/if}
scripts/product/index.tpl
145
146
147
- 148
- 149
+ 148
149
150
151
- 152
- 153
+ 152
153
154
155
156
157
- 158
- 159
+ 158
159
</label>
</div>
<div class="stock-options f-grid-6">
{switch expr=$option.type}
{case expr='file'}
{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}">
<input type="file" id="option_{$option.id|escape}" name
="option_{$option.id|escape}"/>
</div>
{/case}
{case expr='text'}
{elseif $option.type == 'text'}
<div class="option_{$option.type|escape}{if 1 == $option.st
ock} option_truestock{/if}{if 1 == $option.required} option_required{/if}">
<div class="shaded_inputwrap inputwrap">
<input type="text" id="option_{$option.id|escape}"
name="option_{$option.id|escape}" value="" />
</div>
</div>
{/case}
{case expr='checkbox'}
{elseif $option.type == 'checkbox'}
<div class="option_{$option.type|escape}{if 1 == $option.st
ock} option_truestock{/if}{if 1 == $option.required} option_required{/if}">
Strona 3/7
160
161
<span class="checkbox-wrap-yesno">
<input type="checkbox" id="option_{$option.id|escap
e}" name="option_{$option.id|escape}" value="1" />
162
<label data-yes="{translate key="YES"}" data-no="{t
ranslate key="NO"}" for="option_{$option.id|escape}"></label>
163
164
- 165
- 166
+ 165
166
</span>
</div>
{/case}
{case expr='radio'}
{elseif $option.type == 'radio'}
<div class="option_{$option.type|escape}{if 1 == $option.st
ock} option_truestock{/if}{if 1 == $option.required} option_required{/if}">
167
168
{foreach from=$option.values item=value}
<span class="radio-wrap">
172
<label for="option_{$option.id|escape}_{$value.id|e
scape}">{$value.name|escape}</label> <br />
173
174
- 175
- 176
+ 175
176
{/foreach}
</div>
{/case}
{case expr='color'}
{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}">
177
<select id="option_{$option.id|escape}" name="option_{$
option.id|escape}">
178
<option value="" title="">({translate key='choose'}
)</option>
181
182
183
- 184
- 185
+ 184
185
{/foreach}
</select>
</div>
{/case}
{case expr='select'}
{elseif $option.type == 'select'}
<div class="option_{$option.type|escape}{if 1 == $option.st
ock} option_truestock{/if}{if 1 == $option.required} option_required{/if}">
186
<select id="option_{$option.id|escape}" name="option_{$
option.id|escape}">
187
192
193
194
- 195
- 196
+ 195
196
{if 0 == $option.stock}
{/foreach}
</select>
</div>
{/case}
{/switch}
{/if}
</div>
Strona 4/7
197
198
</div>
{/foreach}
278
<img src="{baseDir}/public/images/1px.gif" alt="" class="px
1 star{$star|replace:'.':'-'}">
279
280
{/foreach}
<meta itemprop="ratingValue" content="{$product->vote->rate
}" />
+ 281
+ 282
283
284
285
425
426
427
- 428
+ 428
429
430
431
<meta itemprop="bestRating" content="5" />
<meta itemprop="worstRating" content="0" />
</span>
<span class="none">
{$product->vote->rate}
</div>
<script type="text/javascript">
try {literal}{{/literal} Shop.values.OptionsConfiguration = "{$options_configuration|escape}"; Shop.values.OptionsDefault = "{$
options_default|escape}"; Shop.values.OptionCurrentStock = "{$stock_id|escape}"; Shop.values.optionCurrentVirt = "default"; Shop.values.
OptionImgWidth = "{$skin_settings->img->big|escape}"; Shop.values.OptionImgHeight = "0"; {literal}}{/literal} catch(e) {literal}{ }{/lit
eral}
try {literal}{{/literal} Shop.values.OptionsConfiguration = "{$options_configuration|escape}"; Shop.values.OptionsDefault = "{$
options_default|escape}"; Shop.values.OptionCurrentStock = "{$stock_id|escape}"; Shop.values.optionCurrentVirt = "default"; Shop.values.
OptionImgWidth = "{$skin_settings->img->big|escape}"; Shop.values.OptionImgHeight = "{$skin_settings->img->big|escape}"; {literal}}{/lit
eral} catch(e) {literal}{ }{/literal}
</script>
{include file='footerbox.tpl'}
{include file='footer.tpl' force_include_cache='1' force_include_cache_tags='Logic_SkinFooterGroupList,Logic_SkinFooterLinkList,Logic_S
kinFooterGroup,Logic_SkinFooterLink'}
scripts/product/tableofproducts.tpl
-1
-2
-3
+1
+2
+3
4
5
-6
+4
5
6
7
{math equation="x" x=4 assign="columnCounter"}
{if 0 < (int) $layout->layout->left_col_width}
{math equation="x - y" x=$columnCounter y=1 assign="columnCounter"}
{assign var="columnCounter" value=4}
{if 0 < (int) $layout->layout->left_col_width}
{assign var="columnCounter" value=$columnCounter-1}
{/if}
{if 0 < (int) $layout->layout->right_col_width}
{math equation="x - y" x=$columnCounter y=1 assign="columnCounter"}
{assign var="columnCounter" value=$columnCounter-1}
{/if}
{if 'full' == $view || $view == 'desc'}
Pliki .css
Strona 5/7
Pliki .less
styles/_formBasic.less
1
2
3
+4
+5
+6
+7
8
9
10
form {
margin: 0 0 20px;
&.availability-notifier {
margin-bottom: 0;
}
fieldset {
padding: 0;
margin: 0;
styles/_other.less
97
98
99
- 100
+ 100
101
102
103
104
105
106
+ 107
+ 108
109
110
+ 111
+ 112
+ 113
+ 114
115
116
117
119
120
121
- 122
+ 122
}
}
}
.basket-summery {
background-color: @maincolor;
color: @colorWhite;
padding: 1.3em;
a {
.box-sizing();
background-color: @colorWhite;
padding: 5px 10px;
vertical-align: middle;
width: 18%;
text-align: center;
display: inline-block;
&:hover {
text-decoration: none;
}
.basket-price {
float: right;
.box-sizing();
Strona 6/7
+ 123
124
- 125
- 126
- 127
- 128
- 129
- 130
+ 124
+ 125
+ 126
+ 127
+ 128
129
130
131
font-size: 1.2em;
&.basket-price-discount {
text-align: right;
position:relative;
top: -0.6em;
}
text-align: right;
max-width: 81%;
width: 81%;
vertical-align: middle;
display: inline-block;
}
}
}
styles/_product.less
968
969
970
- 971
- 972
- 973
- 974
975
976
977
- 978
- 979
- 980
- 981
982
983
984
+ 985
+ 986
+ 987
988
989
990
991
+ 992
993
994
995
.votestars{
.star0{
background: url("../images/star0.png") no-repeat 0% 50% transparent;
display: inline-block;
width: 21px;
height: 19px;
margin: 0 0 2px 0;
}
.star0-5{
background: url("../images/star0-5.png") no-repeat 0% 50% transparent;
display: inline-block;
width: 21px;
height: 19px;
margin: 0 0 2px 0;
}
.star1{
background: url("../images/star1.png") no-repeat 0% 50% transparent;
}
img[class*="star"] {
display: inline-block;
width: 21px;
height: 19px;
margin: 0 0 2px 0;
float: left;
}
}
.votecount{
Strona 7/7

Podobne dokumenty