OnlyOffice在线文档

media.css 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  1. @media (min-width: 1280px) and (max-width: 1380px) {
  2. .copy {
  3. margin-right: 6.5%;
  4. }
  5. footer table tr td:first-child {
  6. margin-left: 6.5%;
  7. }
  8. }
  9. @media (max-width: 1280px) and (min-width: 1080px) {
  10. .tableRow td:first-child {
  11. flex-grow: 1;
  12. width: 25%;
  13. }
  14. .tableHeaderCellFileName {
  15. width: 25%;
  16. }
  17. .tableHeaderCellEditors {
  18. width: 13%;
  19. }
  20. .tableHeaderCellViewers {
  21. width: 29%;
  22. text-align: right;
  23. }
  24. .tableHeaderCellDownload {
  25. width: 21%;
  26. padding-right: 18px;
  27. }
  28. .tableHeaderCellRemove {
  29. padding-left: 13px;
  30. }
  31. footer table tr td:first-child {
  32. margin-left: 5%;
  33. }
  34. .copy {
  35. margin-right: 5%;
  36. padding-right: 32px;
  37. }
  38. .left-panel {
  39. margin-left: 48px;
  40. width: 95%;
  41. }
  42. }
  43. @media (max-width: 1080px) {
  44. .copy {
  45. margin-right: 32px;
  46. }
  47. footer table tr td:first-child {
  48. margin-left: 0;
  49. }
  50. .tableRow {
  51. width: 90%;
  52. }
  53. .tableHeaderCellFileName {
  54. width: 16%;
  55. }
  56. .tableHeaderCellEditors {
  57. width: 13%;
  58. }
  59. .tableHeaderCellViewers {
  60. width: 38%;
  61. }
  62. .tableHeaderCellDownload {
  63. width: 23%;
  64. }
  65. .tableHeaderCellRemove {
  66. padding-left: 0px;
  67. }
  68. }
  69. @media (max-width: 1008px) {
  70. #portal-info {
  71. width: 60vw;
  72. }
  73. .left-panel {
  74. margin-left: 0;
  75. width: 94%;
  76. }
  77. .main-panel {
  78. left: -1%;
  79. padding: 48px 26px 24px;
  80. }
  81. }
  82. @media (max-width: 769px) and (min-width: 593px) {
  83. .contentCells-icon{
  84. width: 5%;
  85. }
  86. .tableRow {
  87. width: 55%;
  88. }
  89. .tableRow td:first-child {
  90. border: none;
  91. flex-grow: 1;
  92. width: 100%;
  93. max-width: 100%;
  94. }
  95. .tableHeader {
  96. display: none;
  97. }
  98. .scroll-table-body {
  99. top: 31px;
  100. }
  101. footer {
  102. height: 80px;
  103. }
  104. .main {
  105. height: calc(100% - 128px);
  106. }
  107. .left-panel {
  108. width: 90%;
  109. }
  110. .main-panel {
  111. left: 0;
  112. padding: 48px 18px 24px;
  113. }
  114. footer table td {
  115. margin-left: 0;
  116. margin-right: 0;
  117. padding-right: 4px;
  118. padding-left: 4px;
  119. }
  120. .copy {
  121. margin:auto;
  122. padding-right: 3%;
  123. }
  124. footer table tr td:first-child {
  125. margin-left: auto;
  126. padding-left: 1%;
  127. margin-right: 1.5%;
  128. }
  129. .contentCells-shift {
  130. padding-right: 22px;
  131. }
  132. }
  133. @media (max-width: 715px) {
  134. .tableRow {
  135. width: 45%;
  136. }
  137. }
  138. @media (max-width: 670px) and (min-width: 620px){
  139. /*.main-panel{*/
  140. /* width: 90%;*/
  141. /*}*/
  142. }
  143. @media (max-width: 681px) and (min-width: 593px) {
  144. .left-panel {
  145. width: 69%;
  146. }
  147. .main-panel {
  148. left: -6%;
  149. padding: 48px 0 24px;
  150. }
  151. .help-block {
  152. margin: 48px 20px 24px;
  153. }
  154. .file-upload{
  155. width: 100%;
  156. }
  157. #fileupload{
  158. width: 100%;
  159. }
  160. }
  161. @media (max-width: 1080px) and (min-width: 970px) {
  162. .tableHeader {
  163. width: 90%;
  164. }
  165. .tableRow td:first-child {
  166. flex-grow: 0;
  167. width: 15%;
  168. }
  169. .tableHeaderCellFileName {
  170. width: 16%;
  171. }
  172. .tableHeaderCellEditors {
  173. width: 13%;
  174. }
  175. .tableHeaderCellViewers {
  176. text-align: right;
  177. width: 37%;
  178. }
  179. .tableHeaderCellDownload {
  180. width: 22%;
  181. }
  182. }
  183. @media (max-width: 986px) and (min-width: 890px) {
  184. .tableHeader {
  185. width: 75%;
  186. }
  187. .tableHeaderCellEditors {
  188. width: 26%;
  189. text-align: left;
  190. }
  191. .tableHeaderCellFileName {
  192. width: 17%;
  193. }
  194. .tableHeaderCellViewers {
  195. width: 27%;
  196. text-align: right;
  197. }
  198. .tableHeaderCellDownload {
  199. padding-right: 18px;
  200. width: 20%;
  201. }
  202. .tableHeaderCellRemove {
  203. padding-left: 0;
  204. }
  205. .tableRow {
  206. width: 75%;
  207. }
  208. .tableRow td:last-child {
  209. padding-right: 38px;
  210. }
  211. .tableRow td:first-child {
  212. flex-grow: 0;
  213. width: 15%;
  214. }
  215. .contentCells-icon {
  216. width: 3%;
  217. }
  218. }
  219. @media (max-width: 890px) and (min-width: 769px ) {
  220. .left-panel{
  221. width: 100%;
  222. }
  223. .contentCells-shift {
  224. padding-right: 28px;
  225. }
  226. .main-panel {
  227. width: 580px;
  228. }
  229. .tableRow {
  230. width: 95%;
  231. }
  232. .tableHeader {
  233. width: 95%;
  234. }
  235. .tableHeaderCellViewers {
  236. width: 22%;
  237. text-align: right;
  238. }
  239. .tableHeaderCellDownload {
  240. padding-right: 4px;
  241. width: 20%;
  242. text-align: right;
  243. }
  244. .tableHeaderCellFileName {
  245. width: 20%;
  246. }
  247. .tableHeaderCellEditors {
  248. text-align: left;
  249. width: 31%;
  250. }
  251. .tableHeaderCellViewers {
  252. width: 18%;
  253. }
  254. }
  255. @media (max-width: 890px) {
  256. .tableRow td:first-child {
  257. max-width: 17%;
  258. }
  259. }
  260. .downloadContentCellShift:after {
  261. bottom:0 ;
  262. left: 0;
  263. content: "";
  264. background: #e5e5e5;
  265. height: 1px;
  266. position: absolute;
  267. width: 100%;
  268. }
  269. @media (max-width: 769px) {
  270. .tableRow td:first-child {
  271. max-width: 100%;
  272. }
  273. }
  274. @media (max-width: 593px ) {
  275. #portal-info {
  276. width: 50vw;
  277. }
  278. .file-upload{
  279. width: 100%;
  280. }
  281. #fileupload{
  282. width: 100%;
  283. }
  284. .tableHeader {
  285. display: none;
  286. }
  287. .scroll-table-body {
  288. top: 31px;
  289. }
  290. footer table tr {
  291. justify-content: center;
  292. }
  293. footer table td {
  294. padding-top: 16px;
  295. padding-right: 32px;
  296. padding-left: 32px;
  297. }
  298. footer {
  299. height: 80px;
  300. }
  301. .main {
  302. height: calc(100% - 128px);
  303. }
  304. .copy {
  305. width: 100%;
  306. text-align: center;
  307. margin: 0;
  308. }
  309. .left-panel {
  310. width: 61%;
  311. }
  312. .help-block {
  313. margin: 16px 10px 6px;
  314. }
  315. .main-panel {
  316. left: -8%;
  317. padding: 16px 0 6px;
  318. }
  319. .tableRow {
  320. width: 40%;
  321. }
  322. .tableRow td {
  323. border: none;
  324. }
  325. .firstContentCellShift {
  326. border: none;
  327. flex-basis: 10%;
  328. flex-grow: 1;
  329. }
  330. .downloadContentCellShift {
  331. max-width: 7%;
  332. margin-right: -11px;
  333. margin-left: auto;
  334. }
  335. .contentCells-icon {
  336. width: 13%;
  337. }
  338. .tableRow td:last-child {
  339. width: 12%;
  340. padding-right: 40px;
  341. border: none;
  342. }
  343. .contentCells-shift {
  344. padding-right: 35px;
  345. }
  346. .downloadContentCellShift:after {
  347. width: 85%;
  348. }
  349. .firstContentCellViewers {
  350. margin-left: 0;
  351. border-bottom: 1px solid #e5e5e5 !important;
  352. }
  353. .firstContentCellViewers ~ td {
  354. border-bottom: 1px solid #e5e5e5;
  355. }
  356. .tableRow td:first-child{
  357. border: none;
  358. width: 85%;
  359. }
  360. .contentCellsEmpty{
  361. display: none;
  362. width: 1%;
  363. }
  364. /* Mobile Upload*/
  365. .blockUI.blockMsg.blockPage.ui-dialog.ui-widget.ui-corner-all.ui-widget-content.ui-draggable {
  366. width: 344px !important;
  367. box-shadow: 0px 7px 15px rgba(85, 85, 85, 0.1);
  368. border-radius: 2px;
  369. top: 10% !important;
  370. margin-left: -172px !important;
  371. }
  372. .ui-dialog .ui-dialog-titlebar {
  373. padding: 0;
  374. }
  375. .ui-dialog .ui-dialog-content {
  376. padding: 0 !important;
  377. }
  378. #mainProgress {
  379. margin: 24px 16px 0 !important;
  380. }
  381. .blockTitle {
  382. padding: 10px 10px 6px 16px !important;
  383. font-size: 14px !important;
  384. }
  385. #mainProgress .describeUpload {
  386. padding: 8px 0 !important;
  387. }
  388. .dialog-close {
  389. margin: 0 !important;
  390. }
  391. .step-descr{
  392. line-height: 150%;
  393. }
  394. .step {
  395. line-height: 160%;
  396. }
  397. .buttonsMobile{
  398. display: flex;
  399. flex-direction: row;
  400. flex-wrap: wrap;
  401. justify-content: space-between;
  402. align-items: center;
  403. }
  404. .button.gray{
  405. margin: 0;
  406. }
  407. .button, .button:hover{
  408. display: flex;
  409. justify-content: center;
  410. padding: 0 !important;
  411. width: 144px;
  412. height: 56px;
  413. margin-bottom: 24px !important;
  414. }
  415. }
  416. @media (max-width: 560px) and (min-width: 510px) {
  417. .contentCells-icon {
  418. width: 13%;
  419. }
  420. .downloadContentCellShift {
  421. padding-right: 45px;
  422. max-width: 4%;
  423. }
  424. }
  425. @media (max-width: 510px) and (min-width: 470px) {
  426. .tableRow {
  427. width: 35%;
  428. }
  429. .tableRow td:first-child{
  430. width: 83%;
  431. }
  432. .contentCells-icon {
  433. width: 13%;
  434. }
  435. .downloadContentCellShift {
  436. max-width: 6%;
  437. padding-right: 37px;
  438. }
  439. .firstContentCellShift {
  440. flex-basis: 9%;
  441. }
  442. .tableRow td:last-child {
  443. padding-right: 28px;
  444. }
  445. }
  446. @media (max-width: 470px) and (min-width: 420px) {
  447. .tableRow {
  448. width: 30%;
  449. }
  450. .tableRow td:first-child{
  451. width: 85%;
  452. }
  453. .contentCells-icon {
  454. width: 11%;
  455. }
  456. .downloadContentCellShift {
  457. max-width: 3%;
  458. padding-right: 37px;
  459. padding-left: 0;
  460. }
  461. .firstContentCellShift {
  462. margin-left: 1px;
  463. flex-basis: 14%;
  464. }
  465. .tableRow td:last-child {
  466. width: 5%;
  467. padding-right: 63px;
  468. }
  469. .firstContentCellViewers{
  470. padding-right: 2px;
  471. width: 12%;
  472. }
  473. .contentCellsEmpty{
  474. display: none;
  475. }
  476. }
  477. @media (max-width: 420px) and (min-width: 320px) {
  478. .tableRow {
  479. width: 25%;
  480. }
  481. .tableRow td:last-child {
  482. width: 6%;
  483. padding-right: 16px;
  484. }
  485. .downloadContentCellShift {
  486. max-width: 4%;
  487. margin-right: -18px;
  488. margin-left: -1px;
  489. }
  490. .firstContentCellShift {
  491. flex-basis: 2%;
  492. }
  493. .contentCells-icon{
  494. width: 10%;
  495. }
  496. footer table td {
  497. margin: 0;
  498. padding-right: 5px;
  499. padding-left: 5px;
  500. }
  501. .copy {
  502. padding-right: 5px;
  503. margin: 0;
  504. }
  505. .firstContentCellViewers{
  506. padding-right: 2px;
  507. width: 11%;
  508. }
  509. }
  510. @media (max-width: 1160px) {
  511. .left-panel {
  512. margin-left: 0;
  513. }
  514. }
  515. @media (min-width: 593px) {
  516. .contentCellsEmpty {
  517. display: none;
  518. }
  519. }
  520. @media (max-width: 769px) and (min-width: 715px){
  521. .tableRow{
  522. width: 50%;
  523. }
  524. }
  525. @media(max-width: 1080px) and (min-width: 986px){
  526. .tableHeaderCellRemove{
  527. padding-left: 6px;
  528. }
  529. }
  530. @media (max-width: 1100px) and (min-width: 890px){
  531. .main-panel > span{
  532. max-width: 70%;
  533. }
  534. }
  535. @media (max-width: 780px) and (min-width: 600px) {
  536. .main-panel{
  537. display: flex;
  538. flex-direction: column;
  539. }
  540. .main-panel > span{
  541. max-width: 45%;
  542. }
  543. }
  544. @media (max-width: 600px) and (min-width: 320px) {
  545. .main-panel{
  546. display: flex;
  547. flex-direction: column;
  548. }
  549. }
  550. @media (max-width:600px) and (min-width:500px){
  551. .main-panel > span{
  552. max-width:35%;
  553. }
  554. }
  555. @media (max-width:500px) and (min-width:400px){
  556. .main-panel > span{
  557. max-width:20%;
  558. }
  559. }
  560. @media (max-width:400px) and (min-width:320px){
  561. .main-panel > span{
  562. max-width:15%;
  563. }
  564. }
  565. @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  566. .tableRow td:first-child{
  567. max-width: none;
  568. }
  569. }