changeset 10:83ad674a8cdd

updated styles
author sergey
date Thu, 15 May 2014 01:51:42 +0400
parents 3efa63d911d4
children 573272ec604b
files public_html/static/css/global.css shared_view/layout/init.tt view/site/index.tt
diffstat 3 files changed, 23 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/public_html/static/css/global.css	Wed May 14 17:29:04 2014 +0400
+++ b/public_html/static/css/global.css	Thu May 15 01:51:42 2014 +0400
@@ -18,6 +18,14 @@
 	text-align: center;
 }
 
+.float-left {
+	float: left;
+}
+
+.float-right {
+	float: right;
+}
+
 /********************************* MENUS **************************************/
 
 ul.menu-bar {
@@ -31,10 +39,17 @@
     line-height: 100%;
 }
 
+ul.menu-bar li.menu-item {
+	padding: 5px;
+	text-decoration: none;
+	padding-bottom: 8px;
+}
+
 .menu-bar a {
 	padding: 5px;
     display: block;
     text-decoration: none;
+    border-bottom: 3px solid;
 }
 
 /********************************* TABLES *************************************/
--- a/shared_view/layout/init.tt	Wed May 14 17:29:04 2014 +0400
+++ b/shared_view/layout/init.tt	Thu May 15 01:51:42 2014 +0400
@@ -0,0 +1,3 @@
+[%
+	# выполняется в default.tt до формирования тела документа 
+%]
\ No newline at end of file
--- a/view/site/index.tt	Wed May 14 17:29:04 2014 +0400
+++ b/view/site/index.tt	Thu May 15 01:51:42 2014 +0400
@@ -3,6 +3,11 @@
 	document.css.push(css.index);
 %]
 <div class="wrapper">
+	<ul class="menu-bar float-right"><!-- no space
+		--><li class="menu-item">user</li><!-- no space
+		--><li class=""><a href="#">exit</a></li>
+	</ul>
+	<div style="clear:both"></div>
 	<div class="inline-ghost"> </div>
 	<div class="page">
 		<ul id="main-menu" class="tile-menu"><!-- no space