Skip to content

Instantly share code, notes, and snippets.

@jnunemaker
Created December 27, 2010 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnunemaker/756221 to your computer and use it in GitHub Desktop.
Save jnunemaker/756221 to your computer and use it in GitHub Desktop.
benchmarks of put/get/read with/without zlib compression
require 'pp'
require 'zlib'
require 'benchmark'
require 'rubygems'
require 'active_support/gzip'
require 'mongo_mapper'
MongoMapper.database = 'testing'
MongoMapper.database.collections.each(&:remove)
str = <<-EOF
@media screen, projection {
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
body{font:13px/1.231 helvetica,arial,clean,sans-serif;*font-size:small;*font:x-small;}table {font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}
html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;font-variant:normal;}sup {vertical-align:text-top;}sub {vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}
h1,h2,h3,h4,h5,h6,strong{font-weight:bold;}abbr,acronym{border-bottom:1px dotted #000;cursor:help;}em{font-style:italic;}ol li{list-style:decimal outside;}ul li{list-style:disc outside;}th{font-weight:bold;}caption{margin-bottom:.5em;text-align:center;}abbr{border:none;cursor:default;}
a {text-decoration:none; cursor:default;}
a:focus {outline:none;}
p {margin:0 0 20px;}
/**
* Style Chunks
*/
div.wrapper {margin:20px;}
div.item_sidebar div.wrapper {margin:15px;}
form ul li {list-style:none; margin:0 0 10px;}
form ul li.item {margin:0;}
form p label {display:block; margin:0 0 3px;}
form p small {display:block; color:#777; margin:3px 0 0;}
form ul li ul li {margin:0 0 3px;}
button:focus {outline:none; font-weight:bold;}
.flash {padding:7px 10px 7px 32px; background:#FFFFE8 url(images/icons/exclamation.png) no-repeat 10px 50%; border-bottom:1px solid #ff0;}
.notice {border-bottom-color:#7D9E5D; background:#ECF1E8 url(images/icons/tick_circle.png) no-repeat 10px 50%;}
.error {border-bottom-color:#911; background:#F6E9E9 url(images/icons/minus_circle.png) no-repeat 10px 50%;}
.ui-tabs-hide {display:none;}
object, embed {vertical-align:middle;}
#template_name_wrapper {}
#template_name_wrapper label {display:inline;}
.template_name_form {display:none;}
.template_name_toggle .template_name_view {display:none;}
.template_name_toggle .template_name_form {display:block;}
.state_toggler .view_state {display:block;}
.state_toggler .edit_state {display:none;}
.edit .view_state {display:none;}
.edit .edit_state {display:block;}
/**
* Layout
*/
body {font-family:"Lucida Grande",Tahoma, Arial, sans-serif; font-size:11px;}
#wrapper {position:absolute; top:0; left:0; right:0; bottom:0; background:#CCC;}
#header {position:absolute; height:33px; background:#222 url(images/header.gif) repeat-x 0 -1px; left:0; right:0; line-height:28px; color:#999; padding:0; z-index:1;}
#select_location,
#filter_sites {color:#FFF; position:absolute; top:0; left:0; right:0; padding:0 0 0 10px;}
#filter_sites {display:none; color:#666;}
#select_location h5 {padding:0 24px 0 0; cursor:default;}
#select_location h5 a,
#filter_sites a {color:#ccc; padding:0 10px; font-weight:normal; cursor:pointer;}
#select_location ul {white-space:nowrap; background:url(images/sites_menu.png) repeat-x; overflow-x:auto; overflow-y:hidden; position:absolute; top:28px; border-top:1px solid #333; left:0; right:0; height:157px; padding:5px 10px 15px; z-index:1; text-shadow:#000 0 0 3px;}
#select_location li {cursor:pointer; display:inline-block; vertical-align:top; margin:0; padding:0; width:160px; text-align:center; overflow:hidden;}
#select_location li span.theme_full {border:3px solid #999; margin:0 auto; -webkit-box-shadow:rgba(0,0,0,0.6) 0 0 10px; margin-top:10px;}
#select_location li span.theme_full.new_site {background:#111 url(images/new_site.png) no-repeat;}
#select_location li:hover span.theme_full,
#select_location li.selected span.theme_full {border-color:#fff; -webkit-box-shadow:#6F82A9 0 0 10px;}
#select_location li span.title {font-weight:bold; margin:0; line-height:1.3; margin-top:5px;}
#select_location li span.domain {color:#999; line-height:1; height:15px;}
#select_location li a {display:block; cursor:pointer; color:#fff; padding:0 10px;}
#select_location small {font-size:11px; color:#666; font-weight:normal;}
#select_location a span {white-space:nowrap; overflow:hidden; display:block; text-overflow:ellipsis; line-height:1.1;}
#select_location li.current span.theme_full {border-color:#6F82A9;}
#select_location li.new_site {opacity:0.4;}
#select_location li.new_site:hover {opacity:1;}
#select_location li a.create_new_site {height:140px; width:125px; padding:0; border:3px dotted #666; -webkit-border-radius:8px; -moz-border-radius:8px;}
#account_info {position:absolute; right:0; top:0;}
#account_info ul {margin:0; padding:0;}
#account_info li {list-style:none; float:left; margin:0; padding:0;}
#account_info li a {color:#FFF; display:block; padding:0 10px; font-weight:bold;}
#account_info li a:hover {background:#333;}
#account_info li.ui-state-active a {background:#979797 url(images/header_active.gif) repeat-x; border-left:1px solid #111; border-right:1px solid #111;}
#account_info li.user {padding-right:10px;}
#account_info li.user a {display:inline; padding:0; color:#999;}
#account_info li.user a:hover {background:none; color:#fff;}
#nav {float:left; width:100%; height:33px; background:#3C3E42; border:solid #404040; border-width:1px 0;}
#nav ul {float:left; margin:0; padding:0;}
#nav ul li {float:left; list-style-type:none;}
#nav ul li a {float:left; display:block; padding:0 18px; height:33px; line-height:33px; color:#fff; background:#4D5054; border-right:1px solid #404040; text-transform:uppercase; font-weight:bold; text-shadow:1px 1px 1px #333;}
#nav ul li a:hover {background:#5D6064;}
#nav ul li.ui-state-active a {height:34px; color:#000; background:#979797 url(images/sidebar_highlight.png) repeat-x 0 -5px; text-shadow:0 1px 1px #fff;}
#nav #con_nav {float:left;}
#nav #dev_nav {float:right;}
#content {position:absolute; background:#FFF; bottom:0; left:0; right:0; top:28px; background:url(images/header.gif) repeat-x 0 -28px; width:100%; z-index:2;}
body.site_admin #content {top:93px;}
#sidebar {position:absolute; left:0; width:200px; bottom:0; background:#DDE2EB; border-right:1px solid #717171; top:5px; z-index:2; border-top:1px solid #717171; overflow:auto;}
#controller_themes #sidebar {overflow:hidden;}
#main {position:absolute; top:5px; bottom:0; left:201px; background:#FFF; right:0; z-index:3; border-top:1px solid #717171; overflow:auto;}
#main_sizer {position:absolute; left:198px; width:5px; top:0; bottom:0; cursor:col-resize; z-index:9;}
.ui-widget-overlay {position:fixed; top:0; left:0; right:0; bottom:0; background:#000; opacity:0.6;}
.modal {position:relative; -webkit-box-shadow:rgba(0,0,0,.5) 0 5px 40px;}
.modal .ui-dialog-title {display:block; font-weight:bold; line-height:26px; border:1px solid #555; border-bottom-color:#717171; color:#333; font-size:100%; padding:0 10px; margin:0; background:url(images/main_header.png) repeat-x;}
.modal .ui-dialog-titlebar-close {position:absolute; top:8px; right:8px; width:12px; cursor:default; height:12px; text-indent:-9999px; overflow:hidden; background:url(images/close_tab.png) no-repeat;}
.modal .ui-dialog-content {background:#f4f4f4; border:1px solid #555; border-bottom-color:#717171; border-top:none; padding:15px 20px 5px;}
.modal .ui-dialog-buttonpane {background:#DDE2EB; border:1px solid #555; border-top:none; padding:5px 10px; text-align:right;}
.modal .ui-dialog-buttonpane button {width:74px; height:24px; vertical-align:middle; border:none; background:url(images/button_short.png) no-repeat; line-height:20px; color:#333; text-align:middle;}
.modal p {margin:0; padding:0 0 10px;}
.modal dl {line-height:18px;}
.modal dt {float:left; width:100px; text-align:right; margin:0 10px 8px 0; clear:left;}
.modal dd {float:left; margin:0 0 8px 0;}
.ui-dialog-content .errorExplanation {margin:-15px -20px 15px; border-width:0 0 1px; max-height:350px; overflow-y:auto;}
#sidebar li.ui-state-active {background:#6F82A9 url(images/sidebar_active.png) repeat-x;}
#sidebar li.ui-state-active a {border-top:1px solid #6F82A9; color:#FFF; line-height:26px;}
#sidebar li.first a {border-top:none; line-height:27px;}
#sidebar h4,
#main h4,
#move_box h4 {line-height:28px; background:#818489 url(images/sidebar_header.png) repeat-x; text-shadow:#333 0 1px 1px; border-bottom:1px solid #717171; color:#FFF; text-transform:uppercase; padding:0 10px; white-space:nowrap; overflow:hidden; position:relative;}
ul li.item a {display:block; padding:0 10px 0 30px; margin-bottom:1px; line-height:28px;}
#sidebar ul a:focus {outline:none;}
#content .sidebar_data_container {position:absolute; top:29px; left:0; right:0; bottom:29px; overflow:auto;}
a.preview_button {cursor:default; display:inline-block; width:72px; height:17px; text-indent:-9999px; overflow:hidden; background:url(images/button_preview.png) no-repeat 0 50%;}
a.activate_button {cursor:default; display:inline-block; width:72px; height:17px; text-indent:-9999px; overflow:hidden; background:url(images/button_activate.png) no-repeat 0 50%;}
a.settings_button {cursor:default; display:inline-block; width:72px; height:17px; text-indent:-9999px; overflow:hidden; background:url(images/button_settings.png) no-repeat 0 50%;}
#content .sidebar_menu {position:absolute; border-top:1px solid #717171; bottom:0; left:0; right:0; height:28px; background:#ccc url(images/sidebar_highlight.png) repeat-x;}
#content .sidebar_menua {color:#000; text-decoration:none;}
#new_site_dialog {width:100%; padding-bottom:20px;}
#new_site_dialog div.site_info {width:220px; margin-right:15px; display:inline-block; vertical-align:top;}
#new_site_dialog input,
#new_site_dialog select {width:205px;}
#new_site_dialog #site_subdomain {width:100px;}
#new_site_dialog span.description {color:#777;}
#new_site_dialog div.theme_info {width:220px; display:inline-block; vertical-align:top;}
#new_site_dialog div.theme_info select,
#new_site_dialog #theme_preview {margin:5px 0 0;}
#new_site_dialog div.theme_info p {margin-bottom:2px;}
#content .new_menu {position:absolute; top:0; left:0;}
#content .new_menu h5,
#content .delete_menu h5 {width:16px; font-size:16px; line-height:28px; height:28px; border-top:1px solid #717171; margin-top:-1px; cursor:default; color:#333; text-align:center; padding:0; border-right:1px solid #717171; position:relative;}
#content .new_menu h5 {padding:0 10px; background:url(images/plus_menu.png) no-repeat center; text-indent:-9999px;}
#content .new_menu h5 a {display:block; margin:0 -10px; text-indent:-9999px; position:absolute; left:0; right:0; top:0; bottom:0;}
#content .new_menu.loading h5 {text-indent:-9999px; overflow:hidden; background:url(images/spinner.gif) no-repeat 50% 50%;}
#content .new_menu.open h5 {background-color:#666; color:#d9d9d9;}
#content .new_menu h5 span {font-size:9px;}
#content .window_menu ul {position:absolute; display:none; left:10px; margin:0; padding:5px 0; bottom:10px; width:100px; text-align:left; border:1px solid #717171; background:rgba(255,255,255,.9); z-index:1000; -webkit-border-radius:5px; -moz-border-radius:5px;}
#content .window_menu li {list-style:none; margin:0; padding:0;}
#content .window_menu ul a {padding:0 10px; margin:0; display:block; color:#000; line-height:20px;}
#content .window_menu ul a:hover {background:#6f82a9; color:#fff;}
#content .window_menu .open ul {display:block;}
#content .file_meta .open ul {display:block;}
#content .batch_menu {position:absolute; left:36px; width:35px; height:28px; border-right:1px solid #717171;}
#content .delete_menu h5 {position:absolute; top:0; left:36px; width:36px; background:url(images/delete_menu.png) no-repeat center; text-indent:-9999px; position:relative;}
#content .delete_menu a {display:block; height:28px; cursor:default; padding:0 10px; width:16px; position:absolute; top:0; left:0; right:0; bottom:0; text-indent:-9999px;}
#content #delete_theme_files.delete_menu h5 {left:72px;}
#content .toggle_menu h5 {position:absolute; top:0; left:72px; width:36px; line-height:28px; height:28px; border-top:1px solid #717171; margin-top:-1px; cursor:default; color:#333; text-align:center; padding:0; border-right:1px solid #717171;}
#content .toggle_menu a {display:block; height:28px; cursor:default; padding:0 10px; width:16px; overflow:hidden; text-indent:-9999px; background:url(images/toggle_down.png) no-repeat 50% 50%;}
#content .template_form .new_menu ul {width:100px;}
#content .actions_menu {position:absolute; left:72px; top:0;}
#content .file_meta .actions_menu {left:0;}
#content #theme_actions.actions_menu {left:108px;}
#content .actions_menu h5 {cursor:default; color:#000; margin:0; padding:0 10px; line-height:28px; text-transform:none; font-weight:normal; height:28px; border-right:1px solid #717171;}
#content .feed_browser_menu h5 {padding:0 10px 0 28px; background:url(images/icons/feed.png) no-repeat 8px 50%;}
#content .actions_menu ul {width:105px; left:-20px;}
#content .feed_browser_menu ul {width:145px; left:10px;}
#content .actions_menu span {color:#666;}
.type_selector_wrapper {font-weight:bold; vertical-align:middle; line-height:21px; margin:0 0 20px;}
.type_selector {background:#dfdfdf url(images/sidebar_highlight.png) repeat-x 0 -1px; border:1px solid #ccc; -webkit-border-radius:6px; -moz-border-radius:6px; display:inline-block; position:relative; line-height:21px;}
.type_selector ul {display:none; position:absolute; font-weight:normal; left:3px; top:3px; width:155px; border:1px solid #717171; padding:5px 0; background:rgba(255,255,255,.96); z-index:1000; -webkit-border-radius:5px; -moz-border-radius:5px;}
#main .item_content .type_selector h5 {cursor:default; color:#000; padding:0 23px 0 0; margin:0; background:url(images/arrow_open.png) no-repeat 100% 50%;}
.type_selector h5 span {padding:0 0 0 25px; display:block;}
.type_selector li {list-style:none; margin:0; padding:0;}
#main .type_selector ul a {padding:0 10px 0 25px; margin:0; display:block; color:#000; line-height:20px;}
#main .type_selector ul a:hover {background-color:#6f82a9; color:#fff; text-decoration:none;}
.type_selector.open ul {display:block;}
.type_selector .twitter a,
.type_selector .twitter span {background:url(images/icons/twitter_16.png) no-repeat 5px 50%;}
.type_selector .json a,
.type_selector .json span {background:url(images/icons/script-attribute-j.png) no-repeat 5px 50%;}
.type_selector .feed a,
.type_selector .feed span {background:url(images/icons/feed.png) no-repeat 5px 50%;}
.type_selector .dribbble a,
.type_selector .dribbble span {background:url(images/icons/dribbble_16.png) no-repeat 5px 50%;}
.type_selector .google a,
.type_selector .google span {background:url(images/icons/google_16.png) no-repeat 5px 50%;}
h2.activity_header {color: rgb(72, 88, 107); text-transform:uppercase; margin:0; line-height:22px; border-bottom:1px solid #ccc;}
#theme_file_uploads {max-height:200px; overflow:auto;}
#theme_file_uploads .uploadifyQueueItem {margin:-15px -20px 0;}
#theme_file_uploads .uploadifyQueueItem + .uploadifyQueueItem {margin-top:0;}
#sidebar .toggler {cursor:default;}
#sidebar h5 {color: rgb(72, 88, 107); text-transform:uppercase; padding:10px 10px 0; font-size:100%; line-height:18px; margin:0; text-shadow: rgb(245, 247, 249) 0px 1px 1px;}
#main .item_sidebar h5 {color: rgb(72, 88, 107); clear:both; text-transform:uppercase; padding:0 0 10px; font-size:100%; line-height:18px; margin:-3px 0 0; text-shadow: rgb(245, 247, 249) 0px 1px 1px;}
#sidebar ul.files li h5 {color: rgb(72, 88, 107); font-weight:normal; text-transform:none; padding:0 0 0 34px; text-shadow: rgb(245, 247, 249) 0px 1px 1px;}
#sidebar .toggler span.closed,
#sidebar .closed span.open,
#sidebar .closed ul {display:none;}
#sidebar ul.files {margin-left:5px; margin-right:10px;}
#sidebar ul.files li {margin:0; padding:0;}
#sidebar ul.files li a {display:block; color:#000; padding:0 10px 0 30px; margin-bottom:1px; background-image:url(images/document.png); background-repeat:no-repeat; background-position:30px 50%; padding-left:50px; line-height:18px; text-overflow:ellipsis; overflow:hidden; white-space:nowrap; cursor:default;}
#sidebar ul.files ul a {padding-left:70px; background-position:50px 50%;}
#sidebar ul.files li a:hover {margin-left:-5px; margin-right:-10px; padding-left:55px; background-color:#BFC8D9; background-position:35px 50%;}
#sidebar ul.files ul li a:hover {padding-left:75px; background-position:55px 50%;}
#sidebar ul.files li.selected a {background-color:#6F82A9; color:#fff; margin-left:-5px; margin-right:-10px; padding-left:35px; padding-left:55px; background-position:35px 50%;}
#sidebar ul.files li ul li.selected a {padding-left:75px; background-position:55px 50%;}
#sidebar ul#image_files a {background-image:url(images/image.png);}
#sidebar .closed .toggler span.closed {display:inline-block;}
#sidebar span.open,
#sidebar span.closed {font-size:9px; width:13px; display:inline-block;}
ul.items_list {margin-top:6px; padding-bottom:6px;}
li.item {position:relative; list-style:none;}
li.item:hover {background-color:#BFC8D9;}
li.item.selected {background-color:#6F82A9;}
li.item.selected a {color:#fff;}
ul li.item a {color:#000; cursor:default; line-height:22px; background:url(images/icons/document_text.png) no-repeat 15px 50%; padding:0 10px 0 40px;}
ul#theme_list li.item a {background-image:none;}
li.item a span {display:block; white-space:nowrap; text-overflow:ellipsis; overflow:hidden;}
li.children a span {margin-right:20px;}
li.item a span.count {position:absolute; top:3px; right:6px; background:#9ABDE2; -webkit-border-radius:3px; -moz-border-radius:3px; padding:3px 5px; line-height:10px; font-size:10px; color:#fff; font-weight:bold;}
li.sortable:hover a span {margin-right:20px;}
li.children:hover a span {margin-right:36px;}
li.item.sortable a,
ul li.add_sibling a {padding-left:60px; background-position:40px 50%;}
ul li.add_blog_post a {padding-left:40px; background-position:20px 50%;}
div.root li.item a {padding-left:50px; background-position:25px 50%;}
div.root li.item.sortable a,
div.root li.add_sibling a {padding-left:50px; background-position:50px 50%;}
ul li.indented a {padding-left:60px; background-position:40px 50%;}
ul li.draft a {background-image:url(images/icons/document--pencil.png);}
ul li.children a {background-image:url(images/icons/documents_text.png);}
ul li.children.draft a {background-image:url(images/icons/documents--pencil.png);}
ul li.home a {background-image:url(images/icons/home.png);}
ul li.dashboard a {background-image:url(images/icons/dashboard.png);}
ul li.snippets a {background-image:url(images/icons/receipt_text.png);}
ul li.users a {background-image:url(images/icons/user.png);}
ul li.link a {background-image:url(images/icons/document-globe.png);}
ul li.settings a {background-image:url(images/icons/gear.png);}
ul li.themes a {background-image:url(images/icons/application-text-image.png);}
ul li.assets a {background-image:url(images/icons/images.png);}
ul li.feeds a {background-image:url(images/icons/feed.png);}
ul li.card_address a {background-image:url(images/icons/card_address.png);}
ul li.blog_plus a {background-image:url(images/icons/blog__plus.png);}
ul li.user_plus a {background-image:url(images/icons/user__plus.png);}
ul li.site_pack a {background-image:url(images/icons/server.png);}
ul li.spam a {background-image:url(images/icons/slash.png);}
ul li.credit a {background-image:url(images/icons/credit-card.png);}
ul li.blog a {background-image:url(images/icons/blogs_stack.png);}
ul li.blog_archive_folder a,
ul li.blog_archive a {background-image:url(images/icons/clear_folder.png);}
ul li.blog_feed a {background-image:url(images/icons/feed-document.png);}
ul li.blog_draft a {background-image:url(images/icons/inbox-document-text.png);}
ul li.blog_label_folder a {background-image:url(images/icons/tags-label.png);}
ul li.blog_label a {background-image:url(images/icons/tag_small.png);}
ul li.redirects a {background-image:url(images/icons/arrow_turn_000_left.png);}
ul li.activity a {background-image:url(images/icons/report.png);}
ul li.image_sizes a {background-image:url(images/icons/image_resize_actual.png);}
ul li.snapshots a {background-image:url(images/icons/box-label.png);}
ul li.feed a {background-image:url(images/icons/feed.png);}
ul li.json a {background-image:url(images/icons/script-attribute-j.png);}
ul li.twitter a {background-image:url(images/icons/twitter_16.png);}
ul li.dribbble a {background-image:url(images/icons/dribbble_16.png);}
ul li.youtube a {background-image:url(images/icons/youtube_16.png);}
ul li.google a {background-image:url(images/icons/google_16.png);}
#content div.sidebar_data_container li.item .burrow {display:none; position:absolute; background:url(images/arrow_right.png) no-repeat 50% 50%; width:21px; height:18px; top:50%; right:5px; margin-top:-9px; overflow:hidden; text-indent:-9999px; padding:0;}
#content div.sidebar_data_container li.loading .burrow {background-image:url(images/spinner.gif);}
#content div.sidebar_data_container li.loading:hover .burrow {background-image:url(images/spinner_hover.gif);}
#content div.sidebar_data_container li.loading.selected .burrow {background-image:url(images/spinner_selected.gif);}
#content div.sidebar_data_container li.item a.add_child {display:none; position:absolute; background:url(images/button_plus.png) no-repeat 50% 50%; width:21px; height:18px; top:50%; right:5px; margin-top:-9px; overflow:hidden; text-indent:-9999px; padding:0;}
#content div.sidebar_data_container li.children .burrow {display:block;}
#content div.sidebar_data_container li.children a.add_child {right:26px;}
#content div.sidebar_data_container li.item:hover a.add_child {display:block; opacity:0.5;}
#content div.sidebar_data_container li.item a.add_child:hover {opacity:1;}
#content div.sidebar_data_container .add_child:hover {opacity:1;}
#content li.home:hover a.add_child {display:none;}
#content li.sortable span.handle {position:absolute; cursor:move; display:block; left:13px; top:50%; margin-top:-9px; height:18px; width:21px; background:url(images/handle.png) no-repeat 50% 50%; text-indent:-9999px; overflow:hidden;}
#content div.root li.sortable span.handle {left:23px;}
#content li.ui-sortable-helper {cursor:move;}
#content div.sidebar_data_container li.add_sibling a {background-image:url(images/button_plus.png); background-position:37px 50%; opacity:0.25;}
#content div.sidebar_data_container li.add_blog_post a {background-position:13px 50%;}
#content div.sidebar_data_container li.add_sibling a:hover,
#content div.sidebar_data_container li.add_sibling.selected a {opacity:1;}
#content div.root li.add_sibling a {background-position:23px 50%;}
#content #theme_list li {height:40px; position:relative;}
#content #theme_list .theme_details {margin:-8px 0 0;}
#content #theme_list .theme_thumb {float:left; margin:0 10px 0 0;}
#content #theme_list h5 a {text-transform:none; color:#000; text-shadow:none; position:absolute; z-index:2; top:0; right:0; left:0; bottom:0; overflow:hidden;}
#content #theme_list h5 a span {white-space:nowrap; overflow:hidden; text-overflow:ellipsis; position:absolute; top:9px; right:8px; left:70px;}
#content #theme_list p {position:absolute; z-index:1; margin:0; padding:0; color:#999; left:70px; top:25px; right:10px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
#content #theme_list p.active {padding-left:23px; background:url(images/icons/tick.png) no-repeat 2px 50%;}
#content #theme_list li.selected h5 a {color:#fff;}
#content #theme_list li.selected p {color:#C7CFDF;}
.publish_when_select input {width:120px;}
#sidebar h4,
#move_box h4 {position:relative;}
a.back_one_level {position:absolute; right:0; top:0; bottom:0; width:75px; background:url(images/button_back.png) no-repeat 0 50%; text-indent:-9999px; overflow:hidden; cursor:default;}
#sidebar_navigation {position:absolute; top:0; bottom:0; left:0; right:0; overflow:hidden;}
#controller_themes #sidebar_navigation {bottom:0;}
#sidebar_navigation_boxes {position:absolute; top:0; bottom:0; width:9000px;}
#sidebar_navigation .sidebar_box {position:absolute; top:0; bottom:0; border-right:1px solid #717171;}
#sidebar_navigation .sidebar_data_container {bottom:29px; padding-bottom:6px;}
#main p.rel-1 {width:48%; margin-right:3.9%; float:left;}
#main p.rel-2 {width:48%; float:left;}
#main div.small_form_wrapper {width:450px;}
#main div.small_form_wrapper p input {width:95%;}
#labels_list_wrapper {clear:both;}
.clippy_container {width:20px; height:16px; line-height:14px; padding:0; margin:-3px 0 0 5px; overflow:hidden; display:inline-block; vertical-align:middle;}
#main div.ui-draggable-dragging {cursor:default; background:#000; background:rgba(0,0,0, 0.6); -moz-border-radius:4px; -webkit-border-radius:4px; padding:8px;}
#main div.item_header {position:absolute; top:0; left:0; right:241px; height:28px; border-bottom:1px solid #717171; background:#a7a7a7; color:#222; padding:0 20px; line-height:28px;}
#main span.WIN {background:url(images/icons/tick_circle_frame.png) 0 50% no-repeat; margin-left:5px; padding-left:22px; line-height:18px; display:inline-block;}
#main span.saved_info {background:url(images/spinner.gif) no-repeat 0 -30px; display:inline-block; line-height:18px;}
#main span.loading {background:url(images/spinner.gif) 0 50% no-repeat; margin-left:5px; padding-left:22px; display:inline-block;}
#main .with_checked {padding-left:20px; background:url(images/icons/arrow_turn_090.png) no-repeat 0 50%;}
#main div.item_content {position:absolute; top:29px; left:0; right:241px; bottom:29px; padding:15px 20px; overflow:auto; z-index:2;}
#main div.data-wrapper {padding:20px; position:absolute; top:29px; left:0; right:0; bottom:29px; overflow:auto;}
#main div.table-wrapper {padding:0;}
#main div.item_sidebar {position:absolute; right:0; top:29px; bottom:29px; width:240px; border-left:1px solid #717171; background:#DDE2EB; overflow:auto; overflow-x: hidden; z-index:10;}
#main div.item_sidebar p {padding:0 0 20px 15px; margin:0;}
#main div.item_sidebar p.info {padding:0; margin:0 0 15px; line-height:1.6;}
#main div#item_form_fields {padding:0 0 1px; width:100%; float:left;}
#main div.file_meta p {margin:0; padding:0;}
#main div.item_content label,
#main div.file_editor_image label {color:#868B92; font-weight:bold;}
#main div.item_content label.checkbox {display:block; color:#000; font-weight:normal; margin:0 0 3px;}
#main div.item_content h5 {color:#868B92; margin:0 0 3px;}
#main div.item_content label .required {font-weight:normal;}
#main .radio_buttons .radio_buttons_label {color:#868B92; font-weight:bold; margin:0 0 4px; display:block;}
#main div.item_content .radio_buttons input,
#main div.item_content .check_box input {width:auto; margin:0 4px 0 0;}
#main div.item_content .radio_buttons label,
#main div.item_content .check_box label {color:#000; font-weight:normal; font-size:11px; vertical-align:middle;}
#main div.item_content input {font-size:13px;width:60%;}
#main div.item_content input#site_subdomain {width:160px;}
#main div.item_content input.checkbox {width:auto;}
#main div.item_content textarea {font-size:13px;width:97%;}
#main div.item_content select {font-size:13px;}
#main div.item_content .title_wrapper input,
#main div.item_content input.large {font-size:22px; width:97%;}
#main div.item_content p.permalink_wrapper .form input {width:175px;}
#main div.item_content form {width:100%; max-width:700px;}
#main div.item_content p {margin:0 0 15px; padding:0;}
#main div.help {background:#efefef; color:#666; margin:0 0 15px; width:97%; line-height:1.6;}
#main div.help p {padding:8px 10px;}
#main div.item_content p.select label {float:left; margin:0 10px 0 0; line-height:20px; vertical-align:middle;}
div.item_loading {position:absolute; left:0; right:0; top:0; bottom:0; background:#FFF url(images/spinner_large.gif) no-repeat 50% 30%; z-index:100; opacity:0.4;}
#main .theme_file_holder {background-color:#fff; position:absolute; top:29px; bottom:0; left:0; right:0;}
#main .theme_file_holder div.item_loading {top:29px;}
p.deleted {position:absolute; margin:0; padding:15% 0 0; top:6px; border-top:1px solid #a7a7a7; left:0; right:0; bottom:0; background:#fff; text-align:center;}
p.moved {position:absolute; margin:0; padding:15% 0 0; top:6px; border-top:1px solid #a7a7a7; left:0; right:0; bottom:0; background:#fff; text-align:center;}
#main p.deleted {top:0; border-top:none;}
#main p.moved {top:0; border-top:none;}
p.deleted span {display:inline-block; -webkit-border-radius:8px; -moz-border-radius:8px; margin:0 auto; padding:0 10px 0 30px; background:#e8e8e8 url(images/icons/slash.png) no-repeat 10px 50%; line-height:35px; height:35px;}
p.moved span {display:inline-block; -webkit-border-radius:8px; -moz-border-radius:8px; margin:0 auto; padding:0 10px 0 30px; background:#e8e8e8 url(images/icons/arrow-switch.png) no-repeat 10px 50%; line-height:35px; height:35px;}
#main form.publish button.save_as_draft {display:none;}
#main form .show_on_publish {display:none;}
#main form.publish .show_on_publish {display:block;}
#main form textarea#test_urls {width:97%; height:50px;}
#main div.scroll_fader {position:absolute; z-index:9000; top:29px; left:0; right:260px; height:15px; background:url(images/scroll_fader.png) repeat-x;}
#main div.item_content input#blog_feed_post_count {width:30px;}
#main ul.labels {margin:0 0 25px 20px;}
#main ul.labels li {padding-left:20px; position:relative;}
#main ul.labels li input {position:absolute; top:1px; left:0;}
#sidebar div.help {margin:8px 15px; background:#D2DCE9; color:#777; padding:10px 15px; line-height:1.5;}
#sidebar div.help strong {color:rgb(72, 88, 107);}
#sidebar div.help a {color:#06c;}
#sidebar div.hidden {display:none;}
div.errorExplanation {margin:0 -5px 15px; border:1px solid #717171; background:#fdd; padding:15px 20px;}
div.errorExplanation h2 {margin:0 0 15px; color:#911;}
div.errorExplanation p {margin:0 0 5px;}
div.errorExplanation ul {margin:0; padding:0;}
div.errorExplanation li {list-style:none; padding:0 0 0 25px; margin:0 0 2px; background:url(images/icons/cross.png) no-repeat 5px 1px; line-height:18px;}
.template_fields div.errorExplanation {margin:-7px -10px 10px; padding:7px 10px; border-bottom-color:#A7AAB0;}
.template_fields div.errorExplanation h2 {margin:0 0 7px;}
#main ul.template_fields div.errorExplanation li {background:transparent url(images/icons/cross.png) no-repeat 0px 0px; padding:0 0 0 20px; line-height:16px; margin:5px 0 0; border-bottom:none;}
#main div.item_content div.preloaded_file_file p {padding-left:80px;}
div#preloaded_file_files {border-bottom:1px solid #efefef; margin:0 0 15px;}
div.preloaded_file_file {border-top:1px solid #efefef; padding-top:15px;}
div.preloaded_file_file label {float:left; margin-left:-80px;}
div.preloaded_file_file textarea {height:250px;}
#main div.item_content div.preloaded_file_file a {margin:0 3% 0 0; float:right;}
#main div.item_content div.preloaded_file_file:first-child a {display:none;}
div.preloaded_file_template {display:none;}
a#add_preloaded_file_file {display:block; line-height:18px; background-position:0 50%; background-repeat:no-repeat; padding-left:20px;}
#theme_file_errors div.errorExplanation {margin-bottom:0; border-bottom:none;}
.modal div#theme_file_errors {padding-bottom:0;}
#main p.soft_notice {background:#DDE2EB url(images/sidebar_highlight.png) repeat-x; color:#000; border:1px solid #A7AAB0; padding:4px 10px; line-height:1.8; -webkit-border-radius:5px; -moz-border-radius:5px;}
#main .item_content p.soft_notice {padding:4px 10px;}
#main p.asset {width:100%; float:left;}
#main div.asset {cursor:default;}
#main .asset_field {float:left; width:100%; margin:-10px 0 10px;}
#main .asset_field .preview {display:none;}
#main .exists .preview {display:block;}
#main .asset_field .preview img {float:left; margin:0 10px 0 0;}
#main .asset_field span {display:block; margin:0 0 10px; color:#666; font-weight:bold;}
#main div.item_content .asset_field input {width:auto; vertical-align:middle;}
#main .asset_field div.dropzone {background:#f4f4f4; border:1px dotted #ccc; color:#999; width:140px; padding:8px 10px; float:left; position:relative; margin:0 20px 0 0;}
#main .asset_field .hovered div.dropzone {background:#F1F5FA; border-color:#6F82A9;}
#main .asset_field label {display:block; padding:8px 0;}
#main .asset_field a.change {cursor:default; display:inline-block; width:72px; height:17px; text-indent:-9999px; overflow:hidden; background:url(images/button_change.png) no-repeat 0 50%; margin:0 8px 0 0;}
#main .asset_field a.remove,
#main table.data-table a.remove,
#main .item_content a.remove {cursor:default; display:inline-block; text-align:left; width:72px; height:17px; text-indent:-9999px; overflow:hidden; background:url(images/button_remove.png) no-repeat 0 50%;}
#main table.data-table tr.just_created td {background-color:#ffc;}
#main .asset_field .form {width:100%; float:left;}
#main .asset_field.exists .form {display:none;}
#main .asset_field .removing {display:none;}
#main .asset_field p.remove {padding:5px 10px; width:97%; margin:0; background:#EFEFEF; -webkit-border-radius:4px; -moz-border-radius:4px;}
#main .removed .form,
#main .removed .preview {display:none;}
#main .removed .removing {display:block;}
#main table td.date {text-align:right; white-space:nowrap; color:#999; text-align:top;}
#main table td.activity span {color:#999; font-style:italic;}
#main table.activities {margin:0 0 20px; border-bottom:1px solid #ccc;}
#main table.activities td {padding:8px 15px;}
#main table.activities td.activity {padding-left:32px; text-align:top; background-repeat:no-repeat; background-position:10px 50%;}
#main table.activities td.site {width:13%;}
#main table tr.published td.activity {background-image:url(images/icons/light-bulb.png);}
#main table tr.unpublished td.activity {background-image:url(images/icons/light-bulb-off.png);}
#main table tr.update td.activity {background-image:url(images/icons/pencil-small.png);}
#main table tr.create td.activity {background-image:url(images/icons/plus-small.png);}
#main table tr.delete td.activity {background-image:url(images/icons/cross-small.png);}
#main table tr.activate td.activity {background-image:url(images/icons/application-text-image.png);}
#main table tr.comment td.activity {background-image:url(images/icons/balloon.png);}
table tr.template {display:none;}
.item_sidebar dd.text input {width:130px;}
span.unknown {font-style:italic; color:#999;}
.item_sidebar dl {margin:-5px -10px 0 0; padding:0 0 20px; width:205px; float:left;}
.item_sidebar div.publish_editor dl {padding-bottom:8px;}
.item_sidebar dt {line-height:22px; float:left; clear:left; width:60px; text-align:right; margin:0 5px 0 0; color:#999;}
.item_sidebar dd {line-height:22px; position:relative; margin:0; padding:0; white-space:nowrap; float:left;}
.item_sidebar dd small {font-style:italic; color:#999; line-height:13px; display:block;}
.item_sidebar dd small.publish_when_text {display:none;}
form.publish dd small.publish_when_text {display:block;}
div.set_publish dd small.publish_when_text {display:none;}
.item_sidebar a.edit_button {display:block; cursor:default; width:42px; height:18px; margin:2px 0 2px 5px; text-indent:-9999px; overflow:hidden; background:url(images/button_edit.png) no-repeat; float:right;}
.item_sidebar dd select {width:130px;}
#template_name {white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:inline-block; max-width:93px;}
#template_name_wrapper a.edit_button {margin-left:5px; margin-top:2px;}
#main form p.permalink_wrapper {line-height:22px; width:98%; margin-top:-12px;}
#main form p.harmony_url_wrapper {line-height:22px; width:98%; margin-top:-12px;}
.permalink_wrapper .form {display:none;}
#site_mode_wrapper .edit_state {display:none;}
#site_mode_wrapper.edit .edit_state {display:block;}
#site_mode_wrapper.edit .view_state {display:none;}
#main div.item_content .permalink_wrapper input {font-size:11px;}
.permalink_wrapper.open .form {display:inline;}
.permalink_wrapper.open .value {display:none;}
.permalink_wrapper .parent,
.harmony_url_wrapper span {color:#999;}
.permalink_wrapper em {color:#777;}
.item_content .edit_button,
#sidebar .edit_button {display:inline-block; cursor:default; width:42px; height:22px; text-indent:-9999px; float:right; overflow:hidden; background:url(images/button_edit.png) no-repeat 0 50%; vertical-align:middle;}
#main form p.title_wrapper {}
.title_wrapper .title {font-size:22px;}
.title_wrapper .edit_button {height:25px;}
.title_wrapper .form {display:none; margin:0 0 5px;}
.title_wrapper.new .form {display:block;}
.title_wrapper .value {border-bottom:1px solid #ddd; display:block; width:98%;}
.title_wrapper.new .value {display:none;}
form .permalink_wrapper label,
form .harmony_url_wrapper label {display:inline; margin:0 6px 0 0;}
.blog-categories-vs-labels a {margin:0 0 0 5px;}
.file_editor_image dl {margin:0; padding:0 0 20px; width:100%; float:left;}
.file_editor_image dt {line-height:22px; float:left; clear:left; width:60px; text-align:right; margin:0 5px 0 0; color:#999;}
.file_editor_image dd {line-height:22px; position:relative; margin:0; padding:0; white-space:nowrap; float:left;}
h1 {font-size:22px; font-weight:normal; margin:0 0 15px;}
h1 span {color:#999; font-size:15px;}
h3 {font-size:13px; width:97%; line-height:1.5; border-bottom:1px solid #d9d9d9; margin:0 0 15px;}
#main a {color:#36C;}
#main a:hover {text-decoration:underline;}
#main .window_menu a:hover {text-decoration:none;}
#main table {width:100%;}
#main th {background:#fff url(images/control_bar.png) repeat-x bottom left; border-bottom:1px solid #717171; text-align:left; padding:0 10px; line-height:28px;}
#main td {padding:5px 10px;}
#main tr.even td,
#main tr.alt td,
#main tr.stripe td {background-color:#F1F5FA;}
#main th.actions,
#main td.actions {text-align:right;}
#main table.mceToolbar {width:auto;}
#main table.mceLayout {width:98% !important;}
#main table.mceLayout td,
#main table td.mceIframeContainer {padding:0;}
#main table .actions a.edit {cursor:default; width:42px; height:18px; display:block; text-align:left; float:right; text-indent:-9999px; overflow:hidden; background:url(images/button_edit.png) no-repeat;}
#main tr.current td {background:#FFFFB9;}
#main .code_editor {font-family:Monaco, courier, monospace; resize: none;}
#main .code_editor:focus {outline:none;}
#search_files {width:90%;}
#search_assets_form.loading {background:url(images/spinner.gif) no-repeat 100% 50%;}
#main {overflow:hidden;}
#main .theme_modals {display:none;}
#main .tab_wrapper {height:28px; background:#98999C; border-bottom:1px solid #717171; position:absolute; top:0; left:0; width:100%;}
#main .item_sidebar .tab_wrapper {position:relative;}
#main #open_theme_files {width:9000px;}
#main .tab_wrapper li {position:relative; float:left; display:block; border-right:1px solid #717171; border:1px solid #717171; border-bottom:none; line-height:25px; list-style-type:none; margin:1px 0 0 1px; -webkit-border-top-left-radius:5px; -webkit-border-top-right-radius:5px; -moz-border-radius-topleft:5px; -moz-border-radius-topright:5px;}
#main .tab_wrapper a {cursor:default; -webkit-border-top-left-radius:5px; -webkit-border-top-right-radius:5px; -moz-border-radius-topleft:5px; -moz-border-radius-topright:5px; border:1px solid #ccc; border-bottom:none; background:#979797 url(images/sidebar_highlight.png) repeat-x 0 -1px;}
#main .tab_wrapper a:hover {text-decoration:none; background-color:#AAA;}
#main .tab_wrapper a.tab_link {display:block; float:left; padding:0 13px; color:#000;}
#main #open_theme_files a.tab_link {padding-left:27px;}
#main .tab_wrapper .ui-state-active a {background-color:#fff; background-image:url(images/tab_active.png); margin-bottom:-1px; height:27px; border-color:#fff;}
#main .item_sidebar .tab_wrapper .ui-state-active a {background-color:#DDE2EB; background-image:url(images/sidebar_highlight.png); background-position:0 -6px; margin-bottom:-1px; height:27px; border-color:#fff;}
#main .tab_wrapper a.remove {border:none; position:absolute; top:6px; left:6px; background-color:transparent; background-image:url(images/close_tab.png); width:16px; height:16px; background-repeat:no-repeat; background-position:50% 50%; text-indent:-9999px; overflow:hidden;}
#main .tab_wrapper li.loading a.remove {background-image:url(images/spinner_tab.gif);}
#main .tab_wrapper li.loading.ui-state-active a.remove {background-image:url(images/spinner_tab_active.gif);}
#main .tab_wrapper li.dirty a.remove {background-image:url(images/dirty_tab.png);}
#main #theme_file_nav {display:none; background:#B7B8BA; border-bottom:1px solid #717171; border-left:1px solid #717171; position:absolute; list-style-type:none; margin:0; padding:0; top:0; right:0; width:62px; height:28px;}
#main #theme_file_nav li {float:left; list-style:none; margin:0; padding:0;}
#main #theme_file_nav a {display:block; width:30px; cursor:default; line-height:28px; text-align:center; color:#333; text-indent:-999px; overflow:hidden;}
#main #theme_file_left {background:url(images/tab_nav_left.png) no-repeat 50% 50%;}
#main #theme_file_right {background:url(images/tab_nav_right.png) no-repeat 50% 50%;}
#sidebar h4.theme_header {text-align:right;}
#sidebar h4.theme_header strong {float:left;}
#sidebar h4.theme_header a {font-weight:normal; cursor:default; color:#444; margin:3px 0; float:right; text-transform:none; display:inline-block; background:url(images/button_sidebar_header.gif) no-repeat; height:22px;}
#sidebar h4.theme_header a:hover {color:#111;}
#sidebar h4.theme_header a span {display:block; margin:1px 0; padding:0 10px; line-height:20px;}
#sidebar h4 a.settings {margin-right:-7px; background-position:top right;}
#sidebar h4 a.settings span {border-left:1px solid #CDCFD2;}
#sidebar h4 a.view_all_themes span {border-right:1px solid #717171;}
div.item_sidebar h4 object,
div.item_sidebar h4 embed {position:absolute; right:10px; top:2px;}
div.store_credit {float:right; font-size:22px; color:#999;}
div.store_credit strong {font-family:"Helvetica Neue", Helvetica, Arial, sans-serif; color:#096;}
div.store_credit sup {font-size:12px; top:3px; position:relative; line-height:1;}
#main .theme_file_data {position:absolute; top:-1px; bottom:0; right:0; width:229px; border-left:1px solid #717171; border-top:1px solid #717171; background:#DDE2EB;}
#main .hide_data .theme_file_data {display:none;}
#main .file_editor_image {position:absolute; top:10px; left:0; right:0; bottom:29px; overflow:auto; padding:10px;}
#main .file_editor {position:absolute; top:0; left:0; right:0; bottom:29px;}
#main .data_browsing .file_editor {bottom:379px;}
#main .data_browsing .data_browser {bottom:29px; height:349px; border-top:1px solid #717171; left:0; right:0; position:absolute;}
#main .data_browsing .with_sidebar {right:230px;}
#main .template_form .file_editor {right:230px;}
#main .hide_data .file_editor {right:12px;}
#main .file_editor textarea {position:absolute; display:block; padding:0; width:100%; height:100%;}
#main .file_meta {position:absolute; vertical-align:middle; bottom:0; left:0; padding:0 10px; right:0; line-height:28px; background:#e8e8e8 url(images/main_header.png) repeat-x; border-top:1px solid #717171;}
#main .template_form .file_meta {right:230px;}
#main .with_sidebar {right:230px;}
#main .hide_data .theme_file_form .file_meta {right:0;}
#main .file_meta input {vertical-align:middle;}
#main .file_meta .meta {float:left; vertical-align:top;}
#main .file_meta .meta input {width:140px; margin-top:-2px;}
#main .file_meta .submit input {margin-top:-2px;}
#main .file_meta .submit {float:right;}
#main .file_meta .pagination {float:right;}
#main .table_wrapper {position:absolute; top:0; left:0; right:0; bottom:29px; overflow:auto;}
#main .assets_list {right:230px;}
#main #assets_scroller {position:absolute; top:29px; left:0; right:0; bottom:0; overflow:auto;}
input.labelized {color:#999;}
span.theme_thumb {display:inline-block; background:#333; background-repeat:no-repeat; background-position:top left; padding:0; margin:0; width:50px; height:40px; overflow:hidden; position:relative; -webkit-border-radius:5px; -moz-border-radius:5px;}
span.theme_thumb img {position:absolute; top:0; left:0; width:50px; -webkit-border-radius:5px; -moz-border-radius:5px;}
span.asset_thumb {background-position:center;}
td.asset_preview {text-align:right;}
img.asset_preview {padding:1px; border:1px solid #ccc;}
div.ui-draggable-dragging img.asset_preview {border-color:#000;}
div.ui-draggable-dragging .toggle_link,
div.ui-draggable-dragging .filename,
div.ui-draggable-dragging .clippy_container,
div.ui-draggable-dragging .asset_dropdown {display:none;}
span.theme_full {display:inline-block; -webkit-border-radius:8px; -moz-border-radius:8px; background:#333; background-repeat:no-repeat; background-position:top left; padding:0; margin:0; width:125px; height:100px; position:relative; overflow:hidden;}
span.theme_full img {position:absolute; top:0; left:0; width:125px; -webkit-border-radius:5px; -moz-border-radius:5px;}
.pagination span, #main .pagination a {display:inline-block; background:url(images/sidebar_highlight.png) repeat-x 0 -10px; -webkit-border-radius:3px; -moz-border-radius:3px; border-radius:3px; border:1px solid rgba(0,0,0,0.2); padding:0 5px; line-height:18px; color:#333; text-shadow:0 1px 1px #fff;}
.pagination span.disabled {color:#aaa; border-color:rgba(0,0,0,0.05); background:none; text-shadow:0 1px 1px rgba(255,255,255,0.6);}
#main .pagination a:hover {background-position:0 0; text-decoration:none;}
.pagination span.current {background:url(images/sidebar_highlight_selected.png) repeat-x 0 -1px; color:#fff; text-shadow:0 1px 1px #333;}
.pagination span.gap {border:none; background:none;}
#theme_instructions {position:absolute; top:50%; left:50%; margin:-75px 0 0 -200px; width:200px; height:100px; background:#e9e9e9; -webkit-border-radius:8px; -moz-border-radius:8px; padding:25px 25px 25px 175px;}
#theme_instructions span.theme_full {position:absolute; top:25px; left:25px;}
#theme_instructions h3 {font-size:13px; margin:0 0 10px; padding:0;}
#theme_instructions p {margin:0 0 10px; color:#888;}
#theme_instructions strong {font-weight:normal; color:#000;}
#main div.site_overview h1 {font-size:15px; line-height:29px; padding:0 10px; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; background:#efefef; vertical-align:middle;}
#main h1 a.button {width:72px; height:17px; display:inline-block; line-height:16px; color:#333; text-decoration:none; text-align:center; font-size:11px; background:url(images/button_small_blank.png) no-repeat;}
#main h1 span.buttons {float:right; vertical-align:middle; margin:-2px -5px 2px 0; }
#main .file_meta button,
.sidebar_menu button {display:inline-block; color:#333; border:none; margin:-2px 5px 0 0; padding:0 0 0 15px; background:url(images/button.png) no-repeat;}
form input.submit {display:inline-block; color:#333; border:none; width:111px; height:24px; line-height:24px; background:url(images/button_medium.png) no-repeat; text-align:center;}
#main .file_meta button span,
.sidebar_menu button span {position:relative; white-space:nowrap; display:block; margin:-1px -5px 0 0; height:24px; line-height:24px; padding:0 15px 0 0; background:url(images/button.png) no-repeat top right;}
.sidebar_menu button {float:right; margin:2px 8px;}
#main .file_meta button.hide_data,
#main .file_meta button.hide_data span {background-image:url(images/button_pressed.png); color:#d7d7d7;}
#main .hide_data button.hide_data,
#main .hide_data button.hide_data span {background-image:url(images/button.png); color:#333;}
#main div.item_sidebar ul li.item {margin:0 -15px;}
#main div.item_sidebar ul li.item a {color:#000;}
#main div.item_sidebar ul li.item a:hover {text-decoration:none;}
div.item_sidebar div.item_assets div {padding:6px 10px; border-bottom:1px solid #A7AAB0; background:#DDE2EB url(images/sidebar_highlight.png) repeat-x; padding-right:50px; position:relative;}
div.item_sidebar div.item_assets img,
div.item_sidebar div.item_assets object {vertical-align:middle; margin:0 5px 0 0;}
div.item_sidebar div.item_assets span.filename {display:block; position:absolute; top:50%; margin-top:-0.7em; right:50px; left:82px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;}
div.item_sidebar div.item_assets span.clippy_container {position:absolute; right:6px; top:50%; width:17px; margin-top:-9px;}
div.item_sidebar div.item_assets span.asset_dropdown {position:absolute; right:6px; top:50%; margin-top:-12px;}
div.item_sidebar div.item_assets span.asset_dropdown span.clippy_container {position:static; margin-top:0;}
div.item_sidebar div.item_assets span.toggle_link a {position:absolute; left:65px; width:16px; height:16px; overflow:hidden; text-indent:-9999px; top:50%; margin-top:-7px; background:url(images/icons/plus-small-circle.png) no-repeat;}
div.item_sidebar div.linked span.toggle_link a {background-image:url(images/icons/cross_small_circle.png);}
div.item_sidebar div.item_assets span.toggle_link a.loading,
div.item_sidebar div#assets span.toggle_link a.loading {background-image:url(images/spinner.gif);}
#main ul.template_fields li,
#sidebar ul#theme_list li {border-bottom:1px solid #A7AAB0; cursor:default; padding:7px 10px; position:relative; background:#DDE2EB url(images/sidebar_highlight.png) repeat-x; line-height:16px; list-style-type:none;}
#main ul.template_fields li ul.options li {border:none; background:none; margin:0; padding:3px 24px 3px 42px;}
#main ul.template_fields li ul.options li.template {display:none;}
#main ul.template_fields li ul.options li input.text {width:97%;}
#main ul.template_fields li ul.options li input.checkbox {position:absolute; left:24px; top:5px;}
#main ul.template_fields li ul.options li span.handle {left:0; top:12px;}
#main ul.template_fields li ul.options li a.remove {width:16px; height:16px; display:block; position:absolute; right:5px; top:3px; background:url(images/icons/cross.png) no-repeat; text-indent:-9999px; overflow:hidden; opacity:0.4;}
#main ul.template_fields li ul.options li a.remove:hover {opacity:1;}
#main ul.template_fields li.ui-sortable-helper {border-top:1px solid #A7AAB0;}
#main ul.template_fields li.sortable:hover {background-color:#BFC8D9;}
#main ul.template_fields li.selected,
#main ul.template_fields li.selected:hover,
#sidebar ul#theme_list li.selected {background:#6F82A9 url(images/sidebar_highlight_selected.png) repeat-x; color:#fff; border-bottom-color:#717171;}
#main ul.template_fields li.selected a {color:#fff;}
#main ul.template_fields li p {margin:0;}
#main ul.template_fields li p.field_key {padding:0 0 0 20px; color:#666; line-height:18px;}
#main ul.template_fields li form p {margin:0 0 10px;}
#main ul.template_fields li form textarea {width:99%; height:70px;}
#main ul.template_fields li form label {margin:0 0 1px;}
#main ul.template_fields li form label.short {display:inline; line-height:22px;}
#main ul.template_fields li form small {margin:-2px 0 3px 0;}
#main ul.template_fields li form select {width:98%;}
#main ul.template_fields li.selected p.field_key {color:#C7CFDF;}
#main ul.template_fields li span.writer {display:none;}
#main ul.template_fields li:hover span.writer {display:block; text-indent:-9999px; overflow:hidden; position:absolute; bottom:5px; left:5px; width:25px; height:25px; background:url(images/icons/arrow_180_small.png) no-repeat 0 12px;}
#main ul.template_fields li.sortable p.field_key span {display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
#main ul.template_fields li.sortable:hover p.field_key span {}
#main ul.template_fields button {width:54px; height:24px; vertical-align:middle; border:none; background:url(images/button_xshort.png) no-repeat; line-height:20px; color:#333; text-align:middle;}
#main ul.template_fields li .field_edit {display:none;}
#main ul.template_fields li.sortable:hover .field_edit {display:block; float:right;}
#main ul.template_fields div.field_form {background:#DDE2EB url(images/sidebar_highlight.png) repeat-x; margin:-7px -10px;}
#main ul.template_fields div.field_form form {background:url(images/sidebar_lowlight.png) repeat-x bottom left; padding:7px 10px;}
#main ul.template_fields div.field_form h5 {padding:0 0 0 20px; margin:0 0 5px;}
#main ul.template_fields div.field_form label {display:block; line-height:1.2; color:#666;}
#main ul.template_fields div.field_form p {margin:0 0 5px;}
#main ul.template_fields div.field_form p input {width:96%;}
#main ul.template_fields div.field_form p.checkbox input {width:auto;}
#main ul.template_fields div.field_form p.submit {margin:0;}
a.add_option {font-size:10px; display:block; padding-left:55px; background:url(images/icons/plus-small-circle.png) no-repeat 40px 50%;}
li.long_text p.field_key,
li.long_text .field_form h5 {background:url(images/icon_textarea.png) no-repeat 0 50%;}
li.short_text p.field_key,
li.short_text .field_form h5 {background:url(images/icon_textfield.png) no-repeat 0 50%;}
li.link p.field_key,
li.link .field_form h5 {background:url(images/icon_link.png) no-repeat 0 50%;}
li.select_list p.field_key,
li.select_list .field_form h5 {background:url(images/icons/ui-combo-box.png) no-repeat 0 50%;}
li.checkboxes p.field_key,
li.checkboxes .field_form h5 {background:url(images/icon_checkbox.png) no-repeat 0 50%;}
li.radio_buttons p.field_key,
li.radio_buttons .field_form h5 {background:url(images/icon_radio_button.png) no-repeat 0 50%;}
li.file_upload p.field_key,
li.file_upload .field_form h5 {background:url(images/icons/images.png) no-repeat 0 50%;}
#main ul.template_fields a.field_edit {cursor:default; width:42px; height:18px; text-indent:-9999px; overflow:hidden; background:url(images/button_edit.png) no-repeat;}
#main ul.template_fields span.field_handle {display:block; position:absolute; top:5px; right:10px; width:22px; height:18px; text-indent:-9999px; overflow:hidden; background:url(images/handle.png) no-repeat;}
p.theme_to_copy {display:none;}
#item_preview {border:none; z-index:1;}
#page_preview, #feed_data {position:absolute; top:29px; left:0; right:0; bottom:0; overflow:hidden;}
.control_bar {position:absolute; color:#666; padding:0 10px; line-height:29px; top:0px; left:0; right:0; height:29px; border-bottom:1px solid #a7a7a7; background:#fff url(images/control_bar.png) repeat-x bottom left;}
.control_bar label {display:inline;}
.control_bar .actions {float:right;}
.control_bar strong {color:#333;}
.control_bar .populate {display:none; width:20px; height:30px; line-height:30px; margin-top:-5px; text-indent:-999px; overflow:hidden; background:url(images/icons/arrow_090_medium.png) no-repeat center;}
.data_browser .control_bar:hover .populate {display:inline-block;}
.control_bar .actions a,
button.button {color:#000; border:none; padding:0; background:url(images/button_medium.png) no-repeat 0 3px; width:111px; display:block; height:28px; text-align:center; cursor:default;}
.control_bar .actions a.close {background:url(images/close_tab.png) no-repeat right center; float:right; height:30px; width:23px; text-indent:-9999px; overflow:hidden;}
#feed_data .control_bar .actions a.close {display:none;}
#page_preview .control_bar .actions a:hover {text-decoration:none;}
#page_preview_frame_wrapper {position:absolute; top:30px; left:0; right:0; bottom:0;}
#feed_data_frame_wrapper {position:absolute; top:30px; left:0; right:0; bottom:0; overflow:auto;}
#feed_data_list {min-height:100%; background:url(images/data_viewer.png);}
#page_preview_frame_wrapper div.item_loading {display:none;}
div.loading #page_preview_frame_wrapper div.item_loading {display:block;}
#feed_data_list li {line-height:23px; position:relative; list-style:none; overflow-x:hidden; white-space:nowrap;}
#feed_data_list li.collapseable {background:url(images/arrow_closed.png) no-repeat 0 0;}
#feed_data_list li span.type_data {color:#999;}
#feed_data_list li.open {background-image:url(images/arrow_open.png);}
#feed_data_list a {display:block; background:none; padding:0 10px 0 0; color:#000;}
#feed_data_list a:hover {text-decoration:none;}
#feed_data_list ul {display:none; position:relative; margin-left:23px;}
#feed_data_list li.open > ul {display:block;}
#feed_data_list span.var {display:none; position:absolute; right:0; top:0; padding:0 10px; color:#666;}
#feed_data_list span.key {display:inline-block; line-height:19px; margin:2px 8px 2px 23px; padding:0 8px; -webkit-border-radius:5px; -moz-border-radius:5px; background:#ccc url(images/sidebar_highlight.png) repeat-x 0 -1px;}
#feed_data_list span.data {position:relative; right:0; white-space:nowrap; text-overflow:ellipsis; left:auto;}
#feed_data_list span.array {background-color:#6cf;}
#feed_data_list span.hash {background-color:#6c9;}
#feed_data_list li em {color:#ccc;}
#comments {position:absolute; top:29px; left:0; right:0; bottom:0; overflow:hidden; overflow:auto;}
#comments .wrapper {padding:15px 20px; margin:0;}
#comments div.author span {display:block;}
#comments div.author span.url a {color:#777; display:block; width:164px; overflow:hidden; text-overflow:ellipsis;}
#comments div.author span.email a {color:#aaa; display:block; width:164px; overflow:hidden; text-overflow:ellipsis;}
#comments div.comment_wrapper {border-top:1px solid #efefef; padding-top:15px; padding:15px 115px 8px 225px;}
#comments div.approved {padding:6px 10px; background:#EAF5E5; border-top:1px solid #C1E0B2; border-bottom:1px solid #C1E0B2;}
#comments div.deleted {padding:6px 10px; background:#FAE5E5; border-top:1px solid #F0B2B2; border-bottom:1px solid #F0B2B2;}
#comments div.approved + div {border-top:none;}
#comments div.deleted + div {border-top:none;}
#comments div.actions {width:100px; float:right; margin-right:-115px; text-align:right;}
#comments div.author {width:164px; padding-left:46px; float:left; margin-left:-225px;}
#comments div.author .edit_state {margin-left:-46px; font-size:12px;}
#comments div.author .edit_state label {display:block; color:#868B92; font-weight:bold; margin:0 0 3px;}
#comments div.author .edit_state input {width:180px; margin:0 0 10px;}
#comments div.author img {vertical-align:middle; padding:2px; -webkit-border-radius:3px; -moz-border-radius:3px; border:1px solid #ccc; float:left; margin-left:-46px; margin-top:2px;}
#comments div.comment {font-size:12px; line-height:1.6;}
#comments div.comment p.meta {font-size:11px; color:#999; margin:0 0 10px;}
#comments div.comment p.meta a {color:#777;}
#comments div.comment p.meta a.reply_to_comment {padding-left:16px; background:url(images/reply.png) no-repeat 0 -1px;}
#comments textarea {width:98%; min-height:130px; line-height:1.6; font-size:12px;}
#comments #new_comment textarea {height:120px; min-height:120px;}
#comments div.edit_state {font-size:11px; margin-bottom:10px;}
#comments #new_comment,
#main #comments .file_meta button.close_comment,
#main #comments.commenting .file_meta button.new_comment {display:none;}
#main #comments.commenting .file_meta button.close_comment {display:inline-block;}
#main #new_comment input.submit {font-size:11px;}
#comments.commenting .table_wrapper {bottom:210px;}
#comments.commenting #new_comment {display:block; background:#efefef; position:absolute; bottom:29px; height:150px; padding:15px 20px; left:0; right:0; border-top:1px solid #a7a7a7;}
#comments #new_comment div.comment_wrapper {padding-top:0;}
#comments #new_comment div.comment {font-size:11px;}
#comments div.actions a {cursor:default; display:inline-block; width:72px; height:17px; line-height:17px; color:#333; text-align:center; font-size:10px; overflow:hidden; background:url(images/button_small_blank.png) no-repeat 0 50%; margin:0 0 5px;}
#comments div.actions a:hover {text-decoration:none;}
#comments div.actions div.loading {padding-left:20px; background:url(images/spinner_tab_active.gif) no-repeat 0 50%; line-height:16px; float:right; color:#999;}
#main #new_comment div.file_meta {position:static; padding:0; text-align:left; line-height:1.6; background:none; border-top:none;}
#main #new_comment div.file_meta .submit {float:none;}
.uploadifyQueueItem {border-bottom:1px solid #A7AAB0; cursor:default; padding:7px 10px; position:relative; background:#DDE2EB url(images/sidebar_highlight.png) repeat-x; line-height:16px;}
.uploadifyQueueItem .cancel {float: right;}
.uploadifyProgress {background-color: #FFFFFF; border:1px solid #A7AAB0; -webkit-border-radius:2px; -moz-border-radius:2px; margin-top: 10px; width: 100%;}
.uploadifyProgressBar {background-color: #6F82A9; width:1px; height:3px;}
span.spaminess {background:#efefef; margin:0 5px 0 0; -webkit-border-radius:4px; -moz-border-radius:4px; padding:1px 6px; display:inline-block;}
span.maybe {background:#ffc; color:#960;}
span.likely {background:#FFE0C2; color:#c60;}
span.very {background:#FFA3A3; color:#900;}
#main #plan_table {margin-bottom:30px;}
#main #plan_table th {border:1px solid #ccc;}
#main #plan_table tbody td {border-bottom:1px solid #ccc; line-height:20px;}
#main #plan_table tbody td.cost {font-size:15px; font-family:"Helvetica Neue", Helvetica, Arial, sans-serif; color:#096; font-weight:bold;}
#main #plan_table tbody td.cost span {font-size:10px; bottom: 0.7ex; position:relative; line-height:1;}
#main #plan_table td.actions {color:#999; width:1%; white-space:nowrap;}
#main #plan_table tr.current td {background-color:#E9EFFB;}
#main #plan_table a.button {cursor:default; display:inline-block; width:72px; height:17px; line-height:17px; color:#333; text-align:center; font-size:10px; overflow:hidden; background:url(images/button_small_blank.png) no-repeat 0 50%;}
#main #plan_table a.button:hover {text-decoration:none;}
#plan_table tbody th {line-height:28px; background:#818489 url(images/sidebar_header.png) repeat-x; border:1px solid #818489; text-shadow:#333 0 1px 1px; border-bottom:1px solid #717171; color:#FFF; text-transform:uppercase; white-space:nowrap; overflow:hidden;}
#plan_table thead td {line-height:20px; color:#818489; font-weight:bold; text-transform:uppercase; white-space:nowrap; overflow:hidden;}
table tr.description td {background:#efefef; color:#777;}
table tr.description td strong {color:#222;}
div.sections {width:100%; float:left;}
div.section_1 {width:48%; float:left;}
div.section_2 {width:48%; float:right;}
#plans .sections {color:#777; line-height:1.6;}
#plans h2 {color:#000; font-size:13px; margin-bottom:10px;}
#posts_list td.title {}
#posts_list td.title a {color:#000; height:18px; display:block; padding:3px 0 3px 20px; background:url(images/icons/document_text.png) no-repeat 0 50%; position:relative;}
#posts_list td.title a span {position:absolute; top:0; left:0; right:0; bottom:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; display:block; padding:5px 0 5px 20px;}
#posts_list td.publish_date {color:#999; font-style:italic; white-space:nowrap; width:1%;}
#posts_list td.publish_date a {display:none;}
#posts_list td.author {white-space:nowrap; width:1%;}
#posts_list td.actions {width:40px;}
div.textile-toolbar span.ed_sep {xposition: relative; xtop: -4px; padding: 0; height: 6px; width: 2px; margin: 0 2px; border-left: solid 1px #d5d5d5; border-right: solid 1px #f5f5f5;}
div.textile-toolbar button {margin:0; background-color: #f0f0ee; background-repeat: no-repeat; border: 1px solid #f0f0ee; padding: 2px 0;}
div.textile-toolbar button.standard {text-align: center; width: 24px;}
div.textile-toolbar button img {vertical-align: text-bottom;}
div.textile-toolbar button:hover,
div.textile-toolbar button.unselected:hover {border: 1px solid #999;}
div.textile-toolbar button.selected {border: 1px solid #ce9100; background-color: #ffffff;}
div.textile-toolbar button.unselected {border: 1px solid #f0f0ee; background-color: #f0f0ee;}
div.textile-toolbar button.publish {padding:5px; display:block;}
div.textile-toolbar {background-color: #f0f0ee; padding: 3px 5px; margin-bottom:0; width:97%; border:1px solid #a7a7a7; border-bottom:none;}
textarea.textilized {border:1px solid #a9a9a9; padding:5px;}
textarea.textilized:focus {outline:none;}
#main table.redirects {border-bottom:1px solid #a9a9a9; margin-bottom:6px;}
#main table.redirects td {white-space:nowrap; padding-left:3px; padding-right:3px;}
#main table.redirects tr.placeholder {background:#efefef; visibility:visible !important; width:100%; height:30px;}
#main table.redirects input.text {width:95%; margin-bottom:3px;}
#main table.redirects input {width:auto;}
#main table.redirects span.handle {vertical-align:middle; padding-left:10px; display:inline-block; height:18px; width:21px; background:url(images/handle.png) no-repeat 50% 50%; text-indent:-9999px; overflow:hidden; margin:0;}
#add_redirect {margin-left:10px;}
#move_box {width:240px; height:280px; position:relative; overflow:hidden;}
#move_box #move_box_navigation_boxes {width:9999px; position:absolute; top:0; left:0;}
#move_box .move_box_box {position:absolute; top:0; width:240px; height:214px; overflow:auto;}
#move_box ul a {color:#000; padding-left:52px; background-position:30px 50%;}
#move_box ul li.root a {color:#000; padding-left:32px; background-position:10px 50%;}
#move_box ul li {opacity:0.4;}
#move_box ul li.selected a {color:#fff;}
#move_box ul li.page {opacity:1;}
#move_box ul li.self {opacity:0.4;}
#move_box li.item .burrow {display:none; position:absolute; background:url(images/arrow_right.png) no-repeat 50% 50%; width:21px; height:18px; top:50%; right:5px; margin-top:-9px; overflow:hidden; text-indent:-9999px; padding:0;}
#move_box li.children .burrow {display:block;}
#move_box li.loading .burrow {background-image:url(images/spinner.gif);}
#move_box li.loading:hover .burrow {background-image:url(images/spinner_hover.gif);}
#move_box li.loading.selected .burrow {background-image:url(images/spinner_selected.gif);}
.asset_dropdown strong {display:block; width:40px; height:24px; text-indent:-9999px; overflow:hidden; background:url(images/asset_dropdown.png) no-repeat;}
.asset_dropdown {display:inline-block; position:relative; cursor:default;}
.asset_dropdown ul {display:none;}
.asset_dropdown ul li {list-style:none; padding:2px 8px; margin:0; line-height:16px; vertical-align:middle;}
.asset_dropdown li:hover {background:#DDE2EB;}
.asset_dropdown.open ul {display:block; position:absolute; top:0; right:0; padding:5px 0; width:120px; text-align:left; border:1px solid #717171; background:rgba(255,255,255,.9); z-index:1000; -webkit-border-radius:5px; -moz-border-radius:5px; -webkit-box-shadow:rgba(0,0,0,0.3) 0 5px 10px; -moz-box-shadow:rgba(0,0,0,0.3) 0 5px 10px;;}
.asset_dropdown .clippy_container {float:right; vertical-align:middle; margin:0 -4px 0 0;}
.asset_dropdown.bottom ul {top:auto; bottom:0;}
#main form p.dimensions input {width:60px;}
#main form p.dimensions span {float:left;}
#main form p.dimensions span.separator {padding:1.9em 10px; font-weight:bold;}
#main form p.dimensions span.calc {color:#999; font-style:italic; line-height:2.2; display:none;}
#main form p.dimensions .hidden span.calc {display:block;}
#main form p.dimensions .hidden input {display:none;}
#main .comment .view_state ul,
#main .comment .view_state ol {
margin:0 0 20px 28px;
padding:0;
}
#main .comment .view_state ul li {
list-style-type:disc;
margin:0;
}
#main .comment .view_state h1,
#main .comment .view_state h2,
#main .comment .view_state h3,
#main .comment .view_state h4,
#main .comment .view_state h5,
#main .comment .view_state h6 {
margin:0 0 20px;
padding:0;
color:#000;
font-weight:bold;
border:none;
line-height:1.1;
}
#main .comment .view_state h1 {font-size:200%;}
#main .comment .view_state h2 {font-size:170%;}
#main .comment .view_state h3 {font-size:150%;}
#main .comment .view_state h4 {font-size:130%;}
#main .comment .view_state h5 {font-size:115%;}
#main .comment .view_state h6 {font-size:100%;}
.CodeMirror-line-numbers {
width: 2.2em;
color: #aaa;
background-color: #eee;
text-align: right;
padding-right: .3em;
font-size: 10pt;
line-height:1.2;
font-family: monospace;
padding-top: .4em;
}
div.site_overview {clear:left; padding:0 0 5px 145px; overflow:auto;}
div.site_overview span.theme_full {float:left; margin-left:-145px; margin-top:5px; margin-bottom:20px;}
div.site_overview h1 {margin-left:-145px; clear:left; margin-bottom:10px;}
div.site_overview h1 small {color:#999; font-size:12px;}
#footer {display:none;}
/* Scrollbars */
:not(iframe)::-webkit-scrollbar {
width: 15px;
height: 15px;
}
/* Turn on single button up on top, and down on bottom */
:not(iframe)::-webkit-scrollbar-button:start:decrement,
:not(iframe)::-webkit-scrollbar-button:end:increment {
display: none;
}
/* Turn off the down area up on top, and up area on bottom */
:not(iframe)::-webkit-scrollbar-button:start:increment,
:not(iframe)::-webkit-scrollbar-button:end:decrement {
display: none;
}
:not(iframe)::-webkit-scrollbar-track {
-webkit-border-image: url(images/scrollbar.png) 7 7 7 7 / 7px 7px 7px 7px stretch repeat;
border-width:7px;
}
/* Top area above thumb and below up button */
:not(iframe)::-webkit-scrollbar-track-piece:start {
border: none;
}
/* Bottom area below thumb and down button */
:not(iframe)::-webkit-scrollbar-track-piece:end {
border: none;
}
/* Track below and above */
:not(iframe)::-webkit-scrollbar-track-piece {
background-color: transparent;
}
/* The thumb itself */
:not(iframe)::-webkit-scrollbar-thumb {
-webkit-border-image: url(images/scrollbar.png) 7 7 7 7 / 7px 7px 7px 7px stretch repeat;
border-width:7px;
-webkit-transition:0.2s linear;
}
/* Corner */
:not(iframe)::-webkit-scrollbar-corner {
background-color: transparent;
}
/*
* Icons
*/
a.icon {background-position:0 50%; background-repeat:no-repeat; background-image:url(images/icons/document.png);}
#sidebar a.icon {background-position:10px 50%;}
a.add {background-image:url(images/icons/plus_circle.png);}
a.blogs_stack {background-image:url(images/icons/blogs_stack.png);}
a.group {background-image:url(images/icons/address_book.png);}
a.card_address {background-image:url(images/icons/card_address.png);}
a.card_pencil {background-image:url(images/icons/card__pencil.png);}
a.safe_pencil {background-image:url(images/icons/safe_pencil.png);}
a.layout_header_2 {background-image:url(images/icons/layout_header_2.png);}
}
EOF
grid = Mongo::Grid.new(MongoMapper.database)
num = 100
Benchmark.bm do |x|
x.report('string') do
num.times do
unpacked_id = grid.put(str)
unpacked = grid.get(unpacked_id)
unpacked.read
end
end
x.report('zlib') do
num.times do
packed_id = grid.put(Zlib::Deflate.deflate(str))
packed = grid.get(packed_id)
Zlib::Inflate.inflate(packed.read)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment