Konventionen
Erscheinungsbild
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
|--variables.less //Alle Variablen Definiert.
|--[[editor.less]] //wird im Editor geladen
|--editor.less //Wird beim Editor geladen
--templates
--theme.info