-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathkodos-css-pattern.kds
More file actions
7 lines (7 loc) · 9.3 KB
/
kodos-css-pattern.kds
File metadata and controls
7 lines (7 loc) · 9.3 KB
1
2
3
4
5
6
7
S'(?P<comment>\\/\\*.*?\\*\\/)*\\s*(?P<ruleset>(?P<selector>[-\\w.]+?)\\s*{[^}]*?(?P<declaration>(?P<property>[-\\w*]+)\\s*:(?P<value>[^;]*url\\([\\\'"]?(?P<filepath>(?P<filenoext>.+)?\\.(?P<extension>gif|jpg|png))[\\\'"]?\\)[^;]*?);?)[^}]*})'
p1
.S'/* tango-demo.css */\n/* 1 basic match */\nli.address-book-new {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/address-book-new.png);\n}\n/* 2 single line */\nli.not-exist { background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/not-exist.png); }\n/* 3 single quote */\nli.appointment-new {\n background-image:url(\'../images/tango-icon-theme-0.8.90/32x32/actions/appointment-new.png\');\n}\n/* 4 double quote */\nli.bookmark-new {\n background-image:url("../images/tango-icon-theme-0.8.90/32x32/actions/bookmark-new.png");\n}\n/* 5 single line minified */\nli.contact-new{background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/contact-new.png);}\n/* 6 shorthand before */\nli.document-new {\n background:transparent url(../images/tango-icon-theme-0.8.90/32x32/actions/document-new.png);\n}\n/* 7 shorthand after */\nli.document-open {\n background:transparent url(../images/tango-icon-theme-0.8.90/32x32/actions/document-open.png) no-repeat;\n}\n/* 8 shorthand before and after */\nli.document-print-preview {\n background:transparent url(../images/tango-icon-theme-0.8.90/32x32/actions/document-print-preview.png) no-repeat;\n}\n/* 9 no ending semicolon (ending semicolon will be added automatically) */\nli.document-print {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/document-print.png)\n}\n/* 10 property before */\nli.document-properties {\n display:block;\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/document-properties.png);\n}\n/* 11 property after */\nli.document-save-as {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/document-save-as.png);\n display:block;\n}\n/* 12 property before and after */\nli.document-save {\n display:block;\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/document-save.png);\n position:relative;\n}\n/* 13 property before and after minified */\nli.edit-clear{display:block;background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/edit-clear.png);position:relative;}\n/* 14 commented ruleset\nli.commented {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/commented.png);\n}\n*/\nli.edit-copy {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/edit-copy.png);\n}\nli.edit-cut {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/edit-cut.png);\n}\nli.edit-delete {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/edit-delete.png);\n}\nli.edit-find-replace {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/edit-find-replace.png);\n}\nli.edit-find {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/edit-find.png);\n}\nli.edit-paste {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/edit-paste.png);\n}\nli.edit-redo {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/edit-redo.png);\n}\nli.edit-select-all {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/edit-select-all.png);\n}\nli.edit-undo {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/edit-undo.png);\n}\nli.folder-new {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/folder-new.png);\n}\nli.format-indent-less {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/format-indent-less.png);\n}\nli.format-indent-more {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/format-indent-more.png);\n}\nli.format-justify-center {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/format-justify-center.png);\n}\nli.format-justify-fill {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/format-justify-fill.png);\n}\nli.format-justify-left {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/format-justify-left.png);\n}\nli.format-justify-right {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/format-justify-right.png);\n}\nli.format-text-bold {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/format-text-bold.png);\n}\nli.format-text-italic {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/format-text-italic.png);\n}\nli.format-text-strikethrough {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/format-text-strikethrough.png);\n}\nli.format-text-underline {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/format-text-underline.png);\n}\nli.go-bottom {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/go-bottom.png);\n}\nli.go-down {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/go-down.png);\n}\nli.go-first {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/go-first.png);\n}\nli.go-home {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/go-home.png);\n}\nli.go-jump {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/go-jump.png);\n}\nli.go-last {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/go-last.png);\n}\nli.go-next {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/go-next.png);\n}\nli.go-previous {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/go-previous.png);\n}\nli.go-top {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/go-top.png);\n}\nli.go-up {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/go-up.png);\n}\nli.list-add {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/list-add.png);\n}\nli.list-remove {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/list-remove.png);\n}\nli.mail-forward {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/mail-forward.png);\n}\nli.mail-mark-junk {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/mail-mark-junk.png);\n}\nli.mail-mark-not-junk {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/mail-mark-not-junk.png);\n}\nli.mail-message-new {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/mail-message-new.png);\n}\nli.mail-reply-all {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/mail-reply-all.png);\n}\nli.mail-reply-sender {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/mail-reply-sender.png);\n}\nli.mail-send-receive {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/mail-send-receive.png);\n}\nli.media-eject {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/media-eject.png);\n}\nli.media-playback-pause {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/media-playback-pause.png);\n}\nli.media-playback-start {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/media-playback-start.png);\n}\nli.media-playback-stop {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/media-playback-stop.png);\n}\nli.media-record {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/media-record.png);\n}\nli.media-seek-backward {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/media-seek-backward.png);\n}\nli.media-seek-forward {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/media-seek-forward.png);\n}\nli.media-skip-backward {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/media-skip-backward.png);\n}\nli.media-skip-forward {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/media-skip-forward.png);\n}\nli.process-stop {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/process-stop.png);\n}\nli.system-lock-screen {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/system-lock-screen.png);\n}\nli.system-log-out {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/system-log-out.png);\n}\nli.system-search {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/system-search.png);\n}\nli.system-shutdown {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/system-shutdown.png);\n}\nli.tab-new {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/tab-new.png);\n}\nli.view-fullscreen {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/view-fullscreen.png);\n}\nli.view-refresh {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/view-refresh.png);\n}\nli.window-new {\n background-image:url(../images/tango-icon-theme-0.8.90/32x32/actions/window-new.png);\n}\nli {\n background-position:50% 10px !important;\n background-repeat:no-repeat !important;\n float:left;\n font-size:12px;\n height:88px;\n list-style:none;\n margin:0 5px 5px 0;\n padding:52px 5px 10px;\n text-align:center;\n width:140px;\n}'
p2
.I2
.S''
.