8#include <QtCore/qstring.h>
9#include <QtCore/qfile.h>
17 --resize-outline-width: 8px;
18 --resize-outline-half-width: var(--resize-outline-width) / 2;
22 caret-color: transparent;
35 background-color: lightgray;
43.qt-window.transparent-for-input {
47.qt-window.has-shadow {
48 box-shadow: rgb(0 0 0 / 20%) 0px 10px 16px 0px, rgb(0 0 0 / 19%) 0px 6px 20px 0px;
51.qt-window.has-border {
52 border: var(--border-width) solid lightgray;
53 caret-color: transparent;
57 background-color: transparent;
65.qt-window.no-resize > .resize-outline { display: none; }
67.qt-window.has-border:not(.maximized):not(.no-resize) .resize-outline {
72 left: calc(-1 * var(--resize-outline-half-width) - var(--border-width));
73 top: calc(-1 * var(--resize-outline-half-width) - var(--border-width));
74 width: var(--resize-outline-width);
75 height: var(--resize-outline-width);
80 left: var(--resize-outline-half-width);
81 top: calc(-1 * var(--resize-outline-half-width) - var(--border-width));
82 height: var(--resize-outline-width);
83 width: calc(100% + 2 * var(--border-width) - var(--resize-outline-width));
88 left: calc(100% + var(--border-width) - var(--resize-outline-half-width));
89 top: calc(-1 * var(--resize-outline-half-width) - var(--border-width));
90 width: var(--resize-outline-width);
91 height: var(--resize-outline-width);
96 left: calc(-1 * var(--resize-outline-half-width) - var(--border-width));
98 height: calc(100% + 2 * var(--border-width) - var(--resize-outline-width));
99 width: var(--resize-outline-width);
104 left: calc(100% + var(--border-width) - var(--resize-outline-half-width));
106 height: calc(100% + 2 * var(--border-width) - var(--resize-outline-width));
107 width: var(--resize-outline-width);
112 left: calc(-1 * var(--resize-outline-half-width) - var(--border-width));
113 top: calc(100% + var(--border-width) - var(--resize-outline-half-width));
114 width: var(--resize-outline-width);
115 height: var(--resize-outline-width);
120 left: var(--resize-outline-half-width);
121 top: calc(100% + var(--border-width) - var(--resize-outline-half-width));
122 height: var(--resize-outline-width);
123 width: calc(100% + 2 * var(--border-width) - var(--resize-outline-width));
128 left: calc(100% + var(--border-width) - var(--resize-outline-half-width));
129 top: calc(100% + var(--border-width) - var(--resize-outline-half-width));
130 width: var(--resize-outline-width);
131 height: var(--resize-outline-width);
143.qt-window.has-border > .title-bar {
147.title-bar .window-name {
149 font-family: 'Lucida Grande';
156.qt-window.has-title .title-bar .window-name {
164.qt-window.inactive .title-bar {
168.qt-window-canvas-container {
170 pointer-events: none;
174 pointer-events: none;
177.qt-window-a11y-container {
182.title-bar .image-button {
186 justify-content: center;
191.title-bar .image-button img {
195 pointer-events: none;
196 -webkit-user-drag: none;
197 background-size: 10px 10px;
200.title-bar .action-button {
204.qt-window.blocked div {
205 pointer-events: none;
208.title-bar .action-button img {
209 transition: filter 0.08s ease-out;
212.title-bar .action-button:hover img {
213 filter: invert(0.45);
216.title-bar .action-button:active img {
220/* This will clip the content within 50% frame in 1x1 pixel area, preventing it
221 from being rendered on the page, but it should still be read by modern
223.hidden-visually-read-by-screen-reader {
225 clip: rect(1px, 1px, 1px, 1px);
226 clip-path: inset(50%);
241 auto document =
parent[
"ownerDocument"];
242 auto screenStyle = document.call<emscripten::val>(
"createElement", emscripten::val(
"style"));
244 screenStyle.set(
"textContent", std::string(Style));
Combined button and popup list for selecting options.
emscripten::val createStyleElement(emscripten::val parent)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent