diff options
Diffstat (limited to 'packages/anastasis-webui/src/scss/_misc.scss')
-rw-r--r-- | packages/anastasis-webui/src/scss/_misc.scss | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/packages/anastasis-webui/src/scss/_misc.scss b/packages/anastasis-webui/src/scss/_misc.scss new file mode 100644 index 000000000..65bd28dbd --- /dev/null +++ b/packages/anastasis-webui/src/scss/_misc.scss @@ -0,0 +1,50 @@ +/* + This file is part of GNU Taler + (C) 2021 Taler Systems S.A. + + GNU Taler is free software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software + Foundation; either version 3, or (at your option) any later version. + + GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with + GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> + */ + +/** + * + * @author Sebastian Javier Marchano (sebasjm) + */ + +.is-user-avatar { + &.has-max-width { + max-width: $size-base * 7; + } + + &.is-aligned-center { + margin: 0 auto; + } + + img { + margin: 0 auto; + border-radius: $radius-rounded; + } +} + +.icon.has-update-mark { + position: relative; + + &:after { + content: ""; + width: $icon-update-mark-size; + height: $icon-update-mark-size; + position: absolute; + top: 1px; + right: 1px; + background-color: $icon-update-mark-color; + border-radius: $radius-rounded; + } +} |