{}内の変数が少なくないすべての属性をCSSで取得しようとしています
これまでのところ、私のRegExpは次のようになっています:
\s*[a-zA-Z-]*:[^@].*?;
サンプル テキスト
@footerBackground: @Color1;
@footerText: @Color3;
footer { background:@footerBackground url(images/bg.transp.fabric-45degreee_fabric.png) repeat; box-shadow:0 -1px 3px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(0, 0, 0, 0.1); bottom:0; color:@footerText; position:absolute; width:100%; }
footer a { color:@footerLink !important; }
footer a:hover { color:darken(@footerLink, 15%) !important; text-decoration:none; }
#footer-widgets { border-bottom:1px darken(@footerBackground,10%) dotted; padding:20px 0; }
この表現の仕方を教えてください。
例
discart if have @ - color:darken(@tuningfooterLink, 15%) !important;
get - text-decoration:none;