Trying more with new toggles, looking better
This commit is contained in:
@@ -259,7 +259,7 @@
|
||||
<h2><span class="spanModalEditingPersonName">PERSONNAME</span>: <asp:Label ID="MasterLabelEditPersonHeaderSecurityProvisioning" runat="server" /></h2>
|
||||
<div class="entryFields">
|
||||
<input type="button" id="masterPersonEditButtonResetPassword" onclick="masterPersonEditorConfirmResetPassword(); return false;" value="#SendResetMail#" />​<br/>
|
||||
<label for="MasterCheckEditPersonEnable2FA"><asp:Label ID="MasterLabelEditPersonSecurity2FA" runat="server" Text="Bitcoin Cold"/></label><div class="MasterToggles toggle-iphone"><input type="checkbox" rel="MasterPersonEdit2FA" class="EditCheck" id="MasterCheckEditPersonEnable2FA"/></div><br/>
|
||||
<label for="MasterCheckEditPersonEnable2FA"><asp:Label ID="MasterLabelEditPersonSecurity2FA" runat="server" Text="Bitcoin Cold"/></label><div class="MasterToggles toggle-padding toggle-iphone"><input type="checkbox" rel="MasterPersonEdit2FA" class="EditCheck" id="MasterCheckEditPersonEnable2FA"/></div><br/>
|
||||
|
||||
</div>
|
||||
<div class="entryLabels">
|
||||
|
||||
@@ -1,4 +1,18 @@
|
||||
.toggle-slide {
|
||||
.toggle-padding {
|
||||
padding-top: 8px;
|
||||
padding-right: 8px;
|
||||
float: right;
|
||||
height: 25px;
|
||||
width: 80px;
|
||||
}
|
||||
|
||||
body.rtl .toggle-padding {
|
||||
padding-right: inherit;
|
||||
padding-left: 8px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.toggle-slide {
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
@@ -12,11 +26,15 @@ div.disabled > .toggle-slide {
|
||||
opacity: 0.7;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.toggle-slide .toggle-on,
|
||||
.toggle-slide .toggle-off,
|
||||
.toggle-slide .toggle-blob {
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.toggle-slide .toggle-blob {
|
||||
position: relative;
|
||||
z-index: 99;
|
||||
|
||||
Reference in New Issue
Block a user