﻿/* 
  Changes below are custom additions for the Volusion Platform. Each style is commented to indicate it's purpose. The intent of this is to prevent modifying the redactor stylesheet.
*/

/* Remove bottom border of Redactor toolbar. Necessary for UX Save/Cancel btn requirements */
div.redactor_box ul.redactor_toolbar {
    border-bottom: none;
}

/* Overrides styles on the admin side to prevent a border around the "Choose File" button. This is done to ensure storefront and admin UI's match' */
#redactor_file {
    border: none;
}

#redactor_modal {
    text-align: left;
    z-index: 999999;
}

/* Style changes for "Code View" to make it match the rest of the textareas in admin and storefront */
.redactor_box textarea, .redactor_box textarea:focus {
    background-color: #f2f3f4;
    color: #303847;
    resize: vertical;
    padding: 10px;
}

/* Set the TextArea background color white in the admin, since it's been commened out on the .redactor_editor declaration in this stylesheet */
.redactor_vwysiwyg, .redactor_vwysiwyg:focus {
    background-color: #ffffff;
}

/* Used with the "redactorDisabledToolbar.js" jQuery plugin that builds a fake redactor instance in code-view */
.blacklisted_redactor.redactor_box > textarea {
    margin: 0;
}