MediaWiki:Mobile.css: Difference between revisions
No edit summary  | 
				No edit summary  | 
				||
| Line 1: | Line 1: | ||
/* CSS placed here will affect users of the mobile site */  | /* CSS placed here will affect users of the mobile site */  | ||
#left-navigation div.vectorTabs li.selected,#right-navigation div.vectorTabs li.selected{  | #left-navigation div.vectorTabs li.selected,#right-navigation div.vectorTabs li.selected{  | ||
	background-color:#333;  | 	background-color:#333;  | ||
| Line 288: | Line 191: | ||
	url('skins/Vector/images/user-icon.svg');  | 	url('skins/Vector/images/user-icon.svg');  | ||
	padding-left:15px !important  | 	padding-left:15px !important  | ||
}  | |||
#p-search{  | |||
	float:left;  | |||
	margin-right:.5em;  | |||
	margin-left:.5em  | |||
}  | |||
#p-search h3{  | |||
	display:none  | |||
}  | |||
#p-search form,#p-search input{  | |||
	margin:0;  | |||
	margin-top:.4em  | |||
}  | |||
div#simpleSearch{  | |||
	display:block;  | |||
	width:12.6em;  | |||
	padding-right:1.4em;  | |||
	height:1.4em;  | |||
	margin-top:.65em;  | |||
	position:relative;  | |||
	min-height:1px;  | |||
	border:solid 1px #aaa;  | |||
	color:black;  | |||
	background-color:white;  | |||
	background-image:/* @embed */  | |||
	url('skins/Vector/images/search-fade.png');  | |||
	background-position:top left;  | |||
	background-repeat:repeat-x  | |||
}  | |||
div#simpleSearch input{  | |||
	margin:0;  | |||
	padding:0;  | |||
	border:0;  | |||
	background-color:transparent;  | |||
	color:black  | |||
}  | |||
div#simpleSearch #searchInput{  | |||
	width:100%;  | |||
	padding:.2em 0 .2em .2em;  | |||
	font-size:13px;  | |||
	direction:ltr;  | |||
	-webkit-appearance:textfield  | |||
}  | |||
div#simpleSearch #searchInput:focus{  | |||
	outline:none  | |||
}  | |||
div#simpleSearch #searchInput.placeholder{  | |||
	color:#999  | |||
}  | |||
div#simpleSearch #searchInput:-ms-input-placeholder{  | |||
	color:#999  | |||
}  | |||
div#simpleSearch #searchInput:-moz-placeholder{  | |||
	color:#999  | |||
}  | |||
div#simpleSearch #searchInput::-webkit-search-decoration,div#simpleSearch #searchInput::-webkit-search-cancel-button,div#simpleSearch #searchInput::-webkit-search-results-button,div#simpleSearch #searchInput::-webkit-search-results-decoration{  | |||
	-webkit-appearance:textfield  | |||
}  | |||
div#simpleSearch #searchButton,div#simpleSearch #mw-searchButton{  | |||
	position:absolute;  | |||
	top:0;  | |||
	right:0;  | |||
	width:1.65em;  | |||
	height:100%;  | |||
	cursor:pointer;  | |||
	text-indent:-99999px;  | |||
	line-height:1;  | |||
	direction:ltr;  | |||
	white-space:nowrap;  | |||
	overflow:hidden;  | |||
	background-image:url('skins/Vector/images/search-ltr.png');  | |||
	background-image:-webkit-linear-gradient(transparent, transparent),/* @embed */  | |||
	url('skins/Vector/images/search-ltr.svg');  | |||
	background-image:linear-gradient(transparent, transparent),/* @embed */  | |||
	url('skins/Vector/images/search-ltr.svg');  | |||
	background-position:center center;  | |||
	background-repeat:no-repeat  | |||
}  | |||
div#simpleSearch #mw-searchButton{  | |||
	z-index:1  | |||
}  | }  | ||
div.vectorTabs h3{  | div.vectorTabs h3{  | ||