/* formBuilder - http://kevinchappell.github.io/formBuilder/ Version: 1.9.27 Author: Kevin Chappell */ * { box-sizing: border-box; } button, input, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; } input { line-height: normal; } button, input, optgroup, select, textarea { margin: 0; font: inherit; color: inherit; } textarea { overflow: auto; } button, input, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; } .btn-group { position: relative; display: inline-block; vertical-align: middle; } .btn-group > .btn { position: relative; float: left; } .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { border-top-right-radius: 0; border-bottom-right-radius: 0; } .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { border-radius: 0; } .btn-group .btn + .btn, .btn-group .btn + .btn-group, .btn-group .btn-group + .btn, .btn-group .btn-group + .btn-group { margin-left: -1px; } .btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child), .btn-group .input-group .form-control:last-child, .btn-group .input-group-addon:last-child, .btn-group .input-group-btn:first-child > .btn-group:not(:first-child) > .btn, .btn-group .input-group-btn:first-child > .btn:not(:first-child), .btn-group .input-group-btn:last-child > .btn, .btn-group .input-group-btn:last-child > .btn-group > .btn, .btn-group .input-group-btn:last-child > .dropdown-toggle { border-top-left-radius: 0; border-bottom-left-radius: 0; } .btn-group > .btn.active, .btn-group > .btn:active, .btn-group > .btn:focus, .btn-group > .btn:hover { z-index: 2; } .btn-group-vertical > .btn, .btn-group-vertical > .btn-group, .btn-group-vertical > .btn-group > .btn { display: block; float: none; width: 100%; max-width: 100%; } .btn-group-vertical > .btn-group > .btn { float: none; } .btn-group-vertical > .btn + .btn, .btn-group-vertical > .btn + .btn-group, .btn-group-vertical > .btn-group + .btn, .btn-group-vertical > .btn-group + .btn-group { margin-top: -1px; margin-left: 0; } .btn-group-vertical > .btn:not(:first-child):not(:last-child) { border-radius: 0; } .btn-group-vertical > .btn:first-child:not(:last-child) { border-top-left-radius: 4px !important; border-top-right-radius: 4px !important; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .btn-group-vertical > .btn:last-child:not(:first-child) { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; } .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { border-radius: 0; } .btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { border-top-left-radius: 0; border-top-right-radius: 0; } .btn { color: #fff; display: inline-block; padding: 6px 12px; margin-bottom: 0; font-size: 14px; font-weight: 400; line-height: 1.42857143; text-align: center; white-space: nowrap; vertical-align: middle; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; background-image: none; border: 1px solid transparent; border-radius: 4px; } .btn.btn-default { color: #333; background-color: #fff; border-color: #ccc; } .btn.btn-lg { padding: 10px 16px; font-size: 18px; line-height: 1.3333333; border-radius: 6px; } .btn.btn-sm { padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 3px; } .btn.btn-xs { padding: 1px 5px; font-size: 12px; line-height: 1.5; border-radius: 3px; } .btn.active, .btn.btn-active, .btn:active { background-image: none; } .btn-primary { background-color: #337ab7; border-color: #2e6da4; } .btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.btn-active { background-color: #286090; border-color: #204d74; } .btn-danger { background-color: #d9534f; border-color: #d43f3a; } .btn-danger:hover { background-color: #c9302c; border-color: #ac2925; } .btn-default { background-color: #fff; border-color: #ccc; } .btn-success { background-color: #5cb85c; border-color: #4cae4c; } .btn-success:hover { background-color: #449d44; border-color: #398439; } .btn-info { background-color: #5bc0de; border-color: #46b8da; } .btn-info:hover { background-color: #31b0d5; border-color: #269abc; } .btn-warning { background-color: #f0ad4e; border-color: #eea236; } .btn-warning:hover { background-color: #ec971f; border-color: #d58512; } .input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:first-child > .btn-group:not(:first-child) > .btn, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle { border-top-left-radius: 0; border-bottom-left-radius: 0; } .input-group .form-control, .input-group-addon, .input-group-btn { display: table-cell; } .input-group-lg > .form-control, .input-group-lg > .input-group-addon, .input-group-lg > .input-group-btn > .btn { height: 46px; padding: 10px 16px; font-size: 18px; line-height: 1.3333333; border-radius: 6px; } .input-group .form-control { position: relative; z-index: 2; float: left; width: 100%; margin-bottom: 0; } .input-group { position: relative; display: table; border-collapse: separate; } .form-control, output { font-size: 14px; line-height: 1.42857143; color: #555; display: block; } textarea.form-control { height: auto; } .form-control { height: 34px; display: block; width: 100%; padding: 6px 12px; font-size: 14px; line-height: 1.42857143; color: #555; background-color: #fff; background-image: none; border: 1px solid #ccc; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; } .form-control:focus { border-color: #66afe9; outline: 0; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); } .form-group { margin-bottom: 15px; } .btn, .form-control { background-image: none; } .pull-right { float: right !important; } .pull-left { float: left !important; } .kc-toggle { position: relative; margin: 4px 0 0 2px; width: 60px; height: 21px; border-radius: 3px; cursor: pointer; overflow: hidden; display: inline-block; background: #e9e9e9; border: 1px solid #cbcbcb; vertical-align: bottom; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .kc-toggle .kct-inner { position: absolute; top: 0; left: -28px; width: 115px; height: 100%; -webkit-transition: left 150ms ease; transition: left 150ms ease; } .kc-toggle.on .kct-inner { background: #e2e2e2; background: -webkit-linear-gradient(top, #e2e2e2 0%, #ffffff 100%); background: linear-gradient(to bottom, #e2e2e2 0%, #ffffff 100%); left: 0; } .kc-toggle input { display: none; position: absolute; z-index: -1; opacity: 0; margin: 0; padding: 0; width: 100%; height: 100%; } .kc-toggle .kct-on { color: #12a912; } .kct-off { color: #666; } .kct-on, .kct-off, .kct-handle { width: 28px; height: 100%; font-family: Arial, Tahoma, sans-serif; font-size: 12px; text-align: center; line-height: 22px; font-weight: bold; float: left; } .kct-on, .kct-off { position: relative; } .kct-handle { position: relative; height: 17px; background: #ffffff; background: -webkit-linear-gradient(top, #ffffff 0%, #cecece 100%); background: linear-gradient(to bottom, #ffffff 0%, #cecece 100%); border: 1px solid #999; font-weight: 100; color: #4b4b4b; text-shadow: none; border-radius: 3px; margin: 1px; } .form-group .required { color: #C10000; } /* ------------ TOOLTIP ------------ */ *[tooltip] { position: relative; } *[tooltip]:hover:after { background: #262626; background: rgba(0, 0, 0, 0.9); border-radius: 5px 5px 5px 0; bottom: 23px; color: #fff; content: attr(tooltip); padding: 10px 5px; position: absolute; z-index: 98; left: 2px; width: 230px; text-shadow: none; font-size: 12px; line-height: 1.5em; } *[tooltip]:hover:before { border: solid; border-color: #222 transparent; border-width: 6px 6px 0 6px; bottom: 17px; content: ""; left: 2px; position: absolute; z-index: 99; } .tooltip-element { color: #fff; background: #000; width: 16px; height: 16px; border-radius: 8px; display: inline-block; text-align: center; line-height: 16px; margin: 0 5px; font-size: 12px; } .form-control[type="color"] { width: 60px; padding: 2px; display: inline-block; } .form-control[multiple] { height: auto; }