<?xml 
version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="https://blog.roxing.net/spip.php?page=backend.xslt" ?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom"
>

<channel xml:lang="fr">
	<title>blog.roxing.net</title>
	<link>http://blog.roxing.net/</link>
	<description>weblog roxing.net - astuces spip, php, bash, linux &amp; more</description>
	<language>fr</language>
	<generator>SPIP - www.spip.net</generator>
	<atom:link href="https://blog.roxing.net/spip.php?id_mot=144&amp;page=backend" rel="self" type="application/rss+xml" />

	<image>
		<title>blog.roxing.net</title>
		<url>https://blog.roxing.net/local/cache-vignettes/L144xH37/siteon0-6ddb5.png?1727125340</url>
		<link>http://blog.roxing.net/</link>
		<height>37</height>
		<width>144</width>
	</image>



<item xml:lang="fr">
		<title>Pure CSS Star Rating Widget</title>
		<link>https://blog.roxing.net/pure-css-star-rating-widget</link>
		<guid isPermaLink="true">https://blog.roxing.net/pure-css-star-rating-widget</guid>
		<dc:date>2019-08-13T06:19:37Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>Pierrox</dc:creator>


		<dc:subject>css</dc:subject>
		<dc:subject>css</dc:subject>
		<dc:subject>css3</dc:subject>
		<dc:subject>html5</dc:subject>

		<description>
&lt;p&gt;Formulaire d'&#233;valuation avec &#233;toile en pure CSS. &lt;br class='autobr' /&gt;
Html : Pure CSS Star Rating Widget &lt;br class='autobr' /&gt;
CSS : @import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css) ; &lt;br class='autobr' /&gt;
fieldset, label margin : 0 ; padding : 0 ; body margin : 20px ; h1 font-size : 1.5em ; margin : 10px ; &lt;br class='autobr' /&gt;
/****** Style Star Rating Widget *****/ &lt;br class='autobr' /&gt;
.rating border : none ; float : left ; &lt;br class='autobr' /&gt; .rating &gt; input display : none ; .rating &gt; label:before margin : 5px ; font-size : 1.25em ; font-family : (&#8230;)&lt;/p&gt;


-
&lt;a href="https://blog.roxing.net/signets" rel="directory"&gt;signets&lt;/a&gt;

/ 
&lt;a href="https://blog.roxing.net/css" rel="tag"&gt;css&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/css-144" rel="tag"&gt;css&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/css3" rel="tag"&gt;css3&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/html5" rel="tag"&gt;html5&lt;/a&gt;

		</description>


 <content:encoded>&lt;img src='https://blog.roxing.net/local/cache-vignettes/L150xH150/arton167-4b6f4.jpg?1727095159' class='spip_logo spip_logo_right' width='150' height='150' alt=&#034;&#034; /&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Formulaire d'&#233;valuation avec &#233;toile en pure CSS.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Html :&lt;/strong&gt;&lt;/p&gt; &lt;textarea readonly='readonly' cols='40' rows='44' class='spip_cadre spip_cadre_block' dir='ltr'&gt;&lt;h1&gt;Pure CSS Star Rating Widget&lt;/h1&gt;
&lt;fieldset class=&#034;rating&#034;&gt; &lt;input type=&#034;radio&#034; id=&#034;star5&#034; name=&#034;rating&#034; value=&#034;5&#034; /&gt;&lt;label class = &#034;full&#034; for=&#034;star5&#034; title=&#034;Awesome - 5 stars&#034;&gt;&lt;/label&gt; &lt;input type=&#034;radio&#034; id=&#034;star4half&#034; name=&#034;rating&#034; value=&#034;4 and a half&#034; /&gt;&lt;label class=&#034;half&#034; for=&#034;star4half&#034; title=&#034;Pretty good - 4.5 stars&#034;&gt;&lt;/label&gt; &lt;input type=&#034;radio&#034; id=&#034;star4&#034; name=&#034;rating&#034; value=&#034;4&#034; /&gt;&lt;label class = &#034;full&#034; for=&#034;star4&#034; title=&#034;Pretty good - 4 stars&#034;&gt;&lt;/label&gt; &lt;input type=&#034;radio&#034; id=&#034;star3half&#034; name=&#034;rating&#034; value=&#034;3 and a half&#034; /&gt;&lt;label class=&#034;half&#034; for=&#034;star3half&#034; title=&#034;Meh - 3.5 stars&#034;&gt;&lt;/label&gt; &lt;input type=&#034;radio&#034; id=&#034;star3&#034; name=&#034;rating&#034; value=&#034;3&#034; /&gt;&lt;label class = &#034;full&#034; for=&#034;star3&#034; title=&#034;Meh - 3 stars&#034;&gt;&lt;/label&gt; &lt;input type=&#034;radio&#034; id=&#034;star2half&#034; name=&#034;rating&#034; value=&#034;2 and a half&#034; /&gt;&lt;label class=&#034;half&#034; for=&#034;star2half&#034; title=&#034;Kinda bad - 2.5 stars&#034;&gt;&lt;/label&gt; &lt;input type=&#034;radio&#034; id=&#034;star2&#034; name=&#034;rating&#034; value=&#034;2&#034; /&gt;&lt;label class = &#034;full&#034; for=&#034;star2&#034; title=&#034;Kinda bad - 2 stars&#034;&gt;&lt;/label&gt; &lt;input type=&#034;radio&#034; id=&#034;star1half&#034; name=&#034;rating&#034; value=&#034;1 and a half&#034; /&gt;&lt;label class=&#034;half&#034; for=&#034;star1half&#034; title=&#034;Meh - 1.5 stars&#034;&gt;&lt;/label&gt; &lt;input type=&#034;radio&#034; id=&#034;star1&#034; name=&#034;rating&#034; value=&#034;1&#034; /&gt;&lt;label class = &#034;full&#034; for=&#034;star1&#034; title=&#034;Sucks big time - 1 star&#034;&gt;&lt;/label&gt; &lt;input type=&#034;radio&#034; id=&#034;starhalf&#034; name=&#034;rating&#034; value=&#034;half&#034; /&gt;&lt;label class=&#034;half&#034; for=&#034;starhalf&#034; title=&#034;Sucks big time - 0.5 stars&#034;&gt;&lt;/label&gt;
&lt;/fieldset&gt;&lt;/textarea&gt;
&lt;p&gt;&lt;strong&gt;CSS :&lt;/strong&gt;&lt;/p&gt; &lt;textarea readonly='readonly' cols='40' rows='49' class='spip_cadre spip_cadre_block' dir='ltr'&gt;@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css); fieldset, label { margin: 0; padding: 0; }
body{ margin: 20px; }
h1 { font-size: 1.5em; margin: 10px; } /****** Style Star Rating Widget *****/ .rating { border: none; float: left;
} .rating &gt; input { display: none; } .rating &gt; label:before { margin: 5px; font-size: 1.25em; font-family: FontAwesome; display: inline-block; content: &#034;\f005&#034;;
} .rating &gt; .half:before { content: &#034;\f089&#034;; position: absolute;
} .rating &gt; label { color: #ddd; float: right; } /***** CSS Magic to Highlight Stars on Hover *****/ .rating &gt; input:checked ~ label, /* show gold star when clicked */
.rating:not(:checked) &gt; label:hover, /* hover current star */
.rating:not(:checked) &gt; label:hover ~ label { color: #FFD700; } /* hover previous stars in list */ .rating &gt; input:checked + label:hover, /* hover current star when changing rating */
.rating &gt; input:checked ~ label:hover,
.rating &gt; label:hover ~ input:checked ~ label, /* lighten current selection */
.rating &gt; input:checked ~ label:hover ~ label { color: #FFED85; }&lt;/textarea&gt;&lt;/div&gt;
		&lt;div class="hyperlien"&gt;Voir en ligne : &lt;a href="https://codepen.io/jamesbarnett/pen/vlpkh" class="spip_out"&gt;Pure CSS Star Rating Widget&lt;/a&gt;&lt;/div&gt;
		&lt;div class='rss_ps'&gt;&lt;p&gt;Cr&#233;dit : James Barnett&lt;/p&gt;&lt;/div&gt;
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Des icones l&#233;g&#232;res pour les principaux r&#233;seaux sociaux</title>
		<link>https://blog.roxing.net/des-icones-legeres-pour-les-principaux-reseaux</link>
		<guid isPermaLink="true">https://blog.roxing.net/des-icones-legeres-pour-les-principaux-reseaux</guid>
		<dc:date>2017-08-20T20:54:05Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>placido</dc:creator>


		<dc:subject>svg</dc:subject>
		<dc:subject>css</dc:subject>
		<dc:subject>icon</dc:subject>

		<description>
&lt;p&gt;Super Tiny Social Icons : des icones l&#233;g&#232;res pour les principaux r&#233;seaux sociaux&lt;/p&gt;


-
&lt;a href="https://blog.roxing.net/signets" rel="directory"&gt;signets&lt;/a&gt;

/ 
&lt;a href="https://blog.roxing.net/svg" rel="tag"&gt;svg&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/css-144" rel="tag"&gt;css&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/icon" rel="tag"&gt;icon&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;&lt;strong&gt;Super Tiny Social Icons &lt;/strong&gt; : des icones l&#233;g&#232;res pour les principaux r&#233;seaux sociaux&lt;/p&gt;&lt;/div&gt;
		&lt;div class="hyperlien"&gt;Voir en ligne : &lt;a href="https://github.com/edent/SuperTinySocialIcons" class="spip_out"&gt;https://github.com/edent/SuperTinyS...&lt;/a&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Optimisez vos polices web</title>
		<link>https://blog.roxing.net/optimisez-vos-polices-web</link>
		<guid isPermaLink="true">https://blog.roxing.net/optimisez-vos-polices-web</guid>
		<dc:date>2017-08-09T16:01:08Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>placido</dc:creator>


		<dc:subject>font</dc:subject>
		<dc:subject>css</dc:subject>
		<dc:subject>javascript</dc:subject>

		<description>

-
&lt;a href="https://blog.roxing.net/signets" rel="directory"&gt;signets&lt;/a&gt;

/ 
&lt;a href="https://blog.roxing.net/font" rel="tag"&gt;font&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/css-144" rel="tag"&gt;css&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/javascript-175" rel="tag"&gt;javascript&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class="hyperlien"&gt;Voir en ligne : &lt;a href="https://www.alsacreations.com/article/lire/1741-Optimisez-vos-polices-web.html" class="spip_out"&gt;Optimisez vos polices web - Alsacreations&lt;/a&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Compass + Guard + Livereload = :)</title>
		<link>https://blog.roxing.net/compass-guard-livereload</link>
		<guid isPermaLink="true">https://blog.roxing.net/compass-guard-livereload</guid>
		<dc:date>2014-06-04T15:36:54Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>placido</dc:creator>


		<dc:subject>linux</dc:subject>
		<dc:subject>ruby</dc:subject>
		<dc:subject>sass</dc:subject>
		<dc:subject>bootstrap</dc:subject>
		<dc:subject>webdev</dc:subject>
		<dc:subject>int&#233;gration</dc:subject>
		<dc:subject>css</dc:subject>

		<description>
&lt;p&gt;Voici comment d&#233;ployer (presque rapidement) un environnement Ruby pour b&#233;n&#233;ficier du compilateur css SASS via Compass et rechargement automatique de la page en fonction des modifications enregistr&#233;es, gr&#226;ce &#224; Livereload, le tout chapeaut&#233; par Guard. &lt;br class='autobr' /&gt;
Il faut installer gem et bundle au besoin : &lt;br class='autobr' /&gt; sudo apt-get install gem sudo gem install bundle &lt;br class='autobr' /&gt;
Ensuite dans le dossier parent du projet on cr&#233;e un Gemfile &lt;br class='autobr' /&gt; #Gemfile source &#034;http://rubygems.org&#034; group :development do gem 'sass' # Sass. (&#8230;)&lt;/p&gt;


-
&lt;a href="https://blog.roxing.net/billets" rel="directory"&gt;billets&lt;/a&gt;

/ 
&lt;a href="https://blog.roxing.net/gnu-linux" rel="tag"&gt;linux&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/ruby" rel="tag"&gt;ruby&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/sass" rel="tag"&gt;sass&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/bootstrap" rel="tag"&gt;bootstrap&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/webdev" rel="tag"&gt;webdev&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/integration" rel="tag"&gt;int&#233;gration&lt;/a&gt;, 
&lt;a href="https://blog.roxing.net/css-144" rel="tag"&gt;css&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Voici comment d&#233;ployer (presque rapidement) un environnement Ruby pour b&#233;n&#233;ficier du compilateur css SASS via Compass et rechargement automatique de la page en fonction des modifications enregistr&#233;es, gr&#226;ce &#224; Livereload, le tout chapeaut&#233; par Guard.&lt;/p&gt;
&lt;p&gt;Il faut installer gem et bundle au besoin :&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre class='bash sans_telechargement spip_code spip_code_block' dir='ltr' style='text-align:left;'&gt;&lt;code&gt;sudo apt-get install gem sudo gem install bundle&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Ensuite dans le dossier parent du projet on cr&#233;e un Gemfile&lt;/p&gt; &lt;textarea readonly='readonly' cols='40' rows='21' class='spip_cadre spip_cadre_block' dir='ltr'&gt;#Gemfile source &#034;http://rubygems.org&#034; group :development do gem 'sass' # Sass. gem 'compass' # Framework built on Sass. gem 'compass-validator' # So you can &lt;code class='spip_code spip_code_inline' dir='ltr'&gt;compass validate&lt;/code&gt;. gem 'oily_png' # Faster Compass sprite generation. gem 'css_parser' # Helps &lt;code class='spip_code spip_code_inline' dir='ltr'&gt;compass stats&lt;/code&gt; output statistics. gem 'guard' # Guard event handler. gem 'guard-compass' # Compile on sass/scss change. gem 'guard-shell' # Run shell commands. gem 'guard-livereload' # Browser reload. gem 'bootstrap-sass' end&lt;/textarea&gt;
&lt;p&gt;Puis on lance coup sur coup Compass et Guard via Bundle pour initier le projet (ici avec l'option bootstrap-sass)&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre class='bash sans_telechargement spip_code spip_code_block' dir='ltr' style='text-align:left;'&gt;&lt;code&gt;bundle install bundle exec compass create mon_projet -r bootstrap-sass --using bootstrap&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Je copie ici mes fichiers Guardfile et config.rb pour info :&lt;/p&gt; &lt;textarea readonly='readonly' cols='40' rows='36' class='spip_cadre spip_cadre_block' dir='ltr'&gt;# ~/.guardfile # More info at https://github.com/guard/guard#readme notification :off puts &#034;Using default guard file.&#034; group :development do if File.exists?(&#034;./config.rb&#034;) # Compile on start. puts &lt;code class='spip_code spip_code_inline' dir='ltr'&gt;compass compile --time --quiet&lt;/code&gt; # https://github.com/guard/guard-compass guard :compass do watch(%r{(.*)\.s[ac]ss$}) ignore %r{^tmp/} end end # Look for specified files in the current and child directories. # &lt;code class='spip_code spip_code_inline' dir='ltr'&gt;find&lt;/code&gt; requires Ruby 1.9 or greater. require 'find' if Find.find(Dir.pwd).detect{|dir|dir=~/.+\.(css|js|html?|php|inc|theme)$/} guard :livereload do watch(%r{.+\.(css|js|html?|php)$}) ignore %r{^tmp/} end end end&lt;/textarea&gt;
&lt;textarea readonly='readonly' cols='40' rows='16' class='spip_cadre spip_cadre_block' dir='ltr'&gt;#config.rb require 'bootstrap-sass' # Sass options: # http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#options sass_options = Hash.new sass_options[:debug_info] = false css_dir = &#034;dev/css&#034; sass_dir = &#034;dev/css/sass&#034; fonts_dir = &#034;dev/css/fonts&#034; javascripts_dir = &#034;dev/js&#034; images_dir = &#034;dev/css/img&#034; relative_assets = true output_style = (environment == :production ? :compressed : :expanded)&lt;/textarea&gt;
&lt;p&gt;Il reste &#224; &lt;a href=&#034;https://addons.mozilla.org/en-US/firefox/addon/livereload/&#034; class=&#034;spip_out&#034; rel=&#034;external&#034;&gt;installer le module Firefox LiveReload&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Avec &#231;a l'environnement doit &#234;tre pr&#234;t et fonctionnel.&lt;/p&gt;
&lt;p&gt;On lance Guard via Bundle depuis le dossier parent du projet&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre class='bash spip_code spip_code_block' dir='ltr' style='text-align:left;'&gt;&lt;code&gt;bundle exec guard start&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
		&lt;div class='rss_ps'&gt;&lt;p&gt;Liens vers les ressources utiles&lt;br class='autobr' /&gt;
&lt;a href=&#034;https://github.com/guard/guard-livereload&#034; class=&#034;spip_url spip_out auto&#034; rel=&#034;nofollow external&#034;&gt;https://github.com/guard/guard-livereload&lt;/a&gt;&lt;br class='autobr' /&gt;
&lt;a href=&#034;https://github.com/twbs/bootstrap-sass&#034; class=&#034;spip_url spip_out auto&#034; rel=&#034;nofollow external&#034;&gt;https://github.com/twbs/bootstrap-sass&lt;/a&gt;&lt;br class='autobr' /&gt;
&lt;a href=&#034;https://addons.mozilla.org/en-US/firefox/addon/livereload/&#034; class=&#034;spip_url spip_out auto&#034; rel=&#034;nofollow external&#034;&gt;https://addons.mozilla.org/en-US/firefox/addon/livereload/&lt;/a&gt;&lt;br class='autobr' /&gt;
&lt;a href=&#034;https://gist.github.com/dvessel/1610551&#034; class=&#034;spip_url spip_out auto&#034; rel=&#034;nofollow external&#034;&gt;https://gist.github.com/dvessel/1610551&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
		</content:encoded>


		

	</item>



</channel>

</rss>
