Commit b9df942f authored by Karl Hasselbring's avatar Karl Hasselbring

Merge branch 'revert-64959710' into '838-styles-auf-seiten-aufteilen'

Revert "Aufgegeben"

See merge request !1349
parents 826eee48 c4daed1b
@import "./font-awesome/fontawesome.less";
@import "./font-awesome/solid.less";
@import "./bootstrap/bootstrap.less";
@import "./metager/metager.less";
\ No newline at end of file
@import "./metager/variables.less";
@import "./metager/cards.less";
@import "./metager/general.less";
@import "./metager/specific.less";
\ No newline at end of file
/* Winter-Spendenaufruf */
@import "./variables.less";
@import "./cards.less";
@base-aufruf-winter-color: #ab2121;
@base-aufruf-winter-border-color: #953535;
@base-aufruf-winter-btn-color: white;
@base-aufruf-winter-btn-hover-background-color: #bd0d0d;
//
@aufruf-winter-a-normal-or-visited: @base-aufruf-winter-color;
@aufruf-winter-aufruf-action-btn-color: @base-aufruf-winter-btn-color !important;
@aufruf-winter-aufruf-action-btn-background-color: @base-aufruf-winter-color !important;
@aufruf-winter-aufruf-action-btn-color: @base-aufruf-winter-btn-color!important;
@aufruf-winter-aufruf-action-btn-background-color: @base-aufruf-winter-color!important;
@aufruf-winter-aufruf-action-btn-border-color: @base-aufruf-winter-border-color;
@aufruf-winter-aufruf-action-btn-hover-background-color: @base-aufruf-winter-btn-hover-background-color !important;
@aufruf-winter-aufruf-action-btn-hover-border-color: @base-aufruf-winter-border-color;
@aufruf-winter-quicktip-border-color: @base-aufruf-winter-color !important;
@aufruf-winter-quicktip-border-color: @base-aufruf-winter-color!important;
.aufruf-winter {
h1 {
font-size: 32px;
......
/* Footer bar with logos and general links */
@import "./variables.less";
@import "./cards.less";
footer {
padding: 5px 5px 15px 5px;
width: 100%;
......
@import "./helpers.less";
/* Default Font */
body {
......@@ -104,6 +103,14 @@ a {
/* Logo */
.logo {
color: @metager-orange;
font-family: Arimo, Liberation Sans, sans-serif;
font-style: italic;
font-weight: bold;
white-space: nowrap;
}
#startpage-logo {
.logo;
display: flex;
......@@ -281,6 +288,12 @@ summary {
cursor: not-allowed !important;
}
.overflow-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Button */
button {
......
.overflow-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.logo {
color: @metager-orange;
font-family: Arimo, Liberation Sans, sans-serif;
font-style: italic;
font-weight: bold;
white-space: nowrap;
}
\ No newline at end of file
@import "./general.less";
@import "./specific.less";
@import "./result-page.less";
@import "./start-page.less";
@import "./settings.less";
@import "./variables.less";
@import "./sidebar.less";
@import "./modals.less";
@import "./footer.less";
@import "./searchbar.less";
@import "./aufruf-winter.less";
@import "./cards.less";
@import "./widget.less";
\ No newline at end of file
/* Rund ums Fokus Modal */
@import "./variables.less";
@import "./cards.less";
#show-create-focus:checked {
&+#create-focus-modal {
& + #create-focus-modal {
position: fixed;
display: -webkit-box;
display: -ms-flexbox;
......@@ -12,7 +10,7 @@
}
#plugin-modal-checkbox:checked {
&+#plugin-modal {
& + #plugin-modal {
display: block;
}
}
......@@ -27,7 +25,13 @@
justify-content: center;
min-height: 100%;
width: 100%;
background: -webkit-gradient( linear, left top, left bottom, from(rgba(0, 0, 0, 0.7)), to(rgba(0, 0, 0, 0.7)));
background: -webkit-gradient(
linear,
left top,
left bottom,
from(rgba(0, 0, 0, 0.7)),
to(rgba(0, 0, 0, 0.7))
);
background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
z-index: 150;
.metager-modal-dialog {
......@@ -60,13 +64,13 @@
.focus-dropdown-toggle {
display: none;
&:not(:checked) {
&~.focus-dropdown-label~.row {
& ~ .focus-dropdown-label ~ .row {
max-height: 0px;
overflow: hidden;
}
}
&:checked {
&~.focus-dropdown-label::after {
& ~ .focus-dropdown-label::after {
content: " ➖ ";
}
}
......@@ -79,7 +83,7 @@
margin-left: 3px;
vertical-align: middle;
}
&~.row {
& ~ .row {
-webkit-transition: max-height 0.4s ease;
/* Chrome 1-25, Safari 3.2+ */
/* Firefox 4-15 */
......
/* Ergebnisseite */
@import "./variables.less";
@import "./cards.less";
@import "./helpers.less";
@import "./quicktips.less";
@import "./result-saver.less";
@import "./result.less";
@import "./product.less";
//
@resultpage-background-color: #FAFAFA;
//
@results-margin-left: 16px;
//
@result-page-body-background-color: @background-color;
@result-page-a-hover-color: red;
@result-page-product-shop-color: green;
//
@body-background-color: @result-page-body-background-color;
@a-hover-color: @result-page-a-hover-color;
@a-donation-hover-color: @result-page-a-hover-color;
@product-shop-color: @result-page-product-shop-color;
//
@results-width-min: 500px;
@results-width-max: 700px;
@additions-width-min: 400px;
@additions-width-max: 500px;
//
@resultpage-breakpoint-large: (@results-width-max + @additions-width-max + @padding-small-default * 4);
@resultpage-breakpoint-small: (@results-width-min + @additions-width-min + @padding-small-default * 4);
//
@resultpage-leftbox-max-width: @results-width-max;
@resultpage-leftbox-min-dist-left-right: @padding-small-default;
@resultpage-leftbox-min-dist-top-bottom: @padding-small-default;
//
@logo-size-breakpoint: (@results-width-min + @padding-small-default * 2);
//
@sidebar-opener-breakpoint: (@results-width-max + @padding-small-default * 2 + 60px);
//
#header-logo {
z-index: 0;
padding-right: 10px;
......
/* Suchleiste */
@import "./variables.less";
@import "./cards.less";
@startpage-border-color: #a2a2a2;
/**/
.searchbar {
......
/* Einstellungen */
@import "./variables.less";
@import "./cards.less";
@settings-abort-btn-color: white;
#settings-buttons {
margin-top: 10px;
......
/* Navigations-Seitenleiste */
@import "./variables.less";
@import "./cards.less";
.sidebar {
border-left: 1px solid #ccc;
box-shadow: 0px 1px 1.5px 1px #c0c0c0;
......
/* Startseite */
@import "./variables.less";
@import "./cards.less";
@search-bar-width: 1000px;
//
@focus-hover-focus-edit-background-color: #e3e3e3;
......
......@@ -18,8 +18,7 @@
//
@body-bg: rgb(250, 250, 250);
@input-border-focus: @metager-orange;
@font-family-sans-serif: Arimo,
"Liberation Sans",
@font-family-sans-serif: Arimo, "Liberation Sans",
"Helvetica Neue",
Helvetica,
Arial,
......@@ -28,12 +27,6 @@ sans-serif;
@link-color: #0066CC;
//
@padding-small-default: 8px;
/* Screen Sizes */
@screen-xs-max: 767px;
@screen-sm-max: 991;
@screen-md-max: 1199px;
@screen-lg: 1200;
/* Unsorted */
@quicktip-background-color: @color-white;
......@@ -63,35 +56,3 @@ sans-serif;
@product-price-background-color: fade(@color-white, 90%);
@lsprev-or-lsnext-i-background-color: @color-black;
@searchbar-background-color: white;
//
@startpage-border-color: #a2a2a2;
//
@resultpage-background-color: #FAFAFA;
//
@results-margin-left: 16px;
//
@result-page-body-background-color: @background-color;
@result-page-a-hover-color: red;
@result-page-product-shop-color: green;
//
@body-background-color: @result-page-body-background-color;
@a-hover-color: @result-page-a-hover-color;
@a-donation-hover-color: @result-page-a-hover-color;
@product-shop-color: @result-page-product-shop-color;
//
@results-width-min: 500px;
@results-width-max: 700px;
@additions-width-min: 400px;
@additions-width-max: 500px;
//
@resultpage-breakpoint-large: (@results-width-max + @additions-width-max + @padding-small-default * 4);
@resultpage-breakpoint-small: (@results-width-min + @additions-width-min + @padding-small-default * 4);
//
@resultpage-leftbox-max-width: @results-width-max;
@resultpage-leftbox-min-dist-left-right: @padding-small-default;
@resultpage-leftbox-min-dist-top-bottom: @padding-small-default;
//
@logo-size-breakpoint: (@results-width-min + @padding-small-default * 2);
//
@sidebar-opener-breakpoint: (@results-width-max + @padding-small-default * 2 + 60px);
//
\ No newline at end of file
@import "./variables.less";
@import "./cards.less";
.metager-searchinput {
height: 30px;
float: left;
......
......@@ -2,10 +2,6 @@
@section('title', $title )
@section('stylesheets')
<link type="text/css" rel="stylesheet" href="{{ mix('css/start-page.css') }}" />
@endsection
@section('content')
@include('modals.plugin-modal')
<h1 id="startpage-logo">
......
......@@ -12,11 +12,7 @@
<meta name="mm" content="{{ $metager->getVerificationId() }}" />
<meta name="mn" content="{{ $metager->getVerificationCount() }}" />
<link rel="search" type="application/opensearchdescription+xml" title="{!! trans('resultPage.opensearch') !!}" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), action('StartpageController@loadPlugin', ['params' => base64_encode(serialize(Request::all()))])) }}">
<link type="text/css" rel="stylesheet" href="{{ mix('css/fontawesome.css') }}" />
<link type="text/css" rel="stylesheet" href="{{ mix('css/fontawesome-solid.css') }}" />
<link type="text/css" rel="stylesheet" href="{{ mix('css/bootstrap.css') }}" />
<link type="text/css" rel="stylesheet" href="{{ mix('css/metager.css') }}" />
<link type="text/css" rel="stylesheet" href="{{ mix('css/result-page.css') }}" />
<link type="text/css" rel="stylesheet" href="{{ mix('css/themes/default.css') }}" />
<link type="text/css" rel="stylesheet" href="/fonts/arimo/stylesheet.css" />
<meta name="referrer" content="origin">
<meta name="age-meta-label" content="age=18"/>
......
......@@ -14,12 +14,8 @@
<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link rel="search" type="application/opensearchdescription+xml" title="{{ trans('staticPages.opensearch') }}" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), action('StartpageController@loadPlugin', ['params' => base64_encode(serialize(Request::all()))])) }}">
<link type="text/css" rel="stylesheet" href="/fonts/arimo/stylesheet.css" />
<link type="text/css" rel="stylesheet" href="{{ mix('css/fontawesome.css') }}" />
<link type="text/css" rel="stylesheet" href="{{ mix('css/fontawesome-solid.css') }}" />
<link type="text/css" rel="stylesheet" href="{{ mix('css/bootstrap.css') }}" />
<link type="text/css" rel="stylesheet" href="{{ mix('css/metager.css') }}" />
<link type="text/css" rel="stylesheet" href="{{ mix('css/themes/default.css') }}" />
<link type="text/css" rel="stylesheet" href="{{ mix('css/utility.css') }}" />
@yield('stylesheets')
<script src="{{ mix('js/lib.js') }}"></script>
<script src="{{ mix('js/utility.js') }}"></script>
@if (isset($css))
......
<link type="text/css" rel="stylesheet" href="{{ mix('css/modals.css') }}" />
<input type="checkbox" id="show-create-focus" class="hidden">
<div class="metager-modal" id="create-focus-modal" role="dialog">
<div class="metager-modal-dialog">
......
<link type="text/css" rel="stylesheet" href="{{ mix('css/modals.css') }}" />
<input type="checkbox" id="plugin-modal-checkbox" class="hidden" @if( isset($pluginmodal) && $pluginmodal == 'on') checked @endif>
<div class="metager-modal" id="plugin-modal" role="dialog">
<div class="metager-modal-dialog ">
......
<link type="text/css" rel="stylesheet" href="{{ mix('css/sidebar.css') }}" />
<input id="sidebarToggle" class="hidden" type="checkbox">
<div class="sidebar">
<a class="sidebar-logo" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}">
......
......@@ -2,10 +2,6 @@
@section('title', $title )
@section('stylesheets')
<link type="text/css" rel="stylesheet" href="{{ mix('css/settings.css') }}" />
@endsection
@section('content')
<form id="settings-form" action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}" method="get">
<h1>{!! trans('settings.head.1') !!}</h1>
......
let mix = require("laravel-mix");
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix
// css
.less("resources/assets/less/metager.less", "public/css/metager.css", {
.less("resources/assets/less/default.less", "public/css/themes/default.css", {
strictMath: true
})
.less(
"resources/assets/less/metager/beitritt.less",
"public/css/beitritt.css", {
"public/css/beitritt.css",
{
strictMath: true
}
)
.less("resources/assets/less/utility.less", "public/css/utility.css", {
strictMath: true
})
.less("resources/assets/less/bootstrap/bootstrap.less", "public/css/bootstrap.css", {
strictMath: true
})
.less("resources/assets/less/font-awesome/fontawesome.less", "public/css/fontawesome.css", {
strictMath: true
})
.less("resources/assets/less/font-awesome/solid.less", "public/css/fontawesome-solid.css", {
strictMath: true
})
/* Site specific less files */
.less("resources/assets/less/metager/result-page.less", "public/css/result-page.css", {
strictMath: true
})
.less("resources/assets/less/metager/start-page.less", "public/css/start-page.css", {
strictMath: true
})
.less("resources/assets/less/metager/settings.less", "public/css/settings.css", {
strictMath: true
})
.less("resources/assets/less/metager/variables.less", "public/css/variables.css", {
strictMath: true
})
.less("resources/assets/less/metager/sidebar.less", "public/css/sidebar.css", {
strictMath: true
})
.less("resources/assets/less/metager/modals.less", "public/css/modals.css", {
strictMath: true
})
.less("resources/assets/less/metager/footer.less", "public/css/footer.css", {
strictMath: true
})
.less("resources/assets/less/metager/searchbar.less", "public/css/searchbar.css", {
strictMath: true
})
.less("resources/assets/less/metager/aufruf-winter.less", "public/css/aufruf-winter.css", {
strictMath: true
})
.less("resources/assets/less/metager/widget.less", "public/css/widget.css", {
strictMath: true
})
// js
.babel(
[
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment