[up-close] { cursor: pointer; } .up-error { background-color: #e10; color: white; padding: 5px; font-family: arial, helvetica, sans-serif; font-weight: bold; font-size: 14px; line-height: 18px; position: fixed; left: 0; top: 0; max-width: 100%; box-sizing: border-box; z-index: 99999999; } [up-follow] { cursor: pointer; } .up-modal { position: fixed; top: 0; left: 0; bottom: 0; right: 0; z-index: 10000; background-color: rgba(90, 90, 90, 0.4); } .up-modal-dialog { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); max-width: 100%; max-height: 100%; background-color: #fff; box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.3); box-sizing: border-box; } .up-modal-close { position: absolute; right: 0; top: 0; width: 36px; text-align: center; line-height: 24px; height: 24px; background-color: #999; color: #fff; font-weight: bold; text-transform: uppercase; cursor: pointer; transform: translateY(-100%); -ms-transform: translateY(-100%); -webkit-transform: translateY(-100%); } .up-modal-content { overflow-x: hidden; overflow-y: auto; width: 100%; height: 100%; padding: 20px; box-sizing: border-box; } .up-popup { z-index: 10000; position: fixed; background-color: #fff; padding: 15px; box-shadow: 0 0 4px rgba(0, 0, 0, 0.3); } .up-modal .up-popup { z-index: 15000; } .up-tooltip { z-index: 30000; position: fixed; background-color: #666; color: white; padding: 6px 9px; white-space: nowrap; } .up-tooltip[up-position=top] { margin-top: -6px; } .up-tooltip[up-position=top]:after { content: ""; position: absolute; border-style: solid; border-width: 8px 8px 0; border-color: #666 transparent; display: block; width: 0; z-index: 1; bottom: -8px; left: 50%; margin-left: -8px; } .up-tooltip[up-position=bottom] { margin-top: 6px; } .up-tooltip[up-position=bottom]:after { content: ""; position: absolute; border-style: solid; border-width: 0 8px 8px; border-color: #666 transparent; display: block; width: 0; z-index: 1; top: -8px; left: 50%; margin-left: -8px; } /* */