Commit 2126756c authored by Troy A. Griffitts's avatar Troy A. Griffitts

Added configurable default theme. Minor visual improvements.

parent 35594d0f
<?xml version='1.0' encoding='utf-8'?>
<widget id="org.crosswire.bishop" version="1.4.5" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
<widget id="org.crosswire.bishop" version="1.4.6" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
<name>Bishop</name>
<description>
A Bible Study App from CrossWire
......
......@@ -103,6 +103,10 @@ tr.currentWord td,.currentVerseWord {
background-color: #999;
}
table.clean {
background-color: #111;
}
table.clean thead, table.clean tfoot {
background-color: #333;
}
......
......@@ -100,6 +100,9 @@ tr.currentWord td,.currentVerseWord {
background-color: #ddd;
}
table.clean {
background-color: #FFF;
}
table.clean thead, table.clean tfoot {
background-color: #CCC;
}
......
......@@ -85,6 +85,9 @@ tr.currentWord td,.currentVerseWord {
background-color: #999;
}
table.clean {
background-color: #111;
}
table.clean thead, table.clean tfoot {
background-color: #333;
}
......
......@@ -325,12 +325,24 @@ body,td,div,span,p,.verse,.currentVerse {
table.clean {
border-collapse: collapse;
background-color: #FFF;
}
table.clean td, table.clean th {
padding: 5px 4px;
border: 1px solid #CCC;
}
table.clean thead, table.clean tfoot {
background-color: #CCC;
}
table.clean tr.rowodd {
background-color: #FFF;
}
table.clean tr.roweven {
background-color: #F2F2F2;
}
table.nobottom td, table.nobottom th {
border-bottom: none;
......@@ -1492,13 +1504,13 @@ padding: 0 0 0px 0;
}
span.versenum {
font-size: 0.8em;
width:3em;
font-size: 75%;
position: relative;
top:-0.25em;
}
span.versenum a {
text-decoration: none;
vertical-align:top;
}
span.versenum a:hover {
......
......@@ -103,6 +103,9 @@ tr.currentWord td,.currentVerseWord {
background-color: #999;
}
table.clean {
background-color: #111;
}
table.clean thead, table.clean tfoot {
background-color: #333;
}
......
......@@ -100,6 +100,10 @@ tr.currentWord td,.currentVerseWord {
background-color: #ddd;
}
table.clean {
background-color: #FFF;
}
table.clean thead, table.clean tfoot {
background-color: #CCC;
}
......
......@@ -82,6 +82,9 @@ tr.currentWord td,.currentVerseWord {
background-color: #ddd;
}
table.clean {
background-color: #FFF;
}
table.clean thead, table.clean tfoot {
background-color: #CCC;
}
......
var app = {
version: '1.4.5', // change version here and in config.xml, near top
version: '1.4.6', // change version here and in config.xml, near top
backFunction: null,
enableBibleSync : true,
enableGospelParallels : true,
......@@ -15,6 +15,7 @@ var app = {
menuWidth : 17,
checkDefaultLocale : true,
defaultLocale : 'en',
defaultTheme : 'sb-light.css',
defaultLocaleName : 'English',
preferredDevotional : 'SME',
preferredBible : 'KJV',
......@@ -633,7 +634,7 @@ console.log('****************** ------------- ***********************');
if (!window.localStorage.getItem('bibleSyncUserName')) window.localStorage.setItem('bibleSyncUserName', 'BishopUser');
if (!window.localStorage.getItem('bibleSyncPassphrase')) window.localStorage.setItem('bibleSyncPassphrase', 'BibleSync');
if (!window.localStorage.getItem('mainViewType')) window.localStorage.setItem('mainViewType', 'Bibles');
if (!window.localStorage.getItem('appTheme')) window.localStorage.setItem('appTheme', 'sb-light.css');
if (!window.localStorage.getItem('appTheme')) window.localStorage.setItem('appTheme', app.defaultTheme);
if (!window.localStorage.getItem('appLocale') && !app.checkDefaultLocale) {
window.localStorage.setItem('appLocale', app.defaultLocale);
}
......@@ -1847,7 +1848,7 @@ console.log('headerLoopContinue. mods.length: ' + mods.length + '; renderData.le
t += '<span class="versenum"><a href="javascript:void(0);"> ' + verseText + '</a></span>';
// if (verseKey.verse == currentVerse.verse) { console.log('current verse data: '+ renderData[i][v].text); }
t += renderData[i][v].text;
t += renderData[i][v].text.trim();
t += '</td>';
}
......
Markdown is supported
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