# HG changeset patch # User sergey # Date 1399550140 -14400 # Node ID 699dd88f0ef28e933df4efb8bfd830c5f65ecdda # Parent 84ed272308252b7a7be27c752b8912064adfc050 sync diff -r 84ed27230825 -r 699dd88f0ef2 public_html/static/css/index.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/public_html/static/css/index.css Thu May 08 15:55:40 2014 +0400 @@ -0,0 +1,102 @@ +html, body { + height: 100%; + margin: 0; + padding: 0; +} + +.wrapper { + height: 100%; + margin: 0 auto; + white-space: nowrap; + width: 90%; + text-align: center; +} + + +.inline-ghost { + display: inline-block; + height: 90%; + vertical-align: middle; +} + +a { + text-decoration: none; + font-weight: bold; + color: inherit; +} + +.page { + display: inline-block; + padding: 15px; + position: relative; + vertical-align: middle; + white-space: normal; + text-align: left; +} + +ul.tile-menu { + margin: 0; + padding: 0; +} + +ul.tile-menu li { + display: inline-block; + list-style: none; + position: relative; + margin: 0 15px 15px 0; + transition: all 0.5s; +} + +ul.tile-menu li a { + display: inline-block; + padding: 10px 15px; + position: relative; + top: 0; + /* background: #c0c0c0; */ + transition: all 0.5s; + /*border-bottom: 2px solid;*/ + box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3); + text-align: right; +} + +ul.tile-menu li:hover a { + display: inline-block; + background: #b0b0b0; + box-shadow: 0 30px 15px -10px rgba(0, 0, 0, 0.6); + top: -20px; + /*padding: 15px;*/ +} + +ul.tile-menu li a .foot { + white-space: nowrap; + font-weight: normal; + font-size: 10pt; + color: #0f0f0f; +} + +ul.tile-menu li a .label { + padding-left: 10px; + border-left: 10px solid; + transition: all 0.5s; +} + +ul.tile-menu li a.green:hover .label { + color: #afffcf; +} + +ul.tile-menu li a.blue:hover .label { + color: #afdfff; +} + +ul.tile-menu li a.red:hover .label { + color: #ffafaf; +} + +ul.tile-menu li a.orange:hover .label { + color: #ffdfaf; +} + +#main-menu { + font-family: Arial; + font-size: 32pt; +} diff -r 84ed27230825 -r 699dd88f0ef2 shared_view/layout/default.tt --- a/shared_view/layout/default.tt Thu May 08 03:54:38 2014 +0400 +++ b/shared_view/layout/default.tt Thu May 08 15:55:40 2014 +0400 @@ -1,1 +1,31 @@ -$content \ No newline at end of file +[% + document.css = []; + document.scripts = []; + document.meta = []; + document.class = []; +%] +[% BLOCK PAGE_LAYOUT %] + + + + [% site.name ? "$site.name - $document.title" : document.title %] + [%- FOREACH item IN document.css +%] + + [% END %] + [% FOREACH item IN document.scripts +%] + + [% END %] + [% FOREACH item IN document.meta +%] + + [% END +%] + + + $content + + +[% END %] +[% WRAPPER PAGE_LAYOUT; + render(document.layout ? "default/$document.layout" : 'default/base', content = content, model = model); +END %] \ No newline at end of file diff -r 84ed27230825 -r 699dd88f0ef2 shared_view/layout/default/base.tt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/shared_view/layout/default/base.tt Thu May 08 15:55:40 2014 +0400 @@ -0,0 +1,1 @@ +$content \ No newline at end of file diff -r 84ed27230825 -r 699dd88f0ef2 view/layout/default/base.tt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/view/layout/default/base.tt Thu May 08 15:55:40 2014 +0400 @@ -0,0 +1,1 @@ +$content \ No newline at end of file diff -r 84ed27230825 -r 699dd88f0ef2 view/site/index.tt --- a/view/site/index.tt Thu May 08 03:54:38 2014 +0400 +++ b/view/site/index.tt Thu May 08 15:55:40 2014 +0400 @@ -1,1 +1,16 @@ -HI \ No newline at end of file +[% + document.title = "HOME"; + document.css.push(css.index); +%] + +
+
+ +
\ No newline at end of file