ผู้ใช้:Jutiphan/iScript/iScript.css

จากวิกิพีเดีย สารานุกรมเสรี

หมายเหตุ: หลังเผยแพร่ คุณอาจต้องล้างแคชเว็บเบราว์เซอร์ของคุณเพื่อดูการเปลี่ยนแปลง

  • ไฟร์ฟอกซ์ / ซาฟารี: กด Shift ค้างขณะคลิก Reload หรือกด Ctrl-F5 หรือ Ctrl-R (⌘-R บนแมค)
  • กูเกิล โครม: กด Ctrl-Shift-R (⌘-Shift-R บนแมค)
  • อินเทอร์เน็ตเอกซ์พลอเรอร์ และ Edge: กด Ctrl ค้างขณะคลิก Refresh หรือกด Ctrl-F5
  • โอเปร่า: กด Ctrl-F5
.wikiEditor-ui-toolbar .group-insert {
    border-right: 1px solid #DDDDDD;
}

/* uses B and I for general format icons */
span[rel="bold"] { background-position: 2px -142px !important; }
span[rel="italic"] { background-position: 2px -862px !important; }

.wikiMenu {
    column-count: 2;
}

li#ca-menu, li#ca-menu2 {
	position: relative;
	cursor: default;
	padding: 0 0.8em 0.3em;
  width: 5em;
	border: 1px #aaaaaa solid;
	z-index: 0;
	color: #002bb8;
	background: #f8fcff;
}

#ca-menu:hover, #ca-menu2:hover {
  position: relative;
  background-color: #f8fcff;
	z-index: 3;
}

li#ca-menu ul, li#ca-menu2 ul {
	position: absolute;
	display: none;
	left: -1px;
	top: 1.5em;
	margin: 0;
	padding: 0;
	z-index: 3;
}

#ca-menu:hover ul, #ca-menu2:hover ul {
	display: block;
}

li#ca-menu li, li#ca-menu2 li {
	display: list-item;
	list-style: none;
	background: #f8fcff;
	border: 1px #aaaaaa solid;
	margin: 0;
	padding: 0;
	float: left;
  z-index: 3;
}

.ns-0 * li#ca-menu, .ns-0 * li#ca-menu2 {
	background: #fbfbfb;
}

.ns-0 * #ca-menu:hover, .ns-0 * #ca-menu2:hover {
	background-color: white;
}
.ns-0 * li#ca-menu li, .ns-0 * li#ca-menu2 li {
	background: #fbfbfb;
}
li#ca-menu li + li, li#ca-menu2 li + li {
	margin-top: -1px;
}
li#ca-menu a, li#ca-menu2 a {
	background: transparent;
	width: 9em;
	margin: 0;
	padding: 0.15em 0.8em 0.15em;
	border: none;
	display: block;
}
li#ca-menu a:hover, li#ca-menu2 a:hover {
	background: #ffffff;
  padding: 0.15em 0.8em 0.15em;
}
.ns-0 * li#ca-menu a:hover, .ns-0 * li#ca-menu2 a:hover {
	background-color: white;
  width: 9em;  
}

li#ca-ldff {
  margin: 0 0.3em 0 1.8em;  
}



/**
 * morebits.css
 * ===========
 * Styles to support morebits.js.
 *
 * The morebits library is maintained by the maintainers of Twinkle.
 * For queries, suggestions, help, etc., head to [[WT:TW]].
 * The latest development source is available at [https://github.com/azatoth/twinkle/blob/master/morebits.css].
 */

/* Morebits.status */

.tw_status_status {
    color: #4682B4;
}

.tw_status_info {
    color: #228B22;
}

.tw_status_warn {
    color: #FF4500;
}

.tw_status_error {
    color: #FF4500;
    font-weight: bold;
}

/* Morebits.quickForm */

form.quickform
{
    width: 96%;
    vertical-align: middle;
    margin: auto;
    padding: .5em;
}

form.quickform *
{
    font-family: sans-serif;
    vertical-align: middle;
}

form.quickform fieldset
{
    margin: .4em 0 1em;
}

form.quickform legend
{
    color: #31628F;
    font-weight: bold;
}

form.quickform input[type=text], form.quickform select
{
    min-width: 15em;
    font-size: 110%;
}

form.quickform select
{
    border: 1px solid gray;
    margin-left: .2em;
}

form.quickform h5
{
    margin: .5em 0 0;
    padding: .3em .2em .2em;
}

/* only give the top border to headers with something above them */
form.quickform div + h5, form.quickform div + div h5, form.quickform h5 + h5
{
    border-top: 1px solid #88A;
}

form.quickform textarea
{
    width: 100%;
    height: 4em;
    font-size: 150%;
}

form.quickform span.quickformDescription
{
    font-style: italic;
}

form.quickform .tooltipButtonContainer
{
    position: relative;
    width: 100%;
}

form.quickform .tooltipButton
{
    color: blue;
    font-weight: bold;
    cursor: help;
    padding: .2em;
}


/* Scrollbox styles, for use within Morebits.quickForm */

div.quickform-scrollbox
{
    background: white;
    border: 1px solid gray;
    margin-bottom: .6em;
    margin-top: .6em;
    max-height: 20em;
    overflow: auto;
    padding: 6px 6px 0;
}

div.quickform-scrollbox h5:first-child
{
    border: none;
    margin-top: 0;
    padding-top: 0;
}

div.quickform-scrollbox :last-child
{
    margin-bottom: 6px;
}


/* Previewbox */

div.morebits-previewbox
{
    background: white;
    color: black;
    border: 2px inset;
    margin: .4em auto .2em;
    padding: .2em .4em;
}

div.morebits-previewbox *:not(img)
{
    vertical-align: baseline;
}

div.morebits-previewbox span.editsection
{
    display: none;
}




/* Portlet */

.skin-vector div div.extraMenu h3 span {
    background-position: 90% 50%;
}

.skin-vector div.extraMenu h3 a {
    padding-left: .4em;
    padding-right: .4em;
    width: auto;
    font-size: 0.78em;
    padding-bottom: 0.5em;
}

.skin-vector div.extraMenu h3 a span {
    display: inline-block;
    font-size: .8em;
    height: 2.5em;
    font-weight: normal;
    padding-top: 1.25em;
    margin-right: 14px;
}

.skin-modern #mw_contentwrapper div.portlet {
    overflow: hidden;
    height: 1.5em;
    margin: 0 0 0 14em;
    padding: 0;
}

.skin-modern #mw_contentwrapper div.portlet h5 {
    display: none;
}

.skin-modern #mw_contentwrapper div.portlet div.pbody {
    margin: 0;
    padding: 0;
}

.skin-modern #mw_contentwrapper div.portlet div.pbody ul {
    display: inline;
    margin: 0;
}

.skin-modern #mw_contentwrapper div.portlet div.pbody ul li {
    display: block;
    float: left;
    height: 1.5em;
    margin: 0 .5em;
    padding: 0 .2em;
    text-transform: lowercase;
}

.skin-modern #mw_contentwrapper div.portlet div.pbody ul li a {
    text-decoration: underline;
}

.skin-modern #mw_contentwrapper div.portlet div.pbody ul li.selected a {
    text-decoration: none;
}


/* Morebits.simpleWindow */

.morebits-dialog {
    border: 1px #666 solid;
    font: small sans-serif;
    background-color: #F0F8FF !important;
    background-image: none !important;
}

body.skin-monobook .morebits-dialog {
    font-size: 125%;
}

body .ui-dialog.morebits-dialog .ui-dialog-titlebar {
    height: 1em;
    background: repeat-x 50% 80% #cfd6e1 !important;  /* the actual image is specified in morebits.js - ResourceLoader mangles data: URIs in CSS */
    font: bold 1em sans-serif;
    padding: .4em .3em .5em !important;
}

.morebits-dialog-scriptname {
    font-weight: normal;
}

.ui-dialog.morebits-dialog .ui-dialog-titlebar-close {
    height: 100%;
    right: 0;
    top: auto;
    width: 2em;
    margin: -.5em -.15em 0;
}

.ui-dialog.morebits-dialog .ui-dialog-titlebar-close span {
    margin: .33em;
}

.ui-dialog.morebits-dialog .morebits-dialog-content {
    font-size: 88%;  /* this just seems to be traditional - I don't quite see the point, in this day and age of huge monitors, etc. */
    padding: 0;
}

body .ui-dialog.morebits-dialog .ui-dialog-buttonpane {
    background-color: #BCCADF;
    margin: 0;
    min-height: .5em;
    padding-left: 1.2em !important;
}

body .ui-dialog.morebits-dialog .ui-dialog-buttonpane button {
    float: none;
    margin: .2em 0 -.1em;
    padding-top: 0;
    padding-bottom: 0;
    cursor: auto;
}

.morebits-dialog-footerlinks {
    font-size: 90%;
    float: right;
    margin: .7em .4em 0 0;
}

body .ui-dialog.morebits-dialog .morebits-dialog-footerlinks a {
    color: #3062AD;
}

.morebits-dialog-buttons[data-empty] + .morebits-dialog-footerlinks {
    margin: .1em .4em -.2em 0;
}

.ui-dialog.morebits-dialog a, .ui-dialog.morebits-dialog .ui-widget-content a {
    color: #0645AD;  /* jQuery imposes a ridiculous nearly-black colour on <a> tags... I don't understand it */
}

.ui-icon-inline {
    display: inline-block;
}

/*
#p-cactions li
{
    position: relative;
    float: left;
}

.tabmenu ul
{
    display: none;
    z-index: 2;
    position: relative;
    top: -2px;
    border-top: 1px solid #aaaaaa;
    padding: 0px;
    margin: 0px;
    background: #FFFFF0;
    background-color: #FFFFF0;
    clear:both;
}

#afda ul li, #dbm ul li, #mystatus ul li, #talkm ul li
{
    float: none;
    border: 1px solid #aaaaaa;
    border-top: none;
    text-align: center;
    background: #F8FCFF;
    background-color: #FFFFF0;
    clear:both;
    display: block;
}

.tabmenu:hover ul
{
    display: block;
}

.tabmenu a
{
    padding: 0pt 0.8em !important;
    background: #F8FCFF;
    background-color: #FFFFF0;
}

.tabmenu ul a:hover
{
    font-weight: bold;
}
*/