|
| 1 | +.sl-button { |
| 2 | + appearance: none; |
| 3 | + background-color: #FAFBFC; |
| 4 | + border: 1px solid rgba(27, 31, 35, 0.15); |
| 5 | + border-radius: 6px; |
| 6 | + box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0, rgba(255, 255, 255, 0.25) 0 1px 0 inset; |
| 7 | + box-sizing: border-box; |
| 8 | + color: #24292E; |
| 9 | + cursor: pointer; |
| 10 | + display: inline-block; |
| 11 | + font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; |
| 12 | + font-size: 14px; |
| 13 | + font-weight: 500; |
| 14 | + line-height: 20px; |
| 15 | + list-style: none; |
| 16 | + padding: 6px; |
| 17 | + position: relative; |
| 18 | + transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1); |
| 19 | + user-select: none; |
| 20 | + -webkit-user-select: none; |
| 21 | + touch-action: manipulation; |
| 22 | + vertical-align: middle; |
| 23 | + white-space: nowrap; |
| 24 | + word-wrap: break-word; |
| 25 | +} |
| 26 | + |
| 27 | +.sl-button:hover { |
| 28 | + background-color: #F3F4F6; |
| 29 | + text-decoration: none; |
| 30 | + transition-duration: 0.1s; |
| 31 | +} |
| 32 | + |
| 33 | +.sl-button:disabled { |
| 34 | + background-color: #FAFBFC; |
| 35 | + border-color: rgba(27, 31, 35, 0.15); |
| 36 | + color: #959DA5; |
| 37 | + cursor: default; |
| 38 | +} |
| 39 | + |
| 40 | +.sl-button:active { |
| 41 | + background-color: #EDEFF2; |
| 42 | + box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset; |
| 43 | + transition: none 0s; |
| 44 | +} |
| 45 | + |
| 46 | +.sl-button:focus { |
| 47 | + outline: 1px transparent; |
| 48 | +} |
| 49 | + |
| 50 | +.sl-button:before { |
| 51 | + display: none; |
| 52 | +} |
| 53 | + |
| 54 | +.sl-button:-webkit-details-marker { |
| 55 | + display: none; |
| 56 | +} |
| 57 | + |
| 58 | +.sl-button-accent { |
| 59 | + appearance: none; |
| 60 | + background-color: #e7f0f9; |
| 61 | + border: 1px solid rgba(27, 31, 35, 0.15); |
| 62 | + border-radius: 6px; |
| 63 | + box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0, rgba(255, 255, 255, 0.25) 0 1px 0 inset; |
| 64 | + box-sizing: border-box; |
| 65 | + color: #24292E; |
| 66 | + cursor: pointer; |
| 67 | + display: inline-block; |
| 68 | + font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; |
| 69 | + font-size: 14px; |
| 70 | + font-weight: 500; |
| 71 | + line-height: 20px; |
| 72 | + list-style: none; |
| 73 | + padding: 6px; |
| 74 | + position: relative; |
| 75 | + transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1); |
| 76 | + user-select: none; |
| 77 | + -webkit-user-select: none; |
| 78 | + touch-action: manipulation; |
| 79 | + vertical-align: middle; |
| 80 | + white-space: nowrap; |
| 81 | + word-wrap: break-word; |
| 82 | +} |
| 83 | + |
| 84 | +.sl-button-accent:hover { |
| 85 | + background-color: #e0e6f3; |
| 86 | + text-decoration: none; |
| 87 | + transition-duration: 0.1s; |
| 88 | +} |
| 89 | + |
| 90 | +.sl-button-accent:disabled { |
| 91 | + background-color: #e6f0f9; |
| 92 | + border-color: rgba(27, 31, 35, 0.15); |
| 93 | + color: #959DA5; |
| 94 | + cursor: default; |
| 95 | +} |
| 96 | + |
| 97 | +.sl-button-accent:active { |
| 98 | + background-color: #d6dfeb; |
| 99 | + box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset; |
| 100 | + transition: none 0s; |
| 101 | +} |
| 102 | + |
| 103 | +.sl-button-accent:focus { |
| 104 | + outline: 1px transparent; |
| 105 | +} |
| 106 | + |
| 107 | +.sl-button-accent:before { |
| 108 | + display: none; |
| 109 | +} |
| 110 | + |
| 111 | +.sl-button-accent:-webkit-details-marker { |
| 112 | + display: none; |
| 113 | +} |
| 114 | + |
| 115 | +.button-group-right { |
| 116 | + height: 32px; |
| 117 | + margin: 0px; |
| 118 | + padding-top: 6px; |
| 119 | + margin-left: -4px; |
| 120 | + border-top-left-radius: 0px; |
| 121 | + border-bottom-left-radius: 0px; |
| 122 | +} |
| 123 | + |
| 124 | +.button-group-middle { |
| 125 | + height: 32px; |
| 126 | + margin: 0px; |
| 127 | + padding-top: 6px; |
| 128 | + margin-right: -4px; |
| 129 | + margin-left: -4px; |
| 130 | + border-top-right-radius: 0px; |
| 131 | + border-bottom-right-radius: 0px; |
| 132 | + border-top-left-radius: 0px; |
| 133 | + border-bottom-left-radius: 0px; |
| 134 | +} |
| 135 | + |
| 136 | +.button-group-left { |
| 137 | + height: 32px; |
| 138 | + margin: 0px; |
| 139 | + padding-top: 6px; |
| 140 | + margin-right: -4px; |
| 141 | + border-top-right-radius: 0px; |
| 142 | + border-bottom-right-radius: 0px; |
| 143 | +} |
0 commit comments