From 80d72abf6ee3218e4f86401a5379ee1708c2dd4d Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 25 Sep 2014 10:47:18 -0400 Subject: [PATCH] feature(css) add urls --- css/style.css | 45 --------------------------------------------- css/urls.css | 45 +++++++++++++++++++++++++++++++++++++++++++++ html/fs/index.html | 1 + 3 files changed, 46 insertions(+), 45 deletions(-) create mode 100644 css/urls.css diff --git a/css/style.css b/css/style.css index 06efa869..dda1dfbb 100644 --- a/css/style.css +++ b/css/style.css @@ -1,34 +1,3 @@ -/* -@import url(//fonts.googleapis.com/css?family=Droid+Sans+Mono); -*/ - -/* http://fontello.com/ */ -@font-face { - font-family: 'Fontello'; - src: url("/font/fontello.eot"); - src: url("/font/fontello.eot?#iefix") format('embedded-opentype'), - url("/font/fontello.woff") format('woff'), - url("/font/fontello.ttf") format('truetype'), - url("/font/fontello.svg#cloudcmd") format('svg'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family : 'Droid Sans Mono'; - src : url(https://themes.googleusercontent.com/static/fonts/droidsansmono/v5/ns-m2xQYezAtqh7ai59hJTwtzT4qNq-faudv5qbO9-U.eot); - src : local('Droid Sans Mono'), - local('DroidSansMono'), - url(/font/DroidSansMono.eot) format('embedded-opentype'), - url(https://themes.googleusercontent.com/static/fonts/droidsansmono/v5/ns-m2xQYezAtqh7ai59hJTwtzT4qNq-faudv5qbO9-U.eot?#iefix) format('embedded-opentype'), - url(https://themes.googleusercontent.com/static/fonts/droidsansmono/v5/ns-m2xQYezAtqh7ai59hJTwtzT4qNq-faudv5qbO9-U.eot) format('embedded-opentype'), - url(/font/DroidSansMono.woff) format('woff'), - url(https://themes.googleusercontent.com/static/fonts/droidsansmono/v5/ns-m2xQYezAtqh7ai59hJUYuTAAIFFn5GTWtryCmBQ4.woff) format('woff'), - local('Consolas'); - font-style : normal; - font-weight : 400; -} - html { height : 94%; } @@ -114,14 +83,6 @@ body, pre, code { content : attr(data-progress); } -.loading-svg { - background : url(/img/spinner.svg); -} - -.loading-gif { - background : url(/img/spinner.gif); -} - .cmd-button { width: 5%; height: 30px; @@ -167,12 +128,6 @@ body, pre, code { margin-left: 6px; } -.directory { - background-image:url('/img/dir.png'); -} -.text-file { - background-image:url('/img/txt.png'); -} .fm { width : 97%; height: 90%; diff --git a/css/urls.css b/css/urls.css new file mode 100644 index 00000000..2f24faff --- /dev/null +++ b/css/urls.css @@ -0,0 +1,45 @@ +/* +@import url(//fonts.googleapis.com/css?family=Droid+Sans+Mono); +*/ + +/* http://fontello.com/ */ +@font-face { + font-family: 'Fontello'; + src: url("/font/fontello.eot"); + src: url("/font/fontello.eot?#iefix") format('embedded-opentype'), + url("/font/fontello.woff") format('woff'), + url("/font/fontello.ttf") format('truetype'), + url("/font/fontello.svg#cloudcmd") format('svg'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family : 'Droid Sans Mono'; + src : url(https://themes.googleusercontent.com/static/fonts/droidsansmono/v5/ns-m2xQYezAtqh7ai59hJTwtzT4qNq-faudv5qbO9-U.eot); + src : local('Droid Sans Mono'), + local('DroidSansMono'), + url(/font/DroidSansMono.eot) format('embedded-opentype'), + url(https://themes.googleusercontent.com/static/fonts/droidsansmono/v5/ns-m2xQYezAtqh7ai59hJTwtzT4qNq-faudv5qbO9-U.eot?#iefix) format('embedded-opentype'), + url(https://themes.googleusercontent.com/static/fonts/droidsansmono/v5/ns-m2xQYezAtqh7ai59hJTwtzT4qNq-faudv5qbO9-U.eot) format('embedded-opentype'), + url(/font/DroidSansMono.woff) format('woff'), + url(https://themes.googleusercontent.com/static/fonts/droidsansmono/v5/ns-m2xQYezAtqh7ai59hJUYuTAAIFFn5GTWtryCmBQ4.woff) format('woff'), + local('Consolas'); + font-style : normal; + font-weight : 400; +} + +.directory { + background-image:url('/img/dir.png'); +} +.text-file { + background-image:url('/img/txt.png'); +} + +.loading-svg { + background : url(/img/spinner.svg); +} + +.loading-gif { + background : url(/img/spinner.gif); +} diff --git a/html/fs/index.html b/html/fs/index.html index 5b4112a8..011fdf8e 100644 --- a/html/fs/index.html +++ b/html/fs/index.html @@ -8,6 +8,7 @@ {{ title }} +