Commit 904a82c6 authored by murban's avatar murban
Browse files

Moved the css files for the filebase from static/base to static/files. Added...

Moved the css files for the filebase from static/base to static/files. Added checkboxes to the filebase.View-items
parent 6dfa593a
.file-maindiv {
background-color: #F8F403;
float: left;
height: 550px;
margin: 5px;
width: 90%;
/*overflow hidden*/
/*position relative*/
/*vertical-align baseline*/
}
.file-popupmenu {
background: #FFFFFF;
display: none;
margin: 5px;
position: absolute;
width: 280px;
height: 120px;
}
/* Start: Recommended Isotope styles */
/**** Isotope Filtering ****/
/*.isotope-item {
z-index: 2;
}
.isotope-hidden.isotope-item { pointer-events: none; z-index: 1; }
.isotope {
-webkit-transition-property: height, width;
-o-transition-property: height, width;
-ms-transition-property: height, width;
-moz-transition-property: height, width;
transition-property: height, width;
}
.isotope .isotope-item {
-webkit-transition-property: -webkit-transform, opacity;
-o-transition-property: -o-transform, opacity;
-ms-transition-property: -ms-transform, opacity;
-moz-transition-property: -moz-transform, opacity;
transition-property: transform, opacity;
}
/*
* Import view specific files
*/
@import url("../js/vispa/file/views/symbol/style.css");
@import url("../js/vispa/file/views/grid/style.css");
@import url("../js/vispa/file/views/column/style.css");
/*
* File Base
*/
.filebase_centerpane
{
padding: 0px;
background-color: #ffffff;
border: 1px solid grey;
border-width: 0px 0px 0px 1px;
}
.filebase_toolbar
{
padding: 0px;
background-color: #dcdcdc;
height: 30px;
border-style: solid;
border-color: #f0f0f0 #f0f0f0 grey grey;
border-width: 1px 0px 1px 0px;
background: linear-gradient(top, #d8d8d8 0%, #c0c0c0 100%);
background: -webkit-linear-gradient(top, #d8d8d8 0%, #c0c0c0 100%);
background: -moz-linear-gradient(top, #d8d8d8 0%, #c0c0c0 100%);
background: -o-linear-gradient(top, #d8d8d8 0%, #c0c0c0 100%);
}
.filebase_toolbar_buttons
{
float: left;
}
.filebase_toolbar_button
{
margin: 5px 6px 0px 6px;
text-shadow: 0px 1px 0px #f0f0f0;
float: left;
}
.filebase_toolbar_button_icon
{
height: 16px;
width: 16px;
}
.filebase_toolbar_search
{
float: right:
}
.filebase_pathbar
{
height: 20px;
padding: 0px 4px 0px 4px;
background-color: #e9ecf2;
border: 1px solid #f0f0f0;
border-width: 1px 1px 1px 1px;
border-color: #f0f0f0 #f0f0f0 grey grey;
background: linear-gradient(top, #e9ecf2 0%, #d2d8e0 100%);
background: -webkit-linear-gradient(top, #e9ecf2 0%, #d2d8e0 100%);
background: -moz-linear-gradient(top, #e9ecf2 0%, #d2d8e0 100%);
background: -o-linear-gradient(top, #e9ecf2 0%, #d2d8e0 100%);
}
.filebase_pathbar_node
{
margin: 0px;
float: left;
text-shadow: 0px 1px 0px white;
cursor: pointer;
border: 1px solid transparent;
border-radius: 4px;
padding: 0px 2px 1px 2px;
color: #101010;
}
.filebase_pathbar_node:hover
{
border-color: #909090;
box-shadow: inset 0px 2px 2px #d0d0d0, 0px 1px 0px white;
}
.filebase_pathbar_node:active
{
box-shadow: 0px 1px 0px white;
background-color: #dddddd;
}
.filebase_pathbar_separator
{
margin: 1px 2px 0px 2px;
float: left;
background-image: url(../img/path_arrow.png);
background-position: center;
background-repeat: no-repeat;
color: transparent;
}
.filebase_mountbar
{
padding: 0px;
background-color: #e9ecf2;
border: 1px solid #f0f0f0;
border-width: 1px 0px 0px 0px;
border-color: #f0f0f0 #f0f0f0 grey grey;
background: linear-gradient(top, #e9ecf2 0%, #d2d8e0 100%);
background: -webkit-linear-gradient(top, #e9ecf2 0%, #d2d8e0 100%);
background: -moz-linear-gradient(top, #e9ecf2 0%, #d2d8e0 100%);
background: -o-linear-gradient(top, #e9ecf2 0%, #d2d8e0 100%);
box-shadow: inset -1px 0px 0px #f0f0f0;
}
.filebase_mountgroup
{
position: relative;
width: 100%;
height: auto;
margin: 5px 0px 8px 0px;
}
.filebase_mountgroup_title
{
position: relative;
color: #606060;
font-weight: bold;
text-shadow: 0px 1px 0px white;
margin-left: 20px;
font-size: 11px;
}
.filebase_mountgroup_minifier
{
position: absolute;
left: 0px;
top: -5px;
height: 20px;
width: 20px;
cursor: pointer;
background-image: url(../img/collapse_arrow.png);
background-position: center;
background-repeat: no-repeat;
border-radius: 10px;
}
.filebase_mountgroup_mounts
{}
.filebase_mountgroup_mount
{
position: relative;
margin: 2px 0px 2px 0px;
padding: 2px 2px 2px 10px;
cursor: pointer;
border: 1px solid transparent;
border-width: 1px 0px 1px 0px;
color: black;
font-size: 13px;
text-shadow: 0px 1px 0px white;
}
.filebase_mountgroup_mount_selected
{
background: linear-gradient(top, #75afe3 0%, #4884d1 100%);
background: -webkit-linear-gradient(top, #75afe3 0%, #4884d1 100%);
background: -moz-linear-gradient(top, #75afe3 0%, #4884d1 100%);
background: -o-linear-gradient(top, #75afe3 0%, #4884d1 100%);
color: white;
text-shadow: none;
border-color: #7CB7E9 transparent #4277C1 transparent;
}
.filebase_mountgroup_mount_icon
{
position: absolute;
top: 1px;
left: 4px;
}
.filebase_mountgroup_mount_label
{
position: relative;
margin-left: 15px;
}
.filebase_info_tablecell
{
padding: 1px 4px 1px 4px;
color: #404040;
}
/*
* File Selector
*/
.fileselector_mainframe
{
position: absolute;
top: 0px;
left: 0px;
width: 100px;
height: 100px;
padding: 0px;
background-color: white;
border: 1px solid grey;
box-shadow: 0px 0px 20px black;
z-index: 3;
overflow: visible;
}
.fileselector_mainframe_title
{
padding: 0px;
height: 22px;
display: table;
border: 1px solid grey;
border-width: 0px 0px 1px 0px;
cursor: move;
}
.fileselector_mainframe_title_text
{
display: table-cell;
vertical-align: middle;
font-weight: bold;
text-align: center;
}
.fileselector_mainframe_closecross
{
position: absolute;
height: 30px;
width: 30px;
top: -10px;
right: -10px;
border-radius: 12px;
background-image: url(../img/closecross_small.png);
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
z-index: 2;
}
.fileselector_pathbar
{
height: 20px;
padding: 0px 4px 0px 4px;
background-color: #e9ecf2;
border: 1px solid #f0f0f0;
border-width: 1px 1px 1px 1px;
border-color: #f0f0f0 #f0f0f0 grey grey;
background: linear-gradient(top, #e9ecf2 0%, #d2d8e0 100%);
background: -webkit-linear-gradient(top, #e9ecf2 0%, #d2d8e0 100%);
background: -moz-linear-gradient(top, #e9ecf2 0%, #d2d8e0 100%);
background: -o-linear-gradient(top, #e9ecf2 0%, #d2d8e0 100%);
}
.fileselector_backpanel
{
position: absolute;
height: 100%;
width: 100%;
top: 0px;
left: 0px;
background-color: black;
opacity: 0.5;
z-index: 2;
display: none;
}
\ No newline at end of file
......@@ -16,7 +16,8 @@ var FileBase = Class.extend({
this.workflow = {
path: path,
currentView: null,
data: null
data: null,
selections: {}
};
},
......
......@@ -65,6 +65,14 @@ var Symbolview = Class.extend({
} else {
icon.addClass("folder-item")
};
if (data.name != "..") {
var selectbox = $('<input type="checkbox">')
.appendTo(icon)
.addClass(":file")
.attr()
};
var lastchanged = $("<p/>", {
text: $.Helpers.strFormat('Last Changed: {0} b', data.mtime)
......@@ -111,7 +119,7 @@ var Symbolview = Class.extend({
}
});
name.on('mousedown', function(event) {
if (data.type == "f") {
_this.owner.events.dblClickFile(event, data);
} else {
......
......@@ -115,13 +115,13 @@
base_scripts = ["resets.css",
"menu.css",
"overlay.css",
"messenger.css",
"file/filebase/filebase.css",
"file/filebase/views/symbol/style.css"]
"messenger.css"]
site_scripts = ["view.css",
"extensionview.css",
"preferenceview.css",
"pathbar.css"]
"pathbar.css",
"file/filebase/filebase.css",
"file/filebase/views/symbol/style.css"]
for script in jquery_scripts:
base.import_css(url.static(url.join("frameworks/jquery", script)))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment