Files
grecia/app/assets/stylesheets
Javi Martín b2a05322fd Simplify using current color on borders
Using `currentcolor` is IMHO more expressive, since it shows the
intention of styling the border with the same color as the text.

This is particularly useful for CONSUL installations using custom
styles. Consider the following code:

```
.is-active {
  border: 1px solid $brand;
  color: $brand;
}
```

If we'd like to customize the way active items look, we'd have to
override two colors:

```
.is-active {
  border: 1px solid $brand-secondary;
  color: $brand-secondary;
}
```

Consider the scenario where we use `currentcolor` (which is the default
border color):

```
.is-active {
  border: 1px solid;
  color: $brand;
}
```

Now we only need to override one color to change the styles:

```
.is-active {
  color: $brand-secondary;
}
```
2021-06-29 20:03:36 +02:00
..
2021-06-29 19:45:09 +02:00
2021-06-02 16:15:00 +02:00
2021-06-21 20:16:45 +02:00
2021-06-02 16:15:00 +02:00
2021-06-24 13:15:04 +02:00
2019-02-02 19:18:26 +01:00
2021-06-29 19:41:58 +02:00
2021-02-14 18:56:52 +01:00