PHP Classes

File: assets/style.css

Recommend this page to a friend!
  Classes of Danish Satti  >  Upload and Crop  >  assets/style.css  >  Download  
File: assets/style.css
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Upload and Crop
Validate and crop uploaded images files
Author: By
Last change:
Date: 7 years ago
Size: 955 bytes
 

Contents

Class file image Download
/* 
    Document   : style.css
    Created on : Apr 7, 2015, 11:53:17 AM
    Author     : danish
    Description:
        Purpose of the stylesheet follows.
*/

/* Apply these styles only when #preview-pane has
   been placed within the Jcrop widget */
.jcrop-holder #preview-pane {
  display: block;
  position: absolute;
  z-index: 2000;
  top: 10px;
  right: -280px;
  padding: 6px;
  border: 1px rgba(0,0,0,.4) solid;
  background-color: white;

  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;

  -webkit-box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2);
}

/* The Javascript code will set the aspect ratio of the crop
   area based on the size of the thumbnail preview,
   specified here */
#preview-pane .preview-container {
  width: 300px;
  height: 300px;
  overflow: hidden;
}

#upload_error {
    color:red; 
}
For more information send a message to info at phpclasses dot org.