mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 20:21:37 +00:00
Empty commit
This commit is contained in:
parent
49c5593aa1
commit
16afc03e25
@ -333,7 +333,7 @@ public function load_staff_pms() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($NewStaffPMs > 0) {
|
if ($NewStaffPMs > 0) {
|
||||||
$Title = 'You have new ' . ($NewStaffPMs == 1 ? 'a' : $NewStaffPMs) . ' Staff PM' . ($NewStaffPMs > 1 ? 's' : '');
|
$Title = 'You have ' . ($NewStaffPMs == 1 ? 'a' : $NewStaffPMs) . ' new Staff PM' . ($NewStaffPMs > 1 ? 's' : '');
|
||||||
$this->create_notification(self::STAFFPM, 0, $Title, 'staffpm.php', self::INFO);
|
$this->create_notification(self::STAFFPM, 0, $Title, 'staffpm.php', self::INFO);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,14 @@
|
|||||||
CHANGE LOG
|
CHANGE LOG
|
||||||
|
|
||||||
|
2014-01-18 by alderaan
|
||||||
|
Fix grammar in pop-up notifications about new Staff PMs.
|
||||||
|
|
||||||
|
2014-01-18 by flaming
|
||||||
|
Rename "Unrelated Ebooks" torrent report type to "Ebook Collection".
|
||||||
|
|
||||||
|
2014-01-18 by alderaan
|
||||||
|
Rename the "Dismiss" button to "Hide" for pop-up notifications.
|
||||||
|
|
||||||
2014-01-05 by Ajax
|
2014-01-05 by Ajax
|
||||||
Wildcard searches in IP history
|
Wildcard searches in IP history
|
||||||
|
|
||||||
|
@ -818,7 +818,7 @@
|
|||||||
'unrelated' => array(
|
'unrelated' => array(
|
||||||
'priority' => '270',
|
'priority' => '270',
|
||||||
'reason' => '-1',
|
'reason' => '-1',
|
||||||
'title' => 'Unrelated Ebooks',
|
'title' => 'Ebook Collection',
|
||||||
'report_messages' => array(
|
'report_messages' => array(
|
||||||
'Please include as much information as possible to verify the report.'
|
'Please include as much information as possible to verify the report.'
|
||||||
),
|
),
|
||||||
|
@ -145,7 +145,7 @@ function Unbookmark(type, id, newName) {
|
|||||||
$('.groupid_' + id).remove();
|
$('.groupid_' + id).remove();
|
||||||
$('.bookmark_' + id).remove();
|
$('.bookmark_' + id).remove();
|
||||||
});
|
});
|
||||||
} else if (window.location.pathname.indexOf('top10.php') != -1 || window.location.search.indexOf('?action=notify') != -1) {
|
} else if (window.location.pathname.indexOf('top10.php') != -1 || window.location.search.indexOf('?action=notify') != -1) {
|
||||||
var oldName = $('#bookmarklink_' + type + '_' + id).raw().innerHTML;
|
var oldName = $('#bookmarklink_' + type + '_' + id).raw().innerHTML;
|
||||||
ajax.get("bookmarks.php?action=remove&type=" + type + "&auth=" + authkey + "&id=" + id, function() {
|
ajax.get("bookmarks.php?action=remove&type=" + type + "&auth=" + authkey + "&id=" + id, function() {
|
||||||
var bookmarklinks = $('#bookmarklink_' + type + '_' + id);
|
var bookmarklinks = $('#bookmarklink_' + type + '_' + id);
|
||||||
|
@ -93,7 +93,7 @@ var collageShow = {
|
|||||||
if (this.max - this.pg < 2) {
|
if (this.max - this.pg < 2) {
|
||||||
first = Math.max(this.max - 4, 0);
|
first = Math.max(this.max - 4, 0);
|
||||||
}
|
}
|
||||||
last = Math.min(first + 4, this.max);
|
last = Math.min(first + 4, this.max);
|
||||||
for (i = 0; i < first; i++) {
|
for (i = 0; i < first; i++) {
|
||||||
$('#pagelink' + i).ghide();
|
$('#pagelink' + i).ghide();
|
||||||
}
|
}
|
||||||
@ -134,7 +134,7 @@ var collageShow = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
nextPage:function() {
|
nextPage:function() {
|
||||||
this.pg = this.pg < this.max ? this.pg + 1 : this.pg;
|
this.pg = this.pg < this.max ? this.pg + 1 : this.pg;
|
||||||
this.pager();
|
this.pager();
|
||||||
},
|
},
|
||||||
prevPage:function() {
|
prevPage:function() {
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
function toggleChecks(formElem, masterElem, elemSelector) {
|
function toggleChecks(formElem, masterElem, elemSelector) {
|
||||||
elemSelector = elemSelector || 'input:checkbox';
|
elemSelector = elemSelector || 'input:checkbox';
|
||||||
if (masterElem) {
|
if (masterElem) {
|
||||||
$('#'+formElem+' '+elemSelector).prop('checked', masterElem.checked);
|
$('#' + formElem + ' ' + elemSelector).prop('checked', masterElem.checked);
|
||||||
} else {
|
} else {
|
||||||
$('#'+formElem+' '+elemSelector).each(function() {
|
$('#' + formElem + ' ' + elemSelector).each(function() {
|
||||||
this.checked = !this.checked;
|
this.checked = !this.checked;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -17,16 +17,16 @@ function toggleChecks(formElem, masterElem, elemSelector) {
|
|||||||
//Lightbox stuff
|
//Lightbox stuff
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If loading from a thumbnail, the lightbox is shown first with a "loading" screen
|
* If loading from a thumbnail, the lightbox is shown first with a "loading" screen
|
||||||
* while the full size image loads, then the HTML of the lightbox is replaced with the image.
|
* while the full size image loads, then the HTML of the lightbox is replaced with the image.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var lightbox = {
|
var lightbox = {
|
||||||
init: function (image, size) {
|
init: function (image, size) {
|
||||||
if (typeof(image) == 'string') {
|
if (typeof(image) == 'string') {
|
||||||
$('#lightbox').gshow().listen('click',lightbox.unbox).raw().innerHTML =
|
$('#lightbox').gshow().listen('click', lightbox.unbox).raw().innerHTML =
|
||||||
'<p size="7" style="color: gray; font-size: 50px;">Loading...<p>';
|
'<p size="7" style="color: gray; font-size: 50px;">Loading...<p>';
|
||||||
$('#curtain').gshow().listen('click',lightbox.unbox);
|
$('#curtain').gshow().listen('click', lightbox.unbox);
|
||||||
var src = image;
|
var src = image;
|
||||||
image = new Image();
|
image = new Image();
|
||||||
image.onload = function() {
|
image.onload = function() {
|
||||||
@ -51,8 +51,8 @@ var lightbox = {
|
|||||||
hasA = true;
|
hasA = true;
|
||||||
}
|
}
|
||||||
if (!hasA) {
|
if (!hasA) {
|
||||||
$('#lightbox').gshow().listen('click',lightbox.unbox).raw().innerHTML = '<img src="' + image.src + '" alt="" />';
|
$('#lightbox').gshow().listen('click', lightbox.unbox).raw().innerHTML = '<img src="' + image.src + '" alt="" />';
|
||||||
$('#curtain').gshow().listen('click',lightbox.unbox);
|
$('#curtain').gshow().listen('click', lightbox.unbox);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
box_async: function (image) {
|
box_async: function (image) {
|
||||||
@ -81,7 +81,7 @@ function caps_check(e) {
|
|||||||
if (e.which > 47 && e.which < 58) {
|
if (e.which > 47 && e.which < 58) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ((e.which > 64 && e.which < 91 && !e.shiftKey) || (e.which > 96 && e.which < 123 && e.shiftKey)) {
|
if ((e.which > 64 && e.which < 91 && !e.shiftKey) || (e.which > 96 && e.which < 123 && e.shiftKey)) {
|
||||||
$('#capslock').gshow();
|
$('#capslock').gshow();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -112,9 +112,9 @@ function add_selection() {
|
|||||||
if (selected.disabled === false) {
|
if (selected.disabled === false) {
|
||||||
var listitem = document.createElement("li");
|
var listitem = document.createElement("li");
|
||||||
listitem.id = 'list' + selected.value;
|
listitem.id = 'list' + selected.value;
|
||||||
listitem.innerHTML = ' <input type="hidden" name="list[]" value="'+selected.value+'" /> ' +
|
listitem.innerHTML = ' <input type="hidden" name="list[]" value="' + selected.value + '" /> ' +
|
||||||
' <span style="float: left;">'+selected.innerHTML+'</span>' +
|
' <span style="float: left;">' + selected.innerHTML + '</span>' +
|
||||||
' <a href="#" onclick="remove_selection(\''+selected.value+'\');return false;" style="float: right;" class="brackets">X</a>' +
|
' <a href="#" onclick="remove_selection(\'' + selected.value + '\'); return false;" style="float: right;" class="brackets">X</a>' +
|
||||||
' <br style="clear: all;" />';
|
' <br style="clear: all;" />';
|
||||||
$('#list').raw().appendChild(listitem);
|
$('#list').raw().appendChild(listitem);
|
||||||
$('#opt' + selected.value).raw().disabled = true;
|
$('#opt' + selected.value).raw().disabled = true;
|
||||||
@ -123,20 +123,20 @@ function add_selection() {
|
|||||||
|
|
||||||
function remove_selection(index) {
|
function remove_selection(index) {
|
||||||
$('#list' + index).remove();
|
$('#list' + index).remove();
|
||||||
$('#opt' + index).raw().disabled='';
|
$('#opt' + index).raw().disabled = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Thank you http://stackoverflow.com/questions/4578398/selecting-all-text-within-a-div-on-a-single-left-click-with-javascript
|
// Thank you http://stackoverflow.com/questions/4578398/selecting-all-text-within-a-div-on-a-single-left-click-with-javascript
|
||||||
function select_all(el) {
|
function select_all(el) {
|
||||||
if (typeof window.getSelection != "undefined" && typeof document.createRange != "undefined") {
|
if (typeof window.getSelection != "undefined" && typeof document.createRange != "undefined") {
|
||||||
var range = document.createRange();
|
var range = document.createRange();
|
||||||
range.selectNodeContents(el);
|
range.selectNodeContents(el);
|
||||||
var sel = window.getSelection();
|
var sel = window.getSelection();
|
||||||
sel.removeAllRanges();
|
sel.removeAllRanges();
|
||||||
sel.addRange(range);
|
sel.addRange(range);
|
||||||
} else if (typeof document.selection != "undefined" && typeof document.body.createTextRange != "undefined") {
|
} else if (typeof document.selection != "undefined" && typeof document.body.createTextRange != "undefined") {
|
||||||
var textRange = document.body.createTextRange();
|
var textRange = document.body.createTextRange();
|
||||||
textRange.moveToElementText(el);
|
textRange.moveToElementText(el);
|
||||||
textRange.select();
|
textRange.select();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -98,11 +98,11 @@
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
timeboxparent.on('touchend touchcancel',function( event ){
|
timeboxparent.on('touchend touchcancel', function(event){
|
||||||
start = false;
|
start = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
timeboxparent.trigger('resize_scroll.xdsoft_scroller',[_percent]);
|
timeboxparent.trigger('resize_scroll.xdsoft_scroller', [_percent]);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
$.fn.datetimepicker = function( opt ){
|
$.fn.datetimepicker = function( opt ){
|
||||||
@ -127,7 +127,7 @@
|
|||||||
ZKEY = 90,
|
ZKEY = 90,
|
||||||
YKEY = 89,
|
YKEY = 89,
|
||||||
ctrlDown = false,
|
ctrlDown = false,
|
||||||
default_options = {
|
default_options = {
|
||||||
i18n:{
|
i18n:{
|
||||||
ru:{
|
ru:{
|
||||||
months:[
|
months:[
|
||||||
@ -543,13 +543,13 @@
|
|||||||
stop = false;
|
stop = false;
|
||||||
|
|
||||||
(function(v){
|
(function(v){
|
||||||
var month = _xdsoft_datetime.currentTime.getMonth();
|
var month = _xdsoft_datetime.currentTime.getMonth();
|
||||||
if( $this.hasClass( options.next ) ){
|
if( $this.hasClass( options.next ) ){
|
||||||
_xdsoft_datetime.nextMonth();
|
_xdsoft_datetime.nextMonth();
|
||||||
}else if( $this.hasClass( options.prev ) ){
|
}else if( $this.hasClass( options.prev ) ){
|
||||||
_xdsoft_datetime.prevMonth();
|
_xdsoft_datetime.prevMonth();
|
||||||
}
|
}
|
||||||
!stop&&(timer = setTimeout(arguments.callee,v?v:100));
|
!stop && (timer = setTimeout(arguments.callee, v ? v : 100));
|
||||||
})(500);
|
})(500);
|
||||||
|
|
||||||
$([document.body,window]).on('mouseup.xdsoft',function(){
|
$([document.body,window]).on('mouseup.xdsoft',function(){
|
||||||
@ -572,7 +572,7 @@
|
|||||||
top = Math.abs(parseInt(timebox.css('marginTop')));
|
top = Math.abs(parseInt(timebox.css('marginTop')));
|
||||||
if( $this.hasClass(options.next) && (height-pheight)- options.timeHeightInTimePicker>=top ){
|
if( $this.hasClass(options.next) && (height-pheight)- options.timeHeightInTimePicker>=top ){
|
||||||
timebox.css('marginTop','-'+(top+options.timeHeightInTimePicker)+'px')
|
timebox.css('marginTop','-'+(top+options.timeHeightInTimePicker)+'px')
|
||||||
}else if( $this.hasClass(options.prev) && top-options.timeHeightInTimePicker>=0 ){
|
}else if( $this.hasClass(options.prev) && top-options.timeHeightInTimePicker>=0 ){
|
||||||
timebox.css('marginTop','-'+(top-options.timeHeightInTimePicker)+'px')
|
timebox.css('marginTop','-'+(top-options.timeHeightInTimePicker)+'px')
|
||||||
}
|
}
|
||||||
timeboxparent.trigger('scroll_element.xdsoft_scroller',[Math.abs(parseInt(timebox.css('marginTop'))/(height-pheight))]);
|
timeboxparent.trigger('scroll_element.xdsoft_scroller',[Math.abs(parseInt(timebox.css('marginTop'))/(height-pheight))]);
|
||||||
|
@ -90,7 +90,7 @@ function addReleaseDescription(row) {
|
|||||||
name:"extra_release_desc[]",
|
name:"extra_release_desc[]",
|
||||||
cols:60,
|
cols:60,
|
||||||
rows:4,
|
rows:4,
|
||||||
style:'display:none; margin-left: 5px; margin-top: 10px; margin-bottom: 10px;'
|
style:'display:none; margin-left: 5px; margin-top: 10px; margin-bottom: 10px;'
|
||||||
}).appendTo(desc_row);
|
}).appendTo(desc_row);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
});
|
});
|
||||||
$("#recommendation_note").keypress(function(e) {
|
$("#recommendation_note").keypress(function(e) {
|
||||||
state = $("#send_recommendation").attr("disabled");
|
state = $("#send_recommendation").attr("disabled");
|
||||||
if (typeof state === 'undefined' && e.keyCode == 13) {
|
if (typeof state === 'undefined' && e.keyCode == 13) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
send_recommendation();
|
send_recommendation();
|
||||||
}
|
}
|
||||||
|
@ -18,12 +18,12 @@ function Vote(amount, requestid) {
|
|||||||
index = true;
|
index = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (amount > 20*1024*1024) {
|
if (amount > 20 * 1024 * 1024) {
|
||||||
upload = $('#current_uploaded').raw().value;
|
upload = $('#current_uploaded').raw().value;
|
||||||
download = $('#current_downloaded').raw().value;
|
download = $('#current_downloaded').raw().value;
|
||||||
rr = $('#current_rr').raw().value;
|
rr = $('#current_rr').raw().value;
|
||||||
if (amount > .3*(upload - rr * download)) {
|
if (amount > 0.3 * (upload - rr * download)) {
|
||||||
if (!confirm('This vote is more than 30% of your buffer. Please confirm that you wish to place this large a vote.')) {
|
if (!confirm('This vote is more than 30% of your buffer. Please confirm that you wish to place this large of a vote.')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -60,14 +60,14 @@ function Calculate() {
|
|||||||
if (amt > $('#current_uploaded').raw().value) {
|
if (amt > $('#current_uploaded').raw().value) {
|
||||||
$('#new_uploaded').raw().innerHTML = "You can't afford that request!";
|
$('#new_uploaded').raw().innerHTML = "You can't afford that request!";
|
||||||
$('#new_bounty').raw().innerHTML = "0.00 MB";
|
$('#new_bounty').raw().innerHTML = "0.00 MB";
|
||||||
$('#bounty_after_tax').raw().innerHTML = "0.00 MB";
|
$('#bounty_after_tax').raw().innerHTML = "0.00 MB";
|
||||||
$('#button').raw().disabled = true;
|
$('#button').raw().disabled = true;
|
||||||
} else if (isNaN($('#amount_box').raw().value)
|
} else if (isNaN($('#amount_box').raw().value)
|
||||||
|| (window.location.search.indexOf('action=new') != -1 && $('#amount_box').raw().value*mul < 100*1024*1024)
|
|| (window.location.search.indexOf('action=new') != -1 && $('#amount_box').raw().value * mul < 100 * 1024 * 1024)
|
||||||
|| (window.location.search.indexOf('action=view') != -1 && $('#amount_box').raw().value*mul < 20*1024*1024)) {
|
|| (window.location.search.indexOf('action=view') != -1 && $('#amount_box').raw().value * mul < 20 * 1024 * 1024)) {
|
||||||
$('#new_uploaded').raw().innerHTML = get_size(($('#current_uploaded').raw().value));
|
$('#new_uploaded').raw().innerHTML = get_size(($('#current_uploaded').raw().value));
|
||||||
$('#new_bounty').raw().innerHTML = "0.00 MB";
|
$('#new_bounty').raw().innerHTML = "0.00 MB";
|
||||||
$('#bounty_after_tax').raw().innerHTML = "0.00 MB";
|
$('#bounty_after_tax').raw().innerHTML = "0.00 MB";
|
||||||
$('#button').raw().disabled = true;
|
$('#button').raw().disabled = true;
|
||||||
} else {
|
} else {
|
||||||
$('#button').raw().disabled = false;
|
$('#button').raw().disabled = false;
|
||||||
@ -75,7 +75,7 @@ function Calculate() {
|
|||||||
$('#new_uploaded').raw().innerHTML = get_size(($('#current_uploaded').raw().value) - amt);
|
$('#new_uploaded').raw().innerHTML = get_size(($('#current_uploaded').raw().value) - amt);
|
||||||
$('#new_ratio').raw().innerHTML = ratio($('#current_uploaded').raw().value - amt, $('#current_downloaded').raw().value);
|
$('#new_ratio').raw().innerHTML = ratio($('#current_uploaded').raw().value - amt, $('#current_downloaded').raw().value);
|
||||||
$('#new_bounty').raw().innerHTML = get_size(mul * $('#amount_box').raw().value);
|
$('#new_bounty').raw().innerHTML = get_size(mul * $('#amount_box').raw().value);
|
||||||
$('#bounty_after_tax').raw().innerHTML = get_size(mul * 0.9 * $('#amount_box').raw().value);
|
$('#bounty_after_tax').raw().innerHTML = get_size(mul * 0.9 * $('#amount_box').raw().value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -120,7 +120,9 @@ function AddArtistField() {
|
|||||||
|
|
||||||
function RemoveArtistField() {
|
function RemoveArtistField() {
|
||||||
var ArtistCount = document.getElementsByName("artists[]").length;
|
var ArtistCount = document.getElementsByName("artists[]").length;
|
||||||
if (ArtistCount == 1) { return; }
|
if (ArtistCount == 1) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
var x = $('#artistfields').raw();
|
var x = $('#artistfields').raw();
|
||||||
|
|
||||||
while (x.lastChild.tagName != "INPUT") {
|
while (x.lastChild.tagName != "INPUT") {
|
||||||
|
@ -24,10 +24,12 @@ $(document).ready(function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getResized(srcWidth, srcHeight, maxWidth, maxHeight) {
|
function getResized(srcWidth, srcHeight, maxWidth, maxHeight) {
|
||||||
|
var ratio = [maxWidth / srcWidth, maxHeight / srcHeight ];
|
||||||
|
ratio = Math.min(ratio[0], ratio[1]);
|
||||||
|
|
||||||
var ratio = [maxWidth / srcWidth, maxHeight / srcHeight ];
|
return {
|
||||||
ratio = Math.min(ratio[0], ratio[1]);
|
width: srcWidth * ratio,
|
||||||
|
height: srcHeight * ratio
|
||||||
return { width:srcWidth*ratio, height:srcHeight*ratio };
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -83,7 +83,7 @@ function createNoty(type, id, message, url, importance) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
addClass: 'brackets noty_button_close ', text: 'Dismiss', onClick: function($noty) {
|
addClass: 'brackets noty_button_close ', text: 'Hide', onClick: function($noty) {
|
||||||
$noty.close();
|
$noty.close();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
var top = $('#settings_sections').offset().top - parseFloat($('#settings_sections').css('marginTop').replace(/auto/, 0));
|
var top = $('#settings_sections').offset().top - parseFloat($('#settings_sections').css('marginTop').replace(/auto/, 0));
|
||||||
$(window).scroll(function (event) {
|
$(window).scroll(function (event) {
|
||||||
var y = $(this).scrollTop();
|
var y = $(this).scrollTop();
|
||||||
if (y >= top) {
|
if (y >= top) {
|
||||||
$('#settings_sections').addClass('fixed');
|
$('#settings_sections').addClass('fixed');
|
||||||
} else {
|
} else {
|
||||||
$('#settings_sections').removeClass('fixed');
|
$('#settings_sections').removeClass('fixed');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#settings_sections li").each(function(index) {
|
$("#settings_sections li").each(function(index) {
|
||||||
@ -59,4 +59,4 @@ $(document).ready(function() {
|
|||||||
function fuzzyMatch(str, pattern){
|
function fuzzyMatch(str, pattern){
|
||||||
pattern = pattern.split("").reduce(function(a,b){ return a+".*"+b; });
|
pattern = pattern.split("").reduce(function(a,b){ return a+".*"+b; });
|
||||||
return new RegExp(pattern).test(str);
|
return new RegExp(pattern).test(str);
|
||||||
};
|
};
|
||||||
|
@ -543,8 +543,8 @@ tr.torrent .bookmark>a:after {
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.setting_description>* {
|
.setting_description > * {
|
||||||
margin: 1em 0 0 0;
|
margin: 1em 0 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings_sidebar {
|
.settings_sidebar {
|
||||||
|
@ -1,62 +1,61 @@
|
|||||||
|
|
||||||
.tiles_container {
|
.tiles_container {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Grid container
|
* Grid container
|
||||||
*/
|
*/
|
||||||
.tiles {
|
.tiles {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
position: relative; /** Needed to ensure items are laid out relative to this container **/
|
position: relative; /** Needed to ensure items are laid out relative to this container **/
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Grid items
|
* Grid items
|
||||||
*/
|
*/
|
||||||
.tiles li {
|
.tiles li {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
border: 1px solid #dedede;
|
border: 1px solid #dedede;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
-moz-border-radius: 2px;
|
-moz-border-radius: 2px;
|
||||||
-webkit-border-radius: 2px;
|
-webkit-border-radius: 2px;
|
||||||
display: none; /** Hide items initially to avoid a flicker effect **/
|
display: none; /** Hide items initially to avoid a flicker effect **/
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tiles li.inactive {
|
.tiles li.inactive {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tiles li img {
|
.tiles li img {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.large_tile {
|
.large_tile {
|
||||||
max-width: 252px;
|
max-width: 252px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Grid item text
|
* Grid item text
|
||||||
*/
|
*/
|
||||||
.tiles li p {
|
.tiles li p {
|
||||||
color: #666;
|
color: #666;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin: 7px 0 0 7px;
|
margin: 7px 0 0 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Placerholder css
|
* Placerholder css
|
||||||
*/
|
*/
|
||||||
.wookmark-placeholder {
|
.wookmark-placeholder {
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
-moz-border-radius: 2px;
|
-moz-border-radius: 2px;
|
||||||
-webkit-border-radius: 2px;
|
-webkit-border-radius: 2px;
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
border: 1px solid #dedede;
|
border: 1px solid #dedede;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user