From 60adef24634f3df6c9f0161128e10cb778e5316e Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Sat, 3 Mar 2012 13:27:39 +0100 Subject: fix text-editor in theme --- view/theme/diabook/icons/attach.png | Bin 0 -> 862 bytes view/theme/diabook/icons/audio.png | Bin 0 -> 655 bytes view/theme/diabook/icons/camera.png | Bin 0 -> 568 bytes view/theme/diabook/icons/globe.png | Bin 0 -> 680 bytes view/theme/diabook/icons/unglobe.png | Bin 0 -> 659 bytes view/theme/diabook/icons/unlock.png | Bin 0 -> 314 bytes view/theme/diabook/icons/video.png | Bin 0 -> 373 bytes view/theme/diabook/icons/weblink.png | Bin 0 -> 305 bytes view/theme/diabook/jot.tpl | 83 +++++++++++++++++++++++ view/theme/diabook/style.css | 128 +++++++++++++++++++++++++++++++++-- 10 files changed, 204 insertions(+), 7 deletions(-) create mode 100755 view/theme/diabook/icons/attach.png create mode 100755 view/theme/diabook/icons/audio.png create mode 100755 view/theme/diabook/icons/camera.png create mode 100755 view/theme/diabook/icons/globe.png create mode 100755 view/theme/diabook/icons/unglobe.png create mode 100755 view/theme/diabook/icons/unlock.png create mode 100755 view/theme/diabook/icons/video.png create mode 100755 view/theme/diabook/icons/weblink.png create mode 100755 view/theme/diabook/jot.tpl (limited to 'view') diff --git a/view/theme/diabook/icons/attach.png b/view/theme/diabook/icons/attach.png new file mode 100755 index 000000000..4412d94a5 Binary files /dev/null and b/view/theme/diabook/icons/attach.png differ diff --git a/view/theme/diabook/icons/audio.png b/view/theme/diabook/icons/audio.png new file mode 100755 index 000000000..075e04734 Binary files /dev/null and b/view/theme/diabook/icons/audio.png differ diff --git a/view/theme/diabook/icons/camera.png b/view/theme/diabook/icons/camera.png new file mode 100755 index 000000000..8769cc82f Binary files /dev/null and b/view/theme/diabook/icons/camera.png differ diff --git a/view/theme/diabook/icons/globe.png b/view/theme/diabook/icons/globe.png new file mode 100755 index 000000000..daec0c256 Binary files /dev/null and b/view/theme/diabook/icons/globe.png differ diff --git a/view/theme/diabook/icons/unglobe.png b/view/theme/diabook/icons/unglobe.png new file mode 100755 index 000000000..ddcdfa23c Binary files /dev/null and b/view/theme/diabook/icons/unglobe.png differ diff --git a/view/theme/diabook/icons/unlock.png b/view/theme/diabook/icons/unlock.png new file mode 100755 index 000000000..3d6543087 Binary files /dev/null and b/view/theme/diabook/icons/unlock.png differ diff --git a/view/theme/diabook/icons/video.png b/view/theme/diabook/icons/video.png new file mode 100755 index 000000000..c9a905e32 Binary files /dev/null and b/view/theme/diabook/icons/video.png differ diff --git a/view/theme/diabook/icons/weblink.png b/view/theme/diabook/icons/weblink.png new file mode 100755 index 000000000..45c471e6c Binary files /dev/null and b/view/theme/diabook/icons/weblink.png differ diff --git a/view/theme/diabook/jot.tpl b/view/theme/diabook/jot.tpl new file mode 100755 index 000000000..bb0f4b6d0 --- /dev/null +++ b/view/theme/diabook/jot.tpl @@ -0,0 +1,83 @@ + +
+
+
 
+
+
+
+ +
+ + + + + + + + + + + + +
+ +
+
+
+
+
+
+ + +
+ +
+
+ +
+
+ +
+ + +
+ $bang +
+ + + + +
+ + +
+ $jotplugins +
+ +
+ +
+ + + +
+
+ $acl +
+
$emailcc
+
+ $jotnets +
+
+ + +
+ +
+
+
+ {{ if $content }}{{ endif }} diff --git a/view/theme/diabook/style.css b/view/theme/diabook/style.css index c1eb3be5a..c497beffd 100644 --- a/view/theme/diabook/style.css +++ b/view/theme/diabook/style.css @@ -104,20 +104,46 @@ .icon.star { background-image: url("../../../view/theme/diabook/icons/star.png");} .icon.link { background-image: url("../../../view/theme/diabook/icons/link.png");} .icon.lock { background-image: url("../../../view/theme/diabook/icons/lock.png");} +.icon.unlock { background-image: url("../../../view/theme/diabook/icons/unlock.png");} + +.camera { background-image: url("../../../view/theme/diabook/icons/camera.png"); + display: block; width: 28px; height: 28px; background-repeat: no-repeat; + } +.attach { background-image: url("../../../view/theme/diabook/icons/attach.png"); + display: block; width: 28px; height: 28px; background-repeat: no-repeat; + } +.video { background-image: url("../../../view/theme/diabook/icons/video.png"); + display: block; width: 28px; height: 28px; background-repeat: no-repeat; + } +.audio { background-image: url("../../../view/theme/diabook/icons/audio.png"); + display: block; width: 28px; height: 28px; background-repeat: no-repeat; + } +.weblink { background-image: url("../../../view/theme/diabook/icons/weblink.png"); + display: block; width: 28px; height: 28px; background-repeat: no-repeat; + } +.globe { background-image: url("../../../view/theme/diabook/icons/globe.png"); + display: block; width: 28px; height: 28px; background-repeat: no-repeat; + } +.unglobe { background-image: url("../../../view/theme/diabook/icons/unglobe.png"); + display: block; width: 28px; height: 28px; background-repeat: no-repeat; + } + + + .article { background-position: -50px 0px;} -.audio { background-position: -70px 0px;} +/*.audio { background-position: -70px 0px;}*/ .block { background-position: -90px 0px;} /*.drop { background-position: -110px 0px;}*/ /*.drophide { background-position: -130px 0px;}*/ .edit { background-position: -150px 0px;} -.camera { background-position: -170px 0px;} +/*.camera { background-position: -170px 0px;}*/ /*.dislike { background-position: -190px 0px;}*/ /*.like { background-position: -210px 0px;}*/ /*.link { background-position: -230px 0px;}*/ -.globe { background-position: -50px -20px;} -.noglobe { background-position: -70px -20px;} +/*.globe { background-position: -50px -20px;}*/ +/*.noglobe { background-position: -70px -20px;}*/ .no { background-position: -90px -20px;} .pause { background-position: -110px -20px;} .play { background-position: -130px -20px;} @@ -130,10 +156,10 @@ .tools { background-position: -50px -40px;} /*.lock { background-position: -70px -40px;}*/ -.video { background-position: -110px -40px;} +/*.video { background-position: -110px -40px;}*/ .youtube { background-position: -130px -40px;} -.attach { background-position: -190px -40px;} +/*.attach { background-position: -190px -40px;}*/ .language { background-position: -210px -40px;} @@ -1280,9 +1306,10 @@ section { height: 40px; overflow: none; width: 783px; - background-color: #0e232e; + background-color: #fff; border-bottom: 2px solid #9eabb0; } + #jot #jot-tools li { list-style: none; float: left; @@ -1379,7 +1406,94 @@ section { line-height: 20px; padding-right: 20px; } +#jot-perms-icon, +#profile-location, +#profile-nolocation, +#profile-youtube, +#profile-video, +#profile-audio, +#profile-link, +#profile-title, +#wall-image-upload, +#wall-file-upload, +#wall-image-upload-div, +#wall-file-upload-div, +.hover, .focus { + cursor: pointer; + margin-top: 2px; +} +#profile-jot-wrapper{ + margin: 0 2em 20px 0; + width: 685px; + } + +#profile-jot-submit-wrapper { + margin-bottom: 50px; + width: 675px; +} + +#profile-jot-submit { + float: left; +} +#profile-upload-wrapper { + float: left; + +} +#profile-attach-wrapper { + float: left; + margin-left: 15px; +} +#profile-rotator { + float: left; + margin-left: 30px; +} +#profile-link-wrapper { + float: left; + margin-left: 15px; +} +#profile-youtube-wrapper { + float: left; + margin-left: 15px; +} +#profile-video-wrapper { + float: left; + margin-left: 15px; +} +#profile-audio-wrapper { + float: left; + margin-left: 15px; +} +#profile-location-wrapper { + float: left; + margin-left: 15px; +} +#profile-jot-perms { + float: left; + margin-left: 45px; +} +#jot-preview-link { + float: left; + margin-left: 10px; + margin-top: 0px !important; +} + /** buttons **/ +.button.creation1 { + background-color: #fff; + border: 1px solid #777777; + background-image: -moz-linear-gradient(center top , white 0%, #DDDDDD 100%); + border-radius: 3px 3px 3px 3px; + box-shadow: 0 1px 1px #CFCFCF; +} +.button.creation2 { + background-color: #33ACFF; + background-image: -moz-linear-gradient(center top , #66C1FF 0%, #0097FF 100%); + border: 1px solid #777777; + color: white; + border-radius: 3px 3px 3px 3px; + box-shadow: 0 1px 1px #CFCFCF; + margin-left: 5px; +} /*input[type="submit"] { border: 0px; background-color: @ButtonBackgroundColor; -- cgit v1.2.3