Untitled

Anonymous
plain_text
10/19/2026 11:15 AM
7.6 KB
4
Indexable
/* Style widgetu — kanoniczna wersja jest w script.js (WIDGET_CSS). */

.synerise-widget-root {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483646;
}

.synerise-widget {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: grab;
  opacity: 0.5;
  transition: opacity 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  background: #fff;
  overflow: hidden;
}

.synerise-widget-root.panel-open .synerise-widget,
.synerise-widget:hover:not(.is-dragging) {
  opacity: 1;
}

.synerise-widget:hover:not(.is-dragging) {
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.45);
  transform: scale(1.05);
}

.synerise-widget.is-dragging {
  cursor: grabbing;
  opacity: 1;
  transition: opacity 0.15s ease, box-shadow 0.15s ease;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.synerise-widget svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.synerise-panel {
  position: absolute;
  top: 50%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(20, 20, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.85);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.synerise-widget-root.panel-right .synerise-panel {
  left: calc(100% + 10px);
  transform-origin: center left;
}

.synerise-widget-root.panel-left .synerise-panel {
  right: calc(100% + 10px);
  transform-origin: center right;
}

.synerise-widget-root.panel-open .synerise-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
  transition: .2s;
}

.synerise-panel-btn {
  min-width: 52px;
  padding: 7px 4px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #f0f0f5;
  font: 600 11px/1.2 system-ui, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.synerise-panel-btn:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.55), rgba(139, 92, 246, 0.55));
  color: #fff;
  transform: translateY(-1px);
}

.synerise-panel-btn-save {
  background: rgba(46, 204, 113, 0.18);
}

.synerise-panel-btn-save:hover {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.65), rgba(16, 185, 129, 0.65));
}

.synerise-panel-btn-save.is-load {
  background: rgba(59, 130, 246, 0.28);
}

.synerise-panel-btn-save.is-load:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.7), rgba(37, 99, 235, 0.7));
}

.skroty-campaign-notes {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 2147483645;
  font-family: system-ui, sans-serif;
  color: #f0f0f5;
}

.skroty-campaign-notes.is-hidden {
  display: none;
}

.skroty-campaign-notes-button {
  min-width: 52px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(20, 20, 28, 0.94);
  color: #f0f0f5;
  font: 700 11px/1.2 system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.skroty-campaign-notes-button:hover,
.skroty-campaign-notes.is-open .skroty-campaign-notes-button {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.75), rgba(139, 92, 246, 0.75));
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.skroty-campaign-notes.has-note .skroty-campaign-notes-button::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border-radius: 50%;
  background: #2ecc71;
  vertical-align: 2px;
}

.skroty-campaign-notes-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: 280px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(20, 20, 28, 0.96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.skroty-campaign-notes.is-open .skroty-campaign-notes-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.skroty-campaign-notes-header,
.skroty-campaign-notes-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.skroty-campaign-notes-header {
  margin-bottom: 8px;
  font-size: 12px;
}

.skroty-campaign-notes-close {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #f0f0f5;
  cursor: pointer;
  line-height: 1;
}

.skroty-campaign-notes-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.skroty-campaign-notes-textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 120px;
  resize: vertical;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: 12px/1.45 system-ui, sans-serif;
}

.skroty-campaign-notes-textarea:focus {
  border-color: rgba(139, 92, 246, 0.75);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.skroty-campaign-notes-footer {
  margin-top: 8px;
  color: #b5bdc3;
  font-size: 10px;
}
Editor is loading...
Leave a Comment