@lingk/sync 1.1.63 → 2.0.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.
@@ -13,7 +13,8 @@
13
13
  .CodeMirror-lines {
14
14
  padding: 4px 0; /* Vertical padding around content */
15
15
  }
16
- .CodeMirror pre {
16
+ .CodeMirror pre.CodeMirror-line,
17
+ .CodeMirror pre.CodeMirror-line-like {
17
18
  padding: 0 4px; /* Horizontal padding of content */
18
19
  }
19
20
 
@@ -82,7 +83,7 @@
82
83
 
83
84
  .CodeMirror-rulers {
84
85
  position: absolute;
85
- left: 0; right: 0; top: -50px; bottom: -20px;
86
+ left: 0; right: 0; top: -50px; bottom: 0;
86
87
  overflow: hidden;
87
88
  }
88
89
  .CodeMirror-ruler {
@@ -149,17 +150,17 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
149
150
 
150
151
  .CodeMirror-scroll {
151
152
  overflow: scroll !important; /* Things will break if this is overridden */
152
- /* 30px is the magic margin used to hide the element's real scrollbars */
153
+ /* 50px is the magic margin used to hide the element's real scrollbars */
153
154
  /* See overflow: hidden in .CodeMirror */
154
- margin-bottom: -30px; margin-right: -30px;
155
- padding-bottom: 30px;
155
+ margin-bottom: -50px; margin-right: -50px;
156
+ padding-bottom: 50px;
156
157
  height: 100%;
157
158
  outline: none; /* Prevent dragging from highlighting the element */
158
159
  position: relative;
159
160
  }
160
161
  .CodeMirror-sizer {
161
162
  position: relative;
162
- border-right: 30px solid transparent;
163
+ border-right: 50px solid transparent;
163
164
  }
164
165
 
165
166
  /* The fake, visible scrollbars. Used to force redraw during scrolling
@@ -169,6 +170,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
169
170
  position: absolute;
170
171
  z-index: 6;
171
172
  display: none;
173
+ outline: none;
172
174
  }
173
175
  .CodeMirror-vscrollbar {
174
176
  right: 0; top: 0;
@@ -197,7 +199,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
197
199
  height: 100%;
198
200
  display: inline-block;
199
201
  vertical-align: top;
200
- margin-bottom: -30px;
202
+ margin-bottom: -50px;
201
203
  }
202
204
  .CodeMirror-gutter-wrapper {
203
205
  position: absolute;
@@ -223,7 +225,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
223
225
  cursor: text;
224
226
  min-height: 1px; /* prevents collapsing before first draw */
225
227
  }
226
- .CodeMirror pre {
228
+ .CodeMirror pre.CodeMirror-line,
229
+ .CodeMirror pre.CodeMirror-line-like {
227
230
  /* Reset some styles that the rest of the page might have set */ border-radius: 0;
228
231
  border-width: 0;
229
232
  background: transparent;
@@ -241,7 +244,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
241
244
  -webkit-font-variant-ligatures: contextual;
242
245
  font-variant-ligatures: contextual;
243
246
  }
244
- .CodeMirror-wrap pre {
247
+ .CodeMirror-wrap pre.CodeMirror-line,
248
+ .CodeMirror-wrap pre.CodeMirror-line-like {
245
249
  word-wrap: break-word;
246
250
  white-space: pre-wrap;
247
251
  word-break: normal;
@@ -13,7 +13,8 @@
13
13
  .CodeMirror-lines {
14
14
  padding: 4px 0; /* Vertical padding around content */
15
15
  }
16
- .CodeMirror pre {
16
+ .CodeMirror pre.CodeMirror-line,
17
+ .CodeMirror pre.CodeMirror-line-like {
17
18
  padding: 0 4px; /* Horizontal padding of content */
18
19
  }
19
20
 
@@ -82,7 +83,7 @@
82
83
 
83
84
  .CodeMirror-rulers {
84
85
  position: absolute;
85
- left: 0; right: 0; top: -50px; bottom: -20px;
86
+ left: 0; right: 0; top: -50px; bottom: 0;
86
87
  overflow: hidden;
87
88
  }
88
89
  .CodeMirror-ruler {
@@ -149,17 +150,17 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
149
150
 
150
151
  .CodeMirror-scroll {
151
152
  overflow: scroll !important; /* Things will break if this is overridden */
152
- /* 30px is the magic margin used to hide the element's real scrollbars */
153
+ /* 50px is the magic margin used to hide the element's real scrollbars */
153
154
  /* See overflow: hidden in .CodeMirror */
154
- margin-bottom: -30px; margin-right: -30px;
155
- padding-bottom: 30px;
155
+ margin-bottom: -50px; margin-right: -50px;
156
+ padding-bottom: 50px;
156
157
  height: 100%;
157
158
  outline: none; /* Prevent dragging from highlighting the element */
158
159
  position: relative;
159
160
  }
160
161
  .CodeMirror-sizer {
161
162
  position: relative;
162
- border-right: 30px solid transparent;
163
+ border-right: 50px solid transparent;
163
164
  }
164
165
 
165
166
  /* The fake, visible scrollbars. Used to force redraw during scrolling
@@ -169,6 +170,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
169
170
  position: absolute;
170
171
  z-index: 6;
171
172
  display: none;
173
+ outline: none;
172
174
  }
173
175
  .CodeMirror-vscrollbar {
174
176
  right: 0; top: 0;
@@ -197,7 +199,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
197
199
  height: 100%;
198
200
  display: inline-block;
199
201
  vertical-align: top;
200
- margin-bottom: -30px;
202
+ margin-bottom: -50px;
201
203
  }
202
204
  .CodeMirror-gutter-wrapper {
203
205
  position: absolute;
@@ -223,7 +225,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
223
225
  cursor: text;
224
226
  min-height: 1px; /* prevents collapsing before first draw */
225
227
  }
226
- .CodeMirror pre {
228
+ .CodeMirror pre.CodeMirror-line,
229
+ .CodeMirror pre.CodeMirror-line-like {
227
230
  /* Reset some styles that the rest of the page might have set */ border-radius: 0;
228
231
  border-width: 0;
229
232
  background: transparent;
@@ -241,7 +244,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
241
244
  -webkit-font-variant-ligatures: contextual;
242
245
  font-variant-ligatures: contextual;
243
246
  }
244
- .CodeMirror-wrap pre {
247
+ .CodeMirror-wrap pre.CodeMirror-line,
248
+ .CodeMirror-wrap pre.CodeMirror-line-like {
245
249
  word-wrap: break-word;
246
250
  white-space: pre-wrap;
247
251
  word-break: normal;
@@ -1424,11 +1428,38 @@ aside{
1424
1428
 
1425
1429
  .rc-time-picker {
1426
1430
  display: inline-block;
1431
+ position: relative;
1427
1432
  box-sizing: border-box;
1428
1433
  }
1429
1434
  .rc-time-picker * {
1430
1435
  box-sizing: border-box;
1431
1436
  }
1437
+ .rc-time-picker-clear {
1438
+ position: absolute;
1439
+ right: 6px;
1440
+ cursor: pointer;
1441
+ overflow: hidden;
1442
+ width: 20px;
1443
+ height: 20px;
1444
+ text-align: center;
1445
+ line-height: 20px;
1446
+ top: 3px;
1447
+ margin: 0;
1448
+ }
1449
+ .rc-time-picker-clear-icon:after {
1450
+ content: "x";
1451
+ font-size: 12px;
1452
+ font-style: normal;
1453
+ color: #aaa;
1454
+ display: inline-block;
1455
+ line-height: 1;
1456
+ height: 20px;
1457
+ width: 20px;
1458
+ transition: color 0.3s ease;
1459
+ }
1460
+ .rc-time-picker-clear-icon:hover:after {
1461
+ color: #666;
1462
+ }
1432
1463
  .rc-time-picker-input {
1433
1464
  width: 100%;
1434
1465
  position: relative;
@@ -1442,9 +1473,14 @@ aside{
1442
1473
  background-color: #fff;
1443
1474
  background-image: none;
1444
1475
  border: 1px solid #d9d9d9;
1445
- border-radius: 6px;
1476
+ border-radius: 4px;
1446
1477
  transition: border 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), box-shadow 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
1447
1478
  }
1479
+ .rc-time-picker-input[disabled] {
1480
+ color: #ccc;
1481
+ background: #f7f7f7;
1482
+ cursor: not-allowed;
1483
+ }
1448
1484
  .rc-time-picker-panel {
1449
1485
  z-index: 1070;
1450
1486
  width: 170px;
@@ -1462,12 +1498,15 @@ aside{
1462
1498
  font-size: 12px;
1463
1499
  text-align: left;
1464
1500
  background-color: #fff;
1465
- border-radius: 3px;
1501
+ border-radius: 4px;
1466
1502
  box-shadow: 0 1px 5px #ccc;
1467
1503
  background-clip: padding-box;
1468
1504
  border: 1px solid #ccc;
1469
1505
  line-height: 1.5;
1470
1506
  }
1507
+ .rc-time-picker-panel-narrow {
1508
+ max-width: 113px;
1509
+ }
1471
1510
  .rc-time-picker-panel-input {
1472
1511
  margin: 0;
1473
1512
  padding: 0;
@@ -1486,30 +1525,6 @@ aside{
1486
1525
  .rc-time-picker-panel-input-invalid {
1487
1526
  border-color: red;
1488
1527
  }
1489
- .rc-time-picker-panel-clear-btn {
1490
- position: absolute;
1491
- right: 6px;
1492
- cursor: pointer;
1493
- overflow: hidden;
1494
- width: 20px;
1495
- height: 20px;
1496
- text-align: center;
1497
- line-height: 20px;
1498
- top: 6px;
1499
- margin: 0;
1500
- }
1501
- .rc-time-picker-panel-clear-btn:after {
1502
- content: "x";
1503
- font-size: 12px;
1504
- color: #aaa;
1505
- display: inline-block;
1506
- line-height: 1;
1507
- width: 20px;
1508
- transition: color 0.3s ease;
1509
- }
1510
- .rc-time-picker-panel-clear-btn:hover:after {
1511
- color: #666;
1512
- }
1513
1528
  .rc-time-picker-panel-select {
1514
1529
  float: left;
1515
1530
  font-size: 12px;
@@ -1518,7 +1533,8 @@ aside{
1518
1533
  margin-left: -1px;
1519
1534
  box-sizing: border-box;
1520
1535
  width: 56px;
1521
- overflow: hidden;
1536
+ max-height: 144px;
1537
+ overflow-y: auto;
1522
1538
  position: relative;
1523
1539
  }
1524
1540
  .rc-time-picker-panel-select-active {
@@ -1537,11 +1553,9 @@ aside{
1537
1553
  margin: 0;
1538
1554
  padding: 0;
1539
1555
  width: 100%;
1540
- max-height: 144px;
1541
1556
  }
1542
1557
  .rc-time-picker-panel-select li {
1543
1558
  list-style: none;
1544
- box-sizing: content-box;
1545
1559
  margin: 0;
1546
1560
  padding: 0 0 0 16px;
1547
1561
  width: 100%;
@@ -1558,11 +1572,11 @@ aside{
1558
1572
  background: #edfaff;
1559
1573
  }
1560
1574
  li.rc-time-picker-panel-select-option-selected {
1561
- background: #edfaff;
1562
- color: #2db7f5;
1575
+ background: #f7f7f7;
1576
+ font-weight: bold;
1563
1577
  }
1564
1578
  li.rc-time-picker-panel-select-option-disabled {
1565
- color: #bfbfbf;
1579
+ color: #ccc;
1566
1580
  }
1567
1581
  li.rc-time-picker-panel-select-option-disabled:hover {
1568
1582
  background: transparent;