* { box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #1e1e1e; color: #f0f0f0; padding: 10px; } .plugin-header { text-align: center; margin-top: 10px; margin-bottom: 30px; } .menu-container { position: relative; display: inline-block; } .menu-button { background: none; border: none; cursor: pointer; font-size: 24px; padding: 0; } .menu-content { display: none; position: absolute; right: 0; background-color: #f9f9f9; min-width: 95px; box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); z-index: 1; border-radius: 5px; } .menu-content a { color: black; padding: 12px 16px; text-decoration: none; display: block; } .menu-content a:hover { background-color: #f1f1f1; } /* Submenu Styles */ .submenu-content { display: none; /* Hidden by default */ background-color: lightgray; /* Optional: background color for the submenu */ padding: 10px; position: absolute; z-index: 1; min-width: 95px; } #submenu { position: relative; left: 0; top: 0; } #languageSubmenu { left: 0; top: 100%; } /* Main menu hover */ .menu-container:hover .menu-content { display: block; } .language-option { margin-top: 0; transition: margin-top 0.3s; } .language-option.active { margin-top: 5px; } .plugin-header h1 { font-size: 1.5rem; margin: 10px 0; } .plugin-logo { width: 170px; height: auto; } .plugin-section { background-color: #2c2c2c; padding: 15px; margin-bottom: 10px; border-radius: 10px; position: relative; } /* Collapsible Sections */ .collapsible-header { cursor: pointer; } .collapsible-content { display: none; margin-top: 10px; } .toggle-arrow { background: none; text-align: center; align-items: center; border: none; cursor: pointer; font-size: 18px; position: absolute; right: 3px; top: 6px; width: 35px; height: 24px; display: none; z-index: 1000; } #pluginContainer { max-height: 100vh; overflow-y: auto; /* Add vertical scrolling */ padding-right: 10px; } /* Collapsible Sections */ .plugin-section.collapsible { overflow: hidden; transition: max-height 0.3s ease; } .plugin-section.collapsible.collapsed { max-height: 40px; cursor: pointer; } .plugin-section.collapsible h2 { margin: 0; font-size: 1rem; } .plugin-section.collapsible.collapsed h2 { font-size: 0.9rem; } /* Select image or folder */ .button-blue { background-color: #007BFF; color: white; border: none; padding: 1px 6px; cursor: pointer; font-size: 0.2rem; width: 33%; border-radius: 4px; text-align: center; margin-left: 0px; flex-shrink: 0; } .button-blue:hover { background-color: rgb(35, 66, 117);} .path-button-container { display: flex; align-items: center; } .path-display { margin-right: 15px; flex-grow: 1; } .file-path-label { font-size: 14px; color: #333; display: inline-block; margin-right: 10px; } .folder-file-path { color: #28a745; } .image-file-path { color: #FF5733; } .browse-file-path { color: #007BFF; } input[type="radio"] { -webkit-appearance: none; /* Remove default styling for Webkit browsers */ -moz-appearance: none; /* Remove default styling for Firefox */ appearance: none; /* Remove default styling for other browsers */ border-radius: 50%; /* Circular border */ width: 16px; /* Size of the radio button */ height: 16px; /* Size of the radio button */ outline: none; /* Remove outline */ cursor: pointer; /* Pointer cursor on hover */ background-color: #fff; /* Background color inside the circle */ position: relative; /* Position for the inner circle */ margin-right: 8px; /* Space between radio button and label */ } input[type="radio"]:checked::before { content: ""; display: block; width: 8px; /* Size of the inner circle */ height: 8px; /* Size of the inner circle */ border-radius: 50%; /* Circular inner circle */ background-color: #007BFF; /* Color of the inner circle */ position: absolute; /* Position inside the outer circle */ top: 50%; /* Center vertically */ left: 50%; /* Center horizontally */ transform: translate(-50%, -50%); /* Center the inner circle */ } input[type="radio"]::-moz-focus-inner { border: 0; padding: 0; } /* Custom Size Section */ .custom-size-content { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; } .input-select { font-family: Arial, sans-serif; font-size: 1rem; } /* Additional spacing for height field and 'X' */ .custom-size-content > sp-textfield { margin-right: 0.5rem; } /* Additional spacing for width field and 'Add Size' button */ .custom-size-content > sp-detail { margin-right: 0.5rem; } .size-display { margin-top: 1rem; font-family: Arial, sans-serif; } /* Preset Sizes Section */ .preset-sizes-container { display: flex; flex-wrap: wrap; justify-content: center; padding: 1rem; } .preset-card { background-color: #7d7d7d; border: 1px solid #ddd; border-radius: 0.5rem; width: 130px; text-align: left; position: relative; box-sizing: border-box; margin: 0.5rem; display: flex; justify-content: space-between; align-items: center; } .preset-size-text { font-family: Arial, sans-serif; font-size: 0.73rem; margin: 0; line-height: 1.2; margin-left: 7px; white-space: nowrap; } .card-close-button { background-color: transparent; color: white; border: none; border-radius: 50%; width: 20px; height: 20px; cursor: pointer; font-size: 0.8rem; line-height: 1; display: flex; align-items: center; justify-content: center; } .card-close-button::before { content: "×"; font-size: 1rem; color: white; } .card-close-button:hover { background-color: darkred; } /* Export Options Section */ .export-options-content { display: flex; flex-direction: column; gap: 1rem; } .exportinput-field { padding: 0.1rem; border: 1px solid #ccc; border-radius: 4px; width: calc(100% - 2rem); box-sizing: border-box; min-height: 1.5rem; margin-left: 0px; } .applybutton-blue { background-color: #007bff; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 1rem; width: 100px; } .applybutton-blue:hover { background-color: #0056b3; } /* Button alignment */ .button-container { display: flex; justify-content: flex-end; } /* process */ .image-container { width: 180px; height: 150px; border: 1px solid #ccc; padding: 10px; text-align: center; margin-left: 75px; margin-top: 10px; } .polyptych-image { width: 100%; height: 90%; object-fit: fill; } .sample-label { font-weight: bold; margin-bottom: 5px; } .applybutton-bluee { background-color: #007bff; width: 100%; color: white; padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; } .applybutton-bluee:hover { background-color: #0056b3; }