private-dreamnet/dreamtime

View on GitHub
src/assets/css/reset/_dialog.scss

Summary

Maintainability
Test Coverage
/*
 * DreamTime.
 * Copyright (C) DreamNet. All rights reserved.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License 3.0 as published by
 * the Free Software Foundation. See <https://www.gnu.org/licenses/gpl-3.0.html>
 *
 * Written by Ivan Bravo Bravo <ivan@opendreamnet.com>, 2019.
 */

dialog {
  @apply p-0 bg-transparent top-0 bottom-0;
  /*@apply justify-center items-center;*/
  max-width: 95vw;

  /*
  &[open] {
    @apply flex;
  }

  &::v-deep {
    .box {
      width: 95vw;
      height: 95vh;
    }

    .cropper {
      @apply h-full;
    }
  }
  */
}

/*
dialog {
  @apply m-auto p-0 bg-transparent;
  max-width: 80vw;

  .dialog__content {
    @apply px-6 py-3 bg-menus rounded;
    @apply flex flex-col justify-center;
  }

  .dialog__buttons {
    @apply flex mt-3;

    .button {
      @apply flex-1;

      &:not(:last-child) {
        @apply mr-2;
      }
    }
  }
}
*/

dialog::backdrop {
  background: rgba(0,0,0, 0.90);
}