Actions

MediaWiki

Common.css: Difference between revisions

From LimeSurvey Manual

(Update for boxed and alert)
(Update boxed.alert)
Line 154: Line 154:
}
}
.boxed.alert{
.boxed.alert{
   background-color:#F2DEDE;
   background-color:#FCF8E3;
   border-color:#EED3D7;
   border-color:#FBEED5;
   color:#222;
   color:#222;
}
}

Revision as of 12:50, 28 June 2013

/* CSS placed here will be applied to all skins */

/* Default backgrounds */

body {
	background: #F0FBDB url(http://www.limesurvey.org/templates/limesurvey/images/bg.png) 0 0 repeat-x;
	color: #1D2D45;
	font-family: Arial,Helvetica,sans-serif;
	line-height: 135%;
}

#mw-page-base {
	background: transparent none;
}      
 
div#mw-head-base,
div#content,
div#footer {
	background-image: url(http://manual.limesurvey.org/images/0/08/Bg_328639_1x1.gif);
}

/* Headings*/

#bodyContent h1 {
	padding-top: 1em;
}

/* Links */

a:link, 
a:visited,
div#mw-panel div.portal div.body ul li a,
div#mw-panel div.portal div.body ul li a:visited,
div.vectorTabs li a,
div.vectorTabs li a:visited,
.mw-body a.external {
	color: #328639;
}

a.new, #p-personal a.new {
	color: #BA0000;
}

div#content a.external, 
div#content a.external[href^="gopher://"] {
	background-image: url(http://manual.limesurvey.org/images/a/a9/Icon_link_external_green_10x10.png);
}

/* Layout */

.bannergroup {
	margin-top: -8px !important;
}

.banneritem {
	margin-bottom: 8px;
}
	
.mw-pt-languages {
	margin: 0 0 10px 0;
}
	
.mw-pt-languages table {
	background-color: #F9FDF2 !important;
}
	
.mw-pt-languages-label {
	background-color: #F0FBDB !important;
} 

/* Tabs */

div.vectorTabs,
div.vectorTabs ul,
div.vectorTabs span,
div.vectorMenu h5 a {
    background-image: url(http://manual.limesurvey.org/images/b/b4/Bg_tab_borders_1x46.png); /* faded vertical border */
}

div.vectorTabs ul li {
    background-color: #F3F3F3;
    background-image: url(http://manual.limesurvey.org/images/1/19/Bg_tab_fill_1x100.png); /* faded vertical background */
}

/* Pasted code */

pre, .mw-code {
    border: 1px dashed #328639;
}

.javascript.source-javascript,
.php.source-php,
.css.source-css,
pre, 
code, 
tt, 
kbd, 
samp, 
.mw-code  {
	font-family: Arial,Helvetica,sans-serif !important;
}

/* Lists */

ul {
	list-style-image: url(http://manual.limesurvey.org/images/5/58/Bg_list_item_green_5x13.png);
}

/* Alert comment ....*/
.simplebox{
background-color:#f1f1f1; padding: 6px 12px;color: #444;text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.warning{
font-size:inherit;
color:#E0A21B;
}
.boxed{
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}
.warningbox{
  float:none;
  font-size: inherit;
}
.boxed{
  display:block;
  overflow:auto;
  background: #f1f1f1;
  border: 1px solid #ddd;
  color: #222;
  margin:0 2em 1.5em;
  padding: 0.5em 1em;
}

.warningbox{
  margin:0 3em;
  background-color:#FCF8E3;
  border-color:#FBEED5;
  color:#333;
}
.error{
  color:#B94A48;
  font-size:inherit;
}
.alert{
  color:#E0A21B;
  font-size:inherit;
}
.success{
  color:#468847;
  font-size:inherit;
}
.boxed.alert{
  background-color:#FCF8E3;
  border-color:#FBEED5;
  color:#222;
}
.boxed.error{
  background-color:#F2DEDE;
  border-color:#EED3D7;
}
.boxed.success{
    background-color: #DFF0D8;
    border-color: #D6E9C6;
}