html, body, #container { width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden; font-family: Microsoft YaHei; font-size: 14px; } /* Panel */ div.Panel { position: relative; left: 0; top: 0; width: 240px; height: 320px; background: rgb(44, 62, 80); border: 1px solid rgb(44, 62, 80); box-sizing: border-box; } div.Panel .wrap { width: 100%; height: 100%; background: white; } div.Panel .wrap .title { font-size: 14px; line-height: 24px; color: rgb(255, 255, 255); background: rgb(44, 62, 80); cursor: default; white-space: nowrap; overflow: hidden; } div.Panel .wrap .title .icon { width: 16px; height: 24px; margin-right: 4px; vertical-align: top; display: inline-block; } div.Panel .wrap .title .controls { position: absolute; right: 5px; top: 0px; } div.Panel .wrap .title .controls .control { width: 16px; height: 24px; margin-right: 4px; vertical-align: top; display: inline-block; cursor: pointer; } div.Panel .wrap .content { position: absolute; top: 24px; bottom: 32px; left: 0; right: 0; overflow: hidden; } div.Panel .resize { position: absolute; bottom: 0px; right: 0px; width: 10px; height: 10px; } /* Alert */ div.Alert { outline: none; position: fixed; box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 10px 0px; padding: 0px 5px 5px; box-sizing: border-box; background: rgb(7, 97, 134); width: 190px; height: 139px; left: 816px; top: 339px; transform: scale(1, 1); opacity: 1; } div.Alert .wrap { position: relative; width: 100%; height: 100%; outline: none; background: white; } div.Alert .wrap .title { outline: none; cursor: default; white-space: nowrap; overflow: hidden; font: 14px/24px arial, sans-serif; background: rgb(7, 97, 134); color: rgb(255, 255, 255); text-align: left; display: block; } div.Alert .wrap .title .controls { outline: none; position: absolute; left: 0px; right: 5px; top: 0px; bottom: 0px; text-align: right; white-space: nowrap; } div.Alert .wrap .title .controls .icon { cursor: pointer; display: inline-block; margin-right: 4px; vertical-align: top; width: 16px; height: 24px; } div.Alert .wrap .content { outline: none; position: absolute; font: 12px arial, sans-serif; top: 44px; bottom: 52px; left: 20px; right: 20px; overflow: hidden; } div.Alert .wrap .buttons { outline: none; line-height: 32px; position: absolute; bottom: 0px; left: 0px; white-space: nowrap; overflow: hidden; right: 0px; background: rgb(218, 236, 244); text-align: right; } div.Alert .wrap .buttons .button-wrap { border: 0px; outline: 0px; padding: 0px; position: relative; margin: 0px 5px 0px 0px; box-sizing: border-box; height: 24px; width: 33.5762px; display: inline-block; text-align: left; vertical-align: middle; } div.Alert .wrap .buttons .button-wrap .button { pointer-events: none; border: 0px; outline: 0px; padding: 0px; position: absolute; margin: 0px; box-sizing: border-box; width: 34px; height: 24px; background-color: #E74C3C; color: #fff; } div.Alert .resize { outline: none; width: 10px; height: 10px; position: absolute; bottom: 0px; right: 0px; } /* 通用 */ button.Button { height: 24px; color: #fff; background-color: #E74C3C; border: none; padding: 0 8px; outline: 0; box-sizing: border-box; }