yjwvfp_liujian
小狐狸
小狐狸
  • UID32740
  • 注册日期2010-05-04
  • 最后登录2011-03-02
  • 发帖数10
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
阅读:1764回复:3

这个页面怎么改?

楼主#
更多 发布于:2010-11-25 12:09
把这两个放到同一行?本人新手  如图[/img]
zj45499
千年狐狸
千年狐狸
  • UID29472
  • 注册日期2009-07-03
  • 最后登录2014-10-06
  • 发帖数1158
  • 经验11枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
1楼#
发布于:2010-11-25 12:09


foxfirefox
千年狐狸
千年狐狸
  • UID16837
  • 注册日期2007-01-27
  • 最后登录2019-10-22
  • 发帖数1409
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
2楼#
发布于:2010-11-25 12:09
@namespace url(http://www.mozilla.org/keymaster/gateke ... s.only.xul);
@-moz-document url(chrome://browser/content/browser.xul) {

/*工具栏向上移动多少px */
#main-window[chromemargin]:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]) {
  margin-top: -23px !important;/* 适当修改 */
}

/* 不隐藏菜单栏
#main-window[chromemargin]:not([inFullscreen="true"]) #toolbar-menubar[type="menubar"][autohide="true"] {
  -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar") !important;
  overflow: visible !important;
  min-height: 22px !important;
} */
/* Tabs Color */
#main-window[chromemargin]:not([inFullscreen="true"]) :-moz-any(.tabbrowser-tab, .tabs-newtab-button) {
  background: -moz-linear-gradient(hsla(0,0%,100%,.4), hsla(0,0%,100%,.6) 50%) !important;
  background-position: -5px -2px !important;
  background-repeat: no-repeat !important;
  background-size: 200% !important;
}
#main-window[chromemargin]:not([inFullscreen="true"]) :-moz-any(.tabbrowser-tab, .tabs-newtab-button):hover {
  background-image: -moz-linear-gradient(hsla(0,0%,100%,.5), hsla(0,0%,100%,.<!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) --> 50%) !important;
}
#main-window[chromemargin]:not([inFullscreen="true"]) .tabbrowser-tab[selected="true"] {
  background-image: -moz-linear-gradient(-moz-dialog, -moz-dialog) !important;
}


#main-window[chromemargin]:not([inFullscreen="true"]) #TabsToolbar {
  -moz-box-ordinal-group: 0 !important;
  padding: 0px 80px 0px 30px !important;
}

#main-window[chromemargin]:not([inFullscreen='true']) #navigator-toolbox > :not(#TabsToolbar) {
  -moz-box-ordinal-group: 50 !important;
}

#main-window[chromemargin] #appmenu-button{
  background: transparent no-repeat center center url("chrome://branding/content/icon16.png") !important;
  border: none !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  padding: 2px !important;
  margin: 2px 0 0 0 !important;
  -moz-box-shadow: none !important;
}

#main-window[chromemargin]:not([inFullscreen="true"]) #appmenu-button :-moz-any(.button-text, .button-menu-dropmarker) {
  display: none !important;
}

#main-window[chromemargin]:not([inFullscreen="true"]) :-moz-any(#appmenu-button-container, #titlebar-buttonbox),
#main-window[chromemargin]:not([inFullscreen="true"]) #TabsToolbar > * {
  position: relative !important;
  z-index: 10 !important;
}

#titlebar {
  position: relative !important;
  z-index: 9 !important;
}

.tab-drop-indicator {
  z-index: 11 !important;
  margin-top: 0px !important;
}


#main-window[chromemargin]:not([inFullscreen="true"]) #tabbrowser-tabs {
  -moz-margin-start: 0px !important;
}

#main-window[chromemargin]:not([inFullscreen="true"]) .tabbrowser-tab[pinned] {
  position: static !important;
  display: -moz-box !important;
  -moz-margin-start: 0px !important;
}

/* 以下,不需要 */
#main-window[chromemargin]:not([inFullscreen="true"]) #tabbrowser-tabs[tabsontop="true"] > .tabbrowser-arrowscrollbox > scrollbox:not(:-moz-lwtheme) {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
  position: static !important;
}

#main-window[chromemargin]:not([inFullscreen="true"]) :-moz-any(.tabbrowser-tab, .tabs-newtab-button) {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}
}

-------------userchrome.css
hoolooday
火狐狸
火狐狸
  • UID26508
  • 注册日期2008-10-02
  • 最后登录2015-05-22
  • 发帖数173
  • 经验11枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
3楼#
发布于:2010-11-25 12:09
楼主可以参考楼上朋友的,
具体来说就是要把这行代码放到你的
userchrome.css里面.
它在你的配置文件夹下面
游客

返回顶部