User:KazutoIKEDA/wiki/SpryCollapsiblePanel.css

From 2009.igem.org

< User:KazutoIKEDA(Difference between revisions)
(New page: @charset "UTF-8"; .CollapsiblePanel { margin: 0px; padding: 0px; } .CollapsiblePanel *{ margin: 0px; padding: 0px; } .CollapsiblePanelTab { margin: 0px; padding: 0px; cursor: pointe...)
 
(7 intermediate revisions not shown)
Line 14: Line 14:
-moz-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-khtml-user-select: none;
-
background-image: url(../coimage/up.png);
+
background-image: url(https://static.igem.org/mediawiki/2009/d/da/Up.png);
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: right;
background-position: right;
-
border: thin solid #FFF;
+
border: none;
}
}
.CollapsiblePanelContent {
.CollapsiblePanelContent {
Line 29: Line 29:
color: black;
color: black;
text-decoration: none;
text-decoration: none;
 +
}
 +
.CollapsiblePanelOpen .CollapsiblePanelTab {
 +
background-image: url(https://static.igem.org/mediawiki/2009/f/f9/Down.png);
}
}
.CollapsiblePanelTabHover,  .CollapsiblePanelOpen .CollapsiblePanelTabHover {
.CollapsiblePanelTabHover,  .CollapsiblePanelOpen .CollapsiblePanelTabHover {
-
border: thin dotted #CCC;
+
/*border: thin solid #FFF;*/
}
}
Line 41: Line 44:
.CollapsiblePanelClosed .CollapsiblePanelTab {
.CollapsiblePanelClosed .CollapsiblePanelTab {
-
background-image: url(../coimage/down.png);
+
/*background-image: url(../coimage/down.png);*/
}
}

Latest revision as of 01:34, 20 October 2009

@charset "UTF-8";
.CollapsiblePanel {
	margin: 0px;
	padding: 0px;
}
.CollapsiblePanel *{
	margin: 0px;
	padding: 0px;
}
.CollapsiblePanelTab {
	margin: 0px;
	padding: 0px;
	cursor: pointer;
	-moz-user-select: none;
	-khtml-user-select: none;
	background-image: url(https://static.igem.org/mediawiki/2009/d/da/Up.png);
	background-repeat: no-repeat;
	background-position: right;
	border: none;
}
.CollapsiblePanelContent {
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 12px;
}
.CollapsiblePanelTab a {
	color: black;
	text-decoration: none;
}
.CollapsiblePanelOpen .CollapsiblePanelTab {
	background-image: url(https://static.igem.org/mediawiki/2009/f/f9/Down.png);
}
.CollapsiblePanelTabHover,  .CollapsiblePanelOpen .CollapsiblePanelTabHover {
	/*border: thin solid #FFF;*/
}


/* This is an example of how to change the appearance of the panel tab when the
 * CollapsiblePanel is closed. The "CollapsiblePanelClosed" class is programatically added and removed
 * whenever the CollapsiblePanel is closed.
 */

.CollapsiblePanelClosed .CollapsiblePanelTab {
		/*background-image: url(../coimage/down.png);*/
}

/* This is an example of how to change the appearance of all the panel tabs when the
 * CollapsiblePanel has focus. The "CollapsiblePanelFocused" class is programatically added and removed
 * whenever the CollapsiblePanel gains or loses keyboard focus.
 */
.CollapsiblePanelFocused .CollapsiblePanelTab {
	background-repeat: no-repeat;
	background-position: right;
}