commit
f12a5248a3
|
@ -116,6 +116,12 @@
|
||||||
width: 230px;
|
width: 230px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* move Deleted Files to bottom of sidebar */
|
||||||
|
.nav-trashbin {
|
||||||
|
position: absolute !important;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.app-files #app-settings {
|
.app-files #app-settings {
|
||||||
width: 229px; /* DUH */
|
width: 229px; /* DUH */
|
||||||
}
|
}
|
||||||
|
@ -155,8 +161,9 @@ tr:hover span.extension {
|
||||||
color: #777;
|
color: #777;
|
||||||
}
|
}
|
||||||
|
|
||||||
table tr.mouseOver td { background-color:#eee; }
|
table tr.mouseOver td {
|
||||||
table th { height:24px; padding:0 8px; }
|
background-color: #eee;
|
||||||
|
}
|
||||||
table th, table th a {
|
table th, table th a {
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
@ -179,7 +186,7 @@ table th .columntitle.name {
|
||||||
}
|
}
|
||||||
/* hover effect on sortable column */
|
/* hover effect on sortable column */
|
||||||
table th a.columntitle:hover {
|
table th a.columntitle:hover {
|
||||||
background-color: #F0F0F0;
|
color: #000;
|
||||||
}
|
}
|
||||||
table th .sort-indicator {
|
table th .sort-indicator {
|
||||||
width: 10px;
|
width: 10px;
|
||||||
|
@ -266,7 +273,7 @@ table td.filename .nametext, .uploadtext, .modified { float:left; padding:14px 0
|
||||||
|
|
||||||
.modified {
|
.modified {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-left: 8px;
|
padding-left: 15px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
|
|
|
@ -20,3 +20,8 @@ tr:hover>td.remove>img { visibility:visible; cursor:pointer; }
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 3px;
|
top: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#externalStorage td.status .success {
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
padding-bottom: 44px;
|
padding-bottom: 44px;
|
||||||
}
|
}
|
||||||
#app-navigation > ul {
|
#app-navigation > ul {
|
||||||
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
-moz-box-sizing: border-box; box-sizing: border-box;
|
-moz-box-sizing: border-box; box-sizing: border-box;
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
/* fix height of select boxes for OS X */
|
/* fix height of select boxes for OS X */
|
||||||
select {
|
select {
|
||||||
min-height: 29px;
|
height: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lte8 .delete-icon { background-image: url('../img/actions/delete.png'); }
|
.lte8 .delete-icon { background-image: url('../img/actions/delete.png'); }
|
||||||
|
|
|
@ -111,11 +111,14 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* shift to account for missing navigation */
|
/* shift to account for missing app list */
|
||||||
#body-user #controls,
|
#body-user #controls,
|
||||||
#body-settings #controls {
|
#body-settings #controls {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
#body-user .app-files #controls {
|
||||||
|
left: 230px !important; /* sidebar only */
|
||||||
|
}
|
||||||
|
|
||||||
/* don’t require a minimum width for controls bar */
|
/* don’t require a minimum width for controls bar */
|
||||||
#controls {
|
#controls {
|
||||||
|
|
|
@ -183,6 +183,7 @@ var OC={
|
||||||
appConfig: window.oc_appconfig || {},
|
appConfig: window.oc_appconfig || {},
|
||||||
theme: window.oc_defaults || {},
|
theme: window.oc_defaults || {},
|
||||||
coreApps:['', 'admin','log','search','settings','core','3rdparty'],
|
coreApps:['', 'admin','log','search','settings','core','3rdparty'],
|
||||||
|
menuSpeed: 100,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get an absolute url to a file in an app
|
* Get an absolute url to a file in an app
|
||||||
|
@ -531,7 +532,7 @@ var OC={
|
||||||
$toggle.addClass('menutoggle');
|
$toggle.addClass('menutoggle');
|
||||||
$toggle.on('click.menu', function(event) {
|
$toggle.on('click.menu', function(event) {
|
||||||
if ($menuEl.is(OC._currentMenu)) {
|
if ($menuEl.is(OC._currentMenu)) {
|
||||||
$menuEl.hide();
|
$menuEl.slideUp(OC.menuSpeed);
|
||||||
OC._currentMenu = null;
|
OC._currentMenu = null;
|
||||||
OC._currentMenuToggle = null;
|
OC._currentMenuToggle = null;
|
||||||
return false;
|
return false;
|
||||||
|
@ -541,7 +542,7 @@ var OC={
|
||||||
// close it
|
// close it
|
||||||
OC._currentMenu.hide();
|
OC._currentMenu.hide();
|
||||||
}
|
}
|
||||||
$menuEl.show();
|
$menuEl.slideToggle(OC.menuSpeed);
|
||||||
OC._currentMenu = $menuEl;
|
OC._currentMenu = $menuEl;
|
||||||
OC._currentMenuToggle = $toggle;
|
OC._currentMenuToggle = $toggle;
|
||||||
return false;
|
return false;
|
||||||
|
@ -554,7 +555,7 @@ var OC={
|
||||||
unregisterMenu: function($toggle, $menuEl) {
|
unregisterMenu: function($toggle, $menuEl) {
|
||||||
// close menu if opened
|
// close menu if opened
|
||||||
if ($menuEl.is(OC._currentMenu)) {
|
if ($menuEl.is(OC._currentMenu)) {
|
||||||
$menuEl.hide();
|
$menuEl.slideUp(OC.menuSpeed);
|
||||||
OC._currentMenu = null;
|
OC._currentMenu = null;
|
||||||
OC._currentMenuToggle = null;
|
OC._currentMenuToggle = null;
|
||||||
}
|
}
|
||||||
|
@ -1068,7 +1069,7 @@ function initCore() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$('#settings #expand').click(function(event) {
|
$('#settings #expand').click(function(event) {
|
||||||
$('#settings #expanddiv').slideToggle(200);
|
$('#settings #expanddiv').slideToggle(OC.menuSpeed);
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
});
|
});
|
||||||
$('#settings #expanddiv').click(function(event){
|
$('#settings #expanddiv').click(function(event){
|
||||||
|
@ -1076,7 +1077,7 @@ function initCore() {
|
||||||
});
|
});
|
||||||
//hide the user menu when clicking outside it
|
//hide the user menu when clicking outside it
|
||||||
$(document).click(function(){
|
$(document).click(function(){
|
||||||
$('#settings #expanddiv').slideUp(200);
|
$('#settings #expanddiv').slideUp(OC.menuSpeed);
|
||||||
});
|
});
|
||||||
|
|
||||||
// all the tipsy stuff needs to be here (in reverse order) to work
|
// all the tipsy stuff needs to be here (in reverse order) to work
|
||||||
|
@ -1097,7 +1098,7 @@ function initCore() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (OC._currentMenu) {
|
if (OC._currentMenu) {
|
||||||
OC._currentMenu.hide();
|
OC._currentMenu.slideUp(OC.menuSpeed);
|
||||||
}
|
}
|
||||||
OC._currentMenu = null;
|
OC._currentMenu = null;
|
||||||
OC._currentMenuToggle = null;
|
OC._currentMenuToggle = null;
|
||||||
|
|
|
@ -359,8 +359,10 @@ describe('Core base tests', function() {
|
||||||
var oldMatchMedia;
|
var oldMatchMedia;
|
||||||
var $toggle;
|
var $toggle;
|
||||||
var $navigation;
|
var $navigation;
|
||||||
|
var clock;
|
||||||
|
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
|
clock = sinon.useFakeTimers();
|
||||||
oldMatchMedia = OC._matchMedia;
|
oldMatchMedia = OC._matchMedia;
|
||||||
// a separate method was needed because window.matchMedia
|
// a separate method was needed because window.matchMedia
|
||||||
// cannot be stubbed due to a bug in PhantomJS:
|
// cannot be stubbed due to a bug in PhantomJS:
|
||||||
|
@ -376,6 +378,7 @@ describe('Core base tests', function() {
|
||||||
|
|
||||||
afterEach(function() {
|
afterEach(function() {
|
||||||
OC._matchMedia = oldMatchMedia;
|
OC._matchMedia = oldMatchMedia;
|
||||||
|
clock.restore();
|
||||||
});
|
});
|
||||||
it('Sets up menu toggle in mobile mode', function() {
|
it('Sets up menu toggle in mobile mode', function() {
|
||||||
OC._matchMedia.returns({matches: true});
|
OC._matchMedia.returns({matches: true});
|
||||||
|
@ -413,8 +416,10 @@ describe('Core base tests', function() {
|
||||||
$navigation.hide(); // normally done through media query triggered CSS
|
$navigation.hide(); // normally done through media query triggered CSS
|
||||||
expect($navigation.is(':visible')).toEqual(false);
|
expect($navigation.is(':visible')).toEqual(false);
|
||||||
$toggle.click();
|
$toggle.click();
|
||||||
|
clock.tick(1 * 1000);
|
||||||
expect($navigation.is(':visible')).toEqual(true);
|
expect($navigation.is(':visible')).toEqual(true);
|
||||||
$toggle.click();
|
$toggle.click();
|
||||||
|
clock.tick(1 * 1000);
|
||||||
expect($navigation.is(':visible')).toEqual(false);
|
expect($navigation.is(':visible')).toEqual(false);
|
||||||
});
|
});
|
||||||
it('Clicking menu toggle does not toggle navigation in desktop mode', function() {
|
it('Clicking menu toggle does not toggle navigation in desktop mode', function() {
|
||||||
|
@ -448,6 +453,7 @@ describe('Core base tests', function() {
|
||||||
window.initCore();
|
window.initCore();
|
||||||
expect($navigation.is(':visible')).toEqual(false);
|
expect($navigation.is(':visible')).toEqual(false);
|
||||||
$toggle.click();
|
$toggle.click();
|
||||||
|
clock.tick(1 * 1000);
|
||||||
expect($navigation.is(':visible')).toEqual(true);
|
expect($navigation.is(':visible')).toEqual(true);
|
||||||
mq.matches = false;
|
mq.matches = false;
|
||||||
$(window).trigger('resize');
|
$(window).trigger('resize');
|
||||||
|
@ -456,6 +462,7 @@ describe('Core base tests', function() {
|
||||||
$(window).trigger('resize');
|
$(window).trigger('resize');
|
||||||
expect($navigation.is(':visible')).toEqual(false);
|
expect($navigation.is(':visible')).toEqual(false);
|
||||||
$toggle.click();
|
$toggle.click();
|
||||||
|
clock.tick(1 * 1000);
|
||||||
expect($navigation.is(':visible')).toEqual(true);
|
expect($navigation.is(':visible')).toEqual(true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -158,6 +158,10 @@ table.shareAPI .indent { padding-left: 2em; }
|
||||||
vertical-align: text-bottom;
|
vertical-align: text-bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cronstatus.success {
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
#selectGroups select {
|
#selectGroups select {
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
|
|
Loading…
Reference in New Issue