Спорт-вики — википедия научного бодибилдинга

Шаблон:Progress bar — различия между версиями

Материал из SportWiki энциклопедии
Перейти к: навигация, поиск
Строка 7: Строка 7:
 
| text-size = 89%
 
| text-size = 89%
 
}}
 
}}
</noinclude><includeonly><div title="{{{title|{{{progression|}}}}}}"
+
</noinclude><includeonly><div title="{{{title|{{{progression|<!--
 +
  -->{{#ifeq:{{{mode|}}}|value|{{{current|0}}}|<!--
 +
      -->{{#ifexpr:({{{current|0}}}-{{{min|0}}}&gt;=0) and ({{{max|100}}}-{{{min|0}}}&gt;0)|<!--
 +
        -->{{#expr:(({{{current|0}}}-{{{min|0}}})/({{{max|100}}}-{{{min|0}}}))*100 round 1}}%|0%}}}}}}} {{{desc|}}}}}}"
 
                         style="background: {{{box-background|}}};
 
                         style="background: {{{box-background|}}};
                                 border: {{{box-border|1px solid black}}};
+
                                 border: {{{box-border|0px solid black}}};
 
                                 margin: {{{box-margin|1px}}};
 
                                 margin: {{{box-margin|1px}}};
 
                                 padding: {{{box-padding|1px}}};
 
                                 padding: {{{box-padding|1px}}};
 
                                 width: {{{box-width|100%}}};
 
                                 width: {{{box-width|100%}}};
                                 color: {{{text-color|black}}};
+
                                 color: {{{text-color|#ffffff}}};
                                 text-shadow: 0px 0px 5px white;
+
                                 text-shadow: 1px 1px #000000;
 
                                 font-size: {{{text-size|small}}};
 
                                 font-size: {{{text-size|small}}};
 
                                 font-weight: {{{text-weight|bold}}};
 
                                 font-weight: {{{text-weight|bold}}};
Строка 31: Строка 34:
 
                                 -ms-linear-gradient(top, #4b4b4b 0%, #919191 45%, #aeaeae 50%, #939393 55%, #aaaaaa 100%);
 
                                 -ms-linear-gradient(top, #4b4b4b 0%, #919191 45%, #aeaeae 50%, #939393 55%, #aaaaaa 100%);
 
                                 linear-gradient(to bottom, #4b4b4b 0%, #919191 45%, #aeaeae 50%, #939393 55%, #aaaaaa 100%);
 
                                 linear-gradient(to bottom, #4b4b4b 0%, #919191 45%, #aeaeae 50%, #939393 55%, #aaaaaa 100%);
                                 border-radius: 3px;
+
                                 border-radius: 5px;
                                 -webkit-border-radius: 3px;
+
                                 -webkit-border-radius: 5px;
                                 -moz-border-radius: 3px;
+
                                 -moz-border-radius: 5px;
 
                                 text-align: center;"><!--
 
                                 text-align: center;"><!--
                 -->{{{progression-text|{{{progression|}}}}}} </div><!--
+
                 -->{{{progression-text|{{{progression|<!--
 +
                    -->{{#ifeq:{{{mode|}}}|value|{{{current|0}}}|<!--
 +
                    -->{{#ifexpr:({{{current|0}}}-{{{min|0}}}&gt;=0) and ({{{max|100}}}-{{{min|0}}}&gt;0)|<!--
 +
                      -->{{#expr:(({{{current|0}}}-{{{min|0}}})/({{{max|100}}}-{{{min|0}}}))*100 round 1}}%|0%}}}}}}} <!--
 +
                          -->{{{desc|}}}}}}</div><!--
 
                 --><div style="margin: 0;
 
                 --><div style="margin: 0;
 
                                 padding: 0;
 
                                 padding: 0;
                                 width: {{{progression|}}};
+
                                 width: {{{progression|<!--
 +
                                  -->{{#ifexpr:({{{current|0}}}-{{{min|0}}}&gt;=0) and ({{{max|100}}}-{{{min|0}}}&gt;0)|<!--
 +
                                  -->{{#expr:(({{{current|0}}}-{{{min|0}}})/({{{max|100}}}-{{{min|0}}}))*100 round 1}}%|0%}}}}};
 
                                 background: {{{bar-background|transparent}}};
 
                                 background: {{{bar-background|transparent}}};
                                 border-radius: 3px;
+
                                 border-radius: 5px;
                                 -webkit-border-radius: 3px;
+
                                 -webkit-border-radius: 5px;
                                 -moz-border-radius: 3px;
+
                                 -moz-border-radius: 5px;
 
                                 height: 1.25em;
 
                                 height: 1.25em;
 
                                 {{{bar-style|}}}">&nbsp;</div></div></div></includeonly>
 
                                 {{{bar-style|}}}">&nbsp;</div></div></div></includeonly>

Версия 14:36, 22 января 2017

низкий