| | @@ -1529,25 +1529,25 @@ |
| 1529 | 1529 | } |
| 1530 | 1530 | body.chat .chat-message-popup > .toolbar > button { |
| 1531 | 1531 | flex: 1 1 auto; |
| 1532 | 1532 | } |
| 1533 | 1533 | |
| 1534 | | -body.chat .load-msg-toolbar { |
| 1534 | +body.chat #load-msg-toolbar { |
| 1535 | 1535 | border-radius: 0.25em; |
| 1536 | 1536 | padding: 0.1em 0.2em; |
| 1537 | 1537 | margin-bottom: 1em; |
| 1538 | 1538 | } |
| 1539 | | -body.chat .load-msg-toolbar.all-done { |
| 1539 | +body.chat #load-msg-toolbar.all-done { |
| 1540 | 1540 | opacity: 0.5; |
| 1541 | 1541 | } |
| 1542 | | -body.chat .load-msg-toolbar > div { |
| 1542 | +body.chat #load-msg-toolbar > div { |
| 1543 | 1543 | display: flex; |
| 1544 | 1544 | flex-direction: row; |
| 1545 | 1545 | justify-content: stretch; |
| 1546 | 1546 | flex-wrap: wrap; |
| 1547 | 1547 | } |
| 1548 | | -body.chat .load-msg-toolbar > div > button { |
| 1548 | +body.chat #load-msg-toolbar > div > button { |
| 1549 | 1549 | flex: 1 1 auto; |
| 1550 | 1550 | } |
| 1551 | 1551 | |
| 1552 | 1552 | .settings-icon { |
| 1553 | 1553 | /* Icon source: https://de.wikipedia.org/wiki/Datei:OOjs_UI_icon_settings.svg |
| | @@ -1560,10 +1560,13 @@ |
| 1560 | 1560 | max-height: 1em; |
| 1561 | 1561 | min-width: 1em; |
| 1562 | 1562 | max-width: 1em; |
| 1563 | 1563 | margin: 0; |
| 1564 | 1564 | padding: 0.2em/*needed to avoid image truncation*/; |
| 1565 | +} |
| 1566 | +body.fossil-dark-style .settings-icon { |
| 1567 | + filter: invert(100%); |
| 1565 | 1568 | } |
| 1566 | 1569 | body.chat #chat-settings-button { |
| 1567 | 1570 | } |
| 1568 | 1571 | body.chat .chat-settings-popup { |
| 1569 | 1572 | font-size: 0.8em; |
| | @@ -1571,6 +1574,88 @@ |
| 1571 | 1574 | opacity: 0.8; |
| 1572 | 1575 | display: flex; |
| 1573 | 1576 | flex-direction: column; |
| 1574 | 1577 | align-items: stretch; |
| 1575 | 1578 | padding: 0.25em; |
| 1579 | +} |
| 1580 | +body.chat #chat-messages-wrapper { |
| 1581 | + display: flex; |
| 1582 | + flex-direction: column; |
| 1583 | +} |
| 1584 | +body.chat.chat-only-mode{ |
| 1585 | +} |
| 1586 | +body.chat.chat-only-mode > div.content { |
| 1587 | + margin: 0; |
| 1588 | + padding: 0; |
| 1589 | + display: flex; |
| 1590 | + flex-direction: column; |
| 1591 | + align-items: stretch; |
| 1592 | +} |
| 1593 | +body.chat.chat-only-mode #chat-input-area { |
| 1594 | + /* would like to pin this to the top so that it stays in place when |
| 1595 | + scrolling, but doing so causes #chat-messages-wrapper to scroll |
| 1596 | + behind it visibly, which is really ugly. Only current workaround is |
| 1597 | + to force an opaque background color on this element, but that's not |
| 1598 | + skin-friendly. */ |
| 1599 | + /*position: fixed; |
| 1600 | + top: 0; |
| 1601 | + left: 0;*/ |
| 1602 | + padding: 0.5em 1em; |
| 1603 | +} |
| 1604 | +body.chat.chat-only-mode #chat-messages-wrapper { |
| 1605 | +} |
| 1606 | + |
| 1607 | +body.chat #chat-input-area { |
| 1608 | + display: flex; |
| 1609 | + flex-direction: column; |
| 1610 | + border-bottom: 1px solid black; |
| 1611 | + margin-bottom: 0.5em; |
| 1612 | +} |
| 1613 | +body.chat #chat-input-line { |
| 1614 | + display: flex; |
| 1615 | + flex-direction: row; |
| 1616 | + margin-bottom: 0.25em; |
| 1617 | + align-items: center; |
| 1618 | +} |
| 1619 | +body.chat #chat-input-line > input[type=submit] { |
| 1620 | + flex: 1 5 auto; |
| 1621 | + max-width: 6em; |
| 1622 | + margin-right: 1em; |
| 1623 | +} |
| 1624 | +body.chat #chat-input-line > input[type=text] { |
| 1625 | + flex: 5 1 auto; |
| 1626 | +} |
| 1627 | +body.chat #chat-input-file-area { |
| 1628 | + display: flex; |
| 1629 | + flex-direction: row; |
| 1630 | + align-items: center; |
| 1631 | + flex-wrap: wrap; |
| 1632 | +} |
| 1633 | +body.chat #chat-input-file-area > .file-selection-wrapper { |
| 1634 | + align-self: flex-start; |
| 1635 | + margin-right: 0.5em; |
| 1636 | + flex: 0 1 auto; |
| 1637 | + padding: 0.25em 0.25em 0.25em 0; |
| 1638 | +} |
| 1639 | +body.chat #chat-input-file-area .file-selection-wrapper > * { |
| 1640 | + vertical-align: middle; |
| 1641 | + margin: 0; |
| 1642 | +} |
| 1643 | +body.chat #chat-input-file { |
| 1644 | + border:1px solid rgba(0,0,0,0);/*avoid UI shift during drop-targeting*/ |
| 1645 | + border-radius: 0.25em; |
| 1646 | + padding: 0.25em; |
| 1647 | +} |
| 1648 | +body.chat #chat-input-file > input { |
| 1649 | + flex: 1 0 auto; |
| 1650 | +} |
| 1651 | +body.chat #chat-input-file.dragover { |
| 1652 | + border: 1px dashed green; |
| 1653 | +} |
| 1654 | +body.chat #chat-drop-details { |
| 1655 | + flex: 0 1 auto; |
| 1656 | + padding: 0.5em 1em; |
| 1657 | + margin-left: 0.5em; |
| 1658 | + white-space: pre; |
| 1659 | + font-family: monospace; |
| 1660 | + max-width: 50%; |
| 1576 | 1661 | } |
| 1577 | 1662 | |