-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from weareferal/develop
Large backups & volume backend improvements
- Loading branch information
Showing
10 changed files
with
712 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
namespace weareferal\remotecore\assets\RemoteCoreUtility; | ||
|
||
use craft\web\AssetBundle; | ||
use craft\web\assets\cp\CpAsset; | ||
|
||
|
||
class RemoteCoreUtilityAsset extends AssetBundle | ||
{ | ||
public function init() | ||
{ | ||
$this->sourcePath = __DIR__ . '/dist'; | ||
|
||
$this->depends = [ | ||
CpAsset::class, | ||
]; | ||
|
||
$this->js = [ | ||
'js/RemoteCoreUtility.js' | ||
]; | ||
|
||
$this->css = [ | ||
'css/RemoteCoreUtility.css', | ||
]; | ||
|
||
parent::init(); | ||
} | ||
} |
123 changes: 123 additions & 0 deletions
123
src/assets/RemoteCoreUtility/dist/css/RemoteCoreUtility.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
.rb-utilities { | ||
position: relative; | ||
} | ||
|
||
.rb-utilities-section { | ||
position: relative; | ||
} | ||
|
||
.rb-utilities-section:nth-child(2) { | ||
margin-top: 25px; | ||
} | ||
|
||
.rb-utilities-table { | ||
margin-bottom: 10px; | ||
} | ||
|
||
/* Hide Craft's default hover background on table rows */ | ||
table.data.rb-utilities-table tbody tr:not(.disabled):hover th, | ||
table.data.rb-utilities-table tbody tr:not(.disabled):hover td { | ||
background-color: transparent; | ||
} | ||
|
||
/* Hide template rows and collapsed rows */ | ||
.rb-utilities-table tr.default-row, | ||
.rb-utilities-table.rb-utilities-table--collapsed | ||
tr:not(.default-row):nth-child(n + 4) { | ||
display: none; | ||
} | ||
|
||
.rb-utilities-table tbody tr td:first-child { | ||
display: flex; | ||
align-items: center; | ||
padding-left: 0; | ||
} | ||
|
||
/* Row */ | ||
.rb-utilities-row { | ||
|
||
} | ||
|
||
/* "Latest" bubble */ | ||
.rb-utilities-bubble { | ||
border: 1px solid #9aa5b1; | ||
margin: 2px 0 0 10px; | ||
padding: 3px 6px; | ||
border-radius: 3px; | ||
font-size: 11px; | ||
line-height: 1; | ||
color: #9aa5b1; | ||
} | ||
|
||
/* Add green circle to the title */ | ||
.rb-utilities-table tbody tr:not(.default-row) td:first-child:before { | ||
display: block; | ||
height: 10px; | ||
width: 10px; | ||
content: ""; | ||
border-radius: 50%; | ||
background-color: #78c678; | ||
margin-right: 10px; | ||
} | ||
|
||
/* "Show All" row */ | ||
.rb-utilities-table tbody tr.show-all-row td { | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
} | ||
.rb-utilities-table tr.show-all-row td a { | ||
font-size: 12px; | ||
} | ||
|
||
.rb-utilities-submit { | ||
display: flex; | ||
justify-content: flex-start; | ||
align-items: center; | ||
position: relative; | ||
} | ||
|
||
/* Small status spinner */ | ||
.rb-utilities-submit .utility-status { | ||
width: 100px; | ||
margin-left: 20px; | ||
display: flex; | ||
justify-content: flex-start; | ||
align-items: center; | ||
} | ||
|
||
.rb-utilities-submit .utility-status .progressbar { | ||
width: 20%; | ||
left: auto; | ||
top: auto; | ||
} | ||
|
||
.rb-utilities-form select { | ||
min-width: 200px; | ||
} | ||
|
||
.rb-utilities-overlay { | ||
cursor: wait; | ||
background-color: rgba(255, 255, 255, 0.75); | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.rb-utilities-guard { | ||
cursor: not-allowed; | ||
background-color: rgba(255, 255, 255, 0.75); | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
Oops, something went wrong.