aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/quattro
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/quattro')
-rw-r--r--view/theme/quattro/colors.less12
-rw-r--r--view/theme/quattro/jot.tpl77
-rw-r--r--view/theme/quattro/quattro.less192
-rw-r--r--view/theme/quattro/style.css172
4 files changed, 277 insertions, 176 deletions
diff --git a/view/theme/quattro/colors.less b/view/theme/quattro/colors.less
index d36ff05b0..24cce5952 100644
--- a/view/theme/quattro/colors.less
+++ b/view/theme/quattro/colors.less
@@ -78,3 +78,15 @@
@CommentBoxFullBorderColor: @Grey5;
@TagColor: @Grey1;
+
+@JotToolsBackgroundColor: @Metalic4;
+@JotToolsBorderColor: @Metalic2;
+@JotToolsOverBackgroundColor: @Metalic3;
+@JotToolsOverBorderColor: @Metalic1;
+@JotToolsText: @Grey2;
+@JotSubmitBackgroundColor: @Grey2;
+@JotSubmitText: @Grey4;
+@JotSubmitOverBackgroundColor: @Metalic1;
+@JotSubmitOverText: @Grey4;
+@JotPermissionUnlockBackgroundColor: @Grey2;
+@JotPermissionLockBackgroundColor: @Grey4;
diff --git a/view/theme/quattro/jot.tpl b/view/theme/quattro/jot.tpl
deleted file mode 100644
index d65ac8b17..000000000
--- a/view/theme/quattro/jot.tpl
+++ /dev/null
@@ -1,77 +0,0 @@
-
-<div id="profile-jot-wrapper" >
- <div id="profile-jot-banner-wrapper">
- <div id="profile-jot-desc" >&nbsp;</div>
- <div id="character-counter" class="grey"></div>
- </div>
- <div id="profile-jot-banner-end"></div>
-
- <form id="profile-jot-form" action="$action" method="post" >
- <input type="hidden" name="type" value="$ptyp" />
- <input type="hidden" name="profile_uid" value="$profile_uid" />
- <input type="hidden" name="return" value="$return_path" />
- <input type="hidden" name="location" id="jot-location" value="$defloc" />
- <input type="hidden" name="coord" id="jot-coord" value="" />
- <input type="hidden" name="title" id="jot-title" value="" />
- <input type="hidden" name="post_id" value="$post_id" />
-
- <img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
- <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea>
-
- {{ if $content }}<script>initEditor();</script>{{ endif }}
-
-<div id="profile-jot-submit-wrapper" style="display:none">
- <div id="profile-upload-wrapper" style="display: $visitor;" >
- <div id="wall-image-upload-div" ><a href="#" onclick="return false;" id="wall-image-upload" class="camera" title="$upload">image upload</a></div>
- </div>
- <div id="profile-attach-wrapper" style="display: $visitor;" >
- <div id="wall-file-upload-div" ><a href="#" onclick="return false;" id="wall-file-upload" class="attach" title="$attach">attach file</a></div>
- </div>
-
- <div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
- <a id="profile-link" class="link" title="$weblink" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;">enter link</a>
- </div>
- <div id="profile-video-wrapper" style="display: $visitor;" >
- <a id="profile-video" class="video" title="$video" onclick="jotVideoURL();return false;">video url</a>
- </div>
- <div id="profile-audio-wrapper" style="display: $visitor;" >
- <a id="profile-audio" class="audio" title="$audio" onclick="jotAudioURL();return false;">audio url</a>
- </div>
- <div id="profile-location-wrapper" style="display: $visitor;" >
- <a id="profile-location" class="globe" title="$setloc" onclick="jotGetLocation();return false;">set location</a>
- </div>
- <div id="profile-nolocation-wrapper" style="display: none;" >
- <a id="profile-nolocation" class="noglobe" title="$noloc" onclick="jotClearLocation();return false;">no location</a>
- </div>
- <div id="profile-title-wrapper" style="display: $visitor;" >
- <a id="profile-title" class="article" title="$title" onclick="jotTitle();return false;">title</a>
- </div>
- <div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" >
- <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="$lockstate" title="$permset" >permissions</a>$bang
- </div>
-<input type="submit" id="profile-jot-submit" name="submit" value="$share" />
- <div id="profile-jot-perms-end"></div>
-
- <div id="profile-jot-plugin-wrapper">
- $jotplugins
- </div>
-
- <div id="profile-rotator-wrapper" style="display: $visitor;" >
- <img id="profile-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
- </div>
-
- <div style="display: none;">
- <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
- $acl
- <hr style="clear:both"/>
- <div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle" />
- <div id="profile-jot-email-end"></div>
- $jotnets
- </div>
- </div>
-
-</div>
-
-<div id="profile-jot-end"></div>
-</form>
-</div>
diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less
index 2e61b9182..d05acf76a 100644
--- a/view/theme/quattro/quattro.less
+++ b/view/theme/quattro/quattro.less
@@ -9,6 +9,7 @@ body {
margin: 50px 0px 0px 0px;
display:table;
}
+h4 { font-size: 1.1em }
.shadow(@x: 0px, @y: 5px){
-webkit-box-shadow:@x @y 10px rgba(0, 0, 0, 0.7);
@@ -33,6 +34,7 @@ body {
transition: all 0.2s ease-in-out;
}
+
a, a:link { color: @Link; text-decoration: none; }
a:visited { color: @LinkVisited; text-decoration: none; }
a:hover {color: @LinkHover; text-decoration: underline; }
@@ -40,6 +42,7 @@ a:hover {color: @LinkHover; text-decoration: underline; }
.left { float: left; }
.right { float: right; }
.hidden { display: none; }
+.clear { clear: both; }
code {
font-family: Courier, monospace;
@@ -338,6 +341,7 @@ section {
position: relative;
padding: 10px;
margin-bottom: 20px;
+ width: 780px;
}
.wall-item-decor { position: absolute; left: 790px; top: -10px; width: 16px;}
.unstarred { display: none; }
@@ -457,77 +461,124 @@ section {
}
}
+/* editor */
+.jothidden { display: none; }
+#jot {
-
-#profile-jot-wrapper {
width: 100%;
margin: 0px 2em 20px 0px;
-}
-.profile-jot-text {
- height: 1em; width: 100%; font-size: 10px;
- color: @CommentBoxEmptyColor;
- border: 1px solid @CommentBoxEmptyBorderColor;
- padding:0.3em;
-}
-#profile-jot-plugin-wrapper,
-#profile-jot-submit-wrapper {
- margin-top: 10px;
-}
+ .profile-jot-text {
+ height: 1em; width: 99%; font-size: 10px;
+ color: @CommentBoxEmptyColor;
+ border: 1px solid @CommentBoxEmptyBorderColor;
+ padding:0.3em;
+ }
+ #jot-tools {
+ margin: 0px; padding: 0px;
+ height: 40px; overflow: none;
+ width: 800px;
+ background-color: @JotToolsBackgroundColor;
+ border-bottom: 2px solid @JotToolsBorderColor;
+ li {
+ list-style: none;
+ float: left;
+ width: 80px;
+ height: 40px;
+ border-bottom: 2px solid @JotToolsBorderColor;
+ a {
+ display: block;
+ color: @JotToolsText;
+ width: 100%;
+ height:40px;
+ text-align: center;
+ line-height: 40px;
+ overflow: hidden;
+ }
+ }
+ li:hover {
+ background-color: @JotToolsOverBackgroundColor;
+ border-bottom: 2px solid @JotToolsOverBorderColor;
+ }
+ li.perms {
+ float: right;
+ width: 40px;
+ a.unlock {
+ width: 30px;
+ border-left: 10px solid @JotPermissionUnlockBackgroundColor;
+ background-color: @JotPermissionUnlockBackgroundColor;
+ }
+ a.lock {
+ width: 30px;
+ border-left: 10px solid @JotPermissionLockBackgroundColor;
+ background-color: @JotPermissionLockBackgroundColor;
+ }
+
+ }
+ li.submit {
+ float: right;
+ background-color: @JotSubmitBackgroundColor;
+ border-bottom: 2px solid @JotSubmitBackgroundColor;
+ border-right: 1px solid @Grey4;
+ border-left: 1px solid @Grey4;
+ input {
+ border: 0px; margin: 0px; padding: 0px;
+ background-color: @JotSubmitBackgroundColor;
+ color: @JotSubmitText;
+ width: 80px; height: 40px;
+ line-height: 40px;
+ }
+ input:hover {
+ background-color: @JotSubmitOverBackgroundColor;
+ color: @JotSubmitOverText;
+ }
+ }
+ li.loading {
+ float: right;
+ background-color: @Grey1;
+ width: 20px;
+ vertical-align: center;
+ text-align: center;
+ img { margin-top: 10px; }
+ border-top: 2px solid @JotToolsBorderColor;
+ height: 38px;
+ }
+ }
-#profile-jot-submit {
- float: left;
-}
-#profile-upload-wrapper{
- float: left;
- margin-left: 10px;
-}
-#profile-attach-wrapper,
-#profile-rotator,
-#profile-link-wrapper,
-#profile-youtube-wrapper,
-#profile-video-wrapper,
-#profile-audio-wrapper,
-#profile-location-wrapper,
-#profile-nolocation-wrapper,
-#profile-title-wrapper {
- float: left;
- margin-left: 20px;
-}
+ #jot-title {
+ border: 0px;
+ margin: 0px;
+ height: 20px;
+ width: 700px;
+ font-weight: bold;
+ border: 1px solid @BodyBackground;
-#profile-jot-perms {
- float: left;
- margin-left: 35px;
- margin-right: 35px;
-}
+ &:-webkit-input-placeholder {
+ font-weight: normal;
+ }
-#profile-jot-perms-end {
- /*clear: left;*/
- height: 20px;
-}
+ &:-moz-placeholder {
+ font-weight: normal;
+ }
+
+ &:hover { border: 1px solid @CommentBoxEmptyBorderColor }
+ &:focus { border: 1px solid @CommentBoxEmptyBorderColor }
+ }
+
+ #character-counter {
+ width: 80px;
+ float: right;
+ text-align: right;
+ height: 20px;
+ line-height: 20px;
+ padding-right: 20px;
+ }
-#profile-jot-plugin-end{
- clear: both;
-}
-.profile-jot-net {
- float: left;
- margin-right: 10px;
- margin-top: 5px;
- margin-bottom: 5px;
}
-#profile-jot-networks-end {
- clear: both;
-}
-#profile-jot-end, #about-jot-end {
- margin-bottom: 15px;
-}
-#about-jot-submit-wrapper {
- margin-top: 15px;
-}
/** buttons **/
/*input[type="submit"] {
border: 0px;
@@ -717,6 +768,31 @@ ul.tabs {
&.radio .field_help { margin-left: 0px; }
}
+#profile-edit-links li {
+ list-style: none;
+}
+
+/* oauth */
+.oauthapp {
+ height: auto; overflow: auto;
+ border-bottom: 2px solid #cccccc;
+ padding-bottom: 1em;
+ margin-bottom: 1em;
+}
+.oauthapp img {
+ float: left;
+ width: 48px; height: 48px;
+ margin: 10px;
+}
+.oauthapp img.noicon {
+ background-image: url("../../../images/icons/48/plugin.png");
+ background-position: center center;
+ background-repeat: no-repeat;
+}
+.oauthapp a {
+ float: left;
+}
+
/* page footer */
footer { height: 100px; display: table-row; }
diff --git a/view/theme/quattro/style.css b/view/theme/quattro/style.css
index 6de9800af..948a7cb04 100644
--- a/view/theme/quattro/style.css
+++ b/view/theme/quattro/style.css
@@ -168,6 +168,9 @@ body {
margin: 50px 0px 0px 0px;
display: table;
}
+h4 {
+ font-size: 1.1em;
+}
a, a:link {
color: #005c94;
text-decoration: none;
@@ -189,6 +192,9 @@ a:hover {
.hidden {
display: none;
}
+.clear {
+ clear: both;
+}
code {
font-family: Courier, monospace;
white-space: pre;
@@ -609,6 +615,7 @@ section {
position: relative;
padding: 10px;
margin-bottom: 20px;
+ width: 780px;
}
.wall-item-decor {
position: absolute;
@@ -779,67 +786,125 @@ section {
background: url("../../../images/tag.png") no-repeat center right;
color: #ffffff;
}
-#profile-jot-wrapper {
+/* editor */
+.jothidden {
+ display: none;
+}
+#jot {
width: 100%;
margin: 0px 2em 20px 0px;
}
-.profile-jot-text {
+#jot .profile-jot-text {
height: 1em;
- width: 100%;
+ width: 99%;
font-size: 10px;
color: #999999;
border: 1px solid #999999;
padding: 0.3em;
}
-#profile-jot-plugin-wrapper, #profile-jot-submit-wrapper {
- margin-top: 10px;
+#jot #jot-tools {
+ margin: 0px;
+ padding: 0px;
+ height: 40px;
+ overflow: none;
+ width: 800px;
+ background-color: #0e232e;
+ border-bottom: 2px solid #9eabb0;
}
-#profile-jot-submit {
+#jot #jot-tools li {
+ list-style: none;
float: left;
+ width: 80px;
+ height: 40px;
+ border-bottom: 2px solid #9eabb0;
}
-#profile-upload-wrapper {
- float: left;
- margin-left: 10px;
-}
-#profile-attach-wrapper,
-#profile-rotator,
-#profile-link-wrapper,
-#profile-youtube-wrapper,
-#profile-video-wrapper,
-#profile-audio-wrapper,
-#profile-location-wrapper,
-#profile-nolocation-wrapper,
-#profile-title-wrapper {
- float: left;
- margin-left: 20px;
+#jot #jot-tools li a {
+ display: block;
+ color: #cccccc;
+ width: 100%;
+ height: 40px;
+ text-align: center;
+ line-height: 40px;
+ overflow: hidden;
}
-#profile-jot-perms {
- float: left;
- margin-left: 35px;
- margin-right: 35px;
+#jot #jot-tools li:hover {
+ background-color: #364e59;
+ border-bottom: 2px solid #bdcdd4;
}
-#profile-jot-perms-end {
- /*clear: left;*/
-
+#jot #jot-tools li.perms {
+ float: right;
+ width: 40px;
+}
+#jot #jot-tools li.perms a.unlock {
+ width: 30px;
+ border-left: 10px solid #cccccc;
+ background-color: #cccccc;
+}
+#jot #jot-tools li.perms a.lock {
+ width: 30px;
+ border-left: 10px solid #666666;
+ background-color: #666666;
+}
+#jot #jot-tools li.submit {
+ float: right;
+ background-color: #cccccc;
+ border-bottom: 2px solid #cccccc;
+ border-right: 1px solid #666666;
+ border-left: 1px solid #666666;
+}
+#jot #jot-tools li.submit input {
+ border: 0px;
+ margin: 0px;
+ padding: 0px;
+ background-color: #cccccc;
+ color: #666666;
+ width: 80px;
+ height: 40px;
+ line-height: 40px;
+}
+#jot #jot-tools li.submit input:hover {
+ background-color: #bdcdd4;
+ color: #666666;
+}
+#jot #jot-tools li.loading {
+ float: right;
+ background-color: #ffffff;
+ width: 20px;
+ vertical-align: center;
+ text-align: center;
+ border-top: 2px solid #9eabb0;
+ height: 38px;
+}
+#jot #jot-tools li.loading img {
+ margin-top: 10px;
+}
+#jot #jot-title {
+ border: 0px;
+ margin: 0px;
height: 20px;
+ width: 700px;
+ font-weight: bold;
+ border: 1px solid #ffffff;
}
-#profile-jot-plugin-end {
- clear: both;
+#jot #jot-title:-webkit-input-placeholder {
+ font-weight: normal;
}
-.profile-jot-net {
- float: left;
- margin-right: 10px;
- margin-top: 5px;
- margin-bottom: 5px;
+#jot #jot-title:-moz-placeholder {
+ font-weight: normal;
}
-#profile-jot-networks-end {
- clear: both;
+#jot #jot-title:hover {
+ border: 1px solid #999999;
}
-#profile-jot-end, #about-jot-end {
- margin-bottom: 15px;
+#jot #jot-title:focus {
+ border: 1px solid #999999;
}
-#about-jot-submit-wrapper {
- margin-top: 15px;
+#jot #character-counter {
+ width: 80px;
+ float: right;
+ text-align: right;
+ height: 20px;
+ line-height: 20px;
+ padding-right: 20px;
}
/** buttons **/
/*input[type="submit"] {
@@ -1025,6 +1090,31 @@ ul.tabs li .active {
.field.radio .field_help {
margin-left: 0px;
}
+#profile-edit-links li {
+ list-style: none;
+}
+/* oauth */
+.oauthapp {
+ height: auto;
+ overflow: auto;
+ border-bottom: 2px solid #cccccc;
+ padding-bottom: 1em;
+ margin-bottom: 1em;
+}
+.oauthapp img {
+ float: left;
+ width: 48px;
+ height: 48px;
+ margin: 10px;
+}
+.oauthapp img.noicon {
+ background-image: url("../../../images/icons/48/plugin.png");
+ background-position: center center;
+ background-repeat: no-repeat;
+}
+.oauthapp a {
+ float: left;
+}
/* page footer */
footer {
height: 100px;