Shifting to official FLO ID

This commit is contained in:
sairaj mote 2022-03-24 21:34:31 +05:30
parent fb6cf4425c
commit 8a3c8879b7
4 changed files with 16 additions and 26 deletions

View File

@ -2,7 +2,7 @@
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Inter", sans-serif;
font-family: "Roboto", sans-serif;
}
:root {
@ -134,6 +134,9 @@ sm-button {
transition: transform 0.3s;
overflow: hidden;
}
sm-button[variant=primary] {
--padding: 0.8rem;
}
sm-button[variant=primary] .icon {
fill: rgba(var(--background-color), 1);
}
@ -401,13 +404,11 @@ ul {
align-items: center;
width: 100%;
grid-template-columns: auto 1fr;
gap: 0 0.5rem;
margin-right: 1rem;
gap: 0 0.3rem;
}
.logo h4 {
text-transform: capitalize;
font-size: 0.9rem;
font-weight: 600;
}
.logo .main-logo {
height: 1.4rem;
@ -629,10 +630,6 @@ sm-copy {
align-content: flex-start;
}
#current_article_title {
font-weight: 700;
}
#article_list_popup {
--width: min(64rem, 100%);
--min-height: 70vh;
@ -997,7 +994,6 @@ sm-copy {
margin-top: 3rem;
}
#preview_page p {
font-family: "noto serif", serif;
font-size: 1rem;
}
#preview_page p * {

2
css/main.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Inter", sans-serif;
font-family: "Roboto", sans-serif;
}
:root {
@ -123,6 +123,7 @@ sm-button {
transition: transform 0.3s;
overflow: hidden;
&[variant="primary"] {
--padding: 0.8rem;
.icon {
fill: rgba(var(--background-color), 1);
}
@ -389,15 +390,11 @@ ul {
align-items: center;
width: 100%;
grid-template-columns: auto 1fr;
gap: 0 0.5rem;
margin-right: 1rem;
gap: 0 0.3rem;
h4 {
text-transform: capitalize;
font-size: 0.9rem;
font-weight: 600;
}
.main-logo {
height: 1.4rem;
width: 1.4rem;
@ -598,9 +595,6 @@ sm-copy {
grid-template-columns: minmax(0, 1fr);
align-content: flex-start;
}
#current_article_title {
font-weight: 700;
}
#article_list_popup {
--width: min(64rem, 100%);
@ -946,7 +940,6 @@ sm-copy {
}
}
p {
font-family: "noto serif", serif;
font-size: 1rem;
& * {
font-size: inherit;

View File

@ -11,7 +11,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400..700&family=Noto+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap"
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap"
rel="stylesheet">
<script src="purify.min.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/fuse.js@6.4.6" defer></script>
@ -27,7 +27,7 @@
FLO: ['https://flosight.duckdns.org/', 'https://livenet.flocha.in/'],
FLO_TEST: ['https://testnet-flosight.duckdns.org/', 'https://testnet.flocha.in/']
},
adminID: "FKAEdnPfjXLHSYwrXQu377ugN4tXU7VGdf",
adminID: "FC18nZVcHifauCsRMMeH4gkGxexuhSMFgs",
sendAmt: 0.001,
fee: 0.0005,
@ -37,7 +37,7 @@
//for cloud apps
subAdmins: [],
application: "TEST_MODE",
application: "CC",
appObjects: {},
generalData: {},
lastVC: {}
@ -10305,7 +10305,7 @@
}
}
</script>
<script id="floCloudAPI" version="2.1.3">
<script id="floCloudAPI" version="2.1.3a">
/* FLO Cloud operations to send/request application data*/
const floCloudAPI = {
@ -10644,6 +10644,7 @@
}
floGlobals.lastVC[objectName] = vc;
}
this.lastCommit("SET", objectName);
compactIDB.writeData("appObjects", floGlobals.appObjects[objectName], objectName);
compactIDB.writeData("lastVC", floGlobals.lastVC[objectName], objectName);
} catch (error) {
@ -10927,9 +10928,10 @@
options.comment = 'RESET';
let callback = null;
if (options.callback instanceof Function) {
let old_callback = options.callback;
callback = (d, e) => {
this.util.updateObject(objectName, d);
options.callback(d, e);
old_callback(d, e);
}
delete options.callback;
}
@ -10947,7 +10949,6 @@
} else {
this.requestApplicationData(objectName, options).then(dataSet => {
this.util.updateObject(objectName, this.util.objectifier(dataSet))
this.util.lastCommit("SET", objectName)
resolve(floGlobals.appObjects[objectName])
}).catch(error => reject(error))
}