diff --git a/src/admin/App.vue b/src/admin/App.vue
index 84d6d0c..c011c82 100644
--- a/src/admin/App.vue
+++ b/src/admin/App.vue
@@ -69,6 +69,15 @@ export default {
font-size: 21px;
font-weight: 700;
margin-bottom: 60px;
+
+ @include tablets {
+ margin-bottom: 50px;
+ }
+
+ @include phonesLg {
+ font-size: 18px;
+ margin-bottom: 40px;
+ }
}
.nav-container {
@@ -81,76 +90,6 @@ export default {
padding-top: 60px;
}
- .add-new-btn {
- display: flex;
- align-items: center;
- justify-content: center;
- background: transparent;
- color: $links-color;
- font-weight: 600;
- padding: 3px;
- border: none;
- font-size: 16px;
-
- &:before {
- content: "";
- display: block;
- width: 40px;
- height: 40px;
- border-radius: 50%;
- background: svg-load('cross.svg', fill=$white, width=15px, height=15px, transform='rotate(45deg)') center center no-repeat, linear-gradient(to right, #006aed, #3f35cb);
- color: $white;
- flex-shrink: 0;
- flex-basis: 40px;
- font-size: 30px;
- line-height: 40px;
- }
-
- &--small {
- &:before {
- content: "";
- background: svg-load('cross.svg', fill=$white, width=8px, height=8px, transform='rotate(45deg)') center center no-repeat, linear-gradient(to right, #006aed, #3f35cb);
- width: 20px;
- height: 20px;
- flex-basis: 20px;
- font-size: 18px;
- margin-right: 13px;
- line-height: 1;
- }
- }
- }
-
- .add-new-btn-plain {
- display: flex;
- flex: 1;
- justify-content: center;
- align-content: center;
- padding: 0;
- border: none;
- background-image: linear-gradient(to right, #006aed 0%, #3f35cb 100%);
- }
-
- .btn-text {
- color: $white;
- font-size: 18px;
- font-weight: 700;
- line-height: 25px;
-
- &:before {
- display: flex;
- content: '+';
- font-weight: 300;
- font-size: 72px;
- justify-content: center;
- align-items: center;
- width: 150px;
- height: 150px;
- border-radius: 50%;
- border: 2px solid currentColor;
- margin-bottom: 30px;
- }
- }
-
.form__btn {
color: $white;
font-weight: 700;
@@ -159,15 +98,21 @@ export default {
background-image: linear-gradient(to right, #006aed 0%, #3f35cb 100%);
border-radius: 30px;
+ @include phonesLg {
+ font-size: 14px;
+ }
+
&--big {
- padding: 25px 45px;
+ padding: 20px 35px;
border-radius: 35px;
}
&--plain {
+ text-transform: initial;
background: transparent;
color: #383bcf;
margin-right: 10px;
+ padding: 20px 30px;
}
}
@@ -175,4 +120,11 @@ export default {
box-shadow: 4px 3px 20px rgba(0, 0, 0, 0.07);
background-color: $white;
}
+
+ .blocked {
+ opacity: 0.5;
+ filter: grayscale(100%);
+ pointer-events: none;
+ user-select: none;
+ }
\ No newline at end of file
diff --git a/src/admin/components/AddBtn.vue b/src/admin/components/AddBtn.vue
index 8849e3f..27303c0 100644
--- a/src/admin/components/AddBtn.vue
+++ b/src/admin/components/AddBtn.vue
@@ -44,6 +44,10 @@ export default {
border: none;
font-size: 16px;
+ @include tablets {
+ font-size: 14px;
+ }
+
&:before {
content: "";
display: block;
diff --git a/src/admin/components/Header.vue b/src/admin/components/Header.vue
index 8dc7834..cc03bd5 100644
--- a/src/admin/components/Header.vue
+++ b/src/admin/components/Header.vue
@@ -5,7 +5,9 @@
.user
.user__avatar
img(src="../../images/userfiles/admin.jpg").user__avatar-img
- .user__name Максим Стогний
+ .user__name
+ span Максим Стогний
+ a.exit-btn(href="#") Выйти
.header__title Панель Администрирования
.header__btn
a.exit-btn(href="#") Выйти
@@ -16,6 +18,8 @@ export default {
}
\ No newline at end of file
diff --git a/src/admin/components/Navigation.vue b/src/admin/components/Navigation.vue
index 561985e..7735a1c 100644
--- a/src/admin/components/Navigation.vue
+++ b/src/admin/components/Navigation.vue
@@ -32,10 +32,16 @@ export default {
}
\ No newline at end of file