Skip to content
Permalink
Browse files

[Plugin manager] SVG voting stars

  • Loading branch information
borysiasty committed Jan 20, 2018
1 parent fe13c0e commit 0114927149bb9c496f0ecc290a46c52487067e3e
@@ -517,8 +517,8 @@
<file>themes/default/repositoryConnected.png</file>
<file>themes/default/repositoryDisabled.png</file>
<file>themes/default/repositoryUnavailable.png</file>
<file>themes/default/stars_empty.png</file>
<file>themes/default/stars_full.png</file>
<file>themes/default/stars_empty.svg</file>
<file>themes/default/stars_full.svg</file>
<file>themes/default/styleicons/color.svg</file>
<file>themes/default/symbologyAdd.svg</file>
<file>themes/default/symbologyEdit.png</file>
Binary file not shown.
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1362.519" height="236.999" viewBox="0 0 272.504 47.4"><defs><linearGradient id="a"><stop offset="0" stop-color="#c8c8c8"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="c"><stop offset="0" stop-color="#c8c8c8"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="e"><stop offset="0" stop-color="#c8c8c8"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="b"><stop offset="0" stop-color="#c8c8c8"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="d"><stop offset="0" stop-color="#c8c8c8"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient xlink:href="#a" id="f" x1="25.995" y1="48.559" x2="25" y2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(-.4 .2)"/><linearGradient gradientTransform="translate(55.426 .2)" xlink:href="#b" id="g" x1="25.995" y1="48.559" x2="25" y2="1" gradientUnits="userSpaceOnUse"/><linearGradient gradientTransform="translate(111.252 .2)" xlink:href="#c" id="h" x1="25.995" y1="48.559" x2="25" y2="1" gradientUnits="userSpaceOnUse"/><linearGradient gradientTransform="translate(167.078 .2)" xlink:href="#d" id="i" x1="25.995" y1="48.559" x2="25" y2="1" gradientUnits="userSpaceOnUse"/><linearGradient gradientTransform="translate(222.904 .2)" xlink:href="#e" id="j" x1="25.995" y1="48.559" x2="25" y2="1" gradientUnits="userSpaceOnUse"/></defs><path d="M24.6 1.2l6 17h18l-14 11 5 17-15-10-15 10 5-17-14-11h18z" fill="url(#f)" stroke="#a0a0a0" stroke-width="1.2" stroke-linejoin="round"/><path d="M80.426 1.2l6 17h18l-14 11 5 17-15-10-15 10 5-17-14-11h18z" fill="url(#g)" stroke="#a0a0a0" stroke-width="1.2" stroke-linejoin="round"/><path d="M136.252 1.2l6 17h18l-14 11 5 17-15-10-15 10 5-17-14-11h18z" fill="url(#h)" stroke="#a0a0a0" stroke-width="1.2" stroke-linejoin="round"/><path d="M192.078 1.2l6 17h18l-14 11 5 17-15-10-15 10 5-17-14-11h18z" fill="url(#i)" stroke="#a0a0a0" stroke-width="1.2" stroke-linejoin="round"/><path d="M247.904 1.2l6 17h18l-14 11 5 17-15-10-15 10 5-17-14-11h18z" fill="url(#j)" stroke="#a0a0a0" stroke-width="1.2" stroke-linejoin="round"/></svg>
Binary file not shown.
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1362.519" height="236.999" viewBox="0 0 272.504 47.4"><defs><linearGradient id="e"><stop offset="0" stop-color="#ff0"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="d"><stop offset="0" stop-color="#ff0"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="b"><stop offset="0" stop-color="#ff0"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="a"><stop offset="0" stop-color="#ff0"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="c"><stop offset="0" stop-color="#ff0"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient xlink:href="#a" id="f" x1="25.995" y1="48.559" x2="25" y2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(-.4 .2)"/><linearGradient gradientTransform="translate(55.426 .2)" xlink:href="#b" id="g" x1="25.995" y1="48.559" x2="25" y2="1" gradientUnits="userSpaceOnUse"/><linearGradient gradientTransform="translate(111.252 .2)" xlink:href="#c" id="h" x1="25.995" y1="48.559" x2="25" y2="1" gradientUnits="userSpaceOnUse"/><linearGradient gradientTransform="translate(167.078 .2)" xlink:href="#d" id="i" x1="25.995" y1="48.559" x2="25" y2="1" gradientUnits="userSpaceOnUse"/><linearGradient gradientTransform="translate(222.904 .2)" xlink:href="#e" id="j" x1="25.995" y1="48.559" x2="25" y2="1" gradientUnits="userSpaceOnUse"/></defs><path d="M24.6 1.2l6 17h18l-14 11 5 17-15-10-15 10 5-17-14-11h18z" fill="url(#f)" stroke="#a0a0a0" stroke-width="1.2" stroke-linejoin="round"/><path d="M80.426 1.2l6 17h18l-14 11 5 17-15-10-15 10 5-17-14-11h18z" fill="url(#g)" stroke="#a0a0a0" stroke-width="1.2" stroke-linejoin="round"/><path d="M136.252 1.2l6 17h18l-14 11 5 17-15-10-15 10 5-17-14-11h18z" fill="url(#h)" stroke="#a0a0a0" stroke-width="1.2" stroke-linejoin="round"/><path d="M192.078 1.2l6 17h18l-14 11 5 17-15-10-15 10 5-17-14-11h18z" fill="url(#i)" stroke="#a0a0a0" stroke-width="1.2" stroke-linejoin="round"/><path d="M247.904 1.2l6 17h18l-14 11 5 17-15-10-15 10 5-17-14-11h18z" fill="url(#j)" stroke="#a0a0a0" stroke-width="1.2" stroke-linejoin="round"/></svg>
@@ -663,12 +663,14 @@ void QgsPluginManager::showPluginDetails( QStandardItem *item )
html += QString(
"<style>"
" div#stars_bg {"
" background-image: url('qrc:/images/themes/default/stars_empty.png');"
" background-image: url('qrc:/images/themes/default/stars_empty.svg');"
" background-size: 92px 16px;"
" width:92px;"
" height:16px;"
" }"
" div#stars {"
" background-image: url('qrc:/images/themes/default/stars_full.png');"
" background-image: url('qrc:/images/themes/default/stars_full.svg');"
" background-size: 92px 16px;" /*scale to the full width*/
" width:%1px;"
" height:16px;"
" }"

0 comments on commit 0114927

Please sign in to comment.
You can’t perform that action at this time.