diff --git a/couchpotato/static/style/fonts.scss b/couchpotato/static/style/fonts.scss new file mode 100644 index 00000000..ae592a78 --- /dev/null +++ b/couchpotato/static/style/fonts.scss @@ -0,0 +1,69 @@ + +/* Fonts */ +@font-face { + font-family: 'Elusive-Icons'; + src:url('../fonts/Elusive-Icons.eot'); + src:url('../fonts/Elusive-Icons.eot?#iefix') format('embedded-opentype'), + url('../fonts/Elusive-Icons.woff') format('woff'), + url('../fonts/Elusive-Icons.ttf') format('truetype'), + url('../fonts/Elusive-Icons.svg#Elusive-Icons') format('svg'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'OpenSans'; + src: url('../fonts/OpenSans-Regular-webfont.eot'); + src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/OpenSans-Regular-webfont.woff') format('woff'), + url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'), + url('../fonts/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg'); + font-weight: normal; + font-style: normal; + +} + +@font-face { + font-family: 'OpenSans'; + src: url('../fonts/OpenSans-Italic-webfont.eot'); + src: url('../fonts/OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/OpenSans-Italic-webfont.woff') format('woff'), + url('../fonts/OpenSans-Italic-webfont.ttf') format('truetype'), + url('../fonts/OpenSans-Italic-webfont.svg#OpenSansItalic') format('svg'); + font-weight: normal; + font-style: italic; + +} + +@font-face { + font-family: 'OpenSans'; + src: url('../fonts/OpenSans-Bold-webfont.eot'); + src: url('../fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/OpenSans-Bold-webfont.woff') format('woff'), + url('../fonts/OpenSans-Bold-webfont.ttf') format('truetype'), + url('../fonts/OpenSans-Bold-webfont.svg#OpenSansBold') format('svg'); + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: 'OpenSans'; + src: url('../fonts/OpenSans-BoldItalic-webfont.eot'); + src: url('../fonts/OpenSans-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/OpenSans-BoldItalic-webfont.woff') format('woff'), + url('../fonts/OpenSans-BoldItalic-webfont.ttf') format('truetype'), + url('../fonts/OpenSans-BoldItalic-webfont.svg#OpenSansBoldItalic') format('svg'); + font-weight: bold; + font-style: italic; +} + +@font-face { + font-family: 'Lobster'; + src: url('../fonts/Lobster-webfont.eot'); + src: url('../fonts/Lobster-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/Lobster-webfont.woff') format('woff'), + url('../fonts/Lobster-webfont.ttf') format('truetype'), + url('../fonts/Lobster-webfont.svg#lobster_1.4regular') format('svg'); + font-weight: normal; + font-style: normal; +} diff --git a/couchpotato/static/style/main.scss b/couchpotato/static/style/main.scss new file mode 100644 index 00000000..889a2b02 --- /dev/null +++ b/couchpotato/static/style/main.scss @@ -0,0 +1,19 @@ +@import "fonts"; + +body, html { + font-size: 12px; + line-height: 1.5; + font-family: OpenSans, "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif; + height: 100%; + margin: 0; + padding: 0; + background: #FFF; + -webkit-font-smoothing: subpixel-antialiased; + + &.noscroll { + overflow: hidden; + } +} + +body { overflow-y: scroll; } + diff --git a/couchpotato/templates/index.html b/couchpotato/templates/index.html index b4328001..211bcf64 100644 --- a/couchpotato/templates/index.html +++ b/couchpotato/templates/index.html @@ -7,14 +7,14 @@ - {% for url in fireEvent('clientscript.get_styles', as_html = True, location = 'front', single = True) %} + {% for url in fireEvent('clientscript.get_styles', location = 'front', single = True) %} {% end %} - {% for url in fireEvent('clientscript.get_scripts', as_html = True, location = 'front', single = True) %} + {% for url in fireEvent('clientscript.get_scripts', location = 'front', single = True) %} {% end %} - {% for url in fireEvent('clientscript.get_scripts', as_html = True, location = 'head', single = True) %} + {% for url in fireEvent('clientscript.get_scripts', location = 'head', single = True) %} {% end %} - {% for url in fireEvent('clientscript.get_styles', as_html = True, location = 'head', single = True) %} + {% for url in fireEvent('clientscript.get_styles', location = 'head', single = True) %} {% end %} diff --git a/couchpotato/templates/login.html b/couchpotato/templates/login.html index 35626221..2b196485 100644 --- a/couchpotato/templates/login.html +++ b/couchpotato/templates/login.html @@ -5,21 +5,21 @@ - {% for url in fireEvent('clientscript.get_styles', as_html = True, location = 'front', single = True) %} + {% for url in fireEvent('clientscript.get_styles', location = 'front', single = True) %} {% end %} - - {% for url in fireEvent('clientscript.get_scripts', as_html = True, location = 'front', single = True) %} + + {% for url in fireEvent('clientscript.get_scripts', location = 'front', single = True) %} {% end %} - +