aboutsummaryrefslogtreecommitdiffstats
path: root/3rd_party/static/testapi-ui/assets/lib/angular-xeditable-0.8.0/css/xeditable.css
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2018-07-06 05:16:40 -0400
committerxudan <xudan16@huawei.com>2018-07-06 05:21:42 -0400
commitb3e40f026d655501bfa581452c447784604ecb05 (patch)
tree406f8bfc1abc1b33f98153d03abd34ef7b0e2fe9 /3rd_party/static/testapi-ui/assets/lib/angular-xeditable-0.8.0/css/xeditable.css
parentb1b0ea32d1a296c7d055c5391261dcad6be48c63 (diff)
Move all web portal code to the new repo dovetail-webportal
This is only the first step to simply copy the file here. There still need some more work to make sure all work well. All the changes will be submitted with other patches to make it easily to review. JIRA: DOVETAIL-671 Change-Id: I64d32a9df562184166b6199e2719f298687d1a0a Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to '3rd_party/static/testapi-ui/assets/lib/angular-xeditable-0.8.0/css/xeditable.css')
-rwxr-xr-x3rd_party/static/testapi-ui/assets/lib/angular-xeditable-0.8.0/css/xeditable.css220
1 files changed, 220 insertions, 0 deletions
diff --git a/3rd_party/static/testapi-ui/assets/lib/angular-xeditable-0.8.0/css/xeditable.css b/3rd_party/static/testapi-ui/assets/lib/angular-xeditable-0.8.0/css/xeditable.css
new file mode 100755
index 0000000..b86cfae
--- /dev/null
+++ b/3rd_party/static/testapi-ui/assets/lib/angular-xeditable-0.8.0/css/xeditable.css
@@ -0,0 +1,220 @@
+
+/* ==== editable-form ==== */
+
+/* class for single editable element */
+.editable-wrap {
+ display: inline-block;
+ white-space: pre;
+ margin: 0;
+}
+
+/* remove bottom-margin for bootstrap */
+.editable-wrap .editable-controls,
+.editable-wrap .editable-error {
+ margin-bottom: 0;
+}
+
+/* remove bottom-margin of inputs */
+.editable-wrap .editable-controls > input,
+.editable-wrap .editable-controls > select,
+.editable-wrap .editable-controls > textarea {
+ margin-bottom: 0;
+}
+
+/* keep buttons on the same line */
+.editable-wrap .editable-input {
+ display: inline-block;
+}
+
+.editable-buttons {
+ display: inline-block;
+ vertical-align: top;
+}
+
+.editable-buttons button {
+ margin-left: 5px;
+}
+
+/* in bootstrap width: 100% => buttons go outside the box */
+.editable-input.editable-has-buttons {
+ width: auto;
+}
+
+/* ==== editable-text ==== */
+
+/* fix padding issue on typeahead */
+.editable-text {
+ white-space: nowrap;
+}
+
+/* ==== editable-bsdate ==== */
+
+/* fix padding issue on bsdate popup */
+.editable-bsdate {
+ white-space: nowrap;
+}
+
+/* ==== editable-bstime ==== */
+
+/* fix padding issue on bstime */
+.editable-bstime {
+ white-space: nowrap;
+}
+
+/* workaround for bootstrap that sets width: 100% and inputs become too wide */
+.editable-bstime .editable-input input[type="text"] {
+ width: 46px;
+}
+
+/* less padding for .well */
+.editable-bstime .well-small {
+ margin-bottom: 0;
+ padding: 10px;
+}
+
+/* ==== editable-range ==== */
+
+.editable-range output {
+ display: inline-block;
+ min-width: 30px;
+ vertical-align: top;
+ text-align: center;
+}
+
+/* ==== editable-color ==== */
+
+.editable-color input[type="color"] {
+ width: 50px;
+}
+
+
+/* ==== editable-checkbox ==== */
+/* ==== editable-checklist ==== */
+/* ==== editable-radiolist ==== */
+
+.editable-checkbox label span,
+.editable-checklist label span,
+.editable-radiolist label span {
+ margin-left: 7px;
+ margin-right: 10px;
+}
+
+/* ==== element ==== */
+
+/* hiding element */
+.editable-hide {
+ display: none !important;
+}
+
+.editable-click,
+a.editable-click {
+ text-decoration: none;
+ color: #428bca;
+ border-bottom: dashed 1px #428bca;
+}
+
+.editable-click:hover,
+a.editable-click:hover {
+ text-decoration: none;
+ color: #2a6496;
+ border-bottom-color: #2a6496;
+}
+
+/* editable-empty */
+.editable-empty,
+.editable-empty:hover,
+.editable-empty:focus,
+a.editable-empty,
+a.editable-empty:hover,
+a.editable-empty:focus {
+ font-style: italic;
+ color: #DD1144;
+ text-decoration: none;
+}
+
+/* ui-bootstrap editable popover */
+.ui-popover-wrapper a {
+ /* make the link always show up */
+ display: inline !important;
+}
+
+.ui-popover-wrapper form {
+ display: none !important;
+}
+
+/* editable popover */
+.popover-wrapper > a {
+ /* make the link always show up */
+ display: inline !important;
+}
+
+.popover-wrapper {
+ /* make absolutely positioned children constrained to this box*/
+ display: inline;
+ position: relative;
+}
+
+.popover-wrapper form {
+ position: absolute;
+ top: -53px;
+ background: #FFF;
+ border: 1px solid #AAA;
+ border-radius: 5px;
+ padding: 7px;
+ width: auto;
+ display: inline-block;
+ left: 50%;
+ z-index: 101;
+}
+
+.popover-wrapper form:before {
+ content:"";
+ width: 0;
+ height: 0;
+ border-left: 10px solid transparent;
+ border-right: 10px solid transparent;
+ border-top: 10px solid #AAA;
+ position:absolute;
+ bottom:-10px;
+}
+
+.popover-wrapper form:after {
+ content:"";
+ width:0;
+ height:0;
+ border-left: 9px solid transparent;
+ border-right: 9px solid transparent;
+ border-top: 9px solid #FFF;
+ position:absolute;
+ bottom:-9px;
+}
+
+
+@media screen and (max-width: 750px) {
+ .popover-wrapper form {
+ margin-left: -60px;
+ }
+
+ .popover-wrapper form:before {
+ left:50px;
+ }
+
+ .popover-wrapper form:after {
+ left:51px;
+ }
+}
+
+@media screen and (min-width: 750px) {
+ .popover-wrapper form {
+ margin-left: -110px;
+ }
+
+ .popover-wrapper form:before {
+ left:100px;
+ }
+
+ .popover-wrapper form:after {
+ left:101px;
+ }
+}
+