OnlyOffice在线文档

stylesheet.css 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778
  1. /**
  2. *
  3. * (c) Copyright Ascensio System SIA 2023
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License");
  6. * you may not use this file except in compliance with the License.
  7. * You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. *
  17. */
  18. html {
  19. height: 100%;
  20. width: 100%;
  21. }
  22. body {
  23. display: block;
  24. background: #FFFFFF;
  25. color: #333333;
  26. font-family: Open Sans;
  27. font-size: 12px;
  28. font-style: normal;
  29. font-weight: normal;
  30. height: 100%;
  31. margin: 0;
  32. overflow-y: overlay;
  33. padding: 0;
  34. text-decoration: none;
  35. overflow-x: hidden;
  36. }
  37. form {
  38. height: 100%;
  39. }
  40. div {
  41. margin: 0;
  42. padding: 0;
  43. }
  44. a,
  45. a:hover,
  46. a:visited {
  47. color: #333333;
  48. cursor: pointer;
  49. }
  50. header {
  51. background: #333333;
  52. height: 48px;
  53. margin: 0 auto;
  54. min-width: 1152px;
  55. width: auto;
  56. }
  57. header img {
  58. margin: 10px 0 22px 32px;
  59. }
  60. .center {
  61. position: relative;
  62. margin: 0 auto 0;
  63. width: 1152px;
  64. }
  65. .main{
  66. display: table;
  67. height: calc(100% - 112px);
  68. min-height: 536px;
  69. }
  70. .table-main {
  71. border-spacing: 0;
  72. height: 100%;
  73. min-height: 536px;
  74. }
  75. .section{
  76. height: 100%;
  77. padding: 0;
  78. vertical-align: top;
  79. }
  80. .main-panel {
  81. box-sizing: border-box;
  82. -moz-box-sizing: border-box;
  83. height: 100%;
  84. list-style: none;
  85. padding: 48px 32px 24px;
  86. position: relative;
  87. width: 896px;
  88. }
  89. #portal-info {
  90. max-width: 65vw;
  91. }
  92. .portal-name {
  93. color: #FF6F3D;
  94. font-size: 24px;
  95. font-weight: bold;
  96. line-height: 133%;
  97. letter-spacing: -0.02em;
  98. }
  99. .portal-descr {
  100. display: inline-block;
  101. font-size: 16px;
  102. line-height: 160%;
  103. margin-top: 16px;
  104. }
  105. .header-list {
  106. font-weight: bold;
  107. font-size: 16px;
  108. line-height: 133%;
  109. letter-spacing: -0.02em;
  110. }
  111. label .checkbox {
  112. margin: 0 5px 3px 0;
  113. vertical-align: middle;
  114. cursor: pointer;
  115. }
  116. .try-editor-list {
  117. list-style: none;
  118. margin: 0;
  119. padding: 0;
  120. }
  121. .try-editor-list li {
  122. margin-bottom: 12px
  123. }
  124. .try-editor {
  125. background-color: transparent;
  126. background-repeat: no-repeat;
  127. display: block;
  128. font-size: 14px;
  129. line-height: 40px;
  130. padding-left: 42px;
  131. text-decoration: none;
  132. }
  133. .try-editor.word {
  134. background-image: url("img/file_docx.svg");
  135. }
  136. .try-editor.cell {
  137. background-image: url("img/file_xlsx.svg");
  138. }
  139. .try-editor.slide {
  140. background-image: url("img/file_pptx.svg");
  141. }
  142. .try-editor.form {
  143. background-image: url("img/file_docxf.svg");
  144. }
  145. .side-option {
  146. color: #666666;
  147. line-height: 24px;
  148. }
  149. .button,
  150. .button:visited,
  151. .button:hover,
  152. .button:active {
  153. align-items: center;
  154. border-radius: 3px;
  155. box-sizing: border-box;
  156. cursor:pointer;
  157. display: inline-block;
  158. font-weight: 600;
  159. letter-spacing: 0.08em;
  160. line-height: 133%;
  161. padding: 8px 20px;
  162. text-align: center;
  163. text-decoration: none;
  164. text-transform: uppercase;
  165. vertical-align: middle;
  166. user-select: none;
  167. -o-touch-callout: none;
  168. -moz-touch-callout: none;
  169. -webkit-touch-callout: none;
  170. -o-user-select: none;
  171. -moz-user-select: none;
  172. -webkit-user-select: none;
  173. }
  174. .button.orange {
  175. background: #FF6F3D;
  176. border: 1px solid #FF6F3D;
  177. color: #FFFFFF;
  178. }
  179. .button.orange.disable {
  180. background: #EDC2B3;
  181. border: 1px solid #EDC2B3;
  182. cursor: default;
  183. }
  184. .button.orange:not(.disable):hover{
  185. background: #ff7a4b;
  186. }
  187. .button.gray {
  188. border: 1px solid #AAAAAA;
  189. margin-left: 8px;
  190. }
  191. .button.gray.disable {
  192. border: 1px solid #E5E5E5;
  193. color: #B5B5B5;
  194. cursor: default;
  195. }
  196. .button.gray:not(.disable):hover {
  197. border: 1px solid #FF6F3D;
  198. color: #FF6F3D;
  199. }
  200. .upload-panel {
  201. float: left;
  202. padding: 24px 0;
  203. }
  204. .file-upload {
  205. background: url(img/file_upload.svg) no-repeat 0 transparent;
  206. cursor: pointer;
  207. display: block;
  208. font-size: 14px;
  209. line-height: 40px;
  210. overflow: hidden;
  211. padding-left: 42px;
  212. position: relative;
  213. width: 150px;
  214. }
  215. .file-upload input {
  216. cursor: pointer;
  217. height: 40px;
  218. margin: 0;
  219. opacity: 0;
  220. opacity: 0;
  221. position: absolute;
  222. right: 0;
  223. top: 0;
  224. transform: translate(0px, -21px) scale(2);
  225. width: 192px;
  226. }
  227. .create-panel {
  228. float: left;
  229. padding: 16px 0;
  230. }
  231. .upload-panel,
  232. .create-panel {
  233. width: 100%;
  234. border-bottom: 1px solid #D0D5DA;
  235. }
  236. #mainProgress {
  237. color: #333333;
  238. display: none;
  239. font-size: 12px;
  240. margin: 30px 40px
  241. }
  242. #mainProgress .uploadFileName{
  243. background-position: left center;
  244. background-repeat: no-repeat;
  245. display: block;
  246. font-size: 14px;
  247. line-height: 160%;
  248. overflow: hidden;
  249. padding-left: 28px;
  250. text-overflow: ellipsis;
  251. white-space: nowrap;
  252. }
  253. #mainProgress .describeUpload {
  254. line-height: 150%;
  255. letter-spacing: -0.02em;
  256. padding: 16px 0;
  257. }
  258. #mainProgress #embeddedView {
  259. display: none;
  260. }
  261. #mainProgress.embedded #embeddedView {
  262. display: block;
  263. }
  264. #mainProgress.embedded #uploadSteps {
  265. display: none;
  266. }
  267. .error-message {
  268. background: url(img/error.svg) no-repeat scroll 4px 10px;
  269. color: #CB0000;
  270. display: none;
  271. line-height: 160%;
  272. letter-spacing: -0.02em;
  273. margin: 5px 0;
  274. padding: 10px 10px 10px 30px;
  275. vertical-align: middle;
  276. word-wrap: break-word;
  277. }
  278. .step {
  279. background-repeat: no-repeat;
  280. background-position: left center;
  281. background-color: transparent;
  282. font-weight: bold;
  283. line-height: 167%;
  284. padding-left: 35px;
  285. }
  286. .current {
  287. background-image: url("img/loader16.gif");
  288. }
  289. .done {
  290. background-image: url("img/done.svg");
  291. }
  292. .error {
  293. background-image: url("img/notdone.svg");
  294. }
  295. .step-descr {
  296. display: block;
  297. margin-left: 35px;
  298. font-size: 11px;
  299. line-height: 188%;
  300. }
  301. .progress-descr {
  302. letter-spacing: -0.02em;
  303. line-height: 150%;
  304. }
  305. #loadScripts {
  306. display: none;
  307. }
  308. #iframeScripts {
  309. position: absolute;
  310. visibility: hidden;
  311. }
  312. footer {
  313. background: #333333;
  314. color: #AAAAAA;
  315. height: 64px;
  316. width: 100%;
  317. position: relative;
  318. left: 0;
  319. bottom: 0;
  320. }
  321. footer > .center{
  322. width: 100%;
  323. }
  324. footer table {
  325. width: 100%;
  326. border-spacing: 0;
  327. }
  328. footer table tr {
  329. position: relative;
  330. display: flex;
  331. flex-direction: row;
  332. align-items: center;
  333. align-content: center;
  334. flex-wrap: wrap;
  335. width: 100vw;
  336. height: 64px;
  337. }
  338. footer table td {
  339. display: block;
  340. position: relative;
  341. padding-left: 32px;
  342. }
  343. footer a,
  344. footer a:hover,
  345. footer a:visited {
  346. color: #FF6F3D;
  347. font-size: 14px;
  348. line-height: 120%;
  349. }
  350. footer a:hover {
  351. text-decoration: none;
  352. }
  353. footer table tr td:first-child {
  354. margin-left: 14%;
  355. }
  356. .copy {
  357. width: max-content;
  358. position: relative;
  359. margin-left: auto;
  360. margin-right: 14%;
  361. }
  362. .help-block {
  363. margin: 48px 32px 24px;
  364. }
  365. .help-block span {
  366. font-size: 14px;
  367. font-weight: 600;
  368. line-height: 19px;
  369. }
  370. .stored-list {
  371. list-style: none;
  372. padding: 0;
  373. position: relative;
  374. height: 100%;
  375. }
  376. .stored-edit {
  377. background-color: transparent;
  378. background-position: left center;
  379. background-repeat: no-repeat;
  380. display: inline-block;
  381. height: 16px;
  382. max-width: 250px;
  383. overflow: hidden;
  384. padding: 8px 0 1px 26px;
  385. text-decoration: none;
  386. text-overflow: ellipsis;
  387. white-space: nowrap;
  388. }
  389. .stored-edit.word,
  390. .uploadFileName.word {
  391. background-image: url("img/icon_docx.svg");
  392. }
  393. .stored-edit.cell,
  394. .uploadFileName.cell {
  395. background-image: url("img/icon_xlsx.svg");
  396. }
  397. .stored-edit.slide,
  398. .uploadFileName.slide {
  399. background-image: url("img/icon_pptx.svg");
  400. }
  401. .stored-edit span {
  402. font-size: 12px;
  403. line-height: 12px;
  404. }
  405. .stored-edit:hover span {
  406. text-decoration: underline;
  407. }
  408. .blockTitle {
  409. background-color: #333333 !important;
  410. border: none !important;
  411. border-radius: 0 !important;
  412. -moz-border-radius: 0 !important;
  413. -webkit-border-radius: 0 !important;
  414. color: #F5F5F5 !important;
  415. font-size: 16px !important;
  416. font-weight: 600!important;
  417. line-height: 133%;
  418. letter-spacing: -0.02em;
  419. padding: 14px 16px 14px 46px !important;
  420. }
  421. .dialog-close {
  422. background: url("img/close.svg") no-repeat scroll left top;
  423. cursor: pointer;
  424. float: right;
  425. font-size: 1px;
  426. height: 14px;
  427. line-height: 1px;
  428. margin-top: 4px;
  429. width: 14px;
  430. }
  431. .blockPage {
  432. border: none !important;
  433. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  434. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  435. -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  436. -webkit-box-shadow:0 2px 4px rgba(0, 0, 0, 0.5);
  437. padding: 0 !important;
  438. }
  439. .clearFix:after {
  440. content: ".";
  441. display: block;
  442. height: 0;
  443. clear: both;
  444. visibility: hidden;
  445. }
  446. .tableRow {
  447. background: transparent;
  448. -moz-transition: all 0.2s ease-in-out;
  449. -webkit-transition: all 0.2s ease-in-out;
  450. -o-transition: all 0.2s ease-in-out;
  451. -ms-transition: all 0.2s ease-in-out;
  452. transition: all 0.2s ease-in-out;
  453. }
  454. .tableRow:hover {
  455. background-color: #ECECEC;
  456. }
  457. .tableHeader {
  458. padding-top: 10px;
  459. }
  460. .tableHeader tr{
  461. background: transparent;
  462. cursor: default;
  463. height: 40px;
  464. -khtml-user-select: none;
  465. user-select: none;
  466. -moz-user-select: none;
  467. -webkit-user-select: none;
  468. }
  469. .tableHeaderCell {
  470. border-bottom: 1px solid #EFEFEF;
  471. padding: 2px 4px;
  472. text-align: center;
  473. }
  474. .tableHeaderCellFileName {
  475. text-align: left;
  476. width: 37%;
  477. }
  478. .tableHeaderCellEditors{
  479. width: 29%;
  480. }
  481. .tableHeaderCellViewers{
  482. width: 11%;
  483. }
  484. .tableHeaderCellDownload{
  485. width: 13%;
  486. text-align: right;
  487. padding-right: 20px;
  488. }
  489. .tableHeaderCellRemove{
  490. text-align: left;
  491. }
  492. .contentCells {
  493. display: block;
  494. border-bottom: 1px solid #e5e5e5;
  495. font-family: 'Open Sans', sans-serif;
  496. font-size: 16px;
  497. padding: 4px;
  498. white-space: nowrap;
  499. -khtml-user-select: none;
  500. user-select: none;
  501. -moz-user-select: none;
  502. -webkit-user-select: none;
  503. }
  504. .contentCells-shift {
  505. padding-right: 44px;
  506. }
  507. .contentCells-icon {
  508. width: 4%;
  509. }
  510. .select-user {
  511. color: #444444;
  512. font-family: Open Sans;
  513. font-size: 12px!important;
  514. font-weight: normal!important;
  515. line-height: 16px!important;
  516. }
  517. .info{
  518. cursor: pointer;
  519. margin: -2px 5px;
  520. }
  521. .user-block-table {
  522. height: 100%;
  523. padding-top: 14px;
  524. width: 100%;
  525. }
  526. .user-block-table td {
  527. background-color: #F4F4F4;
  528. padding-top: 10px;
  529. }
  530. .user-block-table td select {
  531. border: 1px solid #D0D5DA;
  532. box-sizing: border-box;
  533. border-radius: 3px;
  534. cursor: pointer;
  535. margin-top: 5px;
  536. padding: 2px 5px;
  537. width: 100%;
  538. }
  539. .icon-delete {
  540. cursor: pointer;
  541. }
  542. .left-panel {
  543. display: flex;
  544. flex-direction: column;
  545. flex-wrap: nowrap;
  546. max-width: 256px;
  547. width: 100%;
  548. background: #F5F5F5;
  549. }
  550. .scroll-table-body {
  551. bottom: 0;
  552. left: 0;
  553. margin-top: 0px;
  554. overflow-x: auto;
  555. position: absolute;
  556. right: 0;
  557. top: 71px;
  558. scrollbar-color: #D0D5DA transparent;
  559. scrollbar-width: thin;
  560. }
  561. .scroll-table-body::-webkit-scrollbar {
  562. width: 4px;
  563. }
  564. .scroll-table-body::-webkit-scrollbar-thumb {
  565. background: #D0D5DA;
  566. border-radius: 3px;
  567. }
  568. .descrFilePass {
  569. display: block;
  570. font-weight: bold;
  571. line-height: 167%;
  572. }
  573. #filePass {
  574. border: 1px solid #D0D5DA;
  575. border-radius: 3px;
  576. box-sizing: border-box;
  577. display: inline-block;
  578. height: 33px;
  579. letter-spacing: -0.02em;
  580. line-height: 150%;
  581. margin-right: 8px;
  582. outline: none;
  583. padding: 7px 8px;
  584. vertical-align: bottom;
  585. user-select: none;
  586. -moz-user-select: none;
  587. -webkit-user-select: none;
  588. width: 250px;
  589. }
  590. .errorInput {
  591. border-color: #CB0000!important;
  592. }
  593. .errorPass {
  594. color: #CB0000;
  595. display: block;
  596. line-height: 160%;
  597. letter-spacing: -0.02em;
  598. word-wrap: break-word;
  599. }
  600. html {
  601. overflow-x: hidden;
  602. }
  603. .tableRow {
  604. width: 100%;
  605. display: flex;
  606. flex-wrap: wrap;
  607. flex-direction: row;
  608. position: relative;
  609. }
  610. .tableRow td:first-child {
  611. display: flex;
  612. flex-grow: 1;
  613. max-width: 25%;
  614. }
  615. .tableHeaderCellFileName {
  616. width: 30%;
  617. }
  618. .tableHeaderCellEditors {
  619. width: 28%;
  620. }
  621. .tableHeaderCellViewers {
  622. text-align: center;
  623. width: 18%
  624. }
  625. .firstContentCellViewers {
  626. margin-left: auto;
  627. }
  628. .tableHeaderCellDownload{
  629. width: 12%;
  630. }
  631. .tableHeaderCellRemove{
  632. padding-left: 10px;
  633. }
  634. .user-descr {
  635. display: inline-table;
  636. width: 30vw;
  637. min-width: 200px;
  638. max-width: 400px;
  639. margin-top: 20px;
  640. }
  641. .user-descr > b {
  642. margin-left: 25px;
  643. }
  644. .tooltip {
  645. background: #FFFFFF;
  646. border-radius: 5px;
  647. box-shadow: 0px 7px 25px rgba(85, 85, 85, 0.15);
  648. color: #666666;
  649. line-height: 160%;
  650. max-width: 455px;
  651. padding: 14px;
  652. position: absolute;
  653. }
  654. .tooltip ul {
  655. margin: 0;
  656. }
  657. .arrow {
  658. border-top: 8px solid transparent;
  659. border-bottom: 8px solid transparent;
  660. border-right: 8px solid #FFFFFF;
  661. left: -4px;
  662. position: absolute;
  663. top: 50%;
  664. transform: translate(-50%, -50%);
  665. }