SASS Vorlage passt nicht zur css

mare

Member
Hallo,

Die Vorlage interface\web\themes\default\assets\stylesheets\themes\default\*.sass passt imho nicht zur css Datei.
Wenn man aus der Vorlage eine neue css Daei baut fehlen Styles.

Folgende Erweiterungen erzeugen die CSS so wie sie drin liegt als Basis für Anpassungen.

theme.sass
Code:
.formbutton-danger
  @include background-gradient-red
  border-color: $color-red-dark
  border-bottom-color: $color-red-dark
  color: $color-white

  &:hover, &.active
    border-bottom-color: $color-red-hover
    color: $color-white

thead.dark
  background: linear-gradient(to bottom, $color-thead-begin, $color-thead-end) !important
  color: $color-white

thead.dark tr:nth-child(2)
  @include background-gradient

colors.sass

Code:
$color-red-dark: darken($color-red, 10%)
$color-red-dark-hover: darken($color-red-dark, 5%)
$color-gradient-red-start: lighten($color-red, 5%)
$color-gradient-red-stop: darken($color-red, 10%)

mixin.sass
Code:
@mixin background-gradient-red
  background: linear-gradient(to bottom, $color-gradient-red-start, $color-gradient-red-stop)

  &:hover
    background: linear-gradient(to bottom, darken($color-gradient-red-start, 2%), darken($color-gradient-red-stop, 2%))

/VG mare
 
Zuletzt bearbeitet:

mare

Member
Aber das theme.min.css basiert doch noch darauf oder gibt es eine andere "Quelle". Oder wurde einfach die theme.css "minimiert".
 

Werbung

Top