Skip to content

Commit

Permalink
Fixed #691 - ScrollTop Component
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Nov 30, 2020
1 parent 5cfa766 commit c6c0388
Show file tree
Hide file tree
Showing 43 changed files with 2,544 additions and 1,570 deletions.
1 change: 1 addition & 0 deletions exports/scrolltop.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/scrolltop/ScrollTop';
2 changes: 2 additions & 0 deletions exports/scrolltop.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./components/scrolltop/ScrollTop.vue');
110 changes: 64 additions & 46 deletions public/themes/arya-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -4283,52 +4283,6 @@
background-color: rgba(0, 0, 0, 0.9);
}

.p-inplace .p-inplace-display {
padding: 0.5rem 0.5rem;
border-radius: 3px;
transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.p-inplace .p-inplace-display:not(.p-disabled):hover {
background: rgba(255, 255, 255, 0.03);
color: rgba(255, 255, 255, 0.87);
}
.p-inplace .p-inplace-display:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: 0 0 0 1px #93cbf9;
}

.p-progressbar {
border: 0 none;
height: 1.5rem;
background: #383838;
border-radius: 3px;
}
.p-progressbar .p-progressbar-value {
border: 0 none;
margin: 0;
background: #64B5F6;
}
.p-progressbar .p-progressbar-label {
color: rgba(255, 255, 255, 0.87);
line-height: 1.5rem;
}

.p-terminal {
background: #1e1e1e;
color: rgba(255, 255, 255, 0.87);
border: 1px solid #383838;
padding: 1rem;
}
.p-terminal .p-terminal-input {
font-size: 1rem;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.p-blockui.p-component-overlay {
background: rgba(0, 0, 0, 0.4);
}

.p-avatar {
background-color: #383838;
border-radius: 3px;
Expand Down Expand Up @@ -4380,6 +4334,10 @@
line-height: 3rem;
}

.p-blockui.p-component-overlay {
background: rgba(0, 0, 0, 0.4);
}

.p-divider .p-divider-content {
background-color: #1e1e1e;
}
Expand All @@ -4404,6 +4362,55 @@
padding: 0.5rem 0;
}

.p-inplace .p-inplace-display {
padding: 0.5rem 0.5rem;
border-radius: 3px;
transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.p-inplace .p-inplace-display:not(.p-disabled):hover {
background: rgba(255, 255, 255, 0.03);
color: rgba(255, 255, 255, 0.87);
}
.p-inplace .p-inplace-display:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: 0 0 0 1px #93cbf9;
}

.p-progressbar {
border: 0 none;
height: 1.5rem;
background: #383838;
border-radius: 3px;
}
.p-progressbar .p-progressbar-value {
border: 0 none;
margin: 0;
background: #64B5F6;
}
.p-progressbar .p-progressbar-label {
color: rgba(255, 255, 255, 0.87);
line-height: 1.5rem;
}

.p-scrolltop {
width: 3rem;
height: 3rem;
border-radius: 50%;
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.p-scrolltop.p-link {
background: rgba(100, 181, 246, 0.16);
}
.p-scrolltop.p-link:hover {
background: rgba(100, 181, 246, 0.3616);
}
.p-scrolltop .p-scrolltop-icon {
font-size: 1.5rem;
color: rgba(255, 255, 255, 0.87);
}

.p-tag {
background: #64B5F6;
color: #212529;
Expand Down Expand Up @@ -4433,6 +4440,17 @@
font-size: 0.75rem;
}

.p-terminal {
background: #1e1e1e;
color: rgba(255, 255, 255, 0.87);
border: 1px solid #383838;
padding: 1rem;
}
.p-terminal .p-terminal-input {
font-size: 1rem;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Customizations to the designer theme should be defined here */
.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background-color: #64B5F6;
Expand Down
110 changes: 64 additions & 46 deletions public/themes/arya-green/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -4283,52 +4283,6 @@
background-color: rgba(0, 0, 0, 0.9);
}

.p-inplace .p-inplace-display {
padding: 0.5rem 0.5rem;
border-radius: 3px;
transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.p-inplace .p-inplace-display:not(.p-disabled):hover {
background: rgba(255, 255, 255, 0.03);
color: rgba(255, 255, 255, 0.87);
}
.p-inplace .p-inplace-display:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: 0 0 0 1px #a7d8a9;
}

.p-progressbar {
border: 0 none;
height: 1.5rem;
background: #383838;
border-radius: 3px;
}
.p-progressbar .p-progressbar-value {
border: 0 none;
margin: 0;
background: #81C784;
}
.p-progressbar .p-progressbar-label {
color: rgba(255, 255, 255, 0.87);
line-height: 1.5rem;
}

.p-terminal {
background: #1e1e1e;
color: rgba(255, 255, 255, 0.87);
border: 1px solid #383838;
padding: 1rem;
}
.p-terminal .p-terminal-input {
font-size: 1rem;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.p-blockui.p-component-overlay {
background: rgba(0, 0, 0, 0.4);
}

.p-avatar {
background-color: #383838;
border-radius: 3px;
Expand Down Expand Up @@ -4380,6 +4334,10 @@
line-height: 3rem;
}

.p-blockui.p-component-overlay {
background: rgba(0, 0, 0, 0.4);
}

.p-divider .p-divider-content {
background-color: #1e1e1e;
}
Expand All @@ -4404,6 +4362,55 @@
padding: 0.5rem 0;
}

.p-inplace .p-inplace-display {
padding: 0.5rem 0.5rem;
border-radius: 3px;
transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.p-inplace .p-inplace-display:not(.p-disabled):hover {
background: rgba(255, 255, 255, 0.03);
color: rgba(255, 255, 255, 0.87);
}
.p-inplace .p-inplace-display:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: 0 0 0 1px #a7d8a9;
}

.p-progressbar {
border: 0 none;
height: 1.5rem;
background: #383838;
border-radius: 3px;
}
.p-progressbar .p-progressbar-value {
border: 0 none;
margin: 0;
background: #81C784;
}
.p-progressbar .p-progressbar-label {
color: rgba(255, 255, 255, 0.87);
line-height: 1.5rem;
}

.p-scrolltop {
width: 3rem;
height: 3rem;
border-radius: 50%;
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.p-scrolltop.p-link {
background: rgba(129, 199, 132, 0.16);
}
.p-scrolltop.p-link:hover {
background: rgba(129, 199, 132, 0.3616);
}
.p-scrolltop .p-scrolltop-icon {
font-size: 1.5rem;
color: rgba(255, 255, 255, 0.87);
}

.p-tag {
background: #81C784;
color: #212529;
Expand Down Expand Up @@ -4433,6 +4440,17 @@
font-size: 0.75rem;
}

.p-terminal {
background: #1e1e1e;
color: rgba(255, 255, 255, 0.87);
border: 1px solid #383838;
padding: 1rem;
}
.p-terminal .p-terminal-input {
font-size: 1rem;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Customizations to the designer theme should be defined here */
.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background-color: #81C784;
Expand Down
Loading

0 comments on commit c6c0388

Please sign in to comment.