Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ui fixes and improved readability

  • Loading branch information...
commit 60a554afafd0eb19b57fb4894d5496ea2655d022 1 parent 65153a8
@giovdk21 authored
View
6 css/css3.css
@@ -4,6 +4,10 @@
overflow: hidden;
}
+#page {
+ border-radius: 10px;
+}
+
/* ------------------------------------------------- */
#top_right_box {
@@ -52,7 +56,7 @@ div.right_menu div.title a {
div.right_menu ul li.last, div.right_menu ul li.last a {
border-radius: 0px 0px 0px 10px;
- -moz-border-radius-bottomleft: 10px;
+ -moz-border-radius-bottomleft: 10px;
}
div.right_menu ul li a {
View
24 css/style.css
@@ -1,6 +1,7 @@
body {
padding-top: 60px;
+ background: #eee;
}
#header, #page { border: 0px none; }
@@ -33,6 +34,9 @@ div.demo_box {
div.source_box {
margin-bottom: 3em;
+ background-color: #eee;
+ border: 1px solid #ccc;
+ font-size: 0.9em;
}
div.source_box div.syntaxhighlighter {
@@ -66,10 +70,14 @@ div.container {
#more_topic_info {
position: absolute;
right: 20px;
- top: 0px;
+ top: 20px;
display: none;
}
+div.breadcrumbs {
+ padding: 20px;
+}
+
#more_topic_info a {
cursor: pointer;
background-image: url('../images/help.png');
@@ -152,7 +160,7 @@ div.right_menu ul {
}
div.right_menu ul li {
- background: #EEE;
+ background: #fff;
border-bottom: 1px dotted #888;
display: block;
width: 100%;
@@ -164,6 +172,8 @@ div.right_menu ul li.selected {
background-color: #FFAA3E;
}
+div.right_menu ul li.selected a { color: #200; }
+
div.right_menu ul li.last {
border-bottom: 0px none;
}
@@ -176,9 +186,17 @@ div.right_menu ul li a {
}
div.right_menu ul li a:hover {
- background-color: #FFF;
+ background-color: #DDD;
}
+
+/* ------------------------------------------------- */
+/* Gridview + bootstrap */
+
+div.grid-view select,
+div.grid-view textarea,
+div.grid-view input { padding: 0; }
+
/* ------------------------------------------------- */
View
16 protected/config/main.php
@@ -70,14 +70,14 @@
// use 'site/error' action to display errors
'errorAction'=>'site/error',
),
- 'widgetFactory' => array(
- 'widgets' => array(
- 'CJuiDialog' => $jui_prefs,
- 'CJuiTabs' => $jui_prefs,
- 'CJuiDatePicker' => $jui_prefs,
- 'CJuiAutoComplete' => $jui_prefs,
- ),
- ),
+// 'widgetFactory' => array(
+// 'widgets' => array(
+// 'CJuiDialog' => $jui_prefs,
+// 'CJuiTabs' => $jui_prefs,
+// 'CJuiDatePicker' => $jui_prefs,
+// 'CJuiAutoComplete' => $jui_prefs,
+// ),
+// ),
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
View
7 protected/views/layouts/main.php
@@ -5,11 +5,12 @@
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
- <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/style.css" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
- <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/css3.css" />
<title><?php echo CHtml::encode($this->pageTitle); ?></title>
+
+ <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/style.css" />
+ <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/css3.css" />
</head>
<body>
@@ -151,5 +152,7 @@
</div><!-- page -->
+<a href="https://github.com/giovdk21/yiiplayground/"><img style="position: fixed; z-index: 1100; top: 0; left: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_left_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
+
</body>
</html>
View
5 protected/views/site/index.php
@@ -3,8 +3,7 @@
<h1>Welcome to <i><?php echo CHtml::encode(Yii::app()->name); ?></i></h1>
<ul style="line-height: 1.6em;">
- <li><a href="http://code.google.com/p/yiiplayground/">Project homepage</a></li>
+ <li><a href="https://github.com/giovdk21/yiiplayground/">Project homepage &amp; download</a></li>
<li><a href="http://www.yiiframework.com/forum/index.php?/topic/9209-yii-playground-collaborative-demo-app/">Official forum thread</a></li>
- <li><a href="http://code.google.com/p/yiiplayground/source/checkout">Download the source code</a></li>
- <li><a href="http://code.google.com/p/yiiplayground/wiki/Join" style="font-weight: bold;">Join this project!</a></li>
+ <li><a href="https://github.com/giovdk21/yiiplayground/wiki/How-to-contribute-to-the-Yii-Playground-project" style="font-weight: bold;">Join this project!</a></li>
</ul>
Please sign in to comment.
Something went wrong with that request. Please try again.