aboutsummaryrefslogtreecommitdiff
path: root/templates/@theme-base/pm-styles/_pm-panels.scss
diff options
context:
space:
mode:
Diffstat (limited to 'templates/@theme-base/pm-styles/_pm-panels.scss')
-rw-r--r--templates/@theme-base/pm-styles/_pm-panels.scss54
1 files changed, 54 insertions, 0 deletions
diff --git a/templates/@theme-base/pm-styles/_pm-panels.scss b/templates/@theme-base/pm-styles/_pm-panels.scss
new file mode 100644
index 0000000..4016245
--- /dev/null
+++ b/templates/@theme-base/pm-styles/_pm-panels.scss
@@ -0,0 +1,54 @@
+/*
+ * Information panels
+ */
+.information-panel-image {
+ position: absolute;
+ width: 48px;
+ height: 36px;
+ top: 19px;
+ left: -12px;
+ border: 1px solid var(--bordercolor-input, $pm-global-border);
+ border-radius: $global-border-radius;
+ border-bottom-left-radius: 0;
+ background-color: var(--bgcolor-main-area, $pm-global-light);
+
+ &::before {
+ content: '';
+ position: absolute;
+ display: inline-block;
+ width: 12px;
+ height: 10px;
+ top: calc(100% + 1px);
+ left: -1px;
+ border: 6px solid transparent;
+ border-top: 6px solid var(--bordercolor-input, $pm-global-border);
+ border-right: 6px solid var(--bordercolor-input, $pm-global-border);
+ }
+}
+
+.information-panel-content {
+ margin: 1.6rem 2.3rem 1.6rem 5.1rem;
+}
+
+.information-panel-icon {
+ fill: var(--fillcolor-icons, $black);
+}
+
+@if $rtl-option == true {
+ [dir="rtl"] {
+ .information-panel-image {
+ left: auto;
+ right: -12px;
+ &::before {
+ left: auto;
+ right: -1px;
+ border: 6px solid transparent;
+ border-top: 6px solid var(--bordercolor-input, $pm-global-border);
+ border-left: 6px solid var(--bordercolor-input, $pm-global-border);
+ }
+ }
+ .information-panel-content {
+ margin: 1.6rem 5.1rem 1.6rem 2.3rem;
+ }
+ }
+} \ No newline at end of file