@scaleflex/widget-provider-views 4.0.7 → 4.1.0

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.
@@ -1,190 +1,190 @@
1
- // ***
2
- // View type: list
3
- // ***
4
-
5
- .filerobot-ProviderBrowser-layoutType--list,
6
- .filerobot-ProviderBrowser-layoutType--tiles {
7
- background-color: $white;
8
-
9
- [data-filerobot-theme="dark"] & {
10
- background-color: $gray-900;
11
- }
12
-
13
- .filerobot-Provider-list-cell {
14
- text-overflow: ellipsis;
15
- white-space: nowrap;
16
- overflow: hidden;
17
- white-space: nowrap;
18
- text-align: left;
19
- cursor: pointer;
20
- font-size: 14px;
21
- flex: 0.5 0;
22
-
23
- &-cursor-default {
24
- cursor: default !important;
25
- }
26
- }
27
-
28
- .filerobot-Provider-list-cell-icon {
29
- max-width: 24px;
30
- min-width: 20px;
31
- }
32
-
33
- .filerobot-Provider-list-firstColumn {
34
- display: flex;
35
- align-items: center;
36
- flex: 1 0;
37
-
38
- input, label {
39
- width: 80%;
40
- }
41
-
42
- label {
43
- text-overflow: ellipsis;
44
- white-space: nowrap;
45
- overflow: hidden;
46
- }
47
- }
48
- .filerobot-ProviderBrowser-list { outline: none; }
49
-
50
- li.filerobot-ProviderBrowserItem {
51
- outline: none;
52
- display: flex;
53
- align-items: center;
54
- padding: 11px 12px;
55
- margin: 0;
56
- border-bottom: 1px solid rgba(0, 0, 0, 0.05);
57
-
58
- [data-filerobot-theme="dark"] & {
59
- color: $gray-200;
60
- }
61
- }
62
-
63
- .filerobot-ProviderBrowser-body {
64
- width: 100%;
65
- overflow-x: auto;
66
- }
67
-
68
- .filerobot-Provider-ItemCategory {
69
- &-header {
70
- text-overflow: ellipsis;
71
- white-space: nowrap;
72
- overflow: hidden;
73
- display: flex;
74
- align-items: center;
75
- text-align: left;
76
- padding: 12px;
77
- font-weight: 400;
78
- font-size: 14px;
79
- line-height: 16px;
80
- border-bottom: 1.5px solid rgba(0, 0, 0, 0.07);
81
- position: sticky;
82
- top: -1px;
83
- background-color: #fff;
84
- z-index: 11;
85
-
86
- &:last-child {
87
- margin-right: 0;
88
- }
89
-
90
- .filerobot-c-icon {
91
- vertical-align: middle;
92
- }
93
- }
94
-
95
- &-wrapper-list {
96
- padding: 0;
97
- }
98
- }
99
-
100
-
101
- // Checkbox
102
- .filerobot-ProviderBrowserItem-fakeCheckbox {
103
- margin-right: 8px;
104
- vertical-align: middle;
105
- }
106
-
107
- // Either a <label/> for a file,
108
- // or a <button/> we can click on for a folder
109
- .filerobot-ProviderBrowserItem {
110
- &-inner {
111
- text-overflow: ellipsis;
112
- white-space: nowrap;
113
- overflow: hidden;
114
- display: flex;
115
- align-items: center;
116
- width: 100%;
117
- line-height: 1.3;
118
- outline: none;
119
-
120
- input {
121
- height: 17px;
122
- }
123
-
124
- img, svg {
125
- max-width: 20px;
126
- // min-width: 20px;
127
- max-height: 20px;
128
- }
129
- }
130
-
131
- color: $primary;
132
-
133
- &--selected {
134
- background: $active;
135
- color: $white;
136
- border-bottom: 1px solid $border!important;
137
-
138
- svg path {
139
- fill: $border;
140
- }
141
- }
142
-
143
- }
144
-
145
- .filerobot-Provider-listHead-checkbox {
146
- min-width: 16px;
147
- }
148
- }
149
-
150
- .filerobot-ProviderBrowser-layoutType--list {
151
- .filerobot-common-Checkbox {
152
- margin-right: 8px;
153
- }
154
-
155
- .filerobot-Provider-ItemCategory-header {
156
-
157
- .filerobot-Provider-list-cell-icon {
158
- display: flex;
159
- padding-left: 2px;
160
- }
161
- }
162
- }
163
-
164
- .filerobot-ProviderBrowser-layoutType--tiles {
165
- .filerobot-Provider-ItemCategory-header {
166
- padding: 11px 12px;
167
-
168
- .filerobot-Provider-list-cell-icon {
169
- display: flex;
170
- padding-left: 4px;
171
- margin-left: 4px;
172
- }
173
- }
174
-
175
- li.filerobot-ProviderBrowserItem {
176
- padding: 11px 12px;
177
- }
178
-
179
- .filerobot-Provider-list-cell-icon {
180
- max-width: 36px;
181
- min-width: 36px;
182
- margin-right: 8px;
183
-
184
- svg:not(.context-menu-icon), img {
185
- width: 36px;
186
- max-width: 36px;
187
- max-height: 36px;
188
- }
189
- }
190
- }
1
+ // ***
2
+ // View type: list
3
+ // ***
4
+
5
+ .filerobot-ProviderBrowser-layoutType--list,
6
+ .filerobot-ProviderBrowser-layoutType--tiles {
7
+ background-color: $white;
8
+
9
+ [data-filerobot-theme="dark"] & {
10
+ background-color: $gray-900;
11
+ }
12
+
13
+ .filerobot-Provider-list-cell {
14
+ text-overflow: ellipsis;
15
+ white-space: nowrap;
16
+ overflow: hidden;
17
+ white-space: nowrap;
18
+ text-align: left;
19
+ cursor: pointer;
20
+ font-size: 14px;
21
+ flex: 0.5 0;
22
+
23
+ &-cursor-default {
24
+ cursor: default !important;
25
+ }
26
+ }
27
+
28
+ .filerobot-Provider-list-cell-icon {
29
+ max-width: 24px;
30
+ min-width: 20px;
31
+ }
32
+
33
+ .filerobot-Provider-list-firstColumn {
34
+ display: flex;
35
+ align-items: center;
36
+ flex: 1 0;
37
+
38
+ input, label {
39
+ width: 80%;
40
+ }
41
+
42
+ label {
43
+ text-overflow: ellipsis;
44
+ white-space: nowrap;
45
+ overflow: hidden;
46
+ }
47
+ }
48
+ .filerobot-ProviderBrowser-list { outline: none; }
49
+
50
+ li.filerobot-ProviderBrowserItem {
51
+ outline: none;
52
+ display: flex;
53
+ align-items: center;
54
+ padding: 11px 12px;
55
+ margin: 0;
56
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
57
+
58
+ [data-filerobot-theme="dark"] & {
59
+ color: $gray-200;
60
+ }
61
+ }
62
+
63
+ .filerobot-ProviderBrowser-body {
64
+ width: 100%;
65
+ overflow-x: auto;
66
+ }
67
+
68
+ .filerobot-Provider-ItemCategory {
69
+ &-header {
70
+ text-overflow: ellipsis;
71
+ white-space: nowrap;
72
+ overflow: hidden;
73
+ display: flex;
74
+ align-items: center;
75
+ text-align: left;
76
+ padding: 12px;
77
+ font-weight: 400;
78
+ font-size: 14px;
79
+ line-height: 16px;
80
+ border-bottom: 1.5px solid rgba(0, 0, 0, 0.07);
81
+ position: sticky;
82
+ top: -1px;
83
+ background-color: #fff;
84
+ z-index: 11;
85
+
86
+ &:last-child {
87
+ margin-right: 0;
88
+ }
89
+
90
+ .filerobot-c-icon {
91
+ vertical-align: middle;
92
+ }
93
+ }
94
+
95
+ &-wrapper-list {
96
+ padding: 0;
97
+ }
98
+ }
99
+
100
+
101
+ // Checkbox
102
+ .filerobot-ProviderBrowserItem-fakeCheckbox {
103
+ margin-right: 8px;
104
+ vertical-align: middle;
105
+ }
106
+
107
+ // Either a <label/> for a file,
108
+ // or a <button/> we can click on for a folder
109
+ .filerobot-ProviderBrowserItem {
110
+ &-inner {
111
+ text-overflow: ellipsis;
112
+ white-space: nowrap;
113
+ overflow: hidden;
114
+ display: flex;
115
+ align-items: center;
116
+ width: 100%;
117
+ line-height: 1.3;
118
+ outline: none;
119
+
120
+ input {
121
+ height: 17px;
122
+ }
123
+
124
+ img, svg {
125
+ max-width: 20px;
126
+ // min-width: 20px;
127
+ max-height: 20px;
128
+ }
129
+ }
130
+
131
+ color: $primary;
132
+
133
+ &--selected {
134
+ background: $active;
135
+ color: $white;
136
+ border-bottom: 1px solid $border!important;
137
+
138
+ svg path {
139
+ fill: $border;
140
+ }
141
+ }
142
+
143
+ }
144
+
145
+ .filerobot-Provider-listHead-checkbox {
146
+ min-width: 16px;
147
+ }
148
+ }
149
+
150
+ .filerobot-ProviderBrowser-layoutType--list {
151
+ .filerobot-common-Checkbox {
152
+ margin-right: 8px;
153
+ }
154
+
155
+ .filerobot-Provider-ItemCategory-header {
156
+
157
+ .filerobot-Provider-list-cell-icon {
158
+ display: flex;
159
+ padding-left: 2px;
160
+ }
161
+ }
162
+ }
163
+
164
+ .filerobot-ProviderBrowser-layoutType--tiles {
165
+ .filerobot-Provider-ItemCategory-header {
166
+ padding: 11px 12px;
167
+
168
+ .filerobot-Provider-list-cell-icon {
169
+ display: flex;
170
+ padding-left: 4px;
171
+ margin-left: 4px;
172
+ }
173
+ }
174
+
175
+ li.filerobot-ProviderBrowserItem {
176
+ padding: 11px 12px;
177
+ }
178
+
179
+ .filerobot-Provider-list-cell-icon {
180
+ max-width: 36px;
181
+ min-width: 36px;
182
+ margin-right: 8px;
183
+
184
+ svg:not(.context-menu-icon), img {
185
+ width: 36px;
186
+ max-width: 36px;
187
+ max-height: 36px;
188
+ }
189
+ }
190
+ }