Commit baea6486 authored by Sebastian Castro's avatar Sebastian Castro

Refactor color styling #2

parent 1952ee2e
parameters:
app.version: 2.0.1
\ No newline at end of file
app.version: 2.0.2
\ No newline at end of file
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "8e6a11151ff6b897003d5cf64ba13b1a",
"content-hash": "59ee94d6340718dbcb00a7f3ebbfa98c",
"packages": [
{
"name": "alcaeus/mongo-php-adapter",
......@@ -3056,6 +3056,65 @@
],
"time": "2017-12-27T14:37:46+00:00"
},
{
"name": "ozdemirburak/iris",
"version": "1.2.1",
"source": {
"type": "git",
"url": "https://github.com/ozdemirburak/iris.git",
"reference": "a100a217eb7fa7975069f02a0f9e1625610f2f00"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ozdemirburak/iris/zipball/a100a217eb7fa7975069f02a0f9e1625610f2f00",
"reference": "a100a217eb7fa7975069f02a0f9e1625610f2f00",
"shasum": ""
},
"require": {
"php": "~5.6|~7.0"
},
"require-dev": {
"phpunit/phpunit": "~5.0|~6.0",
"squizlabs/php_codesniffer": "~2.3"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"autoload": {
"psr-4": {
"OzdemirBurak\\Iris\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Burak Özdemir",
"email": "mail@burakozdemir.co.uk",
"homepage": "https://burakozdemir.co.uk"
}
],
"description": "PHP library for color manipulation and conversion.",
"homepage": "https://github.com/ozdemirburak/iris",
"keywords": [
"color",
"conversion",
"hex",
"hsl",
"hsla",
"hsv",
"manipulation",
"rgb",
"rgba",
"transformation"
],
"time": "2018-10-07T23:02:25+00:00"
},
{
"name": "paragonie/random_compat",
"version": "v2.0.17",
......@@ -5783,56 +5842,6 @@
"description": "JSONP callback validator.",
"time": "2014-01-20T22:35:06+00:00"
},
{
"name": "xmon/color-picker-type-bundle",
"version": "v1.0.5",
"target-dir": "Xmon/ColorPickerTypeBundle",
"source": {
"type": "git",
"url": "https://github.com/xmon/ColorPickerTypeBundle.git",
"reference": "2aeff956fa3708ad4071d112b63185ef1546e098"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/xmon/ColorPickerTypeBundle/zipball/2aeff956fa3708ad4071d112b63185ef1546e098",
"reference": "2aeff956fa3708ad4071d112b63185ef1546e098",
"shasum": ""
},
"require": {
"php": ">=5.4",
"symfony/assetic-bundle": "*",
"symfony/framework-bundle": "^2.1 || ^3.0"
},
"type": "symfony-bundle",
"autoload": {
"psr-0": {
"Xmon\\ColorPickerTypeBundle": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Juanjo García",
"email": "juanjogarcia@eag.pm",
"homepage": "http://eag.pm",
"role": "Developer"
}
],
"description": "The ColorPickerTypeBundle extends Symfony2 form types, creates a new ColorPicker form type, to display a javascript color picker.",
"homepage": "https://github.com/xmon/ColorPickerTypeBundle",
"keywords": [
"Symfony2",
"bundle",
"color-picker",
"form-type",
"jscolor",
"sonata-admin"
],
"time": "2017-04-09T14:42:02+00:00"
},
{
"name": "zendframework/zend-diactoros",
"version": "1.8.6",
......@@ -6060,6 +6069,56 @@
"description": "Symfony PHPUnit Bridge",
"homepage": "https://symfony.com",
"time": "2018-09-19T20:34:51+00:00"
},
{
"name": "xmon/color-picker-type-bundle",
"version": "v1.0.5",
"target-dir": "Xmon/ColorPickerTypeBundle",
"source": {
"type": "git",
"url": "https://github.com/xmon/ColorPickerTypeBundle.git",
"reference": "2aeff956fa3708ad4071d112b63185ef1546e098"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/xmon/ColorPickerTypeBundle/zipball/2aeff956fa3708ad4071d112b63185ef1546e098",
"reference": "2aeff956fa3708ad4071d112b63185ef1546e098",
"shasum": ""
},
"require": {
"php": ">=5.4",
"symfony/assetic-bundle": "*",
"symfony/framework-bundle": "^2.1 || ^3.0"
},
"type": "symfony-bundle",
"autoload": {
"psr-0": {
"Xmon\\ColorPickerTypeBundle": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Juanjo García",
"email": "juanjogarcia@eag.pm",
"homepage": "http://eag.pm",
"role": "Developer"
}
],
"description": "The ColorPickerTypeBundle extends Symfony2 form types, creates a new ColorPicker form type, to display a javascript color picker.",
"homepage": "https://github.com/xmon/ColorPickerTypeBundle",
"keywords": [
"Symfony2",
"bundle",
"color-picker",
"form-type",
"jscolor",
"sonata-admin"
],
"time": "2017-04-09T14:42:02+00:00"
}
],
"aliases": [],
......
......@@ -5,7 +5,7 @@
"requires": true,
"dependencies": {
"GoGoCartoJs": {
"version": "github:pixelhumain/gogocartojs#23564c383df8e58eb81d897b30da167e8760c6d6",
"version": "github:pixelhumain/gogocartojs#b5b46055d9f9cdd2bb1c87cfd026ea018a1ce007",
"from": "github:pixelhumain/gogocartojs"
},
"JSONStream": {
......@@ -2753,7 +2753,7 @@
},
"readable-stream": {
"version": "1.0.34",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"dev": true,
"requires": {
......@@ -2909,7 +2909,7 @@
},
"gulp": {
"version": "3.9.1",
"resolved": "https://registry.npmjs.org/gulp/-/gulp-3.9.1.tgz",
"resolved": "http://registry.npmjs.org/gulp/-/gulp-3.9.1.tgz",
"integrity": "sha1-VxzkWSjdQK9lFPxAEYZgFsE4RbQ=",
"dev": true,
"requires": {
......@@ -3838,7 +3838,7 @@
},
"lodash": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz",
"resolved": "http://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz",
"integrity": "sha1-j1dWDIO1n8JwvT1WG2kAQ0MOJVE=",
"dev": true
},
......@@ -6563,7 +6563,7 @@
},
"readable-stream": {
"version": "1.0.34",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"dev": true,
"requires": {
......
......@@ -44,7 +44,9 @@ class ConfigurationStyleAdmin extends AbstractAdmin
->add('backgroundColor', 'text', array('label' => 'Couleur de fond de page', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
->end()
->with('Autres couleurs', array('class' => 'col-md-12'))
->add('headerColor', 'text', array('label' => 'Couleur header (=text par défault)', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
->add('headerColor', 'text', array('label' => 'Couleur fond header (=text par défault)', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
->add('headerTextColor', 'text', array('label' => 'Couleur texte header (=blanc par défault)', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
->add('headerHoverColor', 'text', array('label' => 'Couleur texte survol header (=primary par défault)', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
->add('secondaryColor', 'text', array('label' => 'Couleur Secondaire (=primaire par défault)', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
->add('contentBackgroundColor', 'text', array('label' => 'Couleur arrière plan du contenu (=blanc par défault)', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
->add('searchBarColor', 'text', array('label' => 'Couleur bar de recherche (=primaire par défault)', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
......@@ -54,7 +56,8 @@ class ConfigurationStyleAdmin extends AbstractAdmin
->add('textDarkColor', 'text', array('label' => 'Couleur text foncé (=texte par défault)', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
->add('textDarkSoftColor', 'text', array('label' => 'Couleur text foncé adoucie (=adoucie automatiquement par défault)', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
->add('textLightColor', 'text', array('label' => 'Couleur texte clair (=blanc par défault)', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
->add('textLightSoftColor', 'text', array('label' => 'Couleur désactivé (=adoucie automatiquement par défault)', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
->add('textLightSoftColor', 'text', array('label' => 'Couleur text clair adoucie (=adoucie automatiquement par défault)', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
->add('errorColor', 'text', array('label' => "Couleur d'erreur", 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
->add('disableColor', 'text', array('label' => 'Couleur désactivé', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
->add('pendingColor', 'text', array('label' => 'Couleur pending', 'attr' => ['class' => 'gogo-color-picker'], 'required' => false))
......
......@@ -81,23 +81,17 @@ class LoadConfiguration implements FixtureInterface
$configuration->setElementFormFieldsJson("[{\"type\":\"taxonomy\",\"label\":\"Choisissez la ou les catégories par ordre d importance\",\"name\":\"taxonomy\"},{\"type\":\"separator\",\"label\":\"Séparateur de section\",\"name\":\"separator-1539422234804\"},{\"type\":\"header\",\"subtype\":\"h1\",\"label\":\"Informations\"},{\"type\":\"title\",\"required\":true,\"label\":\"Titre de la fiche\",\"name\":\"name\",\"maxlength\":\"80\",\"icon\":\"gogo-icon-account-circle\"},{\"type\":\"text\",\"required\":true,\"label\":\"Description courte\",\"name\":\"description\",\"maxlength\":\"250\",\"subtype\":\"text\"},{\"type\":\"textarea\",\"label\":\"Description longue\",\"name\":\"descriptionMore\",\"subtype\":\"textarea\",\"maxlength\":\"600\"},{\"type\":\"address\",\"label\":\"Adresse complète\",\"name\":\"address\",\"icon\":\"gogo-icon-marker-symbol\"},{\"type\":\"separator\",\"label\":\"Séparateur de section\",\"name\":\"separator-1539423917238\"},{\"type\":\"header\",\"subtype\":\"h1\",\"label\":\"Contact (optionnel)\"},{\"type\":\"text\",\"subtype\":\"tel\",\"label\":\"Téléphone\",\"name\":\"telephone\"},{\"type\":\"email\",\"subtype\":\"email\",\"label\":\"Mail\",\"name\":\"email\"},{\"type\":\"text\",\"subtype\":\"url\",\"label\":\"Site web\",\"name\":\"website\"},{\"type\":\"separator\",\"label\":\"Séparateur de section\",\"name\":\"separator-1539424058076\"},{\"type\":\"header\",\"subtype\":\"h1\",\"label\":\"Horaires (optionnel)\"},{\"type\":\"openhours\",\"label\":\"Horaires d ouvertures\",\"name\":\"openhours\"}]");
$configuration->setElementFormGeocodingHelp("Ne mettez pas de ponctuation, les noms tout en majuscules ne sont pas reconnus non plus. Si la localisation ne fonctionne pas (il arrive que certaines adresses ne soient pas reconnues), entrez le nom de la ville/le village le plus proche, cliquez sur « Localiser », puis placer le point de localisation manuellement. Re-rentrez l’adresse complète dans la barre et passez à la suite du formulaire sans re-cliquer sur « localiser ».");
$textColor = '#495057';
$primary = '#64d29b';
$background = '#f4f4f4';
$mainFont = 'Cabin';
$titleFont = 'Carter One';
// IMPORT
$configuration->setFontImport('<link href="https://fonts.googleapis.com/css?family=Cabin:400,700|Carter+One" rel="stylesheet">');
$configuration->setIconImport('<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">');
// STYLE
$configuration->setMainFont($mainFont);
$configuration->setTitleFont($titleFont);
$configuration->setTextColor($textColor);
$configuration->setPrimaryColor($primary);
$configuration->setBackgroundColor($background);
$configuration->setMainFont('Cabin');
$configuration->setTitleFont('Carter One');
$configuration->setTextColor('#495057');
$configuration->setPrimaryColor('#64d29b');
$configuration->setBackgroundColor('#f4f4f4');
$configuration->setTheme('default');
$configuration->setCustomCSS('');
$manager->persist($configuration);
......
......@@ -9,6 +9,8 @@ use Biopen\CoreBundle\Document\Configuration\ConfigurationUser;
use Biopen\CoreBundle\Document\Configuration\ConfigurationMenu;
use Biopen\CoreBundle\Document\Configuration\ConfigurationInfobar;
use Biopen\CoreBundle\Document\Configuration\ConfigurationApi;
use OzdemirBurak\Iris\Color\Hex;
use OzdemirBurak\Iris\Color\Rgba;
/**
* Main Configuration
......@@ -359,6 +361,12 @@ class Configuration
/** @MongoDB\Field(type="string") */
protected $headerColor;
/** @MongoDB\Field(type="string") */
protected $headerTextColor;
/** @MongoDB\Field(type="string") */
protected $headerHoverColor;
// COLORS ADVANCED
/** @MongoDB\Field(type="string") */
......@@ -367,6 +375,9 @@ class Configuration
/** @MongoDB\Field(type="string") */
protected $disableColor;
/** @MongoDB\Field(type="string") */
protected $errorColor;
/** @MongoDB\Field(type="string") */
protected $pendingColor;
......@@ -451,6 +462,12 @@ class Configuration
return $this->id;
}
public function getColor($colorString)
{
if (strpos($colorString, '#') !== false) return new Hex($colorString);
else return new Rgba($colorString);
}
public function getDefaultBounds()
{
return [ [$this->defaultNorthEastBoundsLat, $this->defaultNorthEastBoundsLng], [$this->defaultSouthWestBoundsLat, $this->defaultSouthWestBoundsLng] ];
......@@ -922,7 +939,7 @@ class Configuration
*/
public function getSecondaryColor()
{
return $this->secondaryColor;
return $this->secondaryColor ? $this->secondaryColor : $this->primaryColor;
}
/**
......@@ -1010,30 +1027,7 @@ class Configuration
*/
public function getTitleFont()
{
return $this->titleFont;
}
/**
* Set neutralColor
*
* @param string $neutralColor
* @return $this
*/
public function setNeutralColor($neutralColor)
{
if (strlen($neutralColor) == 6) $neutralColor = '#' . $neutralColor;
$this->neutralColor = $neutralColor;
return $this;
}
/**
* Get neutralColor
*
* @return string $neutralColor
*/
public function getNeutralColor()
{
return $this->neutralColor;
return $this->titleFont ? $this->titleFont : $this->mainFont;
}
/**
......@@ -1044,7 +1038,6 @@ class Configuration
*/
public function setBackgroundColor($backgroundColor)
{
if (strlen($backgroundColor) == 6) $backgroundColor = '#' . $backgroundColor;
$this->backgroundColor = $backgroundColor;
return $this;
}
......@@ -1056,7 +1049,7 @@ class Configuration
*/
public function getBackgroundColor()
{
return $this->backgroundColor;
return $this->backgroundColor ? $this->backgroundColor : "white";
}
/**
......@@ -1089,7 +1082,6 @@ class Configuration
*/
public function setTextColor($textColor)
{
if (strlen($textColor) == 6) $textColor = '#' . $textColor;
$this->textColor = $textColor;
return $this;
}
......@@ -1112,7 +1104,6 @@ class Configuration
*/
public function setHeaderColor($headerColor)
{
if (strlen($headerColor) == 6) $headerColor = '#' . $headerColor;
$this->headerColor = $headerColor;
return $this;
}
......@@ -1124,7 +1115,7 @@ class Configuration
*/
public function getHeaderColor()
{
return $this->headerColor;
return $this->headerColor ? $this->headerColor : $this->getTextDarkColor();
}
/**
......@@ -1135,7 +1126,6 @@ class Configuration
*/
public function setDisableColor($disableColor)
{
if (strlen($disableColor) == 6) $disableColor = '#' . $disableColor;
$this->disableColor = $disableColor;
return $this;
}
......@@ -1147,7 +1137,7 @@ class Configuration
*/
public function getDisableColor()
{
return $this->disableColor;
return $this->disableColor ? $this->disableColor : "#a6a6a6";
}
/**
......@@ -1158,7 +1148,6 @@ class Configuration
*/
public function setSearchBarColor($searchBarColor)
{
if (strlen($searchBarColor) == 6) $searchBarColor = '#' . $searchBarColor;
$this->searchBarColor = $searchBarColor;
return $this;
}
......@@ -1170,7 +1159,7 @@ class Configuration
*/
public function getSearchBarColor()
{
return $this->searchBarColor;
return $this->searchBarColor ? $this->searchBarColor : $this->primaryColor;
}
/**
......@@ -1181,7 +1170,6 @@ class Configuration
*/
public function setPendingColor($pendingColor)
{
if (strlen($pendingColor) == 6) $pendingColor = '#' . $pendingColor;
$this->pendingColor = $pendingColor;
return $this;
}
......@@ -1193,7 +1181,7 @@ class Configuration
*/
public function getPendingColor()
{
return $this->pendingColor;
return $this->pendingColor ? $this->pendingColor : "#555555";
}
/**
......@@ -1204,7 +1192,6 @@ class Configuration
*/
public function setInteractiveSectionColor($interactiveSectionColor)
{
if (strlen($interactiveSectionColor) == 6) $interactiveSectionColor = '#' . $interactiveSectionColor;
$this->interactiveSectionColor = $interactiveSectionColor;
return $this;
}
......@@ -1216,7 +1203,7 @@ class Configuration
*/
public function getInteractiveSectionColor()
{
return $this->interactiveSectionColor;
return $this->interactiveSectionColor ? $this->interactiveSectionColor : $this->primaryColor;
}
/**
......@@ -1227,7 +1214,6 @@ class Configuration
*/
public function setContentBackgroundColor($contentBackgroundColor)
{
if (strlen($contentBackgroundColor) == 6) $contentBackgroundColor = '#' . $contentBackgroundColor;
$this->contentBackgroundColor = $contentBackgroundColor;
return $this;
}
......@@ -1239,7 +1225,18 @@ class Configuration
*/
public function getContentBackgroundColor()
{
return $this->contentBackgroundColor;
return $this->contentBackgroundColor ? $this->contentBackgroundColor : "white";
}
/**
* Get contentBackgroundColor
*
* @return string $contentBackgroundColor
*/
public function getContentBackgroundSoftColor()
{
$color = $this->getColor($this->getContentBackgroundColor());
return $color->isDark() ? $color->lighten(10) : $color->darken(10);
}
/**
......@@ -2628,7 +2625,9 @@ class Configuration
*/
public function getTextDarkColor()
{
return $this->textDarkColor;
if ($this->textDarkColor) return $this->textDarkColor;
$textColor = $this->getColor($this->textColor);
return $textColor->isDark() ? $textColor : "#272727";
}
/**
......@@ -2650,7 +2649,9 @@ class Configuration
*/
public function getTextDarkSoftColor()
{
return $this->textDarkSoftColor;
if ($this->textDarkSoftColor) return $this->textDarkSoftColor;
$color = $this->getColor($this->getTextDarkColor());
return $color->lighten(15);
}
/**
......@@ -2672,7 +2673,9 @@ class Configuration
*/
public function getTextLightColor()
{
return $this->textLightColor;
if ($this->textLightColor) return $this->textLightColor;
$textColor = $this->getColor($this->textColor);
return $textColor->isLight() ? $textColor : "white";
}
/**
......@@ -2694,6 +2697,88 @@ class Configuration
*/
public function getTextLightSoftColor()
{
return $this->textLightSoftColor;
if ($this->textLightSoftColor) return $this->textLightSoftColor;
$color = $this->getColor($this->getTextLightColor());
return $color->darken(15);
}
/**
* Set headerTextColor
*
* @param string $headerTextColor
* @return $this
*/
public function setHeaderTextColor($headerTextColor)
{
$this->headerTextColor = $headerTextColor;
return $this;
}
/**
* Get headerTextColor
*
* @return string $headerTextColor
*/
public function getHeaderTextColor()
{
if ($this->headerTextColor) return $this->headerTextColor;
$headerBgd = $this->getColor($this->getHeaderColor());
return $headerBgd->isLight() ? $this->getTextDarkColor() : $this->getTextLightColor();
}
/**
* Set headerHoverColor
*
* @param string $headerHoverColor
* @return $this
*/
public function setHeaderHoverColor($headerHoverColor)
{
$this->headerHoverColor = $headerHoverColor;
return $this;
}
/**
* Get headerHoverColor
*
* @return string $headerHoverColor
*/
public function getHeaderHoverColor()
{
return $this->headerHoverColor ? $this->headerHoverColor : $this->primaryColor;
}
public function getTextContentColor()
{
$contentBgd = $this->getColor($this->getContentBackgroundColor());
return $contentBgd->isLight() ? $this->getTextDarkColor() : $this->getTextLightColor();
}
public function getTextSoftContentColor()
{
$contentBgd = $this->getColor($this->getContentBackgroundColor());
return $contentBgd->isLight() ? $this->getTextDarkSoftColor() : $this->getTextLightSoftColor();
}
/**
* Set errorColor
*
* @param string $errorColor
* @return $this
*/
public function setErrorColor($errorColor)
{
$this->errorColor = $errorColor;
return $this;
}
/**
* Get errorColor
*
* @return string $errorColor
*/
public function getErrorColor()
{
return $this->errorColor ? $this->errorColor : "#B90303";
}
}
......@@ -494,7 +494,7 @@ body
font-size: 2rem;
margin-bottom: 0;
strong { font-weight: bold; color: white; }
strong { font-weight: bold; }
@media #{$small-only}
{
......
......@@ -91,7 +91,6 @@
#page-content.with-section {
background-color: transparent;
section {
background-color: white;
border-radius: 5px;
}
}
......
......@@ -16,9 +16,7 @@
}
}
h1 { margin-bottom: 2.5rem; }
.input-field.error .prefix { color: $error-color; }
h1 { margin-bottom: 2.5rem; }
.explanations
{
......@@ -27,9 +25,7 @@
font-size: .8rem;
color: #404040;
margin-bottom: 1rem;
}
.email-already-in-use { color: $error-color; }
}
.login-section
{
......
......@@ -52,8 +52,7 @@ form.biopen_user_profile, form.fos_user_registration_register
.error ul {
margin-bottom: 20px;
margin-top: 0;
li {
color: $error-color;
li {
margin-left: 3rem;
}
}
......
......@@ -24,11 +24,6 @@
th.vote { width:10rem; }
th.report { width:12rem; }
thead {
border-top: 1px solid #d0d0d0;
background-color: #f7f7f7;
}
.empty-secton-message {
text-align: center;
}
......
......@@ -39,7 +39,6 @@
display: none;
height: 100%;
left: 0;
background-color: white;
top: 3rem;
}
......@@ -50,22 +49,18 @@
a {
color: inherit;
&:not(:last-child) { li { border-bottom: 1px solid #d0d0d0; } }
@media (min-width : 901px) {
&:last-child { li { border-radius: 0 0 5px 5px; } }
}
}
li {
background-color: white;