File tree 2 files changed +31
-6
lines changed
2 files changed +31
-6
lines changed Original file line number Diff line number Diff line change @@ -1143,14 +1143,15 @@ Automation {#color-adjust-automation}
1143
1143
The [=remote end steps=] , given <em> session</em> , <em> URL
1144
1144
variables</em> and <em> parameters</em> are:
1145
1145
1146
- 1. If <em> parameters</em> is not a JSON [=Object=] , return a WebDriver [=error=] with
1147
- WebDriver [=error code=] [=invalid argument=] .
1146
+ 1. If <em> parameters</em> is not a JSON [=Object=] , return a WebDriver [=error=]
1147
+ with WebDriver [=error code=] [=invalid argument=] .
1148
1148
1149
- 2. Let <em> theme</em> be the result of [=getting a property=] named <code> "theme" </code> from
1150
- <em> parameters</em> .
1149
+ 2. Let <em> theme</em> be the result of [=getting a property=] named
1150
+ <code> "theme" </code> from < em> parameters</em> .
1151
1151
1152
- 3. If <em> theme</em> is [=undefined=] or is not a member of {{ForcedColorsModeAutomationTheme}} ,
1153
- return a WebDriver [=error=] with WebDriver [=error code=] [=invalid argument=] .
1152
+ 3. If <em> theme</em> is [=undefined=] or is not a member of
1153
+ {{ForcedColorsModeAutomationTheme}} , return a WebDriver [=error=] with
1154
+ WebDriver [=error code=] [=invalid argument=] .
1154
1155
1155
1156
4. Set the [=current forced colors mode automation theme=] to <em> theme</em> .
1156
1157
Original file line number Diff line number Diff line change
1
+ .swatch {
2
+ position : relative;
3
+ z-index : 1 ;
4
+ display : inline-block;
5
+ vertical-align : calc (-.1em - 3px );
6
+ padding : .6em ;
7
+ background-color : var (--color );
8
+ border : 3px solid white;
9
+ border-radius : 3px ;
10
+ box-shadow : 1px 1px 1px rgba (0 , 0 , 0 , .15 );
11
+ forced-color-adjust : none;
12
+ }
13
+
14
+ .swatch .oog {
15
+ border : 2px solid red;
16
+ }
17
+
18
+ .swatch : hover ,
19
+ .swatch : focus {
20
+ transform : scale (3 );
21
+ border-radius : 2px ;
22
+ transition : .4s ;
23
+ z-index : 2 ;
24
+ }
You can’t perform that action at this time.
0 commit comments