view client/src/application/assets/application.sass @ 1259:f80d1fd54806

removed duplicated css and added comment
author Markus Kottlaender <markus@intevation.de>
date Wed, 21 Nov 2018 12:44:04 +0100
parents 3c84035b1f1b
children 7e2693d49daa
line wrap: on
line source

/*
 * This is Free Software under GNU Affero General Public License v >= 3.0
 * without warranty, see README.md and license for details.
 * 
 * SPDX-License-Identifier: AGPL-3.0-or-later
 * License-Filename: LICENSES/AGPL-3.0.txt
 * 
 * Copyright (C) 2018 by via donau 
 *   – Österreichische Wasserstraßen-Gesellschaft mbH
 * Software engineering by Intevation GmbH
 * 
 * Author(s):
 * Thomas Junk <thomas.junk@intevation.de>
 */
$basic-shadow-light: 1px 1px 12px 1px rgba(235, 235, 235, 0.75)
$basic-shadow: 1px 3px 8px 2px rgba(220, 220, 220, 0.75)
$shadow-xs: 0 0.1rem 0.5rem rgba(0, 0, 0, 0.2)
$border-radius: 0.25rem
$icon-height: 2rem
$icon-width: 2rem
$large-offset: 2rem
$offset: 1rem
$sidebar-height: 35rem
$sidebar-width: 15rem
$slight-transparent: 0.96
$small-offset: 0.5rem
$smaller: 0.9rem
$transition-fast: 0.3s
$transition-slow: 3s
$transition: 0.5s
$x-large-offset: 3rem
$xx-large-offset: 5rem
$x-small-offset: 0.25rem

.w-90
  width: 90%

.debug
  border: 1px solid red

%fully-centered
  position: absolute
  top: 50%
  left: 50%
  transform: translate(-50%, -50%)

.ui-element
  pointer-events: auto

.shadow-xs
  box-shadow: $shadow-xs

.box
  max-height: 0
  max-width: 0
  overflow: hidden
  margin-left: 0
  margin-right: 0
  box-shadow: $shadow-xs
  transition: max-width .4s, max-height .4s, margin-left .4s, margin-right .4s

.expanded
  max-height: 999px
  max-width: 999px
  margin-left: 0.5rem
  margin-right: 0.5rem