hjg
2023-11-18 bb48edb3d9faaaeab0088151c86fc24137acdb08
提交 | 用户 | 时间
58d006 1 .enable_plugin_inline_editable() when(@enable-plugin-inline-editable = true) {
A 2
3 .editable-container .popover-title {
4     color:#438EB9;
5 }
6 .editable-click {
7     border-bottom:1px dashed #BBB;
8     cursor:pointer;
9     font-weight:normal;
10     
11     img& {
12         border:1px dotted #BBB;
13     }
14     &:hover {
15         border-color:#0088CC;
16         color:#0088CC;
17         img& {.opacity(0.75);}
18     }
19 }
20
21
22 .editable-buttons , .editable-input {
23     display:inline-block;
24 }
25 .editable-buttons {
26     margin-left: 1px;
27     .btn {
28         padding: 0;
29         width: 28px;
30         line-height: 24px;
31         border-width: 3px;
32         font-size: @base-font-size - 1;
33         margin: 0 1px 0 0;
34         > .@{icon} {
35             margin: 0;
36         }
37     }
38 }
39 .editable-clear-x {
40     cursor:pointer;
41     color:#888;
42     background:none;
43     &:hover {
44         color:#D15B47;
45     }
46     
47     &:before {
48         display:inline-block;
49         content:"\f057";
50  
51         font-family: FontAwesome;
52         font-size: @font-size-editable-clear;
53     
54         position: absolute;
55         margin-top: -9px;
56         width: 16px;
57         height: 30px;
58         line-height: 30px;
59         text-align:center;
60     }
61 }
62
63
64
65 .editable-input .ace-spinner {
66  margin-right: 8px;
67  .spinner-input {
68     width: 100%;
69  }
70 }
71
72
73 .editable-inline .editable-slider {
74   margin-top: 10px;
75   margin-right: 4px;
76 }
77 .editable-popup .editable-slider {
78     display: block;
79     margin-bottom: 16px;
80     margin-top: 4px;
81 }
82 .editable-slider input[type=text] {
83     display: none;
84 }
85 .editable-slider input[type=range] {
86     outline: none !important;
87 }
88
89
90 .editable-input .ace-file-input {
91     display:block;
92 }
93 .editable-image .ace-file-multiple .ace-file-container.selected {
94     border-color:transparent;
95 }
96
97 .editable-image + .editable-buttons  , .editable-wysiwyg + .editable-buttons {
98     display:block;
99     text-align:center;
100     margin-top:8px;
101 }
102
103 .editable-wysiwyg {
104     width:95%;
105     .wysiwyg-editor  {
106         height:auto;
107         overflow-y:hidden;
108     }
109 }
110
111
112 .editableform {
113     .input-append.dropdown-menu {
114         display:none;
115     }
116     .open .input-append.dropdown-menu {
117         display:block;
118     }
119 }
120
121 .editable-container .editableform {
122     margin-bottom:10px;
123 }
124 .editable-inline .editableform {
125     margin-bottom:0;
126 }
127 .editableform .control-group {
128     display: block;
129 }
130
131
132 .editableform-loading {
133     background:none;
134     .@{icon} , .progress{
135         position:relative;
136         top:35%;
137     }
138 }
139
140
141 .input-group.date .input-group-addon {
142     cursor:pointer;
143 }
144
145
146 //IE!!!!
147 //.editable-input .input-group .input-group-addon {
148  ///width: auto \9;
149 //}
150
151
152
153
154 }
155 .enable_plugin_inline_editable();