Konventionen: Unterschied zwischen den Versionen
Erscheinungsbild
| Zeile 17: | Zeile 17: | ||
==Mixins== | ==Mixins== | ||
===Text markieren unterbinden=== | |||
<syntaxhighlight lang="css"> | |||
.notselecion { | |||
-webkit-touch-callout: none; /* iOS Safari */ | |||
-webkit-user-select: none; /* Chrome/Safari/Opera */ | |||
-khtml-user-select: none; /* Konqueror */ | |||
-moz-user-select: none; /* Firefox */ | |||
-ms-user-select: none; /* Internet Explorer/Edge */ | |||
user-select: none; /* Non-prefixed version, currently */ | |||
} | |||
</syntaxhighlight> | |||
===Transparenz unterbinden=== | |||
<syntaxhighlight lang="css"> | |||
.noOpacity { | |||
opacity: 1; | |||
} | |||
</syntaxhighlight> | |||
===Micro Clearfix Hack=== | |||
[http://nicolasgallagher.com/micro-clearfix-hack/| nach Nicolas Gallagher] | |||
<syntaxhighlight lang="css"> | |||
.clearfix { | |||
&:before, &:after { | |||
content: ""; | |||
display: table; | |||
} | |||
&:after { | |||
clear: both; | |||
} | |||
} | |||
</syntaxhighlight> | |||
===Padding Abstand zwischen den Paragraphen (Aussen) in PIXEL!=== | |||
<syntaxhighlight lang="css"> | |||
.padding-abstand { | |||
padding-left: 24px; | |||
padding-right: 24px; | |||
box-sizing: border-box; | |||
} | |||
</syntaxhighlight> | |||
==Farben== | ==Farben== | ||
Version vom 23. September 2016, 15:03 Uhr
Less
Allgemein
Comments (Kommentare)
Bereich
/***
comment
****************************************************************************/
Unter Bereich
/* Image im content **********************************************/
Linien Comment
max-width: 100%; //Tabelle und Blockquote
Mixins
Text markieren unterbinden
.notselecion {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Chrome/Safari/Opera */
-khtml-user-select: none; /* Konqueror */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently */
}
Transparenz unterbinden
.noOpacity {
opacity: 1;
}
Micro Clearfix Hack
.clearfix {
&:before, &:after {
content: "";
display: table;
}
&:after {
clear: both;
}
}
Padding Abstand zwischen den Paragraphen (Aussen) in PIXEL!
.padding-abstand {
padding-left: 24px;
padding-right: 24px;
box-sizing: border-box;
}
Farben
Erlaubte Farbgebung=
Hex -> #000000 /*Grundfarbe*/
Hex -> #000 /*Grundfarbe*/
mix(#000000, #fffff, 15%); /*Schttierung (farben mischen) mix(GRUNDFARBE, MISCHENDURCH, 15%);*/
fadeout(@color, 10%); /*Schttierung (farben mischen) mix(GRUNDFARBE, MISCHENDURCH, 15%);*/
Variables
Benennung der Variablen
@modul_selector_stlye: Beispiel: @sf_font_color:
Einheiten
page.tpl.php
node.tpl.php
Datei Struktur
--fonts
--|--fonts //awesome font
--img
--|--icon //Shortcut icon für ios und Browser etc
--js
--|--scripts.php // muss ein php sein, da kommen individuelle Javascripts hinein für das Design
--less
--|--editor.less //wird im Editor geladen
--templates
--theme.info