summaryrefslogtreecommitdiff
path: root/templates/themes/favelaframes/frames.html
diff options
context:
space:
mode:
authorsinuca <55vitaminado@gmail.com>2014-03-18 00:39:13 -0300
committerczaks <marcin@6irc.net>2014-03-25 11:47:46 +0100
commit1e78987ef638cc899be7993d3a7938e51b16ad6d (patch)
treebd4526386319b5fb76f907d01bcf95cc6270d5d0 /templates/themes/favelaframes/frames.html
parentb0c837ce9369b932cecff91966dacdaef4a96952 (diff)
Added ukko and favelaframes themes
Diffstat (limited to 'templates/themes/favelaframes/frames.html')
-rw-r--r--templates/themes/favelaframes/frames.html102
1 files changed, 102 insertions, 0 deletions
diff --git a/templates/themes/favelaframes/frames.html b/templates/themes/favelaframes/frames.html
new file mode 100644
index 00000000..ccbd377e
--- /dev/null
+++ b/templates/themes/favelaframes/frames.html
@@ -0,0 +1,102 @@
+<!doctype html>
+<html>
+<head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+ <!-- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> -->
+ <link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
+ {% if settings.tryresponsive %}
+ <script type="text/javascript" src="{{ config.additional_javascript_url }}js/jquery.min.js"></script>
+ <script type="text/javascript">
+ $().ready(function () {
+ $(".botao-55").click(function () {
+ $("iframe#sidebar").toggleClass("sidebar-vem");
+ $("iframe#main").toggleClass("mainbar-pls");
+ });
+ });
+ </script>
+ {% endif %}
+ <style type="text/css">
+ iframe {
+ border: none;
+ margin: 0;
+ padding: 0;
+ height: 99%;
+ position: absolute
+ }
+ iframe#sidebar {
+ left: 0;
+ top: 0;
+ width: 15%
+ }
+ iframe#main {
+ left: 15%;
+ top: 0;
+ width: 85%
+ }
+ iframe.sidebar-vem {
+ left: 0!important;
+ }
+ iframe.mainbar-pls {
+ left: 15%!important;
+ }
+ .botao-55 {
+ position: fixed;
+ top: 5px;
+ right: 5px;
+ cursor: pointer;
+ background-color: #EEE;
+ opacity: 0.3;
+ display: none;
+ border-radius: 3px;
+ border-width: 1px;
+ border-style: solid;
+ border-color: #B7C5D9;
+ }
+ .botao-55:hover {
+ opacity: 1;
+ }
+ .span-55 {
+ font-family: Verdana, Tahoma, sans-serif;
+ font-size: 50px;
+ font-weight: bolder;
+ }
+ {% if settings.tryresponsive %}
+ @media screen and (max-width: 767px) {
+ .botao-55 {
+ display: block;
+ }
+ iframe#sidebar {
+ width: 45%;
+ left: -45%;
+ -webkit-transition: all 0.25s ease-out;
+ -moz-transition: all 0.25s ease-out;
+ -o-transition: all 0.25s ease-out;
+ transition: all 0.25s ease-out;
+ }
+ iframe#main {
+ left: 0;
+ width: 100%;
+ -webkit-transition: all 0.25s ease-out;
+ -moz-transition: all 0.25s ease-out;
+ -o-transition: all 0.25s ease-out;
+ transition: all 0.25s ease-out;
+ }
+ iframe.mainbar-pls {
+ left: 45%!important;
+ }
+ iframe.sidebar-vem {
+ left: 0!important;
+ }
+ }
+ {% endif %}
+ </style>
+ <title>{{ settings.title }}</title>
+</head>
+<body>
+ <iframe src="{{ settings.file_sidebar }}" id="sidebar" name="sidebar"></iframe>
+ <iframe src="{{ settings.file_news }}" id="main" name="main"></iframe>
+ <div class="botao-55">
+ <span class="span-55">55</span>
+ </div>
+</body>
+</html>