feat: warning for protected note without protection

- Use `.sn-button` everywhere
- Delete permissions modal
- Capitalize "Clear session data"
This commit is contained in:
Baptiste Grob
2021-03-22 16:51:49 +01:00
parent cd7b5cc455
commit cc474da0c3
25 changed files with 418 additions and 476 deletions

View File

@@ -1,16 +0,0 @@
/* Generic UI controls that have yet to be extracted into Stylekit */
.sn-btn {
@extend .border-0;
@extend .bg-main;
@extend .cursor-pointer;
@extend .capitalize;
@extend .font-bold;
@extend .py-2;
@extend .px-3;
@extend .rounded;
@extend .text-info-contrast;
@extend .text-sm;
@extend .hover\:brightness-130;
}

View File

@@ -81,14 +81,6 @@ $screen-md-max: ($screen-lg-min - 1) !default;
opacity: 0.5;
}
.flex {
display: flex;
}
.flex-column {
flex-direction: column;
}
.self-start {
align-self: flex-start;
}
@@ -226,6 +218,12 @@ $screen-md-max: ($screen-lg-min - 1) !default;
.grid-template-cols-1fr {
grid-template-columns: 1fr;
}
.col-span-all {
grid-column: 1 / -1;
}
.grid-col-2 {
grid-column: 2;
}
.relative {
position: relative;

View File

@@ -11,4 +11,3 @@
@import "ionicons";
@import "reach-sub";
@import "sessions-modal";
@import "sn";