From: Jakub Pawlowicz Date: Sat, 4 Oct 2014 09:33:40 +0000 (+0100) Subject: Fixes remaining specs (we are green now!). X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=79fa3e9be5fd4e321ce0c1b47a52b39aaa4d32cf;p=clean-css.git Fixes remaining specs (we are green now!). --- diff --git a/test/data/big-min.css b/test/data/big-min.css index 66cdb5aa..3f9a3c4a 100644 --- a/test/data/big-min.css +++ b/test/data/big-min.css @@ -448,7 +448,7 @@ article .liste_carre_999{margin-top:5px} .global.audience .container{overflow:hidden;height:176px} .global.audience .container>div{float:left;margin-left:16px} .global.audience .container>div:first-child{margin-left:0} -#carousel_footer_serviciel img:hover,.global.audience .container img:hover{opacity:.7;-ms-filter:"alpha(Opacity=70)"} +#carousel_footer_serviciel img:hover,.global.audience .container img:hover{opacity:.7;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"} .global.supp_partenaires .entete_deroule{padding:6px 16px;margin-bottom:0;text-align:left;font-weight:700;font-size:16px;font-family:arial,sans serif} .global.supp_partenaires .entete_deroule .logo{float:right;padding-left:40px;background:url(/medias/web/img/textes/marqueur_pub_gris43x5.png) 0 12px no-repeat} .global.supp_partenaires .position_pub div{float:left;width:301px;padding:16px 12px 16px 16px;line-height:140%} @@ -557,13 +557,13 @@ img[height="97"]+.ico29x29{bottom:6%;left:3.5%} .conteneur_onglets{height:35px;border:solid #d2d6db;border-width:0 0 1px} .conteneur_onglets .onglet{float:left;background:#fff;text-align:center} .conteneur_onglets .onglet.adroite{float:right} -.conteneur_onglets .onglet.courant{margin:0 4px 0 0;border:solid #d2d6db;border-width:1px 1px 0;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;border-top-left-radius:4px;border-top-right-radius:4px;background:#fff;background:-moz-linear-gradient(top,#f1f5f8 0,#fff 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#f1f5f8),color-stop(100%,#fff));background:-webkit-linear-gradient(top,#f1f5f8 0,#fff 100%);background:-o-linear-gradient(top,#f1f5f8 0,#fff 100%);background:-ms-linear-gradient(top,#f1f5f8 0,#fff 100%);background:linear-gradient(top,#f1f5f8 0,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f1f5f8', endColorstr='#ffffff', GradientType=0)} +.conteneur_onglets .onglet.courant{margin:0 4px 0 0;border:solid #d2d6db;border-width:1px 1px 0;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;border-top-left-radius:4px;border-top-right-radius:4px;background:#fff;background:-moz-linear-gradient(top,#f1f5f8 0,#fff 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#f1f5f8),color-stop(100%,#fff));background:-webkit-linear-gradient(top,#f1f5f8 0,#fff 100%);background:-o-linear-gradient(top,#f1f5f8 0,#fff 100%);background:-ms-linear-gradient(top,#f1f5f8 0,#fff 100%);background:linear-gradient(top,#f1f5f8 0,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f1f5f8', endColorstr='#ffffff', GradientType=0)} .conteneur_onglets .onglet .interieur_onglet,.conteneur_onglets .onglet>a,.conteneur_onglets .onglet>span{display:block;height:35px;line-height:36px;padding:0 8px;cursor:pointer} .conteneur_onglets .onglet>a:focus,.conteneur_onglets .onglet>a:hover{cursor:pointer;color:#2e3942} .conteneur_onglets .onglet.desactive>span{cursor:default;color:#b8c0c3} .conteneur_onglets .onglet.courant>a{font-weight:700;color:#2e3942;cursor:default} .lien_img314x64{display:block;width:314px;height:64px;margin-bottom:16px} -.lien_img314x64:hover{opacity:.7;-ms-filter:"alpha(Opacity=70)"} +.lien_img314x64:hover{opacity:.7;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"} .abonne_cartouche44x12{display:inline-block;width:44px;height:12px;margin:0 0 0 5px;background:url(/medias/web/img/elements_lm/abonne_cartouche44x12.png);text-indent:-9999px;font-size:13px;vertical-align:middle} .ea109x13{display:inline-block;width:109px;height:13px;background:url(/medias/web/img/elements_lm/edition_abonnes109x13.png);text-indent:-9999px;font-size:13px;vertical-align:baseline} .logo_lm95x16,.logo_lm_abo95x16{display:inline-block;width:95px;height:16px;background:url(/medias/web/img/elements_lm/logo_lm95x16.png);text-indent:-9999px;font-size:13px;vertical-align:baseline} @@ -574,7 +574,7 @@ img[height="97"]+.ico29x29{bottom:6%;left:3.5%} .courrier72x21{display:inline-block;width:72px;height:21px;text-indent:-9999px;background:url(/medias/web/img/groupe/logo_courrier72x21.png)} .lien_img314x64.festival_cannes_une{background:url(/medias/web/img/evenementiel/festival_de_cannes_2012/widget_une.png);text-indent:-9999px} .lien_img314x64.legislatives_2012_une{background:url(/medias/web/img/evenementiel/legislatives_2012/widget_une.png);text-indent:-9999px} -#en_ce_moment{height:33px;overflow:hidden;background:#2d3143;background:-moz-linear-gradient(top,#2d3143 0,#10141d 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#2d3143),color-stop(100%,#10141d));background:-webkit-linear-gradient(top,#2d3143 0,#10141d 100%);background:-o-linear-gradient(top,#2d3143 0,#10141d 100%);background:-ms-linear-gradient(top,#2d3143 0,#10141d 100%);background:linear-gradient(top,#2d3143 0,#10141d 100%)} +#en_ce_moment{height:33px;overflow:hidden;background:#2d3143;background:-moz-linear-gradient(top,#2d3143 0,#10141d 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#2d3143),color-stop(100%,#10141d));background:-webkit-linear-gradient(top,#2d3143 0,#10141d 100%);background:-o-linear-gradient(top,#2d3143 0,#10141d 100%);background:-ms-linear-gradient(top,#2d3143 0,#10141d 100%);background:linear-gradient(top,#2d3143 0,#10141d 100%)} #en_ce_moment ul{padding:0 13px 0 0} #en_ce_moment li{display:block;float:left} .ie #en_ce_moment li:first-child{font-size:12px} @@ -739,15 +739,15 @@ img[height="97"]+.ico29x29{bottom:6%;left:3.5%} .conteneur_carrousel .repere.actif,.conteneur_carrousel .repere:hover{background-position:-11px -24px;cursor:pointer} .conteneur_carrousel img{display:block;border:0} .portfolio_appel_revolutionnaire .portfolio_data_container h2,.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .reperes{display:none} -.portfolio_appel_revolutionnaire .portfolio_data_container{position:absolute;left:0;right:0;bottom:0;background:#000;background:rgba(0,0,0,.8);color:#fff;text-shadow:0 1px 0 #000;padding:16px;-ms-filter:"alpha(Opacity=0)";opacity:0;-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s} -.portfolio_appel_revolutionnaire .elt.shown .portfolio_data_container{-ms-filter:"alpha(Opacity=80)";opacity:.8} +.portfolio_appel_revolutionnaire .portfolio_data_container{position:absolute;left:0;right:0;bottom:0;background:#000;background:rgba(0,0,0,.8);color:#fff;text-shadow:0 1px 0 #000;padding:16px;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s} +.portfolio_appel_revolutionnaire .elt.shown .portfolio_data_container{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";opacity:.8} .portfolio_appel_revolutionnaire .portfolio_data_container .credits{opacity:.5;padding-left:4px} .portfolio_appel_revolutionnaire .carrousel .elt{width:644px;height:322px} -.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .precedent,.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .suivant{position:absolute;top:0;left:0;width:165px;height:322px;background:#000;-ms-filter:"alpha(Opacity=60)";background:rgba(0,0,0,.6)} +.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .precedent,.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .suivant{position:absolute;top:0;left:0;width:165px;height:322px;background:#000;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";background:rgba(0,0,0,.6)} .portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .precedent:hover,.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .suivant:hover{cursor:pointer} -.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .precedent span,.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .suivant span{display:block;margin:111px 0 0;text-indent:0;font-size:72px;width:40px;height:100px;line-height:95px;text-align:center;background:#fff;background:-moz-linear-gradient(left,#eee 0,#fff 50%,#fff 100%);background:-webkit-gradient(linear,left center,right center,color-stop(0%,#eee),color-stop(50%,#fff),color-stop(100%,#fff));background:-webkit-linear-gradient(left,#eee 0,#fff 50%,#fff 100%);background:-o-linear-gradient(left,#eee 0,#fff 50%,#fff 100%);background:-ms-linear-gradient(left,#eee 0,#fff 50%,#fff 100%);background:linear-gradient(left,#eee 0,#fff 50%,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);border:solid #ddd;border-width:0 0 0 1px;box-shadow:0 0 1px 1px #000;-ms-filter:"alpha(Opacity=20)";opacity:.2;-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s} -.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .suivant span{border-width:0 1px 0 0;margin:111px 0 0 124px;background:-moz-linear-gradient(left,#fff 0,#fff 55%,#eee 100%);background:-webkit-gradient(linear,left center,right center,color-stop(0%,#fff),color-stop(55%,#fff),color-stop(100%,#eee));background:-webkit-linear-gradient(left,#fff 0,#fff 55%,#eee 100%);background:-o-linear-gradient(left,#fff 0,#fff 55%,#eee 100%);background:-ms-linear-gradient(left,#fff 0,#fff 55%,#eee 100%);background:linear-gradient(left,#fff 0,#fff 55%,#eee 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0)} -.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .precedent:hover span,.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .suivant:hover span{-ms-filter:"alpha(Opacity=90)";opacity:.9;color:#222} +.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .precedent span,.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .suivant span{display:block;margin:111px 0 0;text-indent:0;font-size:72px;width:40px;height:100px;line-height:95px;text-align:center;background:#fff;background:-moz-linear-gradient(left,#eee 0,#fff 50%,#fff 100%);background:-webkit-gradient(linear,left center,right center,color-stop(0,#eee),color-stop(50%,#fff),color-stop(100%,#fff));background:-webkit-linear-gradient(left,#eee 0,#fff 50%,#fff 100%);background:-o-linear-gradient(left,#eee 0,#fff 50%,#fff 100%);background:-ms-linear-gradient(left,#eee 0,#fff 50%,#fff 100%);background:linear-gradient(left,#eee 0,#fff 50%,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);border:solid #ddd;border-width:0 0 0 1px;box-shadow:0 0 1px 1px #000;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";opacity:.2;-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s} +.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .suivant span{border-width:0 1px 0 0;margin:111px 0 0 124px;background:-moz-linear-gradient(left,#fff 0,#fff 55%,#eee 100%);background:-webkit-gradient(linear,left center,right center,color-stop(0,#fff),color-stop(55%,#fff),color-stop(100%,#eee));background:-webkit-linear-gradient(left,#fff 0,#fff 55%,#eee 100%);background:-o-linear-gradient(left,#fff 0,#fff 55%,#eee 100%);background:-ms-linear-gradient(left,#fff 0,#fff 55%,#eee 100%);background:linear-gradient(left,#fff 0,#fff 55%,#eee 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0)} +.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .precedent:hover span,.portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .suivant:hover span{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";opacity:.9;color:#222} .portfolio_appel_revolutionnaire.conteneur_carrousel .navigation .suivant{left:auto;right:0} .portfolio_appel_revolutionnaire a .legende.bg_fonce{color:#fff} #barre_titre,#header,#nav{position:relative} @@ -757,7 +757,7 @@ img[height="97"]+.ico29x29{bottom:6%;left:3.5%} #header{font-size:12px;text-align:left} #header a{display:inline-block} .conteneur_haut{width:1000px;margin:0 auto} -#surheader,#surheader .conteneur_haut{background:#1e5799;background:-moz-linear-gradient(top,#1e5799 0,#2d3841 0,#010c16 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#1e5799),color-stop(0%,#2d3841),color-stop(100%,#010c16));background:-webkit-linear-gradient(top,#1e5799 0,#2d3841 0,#010c16 100%);background:-o-linear-gradient(top,#1e5799 0,#2d3841 0,#010c16 100%);background:-ms-linear-gradient(top,#1e5799 0,#2d3841 0,#010c16 100%);background:linear-gradient(top,#1e5799 0,#2d3841 0,#010c16 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2d3841', endColorstr='#010c16', GradientType=0);height:25px;line-height:25px} +#surheader,#surheader .conteneur_haut{background:#1e5799;background:-moz-linear-gradient(top,#1e5799 0,#2d3841 0,#010c16 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#1e5799),color-stop(0,#2d3841),color-stop(100%,#010c16));background:-webkit-linear-gradient(top,#1e5799 0,#2d3841 0,#010c16 100%);background:-o-linear-gradient(top,#1e5799 0,#2d3841 0,#010c16 100%);background:-ms-linear-gradient(top,#1e5799 0,#2d3841 0,#010c16 100%);background:linear-gradient(top,#1e5799 0,#2d3841 0,#010c16 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2d3841', endColorstr='#010c16', GradientType=0);height:25px;line-height:25px} #surheader .droit{width:400px;float:right} #surheader .gauche{width:600px;float:left} #surheader a,#surheader span{color:#fff;font-size:11px} @@ -873,7 +873,7 @@ label i{font-style:normal;display:none} .ombrelle.style .accroche{color:#8b9299;font-size:12px;line-height:12px;vertical-align:text-bottom} .ombrelle .widget{display:inline-block;float:right;margin:13px 0 0;line-height:120%} .ombrelle.style .widget{width:424px;height:64px;background:url(/medias/web/img/textes/widget_style.png);text-indent:-9999px} -.ombrelle.politique .widget:hover,.ombrelle.style .widget:hover{opacity:.7;-ms-filter:"alpha(Opacity=70)"} +.ombrelle.politique .widget:hover,.ombrelle.style .widget:hover{opacity:.7;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"} .ombrelle .autopromo_edito{overflow:hidden;width:314px;height:64px} .autopromo_edito img{border:1px solid #eef1f5} .autopromo_edito .nature_edito{display:inline} @@ -1000,7 +1000,7 @@ label i{font-style:normal;display:none} .reaction_identifier .deja_abo p>label{float:left} .reaction_identifier .deja_abo p>label+a{float:left;margin:14px 0 0 20px} .reaction_redaction{overflow:hidden} -.reaction_redaction >div{margin:0 16px;padding-top:10px} +.reaction_redaction>div{margin:0 16px;padding-top:10px} .reaction_redaction label+.annotation{float:right} .reaction_redaction textarea{width:495px;max-width:495px;height:144px;margin:10px 0} .reaction_redaction textarea+p{margin:10px 0 20px} @@ -1219,7 +1219,7 @@ label i{font-style:normal;display:none} .previsu_contenu li{margin:0 0 3px} .previsu_contenu .date{text-transform:uppercase;font-size:10px;color:#666} .previsu .lire{font-size:16px;font-weight:700;margin:0 0 5px;display:inline-block} -.previsu +.contenu{border-top:1px solid #e6e7e8} +.previsu+.contenu{border-top:1px solid #e6e7e8} .bloc_je{margin-bottom:20px} .bloc_je .bt_push_abo{margin-top:15px} .bloc_je .liste_ensembles{font-size:15px} @@ -1810,7 +1810,7 @@ form select{padding:1px;height:20px} #core-liberation .form-monlibe input[type=checkbox]{float:right} #core-liberation .w26unit .form-monlibe input[type=password],#core-liberation .w26unit .form-monlibe input[type=text],#core-liberation .w26unit .form-monlibe textarea{width:652px} #core-liberation .w17unit .form-monlibe input[type=password],#core-liberation .w17unit .form-monlibe input[type=text],#core-liberation .w17unit .form-monlibe textarea{width:412px} -body.auth-unlogged #core-liberation .form-monlibe-unlogged form{opacity:.3;-ms-filter:"alpha(Opacity=30)";filter:alpha(opacity=30)} +body.auth-unlogged #core-liberation .form-monlibe-unlogged form{opacity:.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";filter:alpha(opacity=30)} #core-liberation .form-monlibe-unlogged{position:relative} #core-liberation .form-monlibe .note-unlogged{position:absolute;border:1px solid;top:130px;left:10px;width:420px;padding:10px 10px 12px} #core-liberation .form-monlibe .note-unlogged p{font-family:Georgia,"Times New Roman",Times,serif;font-size:21px;font-weight:400;line-height:25px} @@ -2770,7 +2770,7 @@ body.slideshow .ad-top .megaban{background:#333} .site-liberation .block-call-items .tpl-search-results .object-picture .np a.date{background-color:#c8c8c8} #core-liberation .block-item .object-picture .legende{color:#838383} .site-liberation .block-item .object-content a:hover{color:#e20000} -#core-liberation .block-item-locked{border-top-color:#c1b0bb;border-bottom-color:#c1b0bb;background:#fff;background:-moz-linear-gradient(top,#dbdad6 0,#fff 2%,#fff 98%,#e1e0de 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#dbdad6),color-stop(2%,#fff),color-stop(98%,#fff),color-stop(100%,#e1e0de));background:-o-linear-gradient(top,#dbdad6 0,#fff 2%,#fff 98%,#e1e0de 100%)} +#core-liberation .block-item-locked{border-top-color:#c1b0bb;border-bottom-color:#c1b0bb;background:#fff;background:-moz-linear-gradient(top,#dbdad6 0,#fff 2%,#fff 98%,#e1e0de 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#dbdad6),color-stop(2%,#fff),color-stop(98%,#fff),color-stop(100%,#e1e0de));background:-o-linear-gradient(top,#dbdad6 0,#fff 2%,#fff 98%,#e1e0de 100%)} #core-liberation .block-item-locked .block-top span{background-color:#fff} #core-liberation .block-item-locked .btn-zoneabo a:hover{color:#fff} #core-liberation .block-item-read-more{border-color:#ddd} @@ -2856,7 +2856,7 @@ body.slideshow .ad-top .megaban{background:#333} #core-liberation .cartridge-basic-bubble .plain,#core-liberation .cartridge-basic-bubble .segment{border-color:#ddd;background-color:#fdfdfd} #core-liberation .cartridge-basic-bubble p,#core-liberation .cartridge-basic-bubble p a{color:#878787} #core-liberation .cartridge-basic-bubble .share li.spacer{background-color:#ddd} -.site-liberation .btn-basic a,.site-liberation .btn-basic span,.site-liberation form .btn-basic input[type=button],.site-liberation form .btn-basic input[type=reset],.site-liberation form .btn-basic input[type=submit]{background:#ccc;background:-moz-linear-gradient(top,#f2f2f2 0,#f2f2f2 50%,#ccc 51%,#ccc 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#f2f2f2),color-stop(50%,#f2f2f2),color-stop(51%,#ccc),color-stop(100%,#ccc));background:-webkit-linear-gradient(top,#f2f2f2 0,#f2f2f2 50%,#ccc 51%,#ccc 100%);background:-o-linear-gradient(top,#f2f2f2 0,#f2f2f2 50%,#ccc 51%,#ccc 100%);background:-ms-linear-gradient(top,#f2f2f2 0,#f2f2f2 50%,#ccc 51%,#ccc 100%);background:linear-gradient(top,#f2f2f2 0,#f2f2f2 50%,#ccc 51%,#ccc 100%);border-color:#888;color:#222} +.site-liberation .btn-basic a,.site-liberation .btn-basic span,.site-liberation form .btn-basic input[type=button],.site-liberation form .btn-basic input[type=reset],.site-liberation form .btn-basic input[type=submit]{background:#ccc;background:-moz-linear-gradient(top,#f2f2f2 0,#f2f2f2 50%,#ccc 51%,#ccc 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#f2f2f2),color-stop(50%,#f2f2f2),color-stop(51%,#ccc),color-stop(100%,#ccc));background:-webkit-linear-gradient(top,#f2f2f2 0,#f2f2f2 50%,#ccc 51%,#ccc 100%);background:-o-linear-gradient(top,#f2f2f2 0,#f2f2f2 50%,#ccc 51%,#ccc 100%);background:-ms-linear-gradient(top,#f2f2f2 0,#f2f2f2 50%,#ccc 51%,#ccc 100%);background:linear-gradient(top,#f2f2f2 0,#f2f2f2 50%,#ccc 51%,#ccc 100%);border-color:#888;color:#222} .site-liberation .btn-laune a,.site-liberation .btn-laune a:hover,.site-liberation .btn-laune span,.site-liberation .btn-monlibe a,.site-liberation .btn-monlibe a:hover,.site-liberation .btn-monlibe span,.site-liberation .btn-zoneabo a,.site-liberation .btn-zoneabo a:hover,.site-liberation .btn-zoneabo span,.site-liberation form .btn-laune input[type=button],.site-liberation form .btn-laune input[type=reset],.site-liberation form .btn-laune input[type=submit],.site-liberation form .btn-monlibe input[type=button],.site-liberation form .btn-monlibe input[type=reset],.site-liberation form .btn-monlibe input[type=submit],.site-liberation form .btn-zoneabo input[type=button],.site-liberation form .btn-zoneabo input[type=reset],.site-liberation form .btn-zoneabo input[type=submit]{color:#fff} .site-liberation .btn-laune a,.site-liberation .btn-laune span{background:#e20000} .site-liberation form .btn-laune input[type=button],.site-liberation form .btn-laune input[type=submit]{background:#e20000!important} @@ -2864,10 +2864,10 @@ body.slideshow .ad-top .megaban{background:#333} .site-liberation .btn-monlibe a,.site-liberation .btn-monlibe span,.site-liberation form .btn-monlibe input[type=button],.site-liberation form .btn-monlibe input[type=reset],.site-liberation form .btn-monlibe input[type=submit]{background:#878787} .site-liberation form .btn-monlibe input[type=button]:hover,.site-liberation form .btn-monlibe input[type=reset]:hover,.site-liberation form .btn-monlibe input[type=submit]:hover{background:#3c3c3c} .site-liberation #core-liberation form .btn-zoneabo input[type=button],.site-liberation #core-liberation form .btn-zoneabo input[type=button]:hover,.site-liberation #core-liberation form .btn-zoneabo input[type=submit],.site-liberation #core-liberation form .btn-zoneabo input[type=submit]:hover,.site-liberation .btn-zoneabo a,.site-liberation .btn-zoneabo span{background:#a00} -.site-liberation .btn-rounded-degraded a,.site-liberation .btn-rounded-degraded span{background:#e20000;background:-moz-linear-gradient(top,#f33333 0,#b33 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#f33333),color-stop(100%,#b33));background:-webkit-linear-gradient(top,#f33333 0,#b33 100%);background:-o-linear-gradient(top,#f33333 0,#b33 100%);background:-ms-linear-gradient(top,#f33333 0,#b33 100%);background:linear-gradient(top,#f33333 0,#b33 100%);color:#fff} -.site-liberation .btn-rounded-degraded a:hover,.site-liberation .btn-rounded-degraded span:hover{background:#e20000;background:-moz-linear-gradient(top,#b33 0,#f33333 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#b33),color-stop(100%,#f33333));background:-webkit-linear-gradient(top,#b33 0,#f33333 100%);background:-o-linear-gradient(top,#b33 0,#f33333 100%);background:-ms-linear-gradient(top,#b33 0,#f33333 100%);background:linear-gradient(top,#b33 0,#f33333 100%);color:#fff} -.site-liberation form .btn-rounded-degraded input[type=button],.site-liberation form .btn-rounded-degraded input[type=submit]{background:#e20000;background:-moz-linear-gradient(top,#f33333 0,#b33 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#f33333),color-stop(100%,#b33));background:-webkit-linear-gradient(top,#f33333 0,#b33 100%);background:-o-linear-gradient(top,#f33333 0,#b33 100%);background:-ms-linear-gradient(top,#f33333 0,#b33 100%);background:linear-gradient(top,#f33333 0,#b33 100%);color:#fff} -.site-liberation form .btn-rounded-degraded input[type=button]:focus,.site-liberation form .btn-rounded-degraded input[type=button]:hover,.site-liberation form .btn-rounded-degraded input[type=submit]:focus,.site-liberation form .btn-rounded-degraded input[type=submit]:hover{background:#e20000;background:-moz-linear-gradient(top,#b33 0,#f33333 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#b33),color-stop(100%,#f33333));background:-webkit-linear-gradient(top,#b33 0,#f33333 100%);background:-o-linear-gradient(top,#b33 0,#f33333 100%);background:-ms-linear-gradient(top,#b33 0,#f33333 100%);background:linear-gradient(top,#b33 0,#f33333 100%);color:#fff} +.site-liberation .btn-rounded-degraded a,.site-liberation .btn-rounded-degraded span{background:#e20000;background:-moz-linear-gradient(top,#f33333 0,#b33 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#f33333),color-stop(100%,#b33));background:-webkit-linear-gradient(top,#f33333 0,#b33 100%);background:-o-linear-gradient(top,#f33333 0,#b33 100%);background:-ms-linear-gradient(top,#f33333 0,#b33 100%);background:linear-gradient(top,#f33333 0,#b33 100%);color:#fff} +.site-liberation .btn-rounded-degraded a:hover,.site-liberation .btn-rounded-degraded span:hover{background:#e20000;background:-moz-linear-gradient(top,#b33 0,#f33333 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#b33),color-stop(100%,#f33333));background:-webkit-linear-gradient(top,#b33 0,#f33333 100%);background:-o-linear-gradient(top,#b33 0,#f33333 100%);background:-ms-linear-gradient(top,#b33 0,#f33333 100%);background:linear-gradient(top,#b33 0,#f33333 100%);color:#fff} +.site-liberation form .btn-rounded-degraded input[type=button],.site-liberation form .btn-rounded-degraded input[type=submit]{background:#e20000;background:-moz-linear-gradient(top,#f33333 0,#b33 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#f33333),color-stop(100%,#b33));background:-webkit-linear-gradient(top,#f33333 0,#b33 100%);background:-o-linear-gradient(top,#f33333 0,#b33 100%);background:-ms-linear-gradient(top,#f33333 0,#b33 100%);background:linear-gradient(top,#f33333 0,#b33 100%);color:#fff} +.site-liberation form .btn-rounded-degraded input[type=button]:focus,.site-liberation form .btn-rounded-degraded input[type=button]:hover,.site-liberation form .btn-rounded-degraded input[type=submit]:focus,.site-liberation form .btn-rounded-degraded input[type=submit]:hover{background:#e20000;background:-moz-linear-gradient(top,#b33 0,#f33333 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#b33),color-stop(100%,#f33333));background:-webkit-linear-gradient(top,#b33 0,#f33333 100%);background:-o-linear-gradient(top,#b33 0,#f33333 100%);background:-ms-linear-gradient(top,#b33 0,#f33333 100%);background:linear-gradient(top,#b33 0,#f33333 100%);color:#fff} .site-liberation .btn-read-digitalpaper{border-color:#878787} .site-liberation .btn-read-digitalpaper a,.site-liberation .btn-read-digitalpaper span{color:#2e2e2e} #core-liberation .pagination{background-color:#e7e7e7;border-top-color:#b7b7b7;border-bottom-color:#b7b7b7} @@ -2942,7 +2942,7 @@ body.slideshow .ad-top .megaban{background:#333} #page-paywall .content .video h4 span{background-color:#fff} #page-paywall .content .arguments .arg .price,#page-paywall .content .arguments .arg h4{color:#222} #page-paywall .content .arguments .arg .price .total{color:#999} -#page-paywall .content .banner-degraded{border-top-color:#c1b0bb;border-bottom-color:#c1b0bb;background:#fff;background:-moz-linear-gradient(top,#dbdad6 0,#fff 10%,#fff 90%,#e1e0de 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#dbdad6),color-stop(10%,#fff),color-stop(90%,#fff),color-stop(100%,#e1e0de));background:-webkit-linear-gradient(top,#dbdad6 0,#fff 10%,#fff 90%,#e1e0de 100%);background:-o-linear-gradient(top,#dbdad6 0,#fff 10%,#fff 90%,#e1e0de 100%);background:-ms-linear-gradient(top,#dbdad6 0,#fff 10%,#fff 90%,#e1e0de 100%);background:linear-gradient(top,#dbdad6 0,#fff 10%,#fff 90%,#e1e0de 100%);color:#777} +#page-paywall .content .banner-degraded{border-top-color:#c1b0bb;border-bottom-color:#c1b0bb;background:#fff;background:-moz-linear-gradient(top,#dbdad6 0,#fff 10%,#fff 90%,#e1e0de 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#dbdad6),color-stop(10%,#fff),color-stop(90%,#fff),color-stop(100%,#e1e0de));background:-webkit-linear-gradient(top,#dbdad6 0,#fff 10%,#fff 90%,#e1e0de 100%);background:-o-linear-gradient(top,#dbdad6 0,#fff 10%,#fff 90%,#e1e0de 100%);background:-ms-linear-gradient(top,#dbdad6 0,#fff 10%,#fff 90%,#e1e0de 100%);background:linear-gradient(top,#dbdad6 0,#fff 10%,#fff 90%,#e1e0de 100%);color:#777} #page-paywall .content .banner-degraded a{color:#777} #page-paywall .content .form-login form p input[type=password],#page-paywall .content .form-login form p input[type=text]{border-color:#888} #page-paywall .content .form-login form p input[type=password]:focus,#page-paywall .content .form-login form p input[type=text]:focus{border-color:silver} diff --git a/test/integration-test.js b/test/integration-test.js index 2c9c7da0..73c143ac 100644 --- a/test/integration-test.js +++ b/test/integration-test.js @@ -172,7 +172,7 @@ vows.describe('integration tests').addBatch({ 'after hsla': 'a{text-shadow:hsla(240,100%,40%,.5) -1px 1px}' }), 'line breaks': cssContext({ - 'line breaks': [ + 'line breaks #1': [ 'div\na\r\n{width:500px}', 'div a{width:500px}' ], @@ -409,7 +409,7 @@ vows.describe('integration tests').addBatch({ ], 'rect zeros #5': [ 'div{clip:rect(0.5% 0px 0px 0px)}', - 'div{clip:rect(0.5% 0 0 0)}' + 'div{clip:rect(.5% 0 0 0)}' ], 'rect zeros #6': [ 'div{clip:rect(0px 0px 0px 10px)}', @@ -617,7 +617,7 @@ vows.describe('integration tests').addBatch({ ], 'round pixels down to 2nd decimal place': [ 'div{transform:translateY(0.504123px)}', - 'div{transform:translateY(0.5px)}' + 'div{transform:translateY(.5px)}' ], 'do not round 2nd decimal place pixels': 'div{transform:translateY(20.55px)}', 'do not round percentages': 'div{left:20.505%}', @@ -702,8 +702,8 @@ vows.describe('integration tests').addBatch({ 'colors and colons': 'a{background-image:linear-gradient(top,red,#e6e6e6)}', 'colors and parentheses': 'a{background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6))}', 'colors in ie filters': 'a{filter:chroma(color=#ffffff)}', - 'colors in ie filters 2': "a{progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#000000')}", - 'colors in ie filters 3': "a{progid:DXImageTransform.Microsoft.gradient(startColorstr='#DDDDDD', endColorstr='#333333')}", + 'colors in ie filters 2': "a{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#000000')}", + 'colors in ie filters 3': "a{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#DDDDDD', endColorstr='#333333')}", 'rgb percents': 'a{color:rgb(100%,0%,0%)}', 'rgba percents': 'a{color:rgba(100%,0%,0%,.5)}', 'hsla percents': 'a{color:hsla(1,0%,0%,.5)}', @@ -1156,8 +1156,9 @@ title']{display:block}", }), 'ie filters': cssContext({ 'short alpha': [ - "a{ filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80); -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';}", - "a{filter:alpha(Opacity=80);-ms-filter:'alpha(Opacity=50)'}" + // "a{ filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80); -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';}", + "a{ filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80)}", + "a{filter:alpha(Opacity=80)}" ], 'short chroma': [ 'a{filter:progid:DXImageTransform.Microsoft.Chroma(color=#919191)}', @@ -1240,16 +1241,6 @@ title']{display:block}", '' ] }), - 'empty with disabled advanced optimizations': cssContext({ - 'selector': [ - 'a{}p{}', - '' - ], - 'media': [ - '@media screen{}', - '' - ] - }, { noAdvanced: true }), '@import': cssContext({ 'empty': [ "@import url();", @@ -1471,7 +1462,10 @@ title']{display:block}", 'no empty body': '@import url(//fonts.googleapis.com/css?family=Domine:700);body{color:red}body h1{font-family:Domine}' }, { processImport: false, noAdvanced: true }), 'duplicate selectors with disabled advanced processing': cssContext({ - 'of a duplicate selector': 'a,a{color:red}' + 'of a duplicate selector': [ + 'a,a{color:red}', + 'a{color:red}' + ] }, { noAdvanced: true }), 'line breaks with disabled advanced processing': cssContext({ 'should be applied': [ @@ -1902,7 +1896,7 @@ title']{display:block}", '.t{list-style:circle inside url(aaa)}' ] }), - 'care about understandability of shorthand components': cssContext({ + 'cares about understandability of shorthand components': cssContext({ 'linear-gradient should NOT clear out background with color only' : [ 'div{background:#fff;background:linear-gradient(whatever)}', 'div{background:#fff;background:linear-gradient(whatever)}'