Skip to content
Snippets Groups Projects
Verified Commit e801e923 authored by Dominik Frantisek Bucik's avatar Dominik Frantisek Bucik
Browse files

style: :lipstick: fix prettier

parent c4ab1a24
No related branches found
No related tags found
1 merge request!44chore(deps): lock file maintenance
Pipeline #296784 canceled
...@@ -288,7 +288,9 @@ form .remember select.amount:active { ...@@ -288,7 +288,9 @@ form .remember select.amount:active {
overflow: hidden; overflow: hidden;
-webkit-transform: rotate(45deg); -webkit-transform: rotate(45deg);
transform: rotate(45deg); transform: rotate(45deg);
box-shadow: 0 0 0 3px #eb3814, 0px 21px 5px -18px rgba(0, 0, 0, 0.6); box-shadow:
0 0 0 3px #eb3814,
0px 21px 5px -18px rgba(0, 0, 0, 0.6);
background: #eb3814; background: #eb3814;
text-align: center; text-align: center;
} }
......
...@@ -123,9 +123,12 @@ a#registration-btn { ...@@ -123,9 +123,12 @@ a#registration-btn {
.form-control:focus { .form-control:focus {
border-color: rgb(20, 125, 250); border-color: rgb(20, 125, 250);
outline: 0; outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), -webkit-box-shadow:
inset 0 1px 1px rgba(0, 0, 0, 0.075),
0 0 8px rgb(20, 125, 250);
box-shadow:
inset 0 1px 1px rgba(0, 0, 0, 0.075),
0 0 8px rgb(20, 125, 250); 0 0 8px rgb(20, 125, 250);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgb(20, 125, 250);
} }
/*-------------------------------------------------*/ /*-------------------------------------------------*/
...@@ -274,7 +277,10 @@ p { ...@@ -274,7 +277,10 @@ p {
margin: 0; margin: 0;
padding: 14px 6px; padding: 14px 6px;
border-left: 3px solid #fff; border-left: 3px solid #fff;
transition: background-color 0.2s ease, border-left 0.2s ease, color 0.2s ease; transition:
background-color 0.2s ease,
border-left 0.2s ease,
color 0.2s ease;
cursor: pointer; cursor: pointer;
} }
...@@ -298,7 +304,10 @@ p { ...@@ -298,7 +304,10 @@ p {
padding: 14px 6px; padding: 14px 6px;
border-left: none; border-left: none;
color: #147dfa; color: #147dfa;
transition: background-color 0.2s ease, border-left 0.2s ease, color 0.2s ease; transition:
background-color 0.2s ease,
border-left 0.2s ease,
color 0.2s ease;
cursor: pointer; cursor: pointer;
background-color: #f3f3f3; background-color: #f3f3f3;
} }
......
...@@ -59,7 +59,7 @@ function drawLoginsChart(getEl) { ...@@ -59,7 +59,7 @@ function drawLoginsChart(getEl) {
$(el) $(el)
.parent() .parent()
.replaceWith( .replaceWith(
'<p class="text-muted">No data has been recorded in the selected period...</p>' '<p class="text-muted">No data has been recorded in the selected period...</p>',
); );
return; return;
} }
...@@ -234,7 +234,7 @@ function drawPieChart(dataName, viewCols, url, getEl) { ...@@ -234,7 +234,7 @@ function drawPieChart(dataName, viewCols, url, getEl) {
const processedData = processDataForPieChart( const processedData = processDataForPieChart(
getStatisticsData(dataName), getStatisticsData(dataName),
viewCols viewCols,
); );
const data = processedData.data; const data = processedData.data;
...@@ -243,7 +243,7 @@ function drawPieChart(dataName, viewCols, url, getEl) { ...@@ -243,7 +243,7 @@ function drawPieChart(dataName, viewCols, url, getEl) {
.parent() .parent()
.parent() .parent()
.replaceWith( .replaceWith(
'<p class="text-muted">No data has been recorded in the selected period...</p>' '<p class="text-muted">No data has been recorded in the selected period...</p>',
); );
return; return;
} }
...@@ -302,7 +302,7 @@ function drawPieChart(dataName, viewCols, url, getEl) { ...@@ -302,7 +302,7 @@ function drawPieChart(dataName, viewCols, url, getEl) {
evt, evt,
"nearest", "nearest",
{ intersect: true }, { intersect: true },
false false,
); );
if (activePoints.length) { if (activePoints.length) {
window.location.href = window.location.href =
...@@ -317,7 +317,7 @@ function getDrawChart(side) { ...@@ -317,7 +317,7 @@ function getDrawChart(side) {
null, null,
"loginCountPer" + side, "loginCountPer" + side,
[0, 2], [0, 2],
getStatisticsData("module_url_base") + "detail.php?side=" + side + "&id=" getStatisticsData("module_url_base") + "detail.php?side=" + side + "&id=",
); );
} }
...@@ -328,7 +328,7 @@ function drawCountTable( ...@@ -328,7 +328,7 @@ function drawCountTable(
dataName, dataName,
allowHTML, allowHTML,
url, url,
getEl getEl,
) { ) {
const el = getEl(); const el = getEl();
if (!el) return; if (!el) return;
...@@ -399,7 +399,7 @@ function getDrawTable(side) { ...@@ -399,7 +399,7 @@ function getDrawTable(side) {
2, 2,
"loginCountPer" + side, "loginCountPer" + side,
false, false,
getStatisticsData("module_url_base") + "detail.php?side=" + side + "&id=" getStatisticsData("module_url_base") + "detail.php?side=" + side + "&id=",
); );
} }
...@@ -411,7 +411,7 @@ function getDrawCountTable(side) { ...@@ -411,7 +411,7 @@ function getDrawCountTable(side) {
2, 2,
"accessCounts", "accessCounts",
true, true,
null null,
); );
} }
...@@ -436,7 +436,7 @@ function chartInit() { ...@@ -436,7 +436,7 @@ function chartInit() {
idLoadCallback(side + "Table", getDrawTable(side)); idLoadCallback(side + "Table", getDrawTable(side));
idLoadCallback( idLoadCallback(
"detail" + side + "Chart", "detail" + side + "Chart",
drawPieChart.bind(null, "accessCounts", [0, 2], null) drawPieChart.bind(null, "accessCounts", [0, 2], null),
); );
idLoadCallback("detail" + side + "Table", getDrawCountTable(side)); idLoadCallback("detail" + side + "Table", getDrawCountTable(side));
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment