Difference between revisions of "MediaWiki:Vector.css"

From Sugar Labs
Jump to navigation Jump to search
(update to siteNotice linkgroup)
(introduce cursor theme)
Line 1: Line 1:
 
/* CSS placed here will affect users of the Vector skin */
 
/* CSS placed here will affect users of the Vector skin */
#siteNotice div,
+
#pt-userpage, #pt-anonuserpage, #pt-login {
#siteNotice p {
+
  background: url(http://wiki-devel.sugarlabs.org/images/3/33/I_user_a.gif) left top no-repeat;
      outline: none;
+
  padding-left: 20px !important;
 +
}
 +
#p-personal li {
 +
  padding-top:3px;
 +
  padding-bottom:7px;
 +
}
 +
html, select, option, input[type="submit"], input[type="radio"], input[type="checkbox"] {
 +
  cursor: url(http://wiki-devel.sugarlabs.org/images/e/e2/Arrow.cur), default;     
 +
}
 +
p, #content li, pre, textarea, input[type="password"], input[type="search"] {
 +
  cursor: url(http://wiki-devel.sugarlabs.org/images/b/b1/Text.cur), text;
 +
}
 +
abbr, acronym, .explain {
 +
  border-bottom: 1px dashed Grey;     
 +
  cursor: url(http://wiki-devel.sugarlabs.org/images/4/48/Help.cur), help;    
 
}
 
}
 
a:hover,
 
a:hover,
 
#panel.collapsible-nav div.collapsed h5:hover,
 
#panel.collapsible-nav div.collapsed h5:hover,
 
#preftoc a:hover {
 
#preftoc a:hover {
      text-decoration: none;
+
  text-decoration: none;    
 
}
 
}
 
#panel.collapsible-nav div.portal div.body ul li {
 
#panel.collapsible-nav div.portal div.body ul li {
      padding-bottom: 5px;
+
  padding-bottom: 5px;    
 
}
 
}
 
/* Standard links */
 
/* Standard links */
 
a {
 
a {
      border-bottom: 1px dotted lightGrey;
+
  border-bottom: 1px dotted lightGrey;    
 
}
 
}
 
a:hover,
 
a:hover,
Line 25: Line 39:
 
.editsection a:hover,
 
.editsection a:hover,
 
#contentSub a:hover, #contentSub2 a:hover {
 
#contentSub a:hover, #contentSub2 a:hover {
  border-bottom: 3px solid #333333;
+
  border-bottom: 3px solid #333333;
 +
  cursor: url(http://wiki-devel.sugarlabs.org/images/c/cd/Pointer.cur), pointer;  
 
}
 
}
 
#p-personal a,
 
#p-personal a,
Line 48: Line 63:
 
.wikiEditor-ui-tabs div a,
 
.wikiEditor-ui-tabs div a,
 
.wikiEditor-ui-tabs div a:hover {
 
.wikiEditor-ui-tabs div a:hover {
border-bottom: none;
+
  border-bottom: none;
 +
}
 +
div.vectorTabs li a,
 +
div.vectorTabs li a span,
 +
div.vectorMenu li a,
 +
.wikiEditor-ui-toolbar .group,
 +
.wikiEditor-ui-toolbar .group img.tool {
 +
  cursor: url(http://wiki-devel.sugarlabs.org/images/c/cd/Pointer.cur), pointer;
 
}
 
}
 
div.vectorMenu li a:hover,
 
div.vectorMenu li a:hover,
 
div.vectorMenu li a:focus,
 
div.vectorMenu li a:focus,
 +
div.vectorTabs li a:hover,
 
div.vectorTabs li a span:hover,
 
div.vectorTabs li a span:hover,
div.vectorTabs li a span:focus,
 
 
#preftoc a:hover,
 
#preftoc a:hover,
 
h1 .editsection,
 
h1 .editsection,
Line 61: Line 83:
 
h5 .editsection,
 
h5 .editsection,
 
h6 .editsection,
 
h6 .editsection,
#panel.collapsible-nav div.collapsed h5:hover,
+
#panel.collapsible-nav div h5:hover,
 
.wikiEditor-ui-tabs div a:hover,
 
.wikiEditor-ui-tabs div a:hover,
 
.wikiEditor-ui-toolbar .tabs span.tab a:hover,
 
.wikiEditor-ui-toolbar .tabs span.tab a:hover,
Line 67: Line 89:
 
#p-logo a:focus,
 
#p-logo a:focus,
 
div.portal.expanded a:focus {
 
div.portal.expanded a:focus {
color: Grey;
+
  color: Grey;
        outline: none;
+
  outline: none;      
 +
  cursor: url(http://wiki-devel.sugarlabs.org/images/c/cd/Pointer.cur), pointer;       
 
}
 
}
 +
#preftoc li.selected a,
 +
div.vectorMenu h5 a,
 +
div.vectorTabs li.selected a,
 +
div.vectorTabs li.selected a span,
 +
div.vectorTabs li.selected a:hover,
 
.wikiEditor-ui-tabs div.current a,
 
.wikiEditor-ui-tabs div.current a,
 
.wikiEditor-ui-tabs div.current a:hover {
 
.wikiEditor-ui-tabs div.current a:hover {
        color: #333333;
+
  color: #333333;      
        cursor: default;
+
  cursor: url(http://wiki-devel.sugarlabs.org/images/e/e2/Arrow.cur), default;     
 +
}
 +
.wikieditor-toolbar-table-preview-content * {
 +
  cursor: url(http://wiki-devel.sugarlabs.org/images/e/e2/Arrow.cur), default;     
 +
}
 +
#footer a.external:hover,
 +
#footer-icons li a:hover,
 +
#content a.external:hover,
 +
#content a.extiw:hover {
 +
  cursor: url(http://wiki-devel.sugarlabs.org/images/8/85/Web.cur), pointer;
 
}
 
}
 
#content a[href ^="http://en.flossmanuals.net"] {
 
#content a[href ^="http://en.flossmanuals.net"] {
        background: url(http://en.flossmanuals.net/floss/pub/TWiki/FlossSkin2/fl2.ico) center right no-repeat;
+
  background: url(http://en.flossmanuals.net/floss/pub/TWiki/FlossSkin2/fl2.ico) center right no-repeat;      
        padding: 2px 18px 0 0;
+
  padding: 2px 18px 0 0;      
 
}
 
}

Revision as of 18:21, 12 July 2010

/* CSS placed here will affect users of the Vector skin */
#pt-userpage, #pt-anonuserpage, #pt-login {
  background: url(http://wiki-devel.sugarlabs.org/images/3/33/I_user_a.gif) left top no-repeat;
  padding-left: 20px !important;
}
#p-personal li {
  padding-top:3px;
  padding-bottom:7px;
}
html, select, option, input[type="submit"], input[type="radio"], input[type="checkbox"] {
  cursor: url(http://wiki-devel.sugarlabs.org/images/e/e2/Arrow.cur), default;      
}
p, #content li, pre, textarea, input[type="password"], input[type="search"] {
  cursor: url(http://wiki-devel.sugarlabs.org/images/b/b1/Text.cur), text;
}
abbr, acronym, .explain {
  border-bottom: 1px dashed Grey;      
  cursor: url(http://wiki-devel.sugarlabs.org/images/4/48/Help.cur), help;      
}
a:hover,
#panel.collapsible-nav div.collapsed h5:hover,
#preftoc a:hover {
  text-decoration: none;      
}
#panel.collapsible-nav div.portal div.body ul li {
  padding-bottom: 5px;      
}
/* Standard links */
a {
  border-bottom: 1px dotted lightGrey;      
}
a:hover,
#p-personal a:hover,
#toc a:hover, .toc a:hover,
#panel a:hover,
div.linkgroup a:hover,
.catlinks a:hover,
#footer a:hover,
.editsection a:hover,
#contentSub a:hover, #contentSub2 a:hover {
  border-bottom: 3px solid #333333;
  cursor: url(http://wiki-devel.sugarlabs.org/images/c/cd/Pointer.cur), pointer; 
}
#p-personal a,
#toc a, .toc a,
#preftoc a,
#preftoc a:hover,
#panel a,
.catlinks a,
#footer a,
.editsection a,
div.linkgroup a,
div.vectorTabs a,
div.vectorMenu h5 a,
div.vectorMenu li a,
#contentSub a, #contentSub2 a,
a.image,
a img,
#p-logo a:hover,
div.vectorTabs a:hover,
.wikiEditor-ui-toolbar .tabs a,
.wikiEditor-ui-toolbar .tabs a:hover,
.wikiEditor-ui-tabs div a,
.wikiEditor-ui-tabs div a:hover {
  border-bottom: none;
}
div.vectorTabs li a,
div.vectorTabs li a span,
div.vectorMenu li a,
.wikiEditor-ui-toolbar .group,
.wikiEditor-ui-toolbar .group img.tool {
  cursor: url(http://wiki-devel.sugarlabs.org/images/c/cd/Pointer.cur), pointer;
}
div.vectorMenu li a:hover,
div.vectorMenu li a:focus,
div.vectorTabs li a:hover,
div.vectorTabs li a span:hover,
#preftoc a:hover,
h1 .editsection,
h2 .editsection,
h3 .editsection,
h4 .editsection,
h5 .editsection,
h6 .editsection,
#panel.collapsible-nav div h5:hover,
.wikiEditor-ui-tabs div a:hover,
.wikiEditor-ui-toolbar .tabs span.tab a:hover,
#p-logo a:active,
#p-logo a:focus,
div.portal.expanded a:focus {
  color: Grey;
  outline: none;       
  cursor: url(http://wiki-devel.sugarlabs.org/images/c/cd/Pointer.cur), pointer;         
}
#preftoc li.selected a,
div.vectorMenu h5 a,
div.vectorTabs li.selected a,
div.vectorTabs li.selected a span,
div.vectorTabs li.selected a:hover,
.wikiEditor-ui-tabs div.current a,
.wikiEditor-ui-tabs div.current a:hover {
  color: #333333;       
  cursor: url(http://wiki-devel.sugarlabs.org/images/e/e2/Arrow.cur), default;       
}
.wikieditor-toolbar-table-preview-content * {
  cursor: url(http://wiki-devel.sugarlabs.org/images/e/e2/Arrow.cur), default;       
}
#footer a.external:hover,
#footer-icons li a:hover,
#content a.external:hover,
#content a.extiw:hover {
  cursor: url(http://wiki-devel.sugarlabs.org/images/8/85/Web.cur), pointer;
}
#content a[href ^="http://en.flossmanuals.net"] {
  background: url(http://en.flossmanuals.net/floss/pub/TWiki/FlossSkin2/fl2.ico) center right no-repeat;       
  padding: 2px 18px 0 0;       
}