/* SPDX-License-Identifier: Zlib Copyright (C) 2022 smpl */ /* ----- DIALOG STYLE BEGIN ----- */ /* position the toggle radio control above the underlay */ .ma-toggle { position: relative; z-index: 200; display: none; } /* position dialog above the underlay and don't display it */ .ma-dialog { z-index: 200; position: absolute; display: none; } /* position the underlay radio control below the toggle radio * control and the dialog, make it transparent and fill the * view */ .ma-underlay { z-index: 100; opacity: 0; position: fixed; top: 0; left: 0; height: 100%; width: 100%; } /* when the underlay radio control is selected don't display * it */ .ma-underlay:checked { display: none; } /* when toggle radio control is selected move it below the * underlay, so that another click on it will uncheck it */ .ma-toggle:checked { z-index: 0; } .ma-box { position: relative; display: inline-block; } /* when the toggle radio control is selected display the * dialog */ #ma-flw-toggle:checked ~ .ma-flw.ma-dialog { display: block; } /* when the toggle radio control is selected display the * dialog */ #ma-sha-toggle:checked ~ .ma-sha.ma-dialog { display: block; } /* ----- DIALOG STYLE END ----- */ /* ----- VISUAL STYLE START ----- */ .ma-dialog { border: 0; border-radius: 5px; width: 256px; font-family: "Roboto",Roboto,sans-serif; margin: 2px auto; padding: 20px; font-weight: 400; font-size: 13px; line-height: 18px; } .ma-dialog.ma-theme-light { background: #d9e1e8; color: #282c37; } .ma-dialog.ma-theme-dark { background: #282c37; color: #9baec8; } .ma-title { text-align: center; font-size: 18px; font-weight: 500; margin: 0; } .ma-title.ma-theme-light { color: #282c37; } .ma-title.ma-theme-dark { color: #fff; } .ma-input { border: 0; border-radius: 4px; margin-top: 20px; padding: 10px; width: 100%; box-sizing: border-box; font-family: inherit; font-weight: 500; font-size: 18px; } .ma-input.ma-theme-light { background: #f9fafb; color: #000; } .ma-input.ma-theme-dark { background: #131419; color: #fff; } .ma-input::placeholder { color: #c83737; } .ma-button { display: block; width: 100%; border: 0; border-radius: 4px; margin-right: 10px; margin-top: 20px; padding: 10px; background: #2b90d9; font-family: inherit; font-weight: 500; font-size: 18px; color: #fff; line-height: inherit; text-align: center; text-transform: uppercase; box-sizing: border-box; cursor: pointer; } .ma-create { text-align: right; } .ma-create a { text-decoration: none; } .ma-create.ma-theme-light a:link, .ma-create.ma-theme-light a:active, .ma-create.ma-theme-light a:visited { color: #282c37; } .ma-create.ma-theme-dark a:link, .ma-create.ma-theme-dark a:active, .ma-create.ma-theme-dark a:visited { color: #9baec8; } /* ----- VISUAL STYLE END ----- */