mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-09-01 12:48:59 +02:00
refactor: remove unnecessary css
This commit is contained in:
@@ -214,89 +214,10 @@ export const fetchRoleEnum = (name) => async (dispatch) => {
|
||||
dispatch({ type: "FETCH_ROLE", payload: response });
|
||||
};
|
||||
|
||||
export const setEnableCart = (val) => async (dispatch) => {
|
||||
dispatch({
|
||||
type: "ENABLE_CART",
|
||||
payload: val
|
||||
});
|
||||
};
|
||||
|
||||
export const setCartUpdateData = (val) => async (dispatch) => {
|
||||
dispatch({
|
||||
type: "UPDATE_CART",
|
||||
payload: val
|
||||
});
|
||||
};
|
||||
|
||||
export const addItemsToCart = (val) => async (dispatch) => {
|
||||
dispatch({
|
||||
type: "ADD_CART",
|
||||
payload: val
|
||||
});
|
||||
};
|
||||
|
||||
export const clearCartData = () => async (dispatch) => {
|
||||
dispatch({
|
||||
type: "CLEAR_CART",
|
||||
payload: []
|
||||
});
|
||||
};
|
||||
|
||||
export const SaveMultipleCart = (val) => async (dispatch) => {
|
||||
dispatch({
|
||||
type: "MULTI_CART",
|
||||
payload: val
|
||||
});
|
||||
};
|
||||
|
||||
export const removeFromCart = (val) => async (dispatch) => {
|
||||
dispatch({
|
||||
type: "REMOVE_CART",
|
||||
payload: val
|
||||
});
|
||||
};
|
||||
|
||||
export const onChangeLevel2Dropdown = (id, name) => async (dispatch) => {
|
||||
localStorage.setItem(`_dd${name}`, id);
|
||||
let _data = { [name]: `${id}` };
|
||||
dispatch({ type: "Level2_Dropdown", payload: _data });
|
||||
};
|
||||
|
||||
export const onChangeLevel3Dropdown = (id, name) => async (dispatch) => {
|
||||
localStorage.setItem(`_dd${name}`, id);
|
||||
let _data = { [name]: `${id}` };
|
||||
dispatch({ type: "Level3_Dropdown", payload: _data });
|
||||
};
|
||||
|
||||
export const removeState = () => async (dispatch) => {
|
||||
dispatch({ type: "REMOVE_STATE", payload: {} });
|
||||
};
|
||||
export const removeLevel2State = () => async (dispatch) => {
|
||||
dispatch({ type: "removeLevel2", payload: {} });
|
||||
};
|
||||
|
||||
export const removeLevel3State = () => async (dispatch) => {
|
||||
dispatch({ type: "removeLevel3", payload: {} });
|
||||
};
|
||||
|
||||
export const showTenantName = (name) => async (dispatch) => {
|
||||
dispatch({ type: "SHOW_TENANT", payload: name || null });
|
||||
};
|
||||
|
||||
export const saveDependantDDValue = (id, value) => async (dispatch) => {
|
||||
let _data = { [`${id}_dd`]: value };
|
||||
dispatch({ type: "SAVE_DEPENDANTDD", payload: _data });
|
||||
};
|
||||
|
||||
export const removeDependantDDValue = (id, value) => async (dispatch) => {
|
||||
let _data = { [`${id}_dd`]: value };
|
||||
dispatch({ type: "REMOVE_DEPENDANTDD", payload: _data });
|
||||
};
|
||||
|
||||
export const remove_AlldependantDD = () => async (dispatch) => {
|
||||
dispatch({ type: "REMOVE_ALLDEPENDANTDD", payload: {} });
|
||||
};
|
||||
|
||||
export const save_tourSteps = (steps) => async (dispatch) => {
|
||||
dispatch({ type: "SAVE_TOURSTEPS", payload: steps });
|
||||
};
|
||||
|
||||
+65
-2214
File diff suppressed because it is too large
Load Diff
@@ -1,209 +1,64 @@
|
||||
#snackbar {
|
||||
visibility: hidden;
|
||||
min-width: 250px;
|
||||
margin-left: -125px;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
padding: 16px;
|
||||
position: fixed;
|
||||
z-index: 99999;
|
||||
left: 50%;
|
||||
visibility: hidden;
|
||||
min-width: 250px;
|
||||
margin-left: -125px;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
padding: 16px;
|
||||
position: fixed;
|
||||
z-index: 99999;
|
||||
left: 50%;
|
||||
top: 30px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#snackbar.show {
|
||||
visibility: visible;
|
||||
-webkit-animation: fadein 0.5s;
|
||||
}
|
||||
|
||||
@-webkit-keyframes fadein {
|
||||
from {
|
||||
top: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
top: 30px;
|
||||
font-size: 14px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#_editsnackbar {
|
||||
visibility: hidden;
|
||||
min-width: 250px;
|
||||
margin-left: -125px;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
padding: 16px;
|
||||
position: fixed;
|
||||
z-index: 99999;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
@keyframes fadein {
|
||||
from {
|
||||
top: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
top: 30px;
|
||||
font-size: 14px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#_editsnackbar.show {
|
||||
visibility: visible;
|
||||
-webkit-animation: fadein 0.5s;
|
||||
}
|
||||
|
||||
#UpdateColumnValue.show {
|
||||
visibility: visible;
|
||||
-webkit-animation: fadein 0.5s;
|
||||
}
|
||||
#DeleteUser.show {
|
||||
visibility: visible;
|
||||
-webkit-animation: fadein 0.5s;
|
||||
}
|
||||
#DeleteUser {
|
||||
visibility: hidden;
|
||||
min-width: 250px;
|
||||
margin-left: -125px;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
padding: 16px;
|
||||
position: fixed;
|
||||
z-index: 99999;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
@-webkit-keyframes fadeout {
|
||||
from {
|
||||
top: 30px;
|
||||
font-size: 14px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#deleteObj.show {
|
||||
visibility: visible;
|
||||
-webkit-animation: fadein 0.5s;
|
||||
to {
|
||||
top: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
#deleteObj {
|
||||
visibility: hidden;
|
||||
min-width: 250px;
|
||||
margin-left: -125px;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
padding: 16px;
|
||||
position: fixed;
|
||||
z-index: 99999;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
@keyframes fadeout {
|
||||
from {
|
||||
top: 30px;
|
||||
font-size: 14px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#UpdateColumnValue {
|
||||
visibility: hidden;
|
||||
min-width: 250px;
|
||||
margin-left: -125px;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
padding: 16px;
|
||||
position: fixed;
|
||||
z-index: 99999;
|
||||
left: 50%;
|
||||
top: 30px;
|
||||
font-size: 14px;
|
||||
to {
|
||||
top: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#snackbar.show {
|
||||
visibility: visible;
|
||||
-webkit-animation: fadein 0.5s;
|
||||
}
|
||||
|
||||
#snackbar1 {
|
||||
visibility: hidden;
|
||||
min-width: 250px;
|
||||
margin-left: -125px;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
padding: 16px;
|
||||
position: fixed;
|
||||
z-index: 99999;
|
||||
left: 50%;
|
||||
top: 30px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#snackbar1.show {
|
||||
visibility: visible;
|
||||
-webkit-animation: fadein 0.5s;
|
||||
}
|
||||
|
||||
#snackbar10 {
|
||||
visibility: hidden;
|
||||
min-width: 250px;
|
||||
margin-left: -125px;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
padding: 16px;
|
||||
position: fixed;
|
||||
z-index: 99999;
|
||||
left: 50%;
|
||||
top: 30px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#snackbar10.show {
|
||||
visibility: visible;
|
||||
-webkit-animation: fadein 0.5s;
|
||||
}
|
||||
|
||||
#snackbarCol {
|
||||
visibility: hidden;
|
||||
min-width: 250px;
|
||||
margin-left: -125px;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
padding: 16px;
|
||||
position: fixed;
|
||||
z-index: 99999;
|
||||
left: 50%;
|
||||
top: 30px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#snackbarCol.show {
|
||||
visibility: visible;
|
||||
-webkit-animation: fadein 0.5s;
|
||||
}
|
||||
|
||||
@-webkit-keyframes fadein {
|
||||
from {
|
||||
top: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
top: 30px;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadein {
|
||||
from {
|
||||
top: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
top: 30px;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes fadeout {
|
||||
from {
|
||||
top: 30px;
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
top: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeout {
|
||||
from {
|
||||
top: 30px;
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
top: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user