From 4942419cea401d6303d2f415eb8c2a8302ae7113 Mon Sep 17 00:00:00 2001 From: Patrick Seeger Date: Fri, 27 Jun 2014 14:29:54 +0200 Subject: =?UTF-8?q?Layout=20f=C3=BCr=20Handies=20verbessert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/astaf/layout.css | 64 ++++++++++++++++++++++++++++++++++++- protected/config/main.php | 27 +++++++++------- themes/astaf/views/layouts/main.php | 13 ++++---- 3 files changed, 85 insertions(+), 19 deletions(-) diff --git a/css/astaf/layout.css b/css/astaf/layout.css index f7a2762..43ea7fe 100644 --- a/css/astaf/layout.css +++ b/css/astaf/layout.css @@ -95,4 +95,66 @@ } ul#navigation li ul span { /* aktuelle Unterseite kennzeichnen */ background-color: maroon; - } \ No newline at end of file + } + + #menu-icon{ + display: none; + + /*background: #4C8FEC url('/images/wetter/dust.png') center;*/ + } + + + +@media only screen and (max-width : 640px) { + + #submenu { + font-size:1.5em; + line-height:2.5em; + } + #menu-icon { + + display:inline-block; + background: transparent; + color: #aaa; + font-size:1.5em; + line-height:2.5em; + padding: 0 0.5em; + text-shadow: 0 1px 1px rgba(0,0,0,.5); + text-decoration: none; + width: auto; + + } + nav .ym-hlist { + display:none; + } + nav:hover .ym-hlist { + display:block; + } + nav ul#mainmenu, nav:active ul#mainmenu { + + display: none; + + } + + nav li { + + text-align: center; + width: 100%; + padding: 10px 0; + margin: 0; + font-size:1.5em; + + } + + nav:hover ul#mainmenu { + + display: block; + + } + + .ym-hlist ul li a, .ym-hlist ul li strong { + font-size: 1.5em; + } +} + + \ No newline at end of file diff --git a/protected/config/main.php b/protected/config/main.php index 1ee938c..5730be4 100644 --- a/protected/config/main.php +++ b/protected/config/main.php @@ -7,7 +7,7 @@ // CWebApplication properties can be configured here. return array( 'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..', - 'name'=>'Waiblinger Altstadtfest 2013', + 'name'=>'TEST - Waiblinger Altstadtfest 2014', 'theme' => 'astaf', 'sourceLanguage' => 'en', 'language' =>'de', @@ -20,7 +20,7 @@ return array( 'application.models.*', 'application.components.*', 'application.extensions.ddeditor.*', - 'application.extensions.wetter.*', + // 'application.extensions.wetter.*', 'application.modules.cms.models.*', // 'application.extensions.extckeditor.*', ), @@ -58,6 +58,7 @@ return array( 'urlManager'=>array( 'urlFormat'=>'path', 'rules'=>array( + 'Programm/'=>'veranstaltung/index', '/'=>'/view', '//'=>'/', '/'=>'/', @@ -70,10 +71,10 @@ return array( // uncomment the following to use a MySQL database 'db'=>array( - 'connectionString' => 'mysql:host=database;dbname=astaf_2012', + 'connectionString' => 'mysql:host=localhost;dbname=astaf', 'emulatePrepare' => true, - 'username' => 'astaf', - 'password' => 'AsTaF4', + 'username' => 'root', + 'password' => '', 'charset' => 'utf8', 'tablePrefix' => 'tbl_' ), @@ -85,15 +86,19 @@ return array( 'log'=>array( 'class'=>'CLogRouter', 'routes'=>array( - array( + 'file'=>array( 'class'=>'CFileLogRoute', - 'levels'=>'error, warning',//, debug,trace', + 'levels'=>'error, warning, debug, trace', + 'categories'=>'system.db.*', ), // uncomment the following to show log messages on web pages - /*array( + 'web'=>array( 'class'=>'CWebLogRoute', - ),*/ + + 'levels'=>'trace, info, error, warning', + 'categories'=>'system.db.*', + ), ), ), @@ -108,8 +113,8 @@ return array( 'pos_long'=>9.31750059128, 'map_api_key'=>'ABQIAAAAzwMJRVnIOel5nqTjdUcPrRTSNOUR83EeIVShY4aBvXxHJx0DexSUFNGH3KQhtFhfSNHxkECqL5rQBA', 'map_api_domain'=>'www.astaf.de', - 'start_date'=>'28.06.2013', - 'end_date'=>'30.06.2013', + 'start_date'=>'27.06.2014', + 'end_date'=>'29.06.2014', 'start_time'=>'19:00', 'end_time'=>'23:00', ), diff --git a/themes/astaf/views/layouts/main.php b/themes/astaf/views/layouts/main.php index 7847de1..60311e7 100644 --- a/themes/astaf/views/layouts/main.php +++ b/themes/astaf/views/layouts/main.php @@ -9,8 +9,7 @@ - - + @@ -56,26 +55,25 @@
  • Skip to main content (Press Enter)
  • -

    name);?>

    -
    + +
    -- cgit v1.0-28-g1787