Administrator
2022-09-14 58d006e05dcf2a20d0ec5367dd03d66a61db6849
提交 | 用户 | 时间
58d006 1 /**
A 2 You don't need this file.
3 It's used for Ace demo only, to style the button that launches help, help content, etc ...
4 */
5
6 .onpage-help-container:focus, .onpage-help-toggle-btn:focus {
7  outline: none;
8 }
9 .onpage-help-toggle-container {
10  position: fixed;
11  top: 135px;
12 }
13 .onpage-help-toggle-container.active {
14  z-index: 100001;
15 }
16
17
18 @media (min-width: 768px) {
19  .main-container.container ~ .onpage-help-container .onpage-help-toggle-container {
20    right: auto;
21    margin-left: 690px;
22  }
23  .rtl .main-container.container ~ .onpage-help-container .onpage-help-toggle-container {
24    right: auto;
25    left: auto;
26    margin-left: auto;
27    margin-right: 690px;
28  }
29 }
30 @media (min-width: 992px) {
31  .h-navbar ~ .onpage-help-container .onpage-help-toggle-container {
32     margin-top: 48px;
33  }
34
35  .main-container.container ~ .onpage-help-container .onpage-help-toggle-container {
36     right: auto;
37     margin-left: 910px;
38  }
39  .rtl .main-container.container ~ .onpage-help-container .onpage-help-toggle-container {
40    right: auto;
41    left: auto;
42    margin-left: auto;
43     margin-right: 910px;
44  }
45 }
46 @media (min-width: 1200px) {
47  .main-container.container ~ .onpage-help-container .onpage-help-toggle-container {
48     right: auto;
49     margin-left: 1110px;
50  }
51  .rtl .main-container.container ~ .onpage-help-container .onpage-help-toggle-container {
52    right: auto;
53    left: auto;
54    margin-left: auto;
55    margin-right: 1110px;
56  }
57 }
58
59
60
61 .onpage-help-toggle-text {
62   -moz-animation:    pulsating 2s 3 linear 1s;
63   -webkit-animation: pulsating 2s 3 linear 1s;
64   -o-animation:      pulsating 2s 3 linear 1s;
65   -ms-animation:     pulsating 2s 3 linear 1s;
66   animation:         pulsating 2s 3 linear 1s;
67 }
68
69
70
71 .onpage-help-content {
72     background-color: #FFF;
73     padding: 8px 12px;
74     border-top: 1px solid #C5D0DC;
75 }
76 .onpage-help-content:only-of-type {
77     border-top-width: 0;
78 }
79 .onpage-help-content .help-content + .hr {
80     border-width: 0 0;
81     border-style: dotted;
82     margin: 16px 0;
83 }
84 .onpage-help-content .help-title {
85     border-bottom: 2px solid #DCE8F1;
86     padding-bottom: 8px;
87 }
88
89 .onpage-help-content .panel-help {
90   border-radius: 0;
91   border-width: 0 0 1px;
92   border-bottom: 1px solid #DCE8F1;
93   box-shadow: none; 
94 }
95 .onpage-help-content .panel-help > .panel-heading {
96   color: #4383B4;
97   background-color: transparent;
98   margin-bottom: 5px;
99 }
100 .onpage-help-content .panel-help > .panel-heading > .panel-title {
101   font-size: 18px;
102 }
103 .onpage-help-content .panel-help > .panel-heading > .panel-title > a:focus {
104   outline: none;
105 }
106 .onpage-help-content .panel-help > .panel-heading > .panel-title > a:hover {
107   background-color: #DCE8F1;
108   text-decoration: none;
109 }
110 .onpage-help-content .panel-default > .panel-heading + .panel-collapse .panel-body {
111   border-top-style: dotted;
112 }
113 @media (max-width: 767px) {
114  .onpage-help-content .panel-default > .panel-heading,
115  .onpage-help-content .panel-default > .panel-heading + .panel-collapse .panel-body  {
116    padding-right: 5px;
117    padding-left: 5px;
118  }
119  .onpage-help-content .thumbnail {
120     max-width: 100%;
121  }
122  .onpage-help-content .thumbnail img {
123     max-width: 100%;
124  }
125  
126  .onpage-help-modal .modal-body {
127     padding-right: 10px;
128     padding-left: 10px;
129  }
130  .onpage-help-modal  .modal-title code {
131     white-space: normal;
132  }
133 }
134
135 .onpage-help-modal .modal-title {
136     color: #478FCA;
137 }
138
139
140
141 .onpage-help-content .info-list {
142     margin: 0;
143 }
144 .onpage-help-content .info-list > li:nth-child(odd) > .ace-icon:first-child {
145     color: #478FCA;
146 }
147 .onpage-help-content .info-list > li:nth-child(even) > .ace-icon:first-child {
148     color: #69AA46;
149 }
150 .onpage-help-content .info-list > li:not(.hr) {
151     margin-top: 0;
152     margin-bottom: 0;
153     padding: 16px 12px;
154     line-height: 22px;
155 }
156 .onpage-help-content .info-list > li:not(.hr):nth-child(even) {
157     background-color: #FFF;
158     border: 1px solid #E9E9E9;
159 }
160 .onpage-help-content .info-list > li:not(.hr):nth-child(odd) {
161     background-color: #F0F4F9;
162 }
163
164 .onpage-help-content .info-list > li:not(.hr):nth-child(even)  code {
165     background-color: #F0F4F9;
166 }
167 .onpage-help-content .info-list > li:not(.hr):nth-child(odd)  code {
168     background-color: #FFF;
169 }
170
171
172 .onpage-help-content .help-more {
173     color: #425663;
174     border-bottom: 1px dotted #AAA;
175     padding-bottom: 1px;
176 }
177 .onpage-help-content .help-more:hover {
178     text-decoration: none;
179     border-bottom-color: #628DB2;
180     background-color: #E4EAC7;
181 }
182
183 .onpage-help-content u.dotted {
184     text-decoration: none;
185     border-bottom: 1px dotted #999;
186 }
187
188 /* because .close here is a rainbow highlighted token not a bootstrap close button */
189 .onpage-help-content pre .close {
190     float: inherit;
191     font-size: inherit;
192     font-weight: inherit;
193     line-height: inherit;
194     opacity: inherit;
195     text-shadow: inherit;
196 }
197
198 .onpage-help-content .open-file {
199     cursor: pointer;
200     -webkit-transition: all 0.12s;
201     transition: all 0.12s;
202 }
203 .onpage-help-content .open-file:hover {
204     background-color: #CEE0EA !important;
205 }
206 .onpage-help-content .open-file .brief-show {
207     display: none;
208 }
209 .onpage-help-content .open-file:hover .brief-show {
210     display: inline;
211 }
212
213
214 .onpage-help-content a[href^="http"]:before {
215    font-family: FontAwesome;
216    font-size: 15px;
217    content: "\f08e";
218    display: inline;
219    margin-right: 3px;
220 }
221
222