examples.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  1. /* 2017-7-26 11:44:02 | 修改 木遥(微信: http://marsgis.cn/weixin.html ) */
  2. .main-sidebar {
  3. position: fixed;
  4. max-height: 500px;
  5. overflow:scroll;
  6. }
  7. .menuTitle a.active {
  8. color: #f8f8f8;
  9. }
  10. .skin-blue .main-sidebar {
  11. background-color: #ffffff;
  12. box-shadow: inset 0px 0px 10px 3px #aaa;
  13. }
  14. .skin-blue .sidebar-menu > li.treeview:hover > a {
  15. border-left: 3px solid rgba(0, 0, 0, 0.1);
  16. }
  17. .skin-blue .sidebar-menu > li.treeview.active > a {
  18. border-left: 3px solid rgba(0, 0, 0, 0.1);
  19. }
  20. .skin-blue .sidebar-menu > li.treeview.active > a >span{
  21. color: #fff !important;
  22. }
  23. .skin-blue .sidebar .second-menu,
  24. .skin-blue .sidebar .third-menu {
  25. padding-left: 0;
  26. }
  27. .skin-blue .sidebar .third-menu a {
  28. padding-left: 30px;
  29. }
  30. .skin-blue .sidebar a {
  31. color: #000000;
  32. }
  33. .sidebar-menu a {
  34. color: #fff;
  35. }
  36. .sidebar-menu .firstMenuTitle:hover {
  37. color: #fff;
  38. }
  39. .skin-blue .treeview-menu li > a {
  40. border-left: 3px solid #4e97d9;
  41. }
  42. .skin-blue .treeview-menu li > a:hover,
  43. .skin-blue .treeview-menu li.active > a {
  44. background-color: rgba(0, 0, 0, 0.1);
  45. border-left-color: rgba(0, 0, 0, 0.3);
  46. }
  47. .skin-blue .treeview-menu > li > a {
  48. color: #000000;
  49. padding-left: 35px;
  50. }
  51. .skin-blue .sidebar-menu > li > .treeview-menu {
  52. margin: 0;
  53. background: #4e97d9;
  54. }
  55. .sidebar-menu li.active > .treeview-menu {
  56. background: #4e97d9;
  57. border-radius: 0px 0px 8px 8px;
  58. }
  59. #sidebar-menu >li{
  60. background-color: #fff;
  61. margin:10px;
  62. box-shadow: inset;
  63. border-radius: 8px;
  64. box-shadow: darkgrey 0px 0px 7px ;
  65. }
  66. .treeview :hover{
  67. color: #ff5722;
  68. }
  69. /*侧边栏收起后向右展开的边框宽度*/
  70. .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span:not(.pull-right),
  71. .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
  72. border-radius: 0;
  73. width: 220px;
  74. }
  75. /*侧边栏收起后向右展开时一级菜单箭头的位置*/
  76. .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container {
  77. left: 220px !important;
  78. }
  79. .sidebar-mini.sidebar-collapse .sidebar-menu > li > .treeview-menu {
  80. padding-top: 0;
  81. padding-bottom: 0;
  82. border-radius: 0;
  83. }
  84. .skin-blue .sidebar-menu > li:hover > a,
  85. .skin-blue .sidebar-menu > li.active > a {
  86. color: #fff;
  87. background: #4688c3;
  88. border-radius:8px 8px 0px 0px;
  89. }
  90. .skin-blue .treeview-menu > li.active > a,
  91. .skin-blue .treeview-menu > li > a:hover {
  92. color: #000000;
  93. }
  94. .main-sidebar .iconName {
  95. margin-right: 10px;
  96. color: #ffffff;
  97. }
  98. .main-sidebar .firstMenuTitle {
  99. color: #0B5AA9;
  100. font-weight:bold;
  101. }
  102. .main-sidebar .secondMenuTitle {
  103. color: #ffffff;
  104. padding-left: 10px;
  105. }
  106. .main-sidebar .thirdMenuTitle {
  107. color: #ffffff;
  108. font-size: 12px;
  109. padding-left: 32px;
  110. }
  111. .main-sidebar .pull-right {
  112. color: #ffffff;
  113. }
  114. /**********************/
  115. .main-header {
  116. position: fixed;
  117. width: 100%;
  118. top: 0;
  119. }
  120. .examples-container {
  121. background-color: #f9f9f9;
  122. margin-top: 10px;
  123. overflow: auto;
  124. }
  125. #charts-list {
  126. margin: 0;
  127. padding: 0 20px;
  128. list-style: none;
  129. overflow: inherit;
  130. background-color: #f9f9f9;
  131. }
  132. h3.category-title {
  133. margin-top: 0px;
  134. height: 40px;
  135. line-height: 40px;
  136. margin-bottom: 0;
  137. margin-left: 2px;
  138. color: #0B5AA9;
  139. font-weight:bolder;
  140. border-radius: 8px 8px 0px 0px;
  141. }
  142. @media (min-width: 1400px) {
  143. .col-xlg-2 {
  144. width: 16.66666667%;
  145. padding-bottom: 5px;
  146. }
  147. }
  148. #charts-list .chart {
  149. width: 100%;
  150. max-width: 260px;
  151. margin: 4px auto;
  152. -webkit-border-radius: 2px;
  153. border-radius: 2px;
  154. background: #fff;
  155. box-shadow: 0 0 3px rgba(150, 150, 150, 0.5);
  156. -webkit-box-shadow: 0 0 3px rgba(150, 150, 150, 0.5);
  157. border-radius: 7px;
  158. }
  159. #charts-list .chart:hover,
  160. #charts-list .chart:focus {
  161. transform: scale(1.1) translateZ(0);
  162. z-index: 100;
  163. -webkit-transform: scale(1.1) translateZ(0);
  164. transition-duration: 0.4s;
  165. box-shadow: 1px 1px 6px rgba(150, 150, 150, 0.6);
  166. -webkit-box-shadow: 1px 1px 6px rgba(150, 150, 150, 0.6);
  167. }
  168. #charts-list .chart .chart-link {
  169. position: relative;
  170. display: block;
  171. }
  172. #charts-list .chart .chart-link .chart-title {
  173. color: #0B5AA9;
  174. font-weight: bold;
  175. text-align: center;
  176. padding: 2px;
  177. overflow: hidden;
  178. height: 36px;
  179. line-height: 36px;
  180. text-overflow: ellipsis;
  181. white-space: nowrap;
  182. margin: 0;
  183. /* font-weight: normal; */
  184. font-weight:bolder;
  185. }
  186. #charts-list .chart .chart-link .chart-area {
  187. width: 100%;
  188. }
  189. .box {
  190. box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
  191. }
  192. .box.box-default {
  193. border: 0;
  194. margin-bottom: 20px;
  195. padding-top: 10px;
  196. background-color: #f9f9f9;
  197. color: #2F71BC;
  198. /* border-top: 1px solid #4e97d9; */
  199. border-radius: 0 0 8px 8px;
  200. }
  201. .box-title {
  202. padding-top: 10px;
  203. padding-bottom: 0;
  204. color: #2F71BC;
  205. font-weight:bolder;
  206. font-family: "Microsoft Yahei";
  207. }
  208. .box-title-details {
  209. padding-left: 20px;
  210. color: #2F71BC;
  211. margin: 5px;
  212. }
  213. .box-header {
  214. padding-top: 10px;
  215. padding-bottom: 5px;
  216. padding-left: 0;
  217. background-color: #f9f9f9;
  218. }
  219. .box-body {
  220. background-color: #F8F8F8;
  221. padding-top: 5px;
  222. border-radius: 0px 0px 8px 8px;
  223. }
  224. .main-footer {
  225. color: #7d7d7d;
  226. font-size: 13px !important;
  227. text-align: center;
  228. bottom: 0;
  229. }
  230. .nav > li > a:hover,
  231. .nav > li > a:active,
  232. .nav > li > a:focus {
  233. background: #4e97d9;
  234. }
  235. .category {
  236. padding-top: 60px;
  237. }
  238. .newTitle {
  239. color: #f9f9f9;
  240. width: 30px;
  241. height: 30px;
  242. font-size: 15px;
  243. line-height: 30px;
  244. text-align: center;
  245. top: -7px;
  246. right: -7px;
  247. position: absolute;
  248. background: #ff5722;
  249. border-radius: 50%;
  250. }
  251. #sidebar-menu li a{
  252. display:flex;
  253. flex: 1;
  254. }
  255. .fa-globe::before,.fa-area-chart:before,.fa-photo:before,.fa-briefcase:before,.fa-server:before,.fa-puzzle-piece:before,.fa-fighter-jet:before,.fa-building-o:before,.fa-cubes:before,.fa-futbol-o:before,.fa-street-view:before{
  256. content: "";
  257. display: block;
  258. width: 20px;
  259. height: 20px;
  260. }
  261. .fa-globe::before{
  262. background: url(../img/earth.png) center center / 100% 100% no-repeat;
  263. }
  264. .fa-area-chart:before{
  265. background: url(../img/layer.png) center center / 100% 100% no-repeat;
  266. }
  267. .fa-photo:before{
  268. background: url(../img/dimensional.png) center center / 100% 100% no-repeat;
  269. }
  270. .fa-briefcase:before{
  271. background: url(../img/control.png) center center / 100% 100% no-repeat;
  272. }
  273. .fa-server:before{
  274. background: url(../img/vector1.png) center center / 100% 100% no-repeat;
  275. }
  276. .fa-puzzle-piece:before{
  277. background: url(../img/vector2.png) center center / 100% 100% no-repeat;
  278. }
  279. .fa-fighter-jet:before{
  280. background: url(../img/gltf.png) center center / 100% 100% no-repeat;
  281. }
  282. .fa-building-o:before{
  283. background: url(../img/3dtile.png) center center / 100% 100% no-repeat;
  284. }
  285. .fa-cubes:before{
  286. background: url(../img/changj.png) center center / 100% 100% no-repeat;
  287. }
  288. .fa-futbol-o:before{
  289. background: url(../img/fenxi.png) center center / 100% 100% no-repeat;
  290. }
  291. .fa-street-view:before{
  292. background: url(../img/visualization.png) center center / 100% 100% no-repeat;
  293. }
  294. .skin-blue .sidebar-menu>#bar_ex_0>a:hover .fa-globe::before,
  295. .skin-blue .sidebar-menu > li.treeview.active > a .fa-globe::before{
  296. background: url(../img/1.png) center center / 100% 100% no-repeat;
  297. }
  298. .skin-blue .sidebar-menu>#bar_ex_1>a:hover .fa-area-chart::before,
  299. .skin-blue .sidebar-menu > li.treeview.active > a .fa-area-chart::before{
  300. background: url(../img/2.png) center center / 100% 100% no-repeat;
  301. }
  302. .skin-blue .sidebar-menu>#bar_ex_2>a:hover .fa-photo::before,
  303. .skin-blue .sidebar-menu > li.treeview.active > a .fa-photo::before{
  304. background: url(../img/3.png) center center / 100% 100% no-repeat;
  305. }
  306. .skin-blue .sidebar-menu>#bar_ex_3>a:hover .fa-briefcase::before,
  307. .skin-blue .sidebar-menu > li.treeview.active > a .fa-briefcase::before{
  308. background: url(../img/4.png) center center / 100% 100% no-repeat;
  309. }
  310. .skin-blue .sidebar-menu>#bar_ex_4>a:hover .fa-server::before,
  311. .skin-blue .sidebar-menu > li.treeview.active > a .fa-server::before{
  312. background: url(../img/5.png) center center / 100% 100% no-repeat;
  313. }
  314. .skin-blue .sidebar-menu>#bar_ex_5>a:hover .fa-puzzle-piece::before,
  315. .skin-blue .sidebar-menu > li.treeview.active > a .fa-puzzle-piece::before{
  316. background: url(../img/6.png) center center / 100% 100% no-repeat;
  317. }
  318. .skin-blue .sidebar-menu>#bar_ex_6>a:hover .fa-fighter-jet::before,
  319. .skin-blue .sidebar-menu > li.treeview.active > a .fa-fighter-jet::before{
  320. background: url(../img/7.png) center center / 100% 100% no-repeat;
  321. }
  322. .skin-blue .sidebar-menu>#bar_ex_7>a:hover .fa-building-o::before,
  323. .skin-blue .sidebar-menu > li.treeview.active > a .fa-building-o::before{
  324. background: url(../img/8.png) center center / 100% 100% no-repeat;
  325. }
  326. .skin-blue .sidebar-menu>#bar_ex_8>a:hover .fa-cubes::before,
  327. .skin-blue .sidebar-menu > li.treeview.active > a .fa-cubes::before{
  328. background: url(../img/9.png) center center / 100% 100% no-repeat;
  329. }
  330. .skin-blue .sidebar-menu>#bar_ex_9>a:hover .fa-futbol-o::before,
  331. .skin-blue .sidebar-menu > li.treeview.active > a .fa-futbol-o::before{
  332. background: url(../img/10.png) center center / 100% 100% no-repeat;
  333. }
  334. .skin-blue .sidebar-menu>#bar_ex_10>a:hover .fa-street-view::before,
  335. .skin-blue .sidebar-menu > li.treeview.active > a .fa-street-view::before{
  336. background: url(../img/11.png) center center / 100% 100% no-repeat;
  337. }
  338. #charts-list{
  339. background-color: #ffffff;
  340. }
  341. .category-title{
  342. background-color: #F8F8F8;
  343. border-radius: 8px 8px 0px 0px;
  344. }
  345. .category-content{
  346. background-color: #F8F8F8;
  347. box-shadow:8px 10px 8px 0px #ccc;
  348. border-radius: 0px 0px 8px 8px;
  349. }