starting to convert style from less to sass
This commit is contained in:
parent
9dfbaeb05a
commit
42940e2cff
4
.directory
Normal file
4
.directory
Normal file
@ -0,0 +1,4 @@
|
||||
[Dolphin]
|
||||
Timestamp=2015,4,27,11,15,6
|
||||
Version=3
|
||||
ViewMode=2
|
BIN
materio_base_d7-updated.sql
Normal file
BIN
materio_base_d7-updated.sql
Normal file
Binary file not shown.
4
sites/all/.directory
Normal file
4
sites/all/.directory
Normal file
@ -0,0 +1,4 @@
|
||||
[Dolphin]
|
||||
Timestamp=2015,4,27,12,4,40
|
||||
Version=3
|
||||
ViewMode=2
|
4
sites/all/themes/gui/materiobasetheme/.directory
Normal file
4
sites/all/themes/gui/materiobasetheme/.directory
Normal file
@ -0,0 +1,4 @@
|
||||
[Dolphin]
|
||||
Timestamp=2015,4,27,12,4,51
|
||||
Version=3
|
||||
ViewMode=1
|
4183
sites/all/themes/gui/materiobasetheme/components/bootstrap/css/bootstrap.css
vendored
Normal file
4183
sites/all/themes/gui/materiobasetheme/components/bootstrap/css/bootstrap.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,29 @@
|
||||
.media,
|
||||
.media-body {
|
||||
overflow: hidden;
|
||||
*overflow: visible;
|
||||
zoom: 1;
|
||||
}
|
||||
.media,
|
||||
.media .media {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.media:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.media-object {
|
||||
display: block;
|
||||
}
|
||||
.media-heading {
|
||||
margin: 0 0 5px;
|
||||
}
|
||||
.media > .pull-left {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.media > .pull-right {
|
||||
margin-left: 10px;
|
||||
}
|
||||
.media-list {
|
||||
margin-left: 0;
|
||||
list-style: none;
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
@-ms-viewport {
|
||||
width: device-width;
|
||||
}
|
||||
.hidden {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
.visible-phone {
|
||||
display: none !important;
|
||||
}
|
||||
.visible-tablet {
|
||||
display: none !important;
|
||||
}
|
||||
.hidden-desktop {
|
||||
display: none !important;
|
||||
}
|
||||
.visible-desktop {
|
||||
display: inherit !important;
|
||||
}
|
||||
@media (min-width: 768px) and (max-width: 979px) {
|
||||
.hidden-desktop {
|
||||
display: inherit !important;
|
||||
}
|
||||
.visible-desktop {
|
||||
display: none !important ;
|
||||
}
|
||||
.visible-tablet {
|
||||
display: inherit !important;
|
||||
}
|
||||
.hidden-tablet {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.hidden-desktop {
|
||||
display: inherit !important;
|
||||
}
|
||||
.visible-desktop {
|
||||
display: none !important;
|
||||
}
|
||||
.visible-phone {
|
||||
display: inherit !important;
|
||||
}
|
||||
.hidden-phone {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
.visible-print {
|
||||
display: none !important;
|
||||
}
|
||||
@media print {
|
||||
.visible-print {
|
||||
display: inherit !important;
|
||||
}
|
||||
.hidden-print {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,18 @@
|
||||
.pull-right {
|
||||
float: right;
|
||||
}
|
||||
.pull-left {
|
||||
float: left;
|
||||
}
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
.show {
|
||||
display: block;
|
||||
}
|
||||
.invisible {
|
||||
visibility: hidden;
|
||||
}
|
||||
.affix {
|
||||
position: fixed;
|
||||
}
|
368
sites/all/themes/gui/materiobasetheme/js/gui.js
Normal file
368
sites/all/themes/gui/materiobasetheme/js/gui.js
Normal file
File diff suppressed because one or more lines are too long
@ -0,0 +1,25 @@
|
||||
|
||||
.ubuntu(){font-family: "Ubuntu", Arial, "MS Trebuchet", sans-serif; .500; .normal;}
|
||||
|
||||
body{font-size:16px; .ubuntu; line-height:1.3;}
|
||||
|
||||
a{color: #007BC2; text-decoration: none;}
|
||||
|
||||
h1{font-size:1.6em;}
|
||||
h2{font-size:1.5em;}
|
||||
h3{font-size:1.4em;}
|
||||
h4{font-size:1.3em;}
|
||||
h5{font-size:1.2em;}
|
||||
h6{font-size:1.1em;}
|
||||
|
||||
input, button, select, textarea{.ubuntu();}
|
||||
|
||||
.22(){
|
||||
font-size:22px;
|
||||
}
|
||||
|
||||
#footer{
|
||||
#footer-bottom{ text-align: center;}
|
||||
#footer-bottom .block{ .8;}
|
||||
|
||||
}
|
592
sites/all/themes/gui/materiobasetheme/less/old-less/gui.less
Normal file
592
sites/all/themes/gui/materiobasetheme/less/old-less/gui.less
Normal file
@ -0,0 +1,592 @@
|
||||
/*
|
||||
* www.g-u-i.net
|
||||
*/
|
||||
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// ===== TYPOGRAHIE ======================================================================================================
|
||||
|
||||
.8(){font-size:8px;}
|
||||
.9(){font-size:9px;}
|
||||
.10(){font-size:10px;}
|
||||
.11(){font-size:10px;}
|
||||
.12(){font-size:12px;}
|
||||
.14(){font-size:14px;}
|
||||
.16(){font-size:16px;}
|
||||
.18(){font-size:18px;}
|
||||
.20(){font-size:20px;}
|
||||
.24(){font-size:24px;}
|
||||
.28(){font-size:24px;}
|
||||
.30(){font-size:30px;}
|
||||
.36(){font-size:36px;}
|
||||
.48(){font-size:48px;}
|
||||
.60(){font-size:60px;}
|
||||
.72(){font-size:72px;}
|
||||
|
||||
.regular(){font-weight:normal;}
|
||||
.bold(){font-weight:bold;}
|
||||
.100(){font-weight:100;}
|
||||
.200(){font-weight:200;}
|
||||
.300(){font-weight:300;}
|
||||
.400(){font-weight:400;}
|
||||
.500(){font-weight:500;}
|
||||
.600(){font-weight:600;}
|
||||
.700(){font-weight:700;}
|
||||
.800(){font-weight:800;}
|
||||
.900(){font-weight:900;}
|
||||
|
||||
.upper(){text-transform: uppercase;}
|
||||
.italic(){font-style:italic;}
|
||||
.normal(){font-style: normal;}
|
||||
|
||||
.hyphens(@value: auto)
|
||||
{
|
||||
-webkit-hyphens:@value;
|
||||
-moz-hyphens:@value;
|
||||
-ms-hyphens:@value;
|
||||
-o-hyphens:@value;
|
||||
hyphens:@value;
|
||||
}
|
||||
.font-size(@value: 1em,@lineheight:1.3em)
|
||||
{
|
||||
font-size:@value;
|
||||
line-height:@lineheight;
|
||||
}
|
||||
|
||||
@green:#17942A;
|
||||
@red:#E60000;
|
||||
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// ===== SHORTCUTS =======================================================================================================
|
||||
|
||||
// padding
|
||||
.p(@p){ padding:@arguments; }
|
||||
.p(@v, @h){ padding:@arguments; }
|
||||
.p(@t, @l, @b, @l){ padding:@arguments; }
|
||||
|
||||
.pt(@p){ padding-top:@p; }
|
||||
.pr(@p){ padding-right:@p; }
|
||||
.pb(@p){ padding-bottom:@p; }
|
||||
.pl(@p){ padding-left:@p; }
|
||||
|
||||
// margin
|
||||
.m(@p){ margin:@arguments; }
|
||||
.m(@v, @h){ margin:@arguments; }
|
||||
.m(@t, @l, @b, @l){ margin:@arguments; }
|
||||
|
||||
.mt(@m){ margin-top:@m; }
|
||||
.mr(@m){ margin-right:@m; }
|
||||
.mb(@m){ margin-bottom:@m; }
|
||||
.ml(@m){ margin-left:@m; }
|
||||
|
||||
.0(){ margin:0; padding:0; }
|
||||
|
||||
// border
|
||||
.b(@b){ border: @b; }
|
||||
.b(@size, @color){ border: @size solid @color; }
|
||||
|
||||
.bt(@b){ border-top: @b;}
|
||||
.bt(@size, @color){border-top: @size solid @color;}
|
||||
|
||||
.br(@b){ border-right: @b;}
|
||||
.br(@size, @color){border-right: @size solid @color;}
|
||||
|
||||
.bb(@b){ border-bottom: @b;}
|
||||
.bb(@size, @color){border-bottom: @size solid @color;}
|
||||
|
||||
.bl(@b){ border-left: @b;}
|
||||
.bl(@size, @color){border-left: @size solid @color;}
|
||||
|
||||
.bordered(@top-color: #EEE, @right-color: #EEE, @bottom-color: #EEE, @left-color: #EEE)
|
||||
{
|
||||
border-top : solid 1px @top-color;
|
||||
border-right : solid 1px @right-color;
|
||||
border-bottom: solid 1px @bottom-color;
|
||||
border-left : solid 1px @left-color;
|
||||
}
|
||||
|
||||
// Background
|
||||
.bg(@color, @url, @repeat, @scrollfixed, @pos){background: @arguments;}
|
||||
.bgc(@color){background-color: @arguments;}
|
||||
.bkgd(@params){background: @arguments;}
|
||||
.bkgdc(@color){.bgc(@arguments);}
|
||||
|
||||
.bgca(@r, @g, @b, @a){
|
||||
background-color: rgb(@r, @g, @b); // ie8
|
||||
background-color: rgba(@r, @g, @b, @a);
|
||||
*background-color: rgb(@r, @g, @b); // ie7
|
||||
};
|
||||
|
||||
// Selection
|
||||
.selection(@bgcolor,@color)
|
||||
{
|
||||
&::selection {
|
||||
background:@bgcolor;
|
||||
color:@color;
|
||||
}
|
||||
&::-moz-selection {
|
||||
background:@bgcolor;
|
||||
color:@color;
|
||||
}
|
||||
&::-webkit-selection {
|
||||
background:@bgcolor;
|
||||
color:@color;
|
||||
}
|
||||
}
|
||||
|
||||
// Colors
|
||||
.color(@value)
|
||||
{
|
||||
&,
|
||||
& *{color:@value;}
|
||||
}
|
||||
|
||||
// Opacity
|
||||
.opacity(@opacity: 0.5)
|
||||
{
|
||||
-webkit-opacity: @opacity;
|
||||
-khtml-opacity: @opacity;
|
||||
-moz-opacity: @opacity;
|
||||
opacity: @opacity;
|
||||
}
|
||||
|
||||
// size
|
||||
.size(@height, @width) {
|
||||
width: @width;
|
||||
height: @height;
|
||||
}
|
||||
.square(@size) {
|
||||
.size(@size, @size);
|
||||
}
|
||||
|
||||
// center
|
||||
.center-block() {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// ===== DISPLAY UTILS ===================================================================================================
|
||||
|
||||
// Inline blocks
|
||||
.inlineblock(@align:top)
|
||||
{
|
||||
display:moz-inline-stack;
|
||||
display:inline-block;
|
||||
vertical-align:@align;
|
||||
zoom:1;
|
||||
*display:inline;
|
||||
// .ie7 &, .ie8 &{display:block;float:left;}
|
||||
}
|
||||
|
||||
.db(){display:block;}
|
||||
.dbn(){display:none;}
|
||||
.dib(){.inlineblock;}
|
||||
.dib(@align){.inlineblock(@align);}
|
||||
|
||||
.float(@align:left){
|
||||
.db; float:@align;
|
||||
}
|
||||
|
||||
.abs(@value) { position:absolute; top:@value; left:@value; bottom:@value; right:@value; }
|
||||
.abs(@top, @left) { position:absolute; top:@top; left:@left; }
|
||||
.abs(@top, @right, @bottom, @left) { position:absolute; top:@top; left:@left; bottom:@bottom; right:@right; };
|
||||
|
||||
.fix(@value) { position:fixed; top:@value; left:@value; bottom:@value; right:@value; }
|
||||
.fix(@top, @left) { position:fixed; top:@top; left:@left; }
|
||||
.fix(@top, @right, @bottom, @left) { position:fixed; top:@top; left:@left; bottom:@bottom; right:@right; };
|
||||
|
||||
// Columns system
|
||||
@g:0;
|
||||
.g() { width:@g; }
|
||||
.col(@col,@coltotal:@n,@gutter:@g) {
|
||||
width: @col * ( 100% - ((@coltotal - 1) * @gutter) ) / @coltotal + ((@col - 1) * @gutter);
|
||||
}
|
||||
.inside-left(@col,@coltotal:@n,@gutter:@g) {
|
||||
padding-left: @col * ( 100% - ((@coltotal - 1) * @gutter) ) / @coltotal + (@col * @gutter);
|
||||
}
|
||||
.inside-right(@col,@coltotal:@n,@gutter:@g) {
|
||||
padding-right: @col * ( 100% - ((@coltotal - 1) * @gutter) ) / @coltotal + (@col * @gutter);
|
||||
}
|
||||
|
||||
|
||||
// Vertical alignement
|
||||
//
|
||||
// ___ .align-child()
|
||||
// |
|
||||
// | Permet l’alignement vertical d’un objet par rapport à son premier parent (dans son conteneur direct).
|
||||
// |
|
||||
// | 1 param : @vertical-align
|
||||
//
|
||||
.align-child(@align:middle){
|
||||
&:before { content: ""; .dib(middle); overflow: hidden; visibility: hidden; width: 0; height: 100%; }
|
||||
& > * { .dib(@align); }
|
||||
}
|
||||
|
||||
.clear-after(){
|
||||
&:after{clear:both;content:'';display:block;height:0px;overflow:hidden;visibility:hidden;width:0px;}
|
||||
}
|
||||
|
||||
// For clearing floats like a boss h5bp.com/q
|
||||
.clearix() {
|
||||
*zoom: 1;
|
||||
&:before,
|
||||
&:after {
|
||||
display: table;
|
||||
content: "";
|
||||
// Fixes Opera/contenteditable bug:
|
||||
// http://nicolasgallagher.com/micro-clearfix-hack/#comment-36952
|
||||
line-height: 0;
|
||||
}
|
||||
&:after {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// ===== CSS3 ============================================================================================================
|
||||
|
||||
// Gradients
|
||||
.gradient(@color: #F5F5F5, @start: #EEE, @stop: #FFF)
|
||||
{
|
||||
background: @color;
|
||||
background: -webkit-gradient(linear,
|
||||
left bottom,
|
||||
left top,
|
||||
color-stop(0, @start),
|
||||
color-stop(1, @stop));
|
||||
background: -ms-linear-gradient(bottom,
|
||||
@start,
|
||||
@stop);
|
||||
background: -moz-linear-gradient(center bottom,
|
||||
@start 0%,
|
||||
@stop 100%);
|
||||
}
|
||||
.bw-gradient(@color: #F5F5F5, @start: 0, @stop: 255)
|
||||
{
|
||||
background: @color;
|
||||
background: -webkit-gradient(linear,
|
||||
left bottom,
|
||||
left top,
|
||||
color-stop(0, rgb(@start,@start,@start)),
|
||||
color-stop(1, rgb(@stop,@stop,@stop)));
|
||||
background: -ms-linear-gradient(bottom,
|
||||
rgb(@start,@start,@start) 0%,
|
||||
rgb(@start,@start,@start) 100%);
|
||||
background: -moz-linear-gradient(center bottom,
|
||||
rgb(@start,@start,@start) 0%,
|
||||
rgb(@stop,@stop,@stop) 100%);
|
||||
}
|
||||
|
||||
// Shadows
|
||||
//
|
||||
// ___ .box-shadow()
|
||||
// |
|
||||
// | Ombré extérieur.
|
||||
// |
|
||||
// | 1 param : @blur
|
||||
// | 2+ params : @horizontal / @vertical / @blur / @color: #000 / @spread: 0px
|
||||
//
|
||||
// ___ .inset-shadow()
|
||||
// |
|
||||
// | Ombré intérieur.
|
||||
// |
|
||||
// | 1 param : @blur
|
||||
// | 2+ params : @horizontal / @vertical / @blur / @color: #000 / @spread: 0px
|
||||
//
|
||||
.box-shadow(@blur: 9px)
|
||||
{
|
||||
filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000');
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000')";
|
||||
-webkit-box-shadow: 0 0 @blur #000;
|
||||
-moz-box-shadow: 0 0 @blur #000;
|
||||
-ms-box-shadow: 0 0 @blur #000;
|
||||
box-shadow: 0 0 @blur #000;
|
||||
}
|
||||
.box-shadow(@x, @y, @blur: 9px, @color: #000, @spread: 0px)
|
||||
{
|
||||
filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=@x, OffY=@y, Color=~'@{color}');
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=@{x}, OffY=@{y}, Color='@{color}')";
|
||||
-webkit-box-shadow: @x @y @blur @spread @color;
|
||||
-moz-box-shadow: @x @y @blur @spread @color;
|
||||
-ms-box-shadow: @x @y @blur @spread @color;
|
||||
box-shadow: @x @y @blur @spread @color;
|
||||
}
|
||||
.inset-shadow(@blur: 9px)
|
||||
{
|
||||
filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000');
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000')";
|
||||
-webkit-box-shadow: 0 0 @blur #000 inset;
|
||||
-moz-box-shadow: 0 0 @blur #000 inset;
|
||||
-ms-box-shadow: 0 0 @blur #000 inset;
|
||||
box-shadow: 0 0 @blur #000 inset;
|
||||
}
|
||||
.inset-shadow(@x, @y, @blur: 9px, @color: #000, @spread: 0px)
|
||||
{
|
||||
filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=@x, OffY=@y, Color=~'@{color}');
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='@{color}')";
|
||||
-webkit-box-shadow: @x @y @blur @spread @color inset;
|
||||
-moz-box-shadow: @x @y @blur @spread @color inset;
|
||||
-ms-box-shadow: @x @y @blur @spread @color inset;
|
||||
box-shadow: @x @y @blur @spread @color inset;
|
||||
}
|
||||
|
||||
.drop-shadow(@x-axis: 0, @y-axis: 1px, @blur: 2px, @alpha: 0.1)
|
||||
{
|
||||
-webkit-box-shadow: @x-axis @y-axis @blur rgba(0, 0, 0, @alpha);
|
||||
-moz-box-shadow: @x-axis @y-axis @blur rgba(0, 0, 0, @alpha);
|
||||
box-shadow: @x-axis @y-axis @blur rgba(0, 0, 0, @alpha);
|
||||
}
|
||||
|
||||
// Border radius
|
||||
.rounded(@radius: 2px)
|
||||
{
|
||||
-webkit-border-radius: @radius;
|
||||
-moz-border-radius: @radius;
|
||||
border-radius: @radius;
|
||||
-webkit-background-clip: padding-box;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
.border-radius(@topleft: 0, @topright: 0, @bottomright: 0, @bottomleft: 0)
|
||||
{
|
||||
-webkit-border-radius:@arguments;
|
||||
-moz-border-radius:@arguments;
|
||||
border-radius:@arguments;
|
||||
-webkit-background-clip: padding-box;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
// transitions
|
||||
.transition-simply-prefix(@string) {
|
||||
-webkit-transition: @string;
|
||||
-moz-transition: @string;
|
||||
-o-transition: @string;
|
||||
transition: @string;
|
||||
}
|
||||
|
||||
//
|
||||
// ___ .transition()
|
||||
// |
|
||||
// | 1 param : @property
|
||||
// | 2 params : @property / @duration
|
||||
// | 3+ params : @property / @duration / @transitiondelay:0s , @timingfunction:ease-out
|
||||
//
|
||||
// ___ .transitions()
|
||||
// |
|
||||
// | Permet de fixer des paramètres spécifique par propriétés, exemple:
|
||||
// |
|
||||
// | .transitions(
|
||||
// | 'height , padding , margin , box-shadow',
|
||||
// | '.5s , .2s , .2s , .2s',
|
||||
// | '0s , 0s , 0s , .3s',
|
||||
// | 'linear , ease-out , linear , ease-out'
|
||||
// | );
|
||||
//
|
||||
.transition(@property: all)
|
||||
{
|
||||
-webkit-transition: @property;
|
||||
-moz-transition: @property;
|
||||
-o-transition: @property;
|
||||
transition: @property;
|
||||
}
|
||||
.transition(@property, @duration)
|
||||
{
|
||||
-webkit-transition: @arguments;
|
||||
-moz-transition: @arguments;
|
||||
-o-transition: @arguments;
|
||||
transition: @arguments;
|
||||
}
|
||||
.transition(@property, @duration, @transitiondelay, @timingfunction:ease-out)
|
||||
{
|
||||
-webkit-transition: @arguments;
|
||||
-moz-transition: @arguments;
|
||||
-o-transition: @arguments;
|
||||
transition: @arguments;
|
||||
}
|
||||
.transitions(@property: all, @duration:0s, @transitiondelay:0s, @timingfunction:ease-out)
|
||||
{
|
||||
-webkit-transition-property :~'@{property}';
|
||||
-webkit-transition-duration :~'@{duration}';
|
||||
-webkit-transition-delay :~'@{transitiondelay}';
|
||||
-webkit-transition-timing-function:~'@{timingfunction}';
|
||||
-moz-transition-property :~'@{property}';
|
||||
-moz-transition-duration :~'@{duration}';
|
||||
-moz-transition-delay :~'@{transitiondelay}';
|
||||
-moz-transition-timing-function:~'@{timingfunction}';
|
||||
-o-transition-property :~'@{property}';
|
||||
-o-transition-duration :~'@{duration}';
|
||||
-o-transition-delay :~'@{transitiondelay}';
|
||||
-o-transition-timing-function:~'@{timingfunction}';
|
||||
transition-property :~'@{property}';
|
||||
transition-duration :~'@{duration}';
|
||||
transition-delay :~'@{transitiondelay}';
|
||||
transition-timing-function:~'@{timingfunction}';
|
||||
}
|
||||
|
||||
.transitions-duration(@duration: 0s)
|
||||
{
|
||||
-webkit-transition-duration: ~'@{duration}';
|
||||
-moz-transition-duration: ~'@{duration}';
|
||||
-o-transition-duration: ~'@{duration}';
|
||||
transition-duration: ~'@{duration}';
|
||||
}
|
||||
|
||||
.transition-duration(@duration: 0.2s)
|
||||
{
|
||||
-webkit-transition-duration: @duration;
|
||||
-moz-transition-duration: @duration;
|
||||
-o-transition-duration: @duration;
|
||||
transition-duration: @duration;
|
||||
}
|
||||
|
||||
.transitions-delay(@delay: 0s)
|
||||
{
|
||||
-webkit-transition-delay: ~'@{delay}';
|
||||
-moz-transition-delay: ~'@{delay}';
|
||||
-o-transition-delay: ~'@{delay}';
|
||||
transition-delay: ~'@{delay}';
|
||||
}
|
||||
|
||||
// Rotate
|
||||
//
|
||||
// ___ .rotation()
|
||||
// |
|
||||
// | 1 param : @degree
|
||||
//
|
||||
// ___ .rotate()
|
||||
// |
|
||||
// | Tentative de compatibilté étendue (fonctionne uniquement pour 0, 90, 180 ou 270 degrés).
|
||||
// |
|
||||
// | 1 param : @degree
|
||||
// | 3 params : @degree / @originX / @originY
|
||||
//
|
||||
.rotation(@deg:5deg)
|
||||
{
|
||||
-webkit-transform: rotate(@deg);
|
||||
-moz-transform: rotate(@deg);
|
||||
transform: rotate(@deg);
|
||||
}
|
||||
.rotate(@value, @originX:0%, @originY:0%, @unit:'deg')
|
||||
{
|
||||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation = (360 / @value) + 1); //0, 1, 2, or 3 rotate 0, 90, 180 or 270
|
||||
-webkit-transform: rotate(~"@{value}@{unit}"); // ~"@{value}@{unit}" rather than @value@unit remove the spaces between value and unit.
|
||||
-moz-transform: rotate(~"@{value}@{unit}");
|
||||
-ms-transform: rotate(~"@{value}@{unit}");
|
||||
-o-transform: rotate(~"@{value}@{unit}");
|
||||
transform: rotate(~"@{value}@{unit}");
|
||||
-webkit-transform-origin:@originX @originY;
|
||||
-moz-transform-origin:@originX @originY;
|
||||
-ms-transform-origin:@originX @originY;
|
||||
-o-transform-origin:@originX @originY;
|
||||
transform-origin:@originX @originY;
|
||||
}
|
||||
|
||||
// Scale
|
||||
.scale(@ratio:1.5)
|
||||
{
|
||||
-webkit-transform:scale(@ratio);
|
||||
-moz-transform:scale(@ratio);
|
||||
transform:scale(@ratio);
|
||||
}
|
||||
|
||||
// Translate
|
||||
.translate(@x:0, @y:0)
|
||||
{
|
||||
-webkit-transform: translate(@x, @y);
|
||||
-moz-transform: translate(@x, @y);
|
||||
-ms-transform: translate(@x, @y);
|
||||
-o-transform: translate(@x, @y);
|
||||
transform: translate(@x, @y);
|
||||
}
|
||||
|
||||
// Columns
|
||||
.columns(@colwidth: 250px, @colcount: 0, @colgap: 50px, @columnRuleColor: #EEE, @columnRuleStyle: solid, @columnRuleWidth: 1px)
|
||||
{
|
||||
-webkit-column-width : @colwidth;
|
||||
-webkit-column-count : @colcount;
|
||||
-webkit-column-gap : @colgap;
|
||||
-webkit-column-rule-color: @columnRuleColor;
|
||||
-webkit-column-rule-style: @columnRuleStyle;
|
||||
-webkit-column-rule-width: @columnRuleWidth;
|
||||
-moz-column-width : @colwidth;
|
||||
-moz-column-count : @colcount;
|
||||
-moz-column-gap : @colgap;
|
||||
-moz-column-rule-color: @columnRuleColor;
|
||||
-moz-column-rule-style: @columnRuleStyle;
|
||||
-moz-column-rule-width: @columnRuleWidth;
|
||||
column-width : @colwidth;
|
||||
column-count : @colcount;
|
||||
column-gap : @colgap;
|
||||
column-rule-color: @columnRuleColor;
|
||||
column-rule-style: @columnRuleStyle;
|
||||
column-rule-width: @columnRuleWidth;
|
||||
}
|
||||
|
||||
.edit-link(@bc:#CCFF2F,@c:#333)
|
||||
{
|
||||
.dib;
|
||||
background-color:@bc;
|
||||
border:1px solid;
|
||||
border-color:darken(desaturate(@bc, 35%),15%) darken(desaturate(@bc, 35%),15%) darken(desaturate(@bc, 35%),20%);
|
||||
.rounded;
|
||||
color: @c;
|
||||
cursor: pointer;
|
||||
.font-size(.8em,1em);
|
||||
font-weight: normal;
|
||||
padding: 0.25em 0.75em;
|
||||
margin-top:.5em;
|
||||
|
||||
&:hover{background-color:darken(@bc, 20%);}
|
||||
&:active{
|
||||
text-shadow: 0 1px 0 lighten(@bc,5%);
|
||||
background-color:darken(@bc, 20%);
|
||||
//.inset-shadow(0,0,2px,darken(@bc,60));
|
||||
}
|
||||
}
|
||||
|
||||
.loader(@fc:#000,@bc:#ccc,@h:8px,@radius:0px)
|
||||
{
|
||||
// Safari/chrome
|
||||
&::-webkit-progress-bar{background-color:@bc;.rounded(@radius);}
|
||||
&::-webkit-progress-value{background-color:@fc;.rounded(@radius);}
|
||||
// Firefox
|
||||
&{background-color:@bc;.rounded(@radius);height:@h;}
|
||||
&::-moz-progress-bar{background-color:@fc;.rounded(@radius);}
|
||||
}
|
||||
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// ===== RETINA ==========================================================================================================
|
||||
|
||||
// retina.less
|
||||
// A helper mixin for applying high-resolution background images (http://www.retinajs.com)
|
||||
.at2x(@path, @w: auto, @h: auto) {
|
||||
background-image: url(@path);
|
||||
@at2x_path: ~`"@{path}".split('.').slice(0, "@{path}".split('.').length - 1).join(".") + "@2x" + "." + "@{path}".split('.')["@{path}".split('.').length - 1]`;
|
||||
|
||||
@media all and (-webkit-min-device-pixel-ratio : 1.5) {
|
||||
background-image: url(@at2x_path);
|
||||
background-size: @w @h;
|
||||
}
|
||||
}
|
101
sites/all/themes/gui/materiobasetheme/less/old-less/layout.less
Normal file
101
sites/all/themes/gui/materiobasetheme/less/old-less/layout.less
Normal file
@ -0,0 +1,101 @@
|
||||
|
||||
/** RESPONSIVE break points */
|
||||
|
||||
@max-480 : ~"screen and (max-width: 479px)";
|
||||
@min-480 : ~"screen and (min-width: 480px)";
|
||||
|
||||
@480-768 : ~"screen and (min-width: 480px) and (max-width: 767px)";
|
||||
|
||||
@max-768 : ~"screen and (max-width: 767px)";
|
||||
@min-768 : ~"screen and (min-width: 768px)";
|
||||
|
||||
@768-980 : ~"screen and (min-width: 768px) and (max-width: 979px)";
|
||||
|
||||
@max-980 : ~"screen and (max-width: 979px)";
|
||||
@min-980 : ~"screen and (min-width: 980px)";
|
||||
|
||||
@980-1200 : ~"screen and (min-width: 980px) and (max-width: 1199px)";
|
||||
|
||||
@max-1200 : ~"screen and (max-width: 1199px)";
|
||||
@min-1200 : ~"screen and (min-width: 1200px)";
|
||||
|
||||
|
||||
html, body{
|
||||
// position:relative;
|
||||
// overflow:hidden;
|
||||
// width:100%;
|
||||
// height:100%;
|
||||
}
|
||||
body{
|
||||
overflow-y:scroll; top:0;
|
||||
}
|
||||
|
||||
@rootminwidth : 320px;
|
||||
|
||||
/** NIVEAU 0 */
|
||||
#root{
|
||||
min-width:@rootminwidth;
|
||||
|
||||
.ie8 &{min-width:1024px;}
|
||||
}
|
||||
|
||||
/** NIVEAU 1 */
|
||||
#container{ margin:0 auto; position:relative; .transition(padding-top, 0.5s, ease-out);}
|
||||
|
||||
/** NIVEAU 2 */
|
||||
.padded(){ @p:2%; width:100%-2*@p; padding-left:@p; padding-right:@p; }
|
||||
|
||||
@header-z-index:1000;
|
||||
#header{
|
||||
@media @min-768{
|
||||
position:fixed; top:0; margin:0 auto; .bgc(#fff); min-width:@rootminwidth*0.97;
|
||||
}
|
||||
z-index:@header-z-index;
|
||||
.padded;
|
||||
.editmenu-enabled &{ .mt(30px); }
|
||||
.admin-menu &{ .mt(35px); }
|
||||
}
|
||||
|
||||
#utilities{
|
||||
@media @min-768{
|
||||
html.no-touch &{
|
||||
position:fixed; top:0; margin:0 auto; min-width:@rootminwidth*0.97;
|
||||
.mt(60px);
|
||||
}
|
||||
html.no-touch .editmenu-enabled &{ .mt(80px); }
|
||||
html.no-touch .admin-menu &{ .mt(85px); }
|
||||
}
|
||||
@media @max-768{
|
||||
>.region{.pt(5px); .pb(5px);}
|
||||
}
|
||||
z-index:999;
|
||||
.bgc(#fff);
|
||||
.padded;
|
||||
|
||||
}
|
||||
|
||||
#main{.padded; overflow-x:hidden;}
|
||||
|
||||
#footer{.padded;}
|
||||
|
||||
/** NIVEAU 3 */
|
||||
|
||||
.js #content-top{}
|
||||
|
||||
// .js #content{ overflow-y:hidden; }
|
||||
|
||||
|
||||
// #container, #header-blocks, #center{.transition(width, 0.5s, ease-out); }
|
||||
|
||||
|
||||
.footer-block .region, .header-block{ .inlineblock();}
|
||||
|
||||
/** NIVEAU 4 */
|
||||
#center{ padding:5px; }
|
||||
|
||||
/** Z-INDEX */
|
||||
#block-feedback-form{z-index:1001;}
|
||||
#admin-menu{z-index:1002;}
|
||||
#admin-toolbar{z-index:1003;}
|
||||
|
||||
|
240
sites/all/themes/gui/materiobasetheme/less/old-less/misc.less
Normal file
240
sites/all/themes/gui/materiobasetheme/less/old-less/misc.less
Normal file
@ -0,0 +1,240 @@
|
||||
|
||||
//** Messages. */
|
||||
.messages(){
|
||||
padding: 9px;
|
||||
margin: 0.5em 0 0;
|
||||
color: #3a87ad;//#360;
|
||||
background: #d9edf7;//#cf8;
|
||||
border: 1px solid #bce8f1;//#be7;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
.12;
|
||||
|
||||
&.warning {
|
||||
color: #c09853;//#840;
|
||||
background-color: #fcf8e3;//#fe6;
|
||||
border-color: #fbeed5;//#ed5;
|
||||
}
|
||||
|
||||
&.error {
|
||||
color: #b94a48;//#fff;
|
||||
background-color: #f2dede;//#e63;
|
||||
border-color: #eed3d7;//#d52;
|
||||
}
|
||||
|
||||
|
||||
&.status {
|
||||
color: #468847;//#036;
|
||||
background-color: #dff0d8;//#bdf;
|
||||
border-color:#d6e9c6;//#ace;
|
||||
.14;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
div.messages { .messages();}
|
||||
|
||||
.messages-label{display:none;}
|
||||
|
||||
#better-messages-wrapper{
|
||||
background-color: rgba(255,255,255,0.7); .p(10px); .rounded(5px); .drop-shadow(0, 0, 6px, 0.4);
|
||||
#better-messages-default{
|
||||
|
||||
div.messages{
|
||||
.messages(); margin:0 0 10px 0;
|
||||
}
|
||||
.footer{
|
||||
border:none; padding:0; margin:0;
|
||||
a.message-close{
|
||||
background: #fff url('../img/close.png') no-repeat center center;
|
||||
width:15px; height:15px; .rounded(3px); display:block;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** Tab navigation */
|
||||
|
||||
// .primary(){
|
||||
// font:13px/1.231 sans-serif; *font-size:small;
|
||||
// border-collapse: collapse;
|
||||
// padding: 0 0 0 1em; /* LTR */
|
||||
// white-space: nowrap;
|
||||
// list-style: none;
|
||||
// margin: 0;
|
||||
// height: auto;
|
||||
// line-height: normal;
|
||||
// border-bottom: 0 solid #bbb;
|
||||
|
||||
// li{
|
||||
// display: inline;
|
||||
|
||||
// a {
|
||||
// background-color: #ddd;
|
||||
// border-color: #bbb;
|
||||
// border-width: 1px;
|
||||
// border-style: solid solid none solid;
|
||||
// height: auto;
|
||||
// margin-right: 0.5em; /* LTR */
|
||||
// padding: 0 1em;
|
||||
// text-decoration: none;
|
||||
// -moz-border-radius: 5px;
|
||||
// -webkit-border-radius: 5px;
|
||||
// border-radius: 5px;
|
||||
|
||||
// &:hover{
|
||||
// background-color: #eee;
|
||||
// border-color: #ccc;
|
||||
// border-bottom-color: #eee;
|
||||
// }
|
||||
|
||||
// }
|
||||
|
||||
// &.active a {
|
||||
// background-color: #fff;
|
||||
// border: 1px solid #bbb;
|
||||
// border-bottom: #fff 1px solid;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// ul.primary, .views-admin-links ul { .primary(); }
|
||||
|
||||
// .secondary(){
|
||||
// border-bottom: 1px solid #bbb;
|
||||
// padding: 0.5em 1em;
|
||||
// margin: 5px;
|
||||
// li {
|
||||
// display: inline;
|
||||
// padding: 0 1em;
|
||||
// border-right: 1px solid #ccc; /* LTR */
|
||||
|
||||
// a {
|
||||
// padding: 0;
|
||||
// text-decoration: none;
|
||||
|
||||
// &.active {
|
||||
// border-bottom: 4px solid #999;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// ul.secondary { .secondary(); }
|
||||
|
||||
|
||||
/**
|
||||
* icons
|
||||
*/
|
||||
.icon(@w, @x, @y, @color : #fff){
|
||||
background-image: url('../img/sprite.png');
|
||||
width:@w; height:@w; line-height:@w;
|
||||
background-position: @x @y ;
|
||||
background-color: @color;
|
||||
}
|
||||
// [class^="icon-materio-viewmode-"], [class*=" icon-materio-viewmode-"]{
|
||||
// .icon(20px);
|
||||
// }
|
||||
|
||||
i.icon-materio-viewmode-cardsmall{
|
||||
.icon(20px, -42px, 0);
|
||||
&.active{.icon(21px, 0, 0); }
|
||||
&:hover:not(.active){.icon(21px, -21px, 0); }
|
||||
}
|
||||
i.icon-materio-viewmode-cardmedium{
|
||||
.icon(21px, -42px, -21px);
|
||||
&.active{.icon(21px, 0, -21px); }
|
||||
&:hover:not(.active){.icon(21px, -21px, -21px); }
|
||||
}
|
||||
i.icon-materio-viewmode-cardbig{
|
||||
.icon(21px, -42px, -42px);
|
||||
&.active{.icon(21px, 0, -42px); }
|
||||
&:hover:not(.active){.icon(21px, -21px, -42px); }
|
||||
}
|
||||
i.icon-materio-viewmode-cardfull{
|
||||
.icon(21px, -42px, -63px);
|
||||
&.active{.icon(21px, 0, -63px); }
|
||||
&:hover:not(.active){.icon(21px, -21px, -63px); }
|
||||
}
|
||||
|
||||
i.icon-materio-search{
|
||||
.icon(21px, -63px, -63px);
|
||||
}
|
||||
|
||||
i.icon-materio-folder{
|
||||
.icon(21px, -84px, -63px);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* figures
|
||||
*/
|
||||
|
||||
figure{
|
||||
figcaption{
|
||||
display:none;
|
||||
}
|
||||
.blank{ position:absolute; top:0; left:0; width:100%; height:100%;}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* ==|== print styles =======================================================
|
||||
Print styles.
|
||||
Inlined to avoid required HTTP connection: h5bp.com/r
|
||||
========================================================================== */
|
||||
|
||||
// @media print {
|
||||
// * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
|
||||
// a, a:visited { text-decoration: underline; }
|
||||
// a[href]:after { content: " (" attr(href) ")"; }
|
||||
// abbr[title]:after { content: " (" attr(title) ")"; }
|
||||
// .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
|
||||
// pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
||||
// thead { display: table-header-group; } /* h5bp.com/t */
|
||||
// tr, img { page-break-inside: avoid; }
|
||||
// img { max-width: 100% !important; }
|
||||
// @page { margin: 0.5cm; }
|
||||
// p, h2, h3 { orphans: 3; widows: 3; }
|
||||
// h2, h3 { page-break-after: avoid; }
|
||||
// }
|
||||
|
||||
|
||||
|
||||
a:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Improves readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
|
||||
/** COLORBOX */
|
||||
#colorbox{
|
||||
.rounded; .drop-shadow(0, 0, 5px, 0.4);
|
||||
#cboxLoadedContent{ background-color: #fff; }
|
||||
}
|
||||
|
||||
|
||||
/** embed player */
|
||||
.embedded-video{
|
||||
.player iframe{
|
||||
@media @max-768{
|
||||
max-width:100%;
|
||||
height:auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** devel */
|
||||
.not-logged-in{
|
||||
#tasks ul.tabs.primary{display:none;}
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
/*
|
||||
Error: Inconsistent indentation: 5 spaces were used for indentation, but the rest of the document was indented using 2 spaces.
|
||||
on line 180 of /home/sarahgarcin/Sites/materio/base_d7/sites/all/themes/gui/materiobasetheme/less/styles.sass
|
||||
|
||||
175: .14;
|
||||
176: margin-top:-3px;
|
||||
177: margin-left:-0.5em;
|
||||
178: .900;
|
||||
179: @media @max-980{display:none;}
|
||||
180: .ie8 &{position: absolute; margin-top:22px;}
|
||||
181: }
|
||||
182: }
|
||||
183:
|
||||
184: #header-blocks{
|
||||
185: //position:absolute; right:0; bottom:0;
|
||||
|
||||
Backtrace:
|
||||
/home/sarahgarcin/Sites/materio/base_d7/sites/all/themes/gui/materiobasetheme/less/styles.sass:180
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/engine.rb:473:in `block in tabulate'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/engine.rb:431:in `each'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/engine.rb:431:in `each_with_index'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/engine.rb:431:in `tabulate'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/engine.rb:396:in `_to_tree'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/engine.rb:368:in `_render_with_sourcemap'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/engine.rb:285:in `render_with_sourcemap'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/exec/sass_scss.rb:396:in `run'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/exec/sass_scss.rb:62:in `process_result'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/exec/base.rb:52:in `parse'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/exec/base.rb:19:in `parse!'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/bin/sass:13:in `<top (required)>'
|
||||
/opt/koala/bin/sass:18:in `load'
|
||||
/opt/koala/bin/sass:18:in `<main>'
|
||||
*/
|
||||
body:before {
|
||||
white-space: pre;
|
||||
font-family: monospace;
|
||||
content: "Error: Inconsistent indentation: 5 spaces were used for indentation, but the rest of the document was indented using 2 spaces.\A on line 180 of /home/sarahgarcin/Sites/materio/base_d7/sites/all/themes/gui/materiobasetheme/less/styles.sass\A \A 175: .14;\A 176: margin-top:-3px;\A 177: margin-left:-0.5em;\A 178: .900;\A 179: @media @max-980{display:none;}\A 180: .ie8 &{position: absolute; margin-top:22px;}\A 181: }\A 182: }\A 183: \A 184: #header-blocks{\A 185: //position:absolute; right:0; bottom:0;"; }
|
67
sites/all/themes/gui/materiobasetheme/less/styles.css
Normal file
67
sites/all/themes/gui/materiobasetheme/less/styles.css
Normal file
@ -0,0 +1,67 @@
|
||||
/*
|
||||
Error: Invalid CSS after "... @media ": expected media query (e.g. print, screen, print and screen), was "$max-480 { $w:2..."
|
||||
on line 572 of /home/sarahgarcin/Sites/materio/base_d7/sites/all/themes/gui/materiobasetheme/less/styles.scss
|
||||
|
||||
567: .group-column-wrapper{
|
||||
568: height:240px;
|
||||
569: .side{ height:100%; }
|
||||
570: .field-name-field-emvideo{
|
||||
571: $r:0.5625;
|
||||
572: @media $max-480 { $w:290px; width:$w; height:$w*$r; }
|
||||
573: @media @480-768 { $w:216px; width:$w; height:$w*$r; }
|
||||
574: @media @768-980 { $w:216px; width:$w; height:$w*$r; }
|
||||
575: @media @980-1200 { $w:280px; width:$w; height:$w*$r; }
|
||||
576: @media $min-1200 { $w:340px; width:$w; height:$w*$r; }
|
||||
577: *{height:100%; width:100%;}
|
||||
|
||||
Backtrace:
|
||||
/home/sarahgarcin/Sites/materio/base_d7/sites/all/themes/gui/materiobasetheme/less/styles.scss:572
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:1165:in `expected'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:1101:in `expected'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:1081:in `expr!'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:401:in `media_directive'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:219:in `special_directive'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:194:in `directive'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:661:in `block_child'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:653:in `block_contents'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:642:in `block'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:711:in `declaration_or_ruleset'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:661:in `block_child'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:653:in `block_contents'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:642:in `block'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:711:in `declaration_or_ruleset'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:661:in `block_child'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:653:in `block_contents'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:642:in `block'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:711:in `declaration_or_ruleset'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:661:in `block_child'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:653:in `block_contents'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:642:in `block'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:711:in `declaration_or_ruleset'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:661:in `block_child'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:653:in `block_contents'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:642:in `block'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:711:in `declaration_or_ruleset'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:661:in `block_child'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:653:in `block_contents'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:642:in `block'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:635:in `ruleset'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:660:in `block_child'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:653:in `block_contents'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:117:in `stylesheet'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/scss/parser.rb:42:in `parse'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/engine.rb:393:in `_to_tree'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/engine.rb:368:in `_render_with_sourcemap'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/engine.rb:285:in `render_with_sourcemap'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/exec/sass_scss.rb:396:in `run'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/exec/sass_scss.rb:62:in `process_result'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/exec/base.rb:52:in `parse'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/lib/sass/exec/base.rb:19:in `parse!'
|
||||
/opt/koala/rubygems/gems/sass-3.4.9/bin/sass:13:in `<top (required)>'
|
||||
/opt/koala/bin/sass:18:in `load'
|
||||
/opt/koala/bin/sass:18:in `<main>'
|
||||
*/
|
||||
body:before {
|
||||
white-space: pre;
|
||||
font-family: monospace;
|
||||
content: "Error: Invalid CSS after \"... @media \": expected media query (e.g. print, screen, print and screen), was \"$max-480 { $w:2...\"\A on line 572 of /home/sarahgarcin/Sites/materio/base_d7/sites/all/themes/gui/materiobasetheme/less/styles.scss\A \A 567: .group-column-wrapper{\A 568: height:240px;\A 569: .side{ height:100%; }\A 570: .field-name-field-emvideo{\A 571: $r:0.5625;\A 572: @media $max-480 { $w:290px; width:$w; height:$w*$r; }\A 573: @media @480-768 { $w:216px; width:$w; height:$w*$r; }\A 574: @media @768-980 { $w:216px; width:$w; height:$w*$r; }\A 575: @media @980-1200 { $w:280px; width:$w; height:$w*$r; }\A 576: @media $min-1200 { $w:340px; width:$w; height:$w*$r; }\A 577: *{height:100%; width:100%;}"; }
|
2410
sites/all/themes/gui/materiobasetheme/less/styles.scss
Normal file
2410
sites/all/themes/gui/materiobasetheme/less/styles.scss
Normal file
File diff suppressed because it is too large
Load Diff
95
sites/all/themes/gui/materiobasetheme/less/wysiwyg.scss
Normal file
95
sites/all/themes/gui/materiobasetheme/less/wysiwyg.scss
Normal file
@ -0,0 +1,95 @@
|
||||
/* LISIBILITY */
|
||||
@import "../components/gui/gui.less";
|
||||
|
||||
|
||||
*{font-size:14px;}
|
||||
div{border: 1px dashed #D4D4D4;}
|
||||
p:after, ul:after{content:"¬"; color:red;}
|
||||
|
||||
h1:before, h2:before, h3:before, h4:before, h5:before, h6:before{
|
||||
color:blue; font-weight: normal; font-size:10px; vertical-align: super;
|
||||
}
|
||||
|
||||
h1:before{content:"h1 ";}
|
||||
h2:before{content:"h2 ";}
|
||||
h3:before{content:"h3 ";}
|
||||
h4:before{content:"h4 ";}
|
||||
h5:before{content:"h5 ";}
|
||||
h6:before{content:"h6 ";}
|
||||
|
||||
|
||||
h2{font-size:24px;}
|
||||
h3{font-size:18px;}
|
||||
h4{font-size:16px;}
|
||||
h5{font-size:14px;}
|
||||
h6{font-size:12px;}
|
||||
|
||||
br:after{content:"·"; color:red; border: 1px solid #999;}
|
||||
|
||||
/* LAYOUT AND GRAPHICS */
|
||||
#full{ width:99%; }
|
||||
#demi{ width:47%; }
|
||||
#tiers{ width:29%; }
|
||||
#quart{ width:23%; }
|
||||
#right{ float:right; margin-left:2%; }
|
||||
#left{ float:left; margin-right:2%; }
|
||||
#center{ display:block; margin:0 auto; }
|
||||
|
||||
|
||||
img{height:auto; margin:0.5em 0;}
|
||||
p{ border: 1px dashed #848484; }
|
||||
div{border: 1px solid #1A1A1A;}
|
||||
|
||||
img,p,div{ position:relative;
|
||||
&:before{font-size:10px; color:red; background-color: #1A1A1A; position:absolute; top:0; z-index:3000;}
|
||||
|
||||
&.full{#full; &:before{content:" full ";}}
|
||||
&.demi{ #demi; margin-right:2%; &:before{content:" demi "; right:0;}}
|
||||
&.tiers{ #tiers; margin-right:2%; &:before{content:" tiers "; right:0;}}
|
||||
&.quart{ #quart; margin-right:2%; &:before{content:" quart "; right:0;}}
|
||||
|
||||
&.demi-left{ #demi; #left; &:before{content:" demi-left "; left:0;}}
|
||||
&.demi-right{ #demi; #right; &:before{content:" demi-right "; right:0;}}
|
||||
&.demi-center{ #demi; #center; &:before{content:" demi-denter "; right:0;}}
|
||||
|
||||
&.tiers-left{ #tiers; #left; &:before{content:" tiers-left "; left:0;}}
|
||||
&.tiers-right{ #tiers; #right; &:before{content:" tiers-right "; right:0;}}
|
||||
&.tiers-center{ #tiers; #center; &:before{content:" tiers-center "; right:0;}}
|
||||
|
||||
&.quart-left{ #quart; #left; &:before{content:" quart-left "; left:0;}}
|
||||
&.quart-right{ #quart; #right; &:before{content:" quart-right "; right:0;}}
|
||||
&.quart-center{ #quart; #center; &:before{content:" quart-center "; right:0;}}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
table, tr,td{
|
||||
position:relative;
|
||||
padding:1em 0.3em 0.3em;
|
||||
width:100%;
|
||||
|
||||
&:before{
|
||||
font-size:10px; color:white; background-color: blue;
|
||||
position:absolute; top:0; left:0; z-index:3000;
|
||||
padding:1px 3px;
|
||||
}
|
||||
}
|
||||
table{
|
||||
border:2px solid blue!important;
|
||||
&:before{content:"table";}
|
||||
}
|
||||
|
||||
tr{
|
||||
display:block;
|
||||
border:1px dashed blue!important;
|
||||
&:before{content:"tr";}
|
||||
}
|
||||
|
||||
td{
|
||||
border:1px dotted blue!important;
|
||||
&:before{content:"td";}
|
||||
p{
|
||||
padding:0 15px;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user