Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #15 from milky-ashes/master
Browse files Browse the repository at this point in the history
new style for cropper
  • Loading branch information
wolfy-j committed Jan 22, 2016
2 parents 42fc2e0 + f8a2a8d commit 8b7e621
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
30 changes: 30 additions & 0 deletions resources/styles/spiral/vault/sstyle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,36 @@ textarea {
}

/*cropper*/

.item-file {
position: relative;

.item-input {
opacity: 0;
position: absolute;
bottom: 0;
left: 0;
}
.sf-crop-filename {
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
max-width: 100%;
}
}

.sf-crop-modal button.btn {
box-shadow: none;
font-weight: bold;
padding: 0;
margin-left: 20px;

&:hover {
background: transparent;
opacity: .7;
}
}

.file-field.input-field .btn{
margin-right: 10px;
text-align: center;
Expand Down
22 changes: 22 additions & 0 deletions resources/styles/spiral/vault/vault.css
Original file line number Diff line number Diff line change
Expand Up @@ -10920,6 +10920,28 @@ textarea {
padding: 0; }

/*cropper*/
.item-file {
position: relative; }
.item-file .item-input {
opacity: 0;
position: absolute;
bottom: 0;
left: 0; }
.item-file .sf-crop-filename {
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
max-width: 100%; }

.sf-crop-modal button.btn, .sf-crop-modal button.btn-large {
box-shadow: none;
font-weight: bold;
padding: 0;
margin-left: 20px; }
.sf-crop-modal button.btn:hover, .sf-crop-modal button.btn-large:hover {
background: transparent;
opacity: .7; }

.file-field.input-field .btn, .file-field.input-field .btn-large {
margin-right: 10px;
text-align: center; }
Expand Down

0 comments on commit 8b7e621

Please sign in to comment.