阅读:1914回复:3
求助一个关于侧边栏的问题。用户被禁言,该主题自动屏蔽! |
|
1楼#
发布于:2012-03-10 15:06
把 top:30px; bottom:13px; 两个的数值换成百分比。
比如 30PX换成10% 这样。 |
|
2楼#
发布于:2012-03-10 15:06
这是我用的,你试试看~
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); .sidebar-placesTree{ /*面板颜色*/ background:rgba(255,255,255,1) !important; } #history-panel > #sidebar-search-container{ margin-top:-4px !important; margin-right:-2px !important; } #historyTree{ margin:2px 4px 4px 4px !important; } #sidebar-box:hover{ left:0px !important; opacity: 1 !important; -moz-transition-property: all; -moz-transition-duration: 0.31s; -moz-transition-delay:0.1s; } #sidebar-header{ display:none } #bookmarksPanel > #sidebar-search-container{ margin:-2px 0 0 0 !important; } #bookmarks-view{ margin:4px !important; } /* GENERAL */ #sidebar, #bookmarksPanel, #history-panel { height: 100% !important; background: none !important; } #sidebar-box { -moz-transition-property: all; -moz-transition-duration: 0.18s; -moz-transition-delay:0.4s; width: 350px !important; -moz-appearance: none !important; position: fixed !important; top: 85px !important; left:-335px !important; bottom: 0px !important; -moz-border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAvCAYAAABAHIylAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAUlSURBVHja7JtPaBRXHMc/781OdnXNqinVlphK4iJoQWiLGIjgLV6UEBFLEcFzLr0JihdB8OjNkwdBWCkKIejFXIKYQkR6CS2Gsv5rjE0sSN11kzWz814P+ya+vMxGL4Xdzfzgx7x9O4edD9/fmzfz+67QWrNeCCGEO9Vg3MyhG4zRnwAg4r53oAgniRm3AhwdM7bnYmGtAWTBiSBI6yiduWaH5AJR1lE5czoO0ipAFhwbhGeltI4upGZWkA0ltI6h9Tk6ZxWkFUAOnChTVmaAHcBWIAukY8qtWeEAfAAqwDvgDVAFalYqK1cgCa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UTJZAZaouz1qQOh2VSPjwiZgi1FSJ9Atpfymv79/4eDBg2+Hh4ffHDlyZLGVoDx48GDz6OjojsePH3dNTU3tVEr9BcwZ1ZRNiS1ZZbZSYo3cHZsNpKzJLdQdZjnzXQfN7VN0787LpnxK1B1m741iKma8GLMG6ZTWOlpwI99ezZwkrW2AMvNVPrZpU6ztqzUroOj3R9dWNWpZdFRju8z05zrMMlZ2NADU7B5FF1AEKcrPcphBY49ilL5J2/XaKgqKHK2ByWUr1/coRntvB5LrcvX52OC3e9nQ/D5p5UCqWVA+7XI1+wRqtVrik6aBT9r3fQAbUuK0jwPkQLJBbez/atiA7HBguUDa/t8+/w0Aop+YsD/C4DEAAAAASUVORK5CYII=") 13 13 15 / 14px 13px 15px repeat stretch !important; -moz-window-shadow: none !important; background: none !important; color: #fff !important; opacity: 0.5 !important; } #sidebar-search-label{ color: #fff !important; } /* HEADER */ #sidebar-header * { color: #fff !important; } /* SIDEBAR LIST */ #sidebar-box > browser { margin: 0px 0px 0px 0px !important; padding: 0px !important; width: 100% !important; } /* SCROLLBARS */ /* #bookmarksPanel scrollbar, #history-panel scrollbar { display: none !important; } */ /* SIDEBAR TREE */ #bookmarksPanel treechildren, #history-panel treechildren { color: #000 !important; } /* SELECTED ROW */ #bookmarksPanel treechildren::-moz-tree-row(selected), #history-panel treechildren::-moz-tree-row(selected) { background: -moz-linear-gradient(top, #6f81f5, #364cec) !important; border: none !important; color: #fff !important; } #sidebar-splitter{display:none} |
|
3楼#
发布于:2012-03-10 15:06
|
|