@interopio/groups-ui-react 5.0.0-next.0 → 5.0.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,6 +110,35 @@ input {
110
110
  -webkit-app-region: drag;
111
111
  }
112
112
 
113
+ /*
114
+ Move area strips of an "html" mode frame. Universal only, and deliberately not sharing
115
+ 't42-move-area': that one is a flex child of a caption/tab bar, while these are placed by
116
+ explicit insets on the frame element itself (WebGroupsInternalHtmlNCArea sets them).
117
+ They must sit above the frame's window element - which is '-webkit-app-region: transparent',
118
+ letting the mouse through to the window content behind the page - and below the buttons
119
+ container, hence the z-index one under it.
120
+ To see them while developing, give this rule a visible 'background-color'.
121
+ */
122
+ .t42-html-move-area {
123
+ position: absolute;
124
+ z-index: 9;
125
+ display: block;
126
+ background-color: transparent;
127
+ -webkit-app-region: drag;
128
+ }
129
+
130
+ /*
131
+ The hot zone that reveals the "html" mode buttons on demand. Sized over the buttons container
132
+ and 'no-drag', because a drag region is hit tested in the browser process and would never
133
+ deliver the hover - which also keeps a press on a button from reading as a caption drag.
134
+ */
135
+ .t42-html-buttons-hover-area {
136
+ position: absolute;
137
+ z-index: 9;
138
+ background-color: transparent;
139
+ -webkit-app-region: no-drag;
140
+ }
141
+
113
142
  .t42-buttons-container {
114
143
  display: flex;
115
144
  flex-direction: row;