Skip to content
Snippets Groups Projects
Commit a52ed816 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #2944721: Added hidden-anonymous and visible-admin LESS/CSS classes as...

Issue #2944721: Added hidden-anonymous and visible-admin LESS/CSS classes as they have been moved to Vartheme base for features to use
parent 465ae4fd
No related branches found
No related tags found
No related merge requests found
...@@ -640,3 +640,12 @@ img { ...@@ -640,3 +640,12 @@ img {
.maintenance-page #page { .maintenance-page #page {
text-align: center; text-align: center;
} }
.hidden-anonymous {
display: none !important;
}
body.user-logged-in .visible-admin {
display: inline-block !important;
}
body.user-logged-in .btn.visible-admin {
display: inline-block !important;
}
...@@ -827,3 +827,20 @@ img { ...@@ -827,3 +827,20 @@ img {
text-align: center; text-align: center;
} }
} }
// Hide for anonymous users.
.hidden-anonymous {
display: none !important;
}
// Show only for admin users.
body.user-logged-in {
.visible-admin {
display: inline-block !important;
}
.btn.visible-admin {
display: inline-block !important;
}
}
...@@ -612,3 +612,12 @@ img { ...@@ -612,3 +612,12 @@ img {
.maintenance-page #page { .maintenance-page #page {
text-align: center; text-align: center;
} }
.hidden-anonymous {
display: none !important;
}
body.user-logged-in .visible-admin {
display: inline-block !important;
}
body.user-logged-in .btn.visible-admin {
display: inline-block !important;
}
...@@ -798,3 +798,21 @@ img { ...@@ -798,3 +798,21 @@ img {
text-align: center; text-align: center;
} }
} }
// Hide for anonymous users.
.hidden-anonymous {
display: none !important;
}
// Show only for admin users.
body.user-logged-in {
.visible-admin {
display: inline-block !important;
}
.btn.visible-admin {
display: inline-block !important;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment