Author: sevein
Date: Wed Sep 14 16:04:43 2011
New Revision: 9726
Log:
Trillium: scaffolding and form fixes, new plugin description warning about
browser incompatibilities
Modified:
trunk/plugins/qtTrilliumPlugin/config/qtTrilliumPluginConfiguration.class.php
trunk/plugins/qtTrilliumPlugin/css/less/_misc.less
trunk/plugins/qtTrilliumPlugin/css/less/_scaffolding.less
trunk/plugins/qtTrilliumPlugin/js/trillium.js
Modified:
trunk/plugins/qtTrilliumPlugin/config/qtTrilliumPluginConfiguration.class.php
==============================================================================
---
trunk/plugins/qtTrilliumPlugin/config/qtTrilliumPluginConfiguration.class.php
Wed Sep 14 11:41:59 2011 (r9725)
+++
trunk/plugins/qtTrilliumPlugin/config/qtTrilliumPluginConfiguration.class.php
Wed Sep 14 16:04:43 2011 (r9726)
@@ -20,7 +20,7 @@
class qtTrilliumPluginConfiguration extends sfPluginConfiguration
{
public static
- $summary = 'Theme plugin.',
+ $summary = 'New theme plugin made from scratch. Tested in Internet
Explorer 9, Safari 5, Chrome 10 and Firefox 4.',
$version = '1.0.0';
public function contextLoadFactories(sfEvent $event)
Modified: trunk/plugins/qtTrilliumPlugin/css/less/_misc.less
==============================================================================
--- trunk/plugins/qtTrilliumPlugin/css/less/_misc.less Wed Sep 14 11:41:59
2011 (r9725)
+++ trunk/plugins/qtTrilliumPlugin/css/less/_misc.less Wed Sep 14 16:04:43
2011 (r9726)
@@ -298,95 +298,104 @@
position: relative;
.clearfix();
- label {
+ > label {
}
- button {
+ > div {
- height: 28px;
- line-height: 28px;
- vertical-align: middle;
- background-color: White;
+ float: left;
+ margin-left: 20px;
+ width: 390px;
- }
+ > .default-translation {
- input,
- select {
+ margin: 0 0 @baseline/2 0;
+ padding: 4px 6px;
+ line-height: 18px;
- margin-left: 20px;
- width: 370px;
+ }
- }
+ > button {
- input.readOnly {
+ height: 28px;
+ line-height: 28px;
+ vertical-align: middle;
+ background-color: White;
+ margin-left: 4px;
- background-image: url(../../../../images/lock.png);
- background-position: 99% 50%;
- background-repeat: no-repeat;
- padding-right: 20px;
- width: 354px;
+ }
- }
+ input,
+ select {
- .resizable-textarea {
+ width: 370px;
- margin-left: 130px;
+ }
- }
+ input.readOnly {
- textarea {
+ background-image: url(../../../../images/lock.png);
+ background-position: 99% 50%;
+ background-repeat: no-repeat;
+ padding-right: 20px;
+ width: 354px;
- resize: none;
+ }
- }
+ textarea {
- textarea,
- .grippie {
+ resize: none;
- margin-left: 20px;
- width: 410px;
+ }
- }
+ textarea,
+ .grippie {
- .messages {
+ width: 410px;
- position: absolute;
- bottom: -@baseline;
- font-size: 10px;
- left: 160px;
- width: 390px;
- padding: 0;
- margin: 0;
- border: 0;
- background-color: transparent;
+ }
+
+ .messages {
+
+ position: absolute;
+ bottom: -@baseline;
+ font-size: 10px;
+ left: 160px;
+ width: 390px;
+ padding: 0;
+ margin: 0;
+ border: 0;
+ background-color: transparent;
+
+ &.error li {
- &.error li {
+ color: @red;
- color: @red;
+ &:hover {
- &:hover {
+ list-style: none;
- list-style: none;
+ }
}
- }
+ .close {
- .close {
+ display: none;
- display: none;
+ }
- }
+ ul {
- ul {
+ margin: 0;
+ padding: 0;
- margin: 0;
- padding: 0;
+ li {
- li {
+ list-style-type: none;
- list-style-type: none;
+ }
}
@@ -404,7 +413,7 @@
.tabs {
- margin-left: -20px;
+ margin-top: -20px;
padding-right: 20px;
}
@@ -454,11 +463,9 @@
a.currentTextNode {
font-weight: bold;
- background-color: @grayLighter;
+ background-color: whiteSmoke;
padding-top: 3px;
padding-bottom: 3px;
- .gradientBar(#fff, @grayLighter);
- text-shadow: 0 0 0;
}
@@ -473,7 +480,6 @@
div.form-item > input.yui-ac-input {
width: 390px;
- margin-left: 150px;
}
@@ -481,7 +487,7 @@
background-image:
url(../../../sfDrupalPlugin/vendor/drupal/misc/throbber.gif);
background-repeat: no-repeat;
- background-position: 100% 2px; /* LTR */
+ background-position: 100% 2px;
width: 390px;
margin-bottom: @baseline;
@@ -489,7 +495,7 @@
input.throbbing {
- background-position: 100% -18px; /* LTR */
+ background-position: 100% -18px;
}
@@ -497,15 +503,20 @@
.yui-ac {
- background-color: Yellow;
-
ul {
- margin-left: 150px;
+ list-style: none;
+ margin: 0 0 @baseline 0;
+
+ li {
+
+ margin: 0 0 @baseline/2 0;
- input {
+ .yui-ac-input {
- margin: 0;
+ width: 390px;
+
+ }
}
@@ -697,17 +708,14 @@
.sidebar {
- border-bottom: 1px solid #ccc;
- border-color: #999;
- .border-radius(0 0 4px 4px);
- .box-shadow();
+ border-color: #666;
+ // .box-shadow();
h2, h3 {
.element-visible();
- background-color: #ddd;
- border-top: 1px solid #ccc;
- border-bottom: 1px solid #ccc;
+ background-color: whiteSmoke;
+ border: 1px solid #ccc;
margin: 0 0 10px 0;
padding: 0 0 0 8px;
font-size: 18px;
Modified: trunk/plugins/qtTrilliumPlugin/css/less/_scaffolding.less
==============================================================================
--- trunk/plugins/qtTrilliumPlugin/css/less/_scaffolding.less Wed Sep 14
11:41:59 2011 (r9725)
+++ trunk/plugins/qtTrilliumPlugin/css/less/_scaffolding.less Wed Sep 14
16:04:43 2011 (r9726)
@@ -27,7 +27,9 @@
#sidebar-first {
position: fixed;
- top: 103px;
+ top: 123px;
+ left: 50%;
+ margin-left: -470px;
background-color: White;
}
@@ -46,6 +48,7 @@
display: inline;
float: left;
margin-left: 300px;
+ margin-top: 20px;
}
@@ -55,8 +58,6 @@
#footer {
- display: none;
-
}
}
Modified: trunk/plugins/qtTrilliumPlugin/js/trillium.js
==============================================================================
--- trunk/plugins/qtTrilliumPlugin/js/trillium.js Wed Sep 14 11:41:59
2011 (r9725)
+++ trunk/plugins/qtTrilliumPlugin/js/trillium.js Wed Sep 14 16:04:43
2011 (r9726)
@@ -3,6 +3,11 @@
$(document).ready(function()
{
+ // Wrap fields
+ $('body.edit .form-item').each(function()
+ {
+ $(this).children().not(':first').wrapAll('<div />');
+ });
// Sidebar
if (!$('.sidebar .section').has('*').length)
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.