//some basic definitions
//html-elements only. no classes
@mixin background-radial-gradient($figure, $type, $position_x, $position_y, $color_1, $color_2, $color_3){
//there is a built-in compass radial-gradient function, but it does not provide enough compatibility, so need to imitate it
//it also has an option $experimental-support-for-svg which should generate correct svg for IE, but it works incorrect, so
//fixing it
//issue id - https://github.com/chriseppstein/compass/issues/1225
background-color: $color_1;
//final w3c
background: radial-gradient(
$type $figure at $position_x $position_y,
$color_1,
$color_2,
$color_3
),
url("../img/bgnoise_lg_dark.png");
//webkit-specific
background: -webkit-radial-gradient(
$position_x $position_y, $type $figure,
$color_1,
$color_2,
$color_3
),
url("../img/bgnoise_lg_dark.png");
//moz-specific
background: -moz-radial-gradient(
$position_x $position_y, $type $figure,
$color_1,
$color_2,
$color_3
),
url("../img/bgnoise_lg_dark.png");
}
html{
min-height: 100%;
}
body{
font-weight: $font-weight-base;
padding-bottom: 100px;
background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHJhZGlhbEdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjEwJSIgY3k9IjAiIHI9IjEwMCUiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9InJnYmEoNzQsIDEyMSwgMTQ3LCAwLjg5KSIvPjxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSJyZ2JhKDIyNiwgMjI2LCAyMjYsIDAuODcpIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSJyZ2JhKDE4NSwgMTM1LCAxMzEsIDAuODcpIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4="), url("../img/bgnoise_lg_dark.png");
@include background-radial-gradient(ellipse, farthest-side, 10%, 0,
rgba(74, 121, 147, 0.89),
rgba(226, 226, 226, 0.87),
rgba(185, 135, 131, 0.87)
);
&.background-dark{
background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHJhZGlhbEdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjEwJSIgY3k9IjAiIHI9IjEwMCUiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9InJnYmEoMTkzLCAxNzksIDEzMiwgMC44NykiLz48c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0icmdiYSgxODQsIDE1OCwgMTExLCAwLjg4KSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0icmdiYSgxNTcsIDEzNCwgOTUsIDAuODgpIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4="), url("../img/bgnoise_lg_dark.png");
@include background-radial-gradient(ellipse, farthest-side, 10%, 0,
rgba(193, 179, 132, 0.87),
rgba(184, 158, 111, 0.88),
rgba(157, 134, 95, 0.88)
);
}
}
#{headings()} {
@include bold-font;
small{
color: $smallsColor;
font-weight: $font-weight-base;
}
}
input[type=search], input.search {
padding-left: 26px;
background-color: $input-bg;
background:url(../img/search.png) 5px 5px no-repeat $input-bg;
&.input-transparent{
border: none;
background: url(../img/search.png) 5px 5px no-repeat $transparentBackground;
@include placeholder(rgba(#eee, .76));
}
}
ul ul,
ol ul{
list-style: none;
}
ul, ol{
list-style: none;
padding: 0;
}
//setting default iframe behaviour to border box
//so it behaves normally within .control-row
iframe{
@include box-sizing(border-box);
}
//opera is buggy? no chrome is buggy! really strange fix
fieldset{
width: 100%;
//Thanks to johan@holmweb.se for that fix
min-width: 0;
}
form{
margin-bottom: 0;
}
a{
@include transition(color .2s);
}
.btn{
@include transition(background-color .2s);
}