34 lines
974 B
SCSS
34 lines
974 B
SCSS
// Name: Upload
|
|
// Description: Provides a dragover state for uploads
|
|
//
|
|
// Component: `uk-upload`
|
|
//
|
|
// States: `uk-dragover`
|
|
//
|
|
// ========================================================================
|
|
|
|
|
|
// Variables
|
|
// ========================================================================
|
|
|
|
$uk-upload-dragover-box-shadow: rgba(100,100,100,0.3) !default;
|
|
$uk-upload-dragover-box-shadow-blur: 20px !default;
|
|
|
|
|
|
/* ========================================================================
|
|
Component: Upload
|
|
========================================================================== */
|
|
|
|
/*
|
|
* Create a box-shadow when dragging a file over the upload area
|
|
*/
|
|
|
|
.uk-dragover { box-shadow: 0 0 $uk-upload-dragover-box-shadow-blur $uk-upload-dragover-box-shadow; }
|
|
|
|
|
|
// Hooks
|
|
// ========================================================================
|
|
|
|
@include hook-upload-misc();
|
|
|
|
// @mixin hook-upload-misc(){} |