python: redesign window upload

This commit is contained in:
Alexandr Fedorov
2021-03-25 10:58:56 +03:00
parent 7dade2ff46
commit 0645fba83d
12 changed files with 131 additions and 112 deletions

View File

@ -130,11 +130,6 @@ label .checkbox {
cursor: pointer;
}
.try-descr {
font-size: 16px;
white-space : nowrap;
}
.try-editor-list {
list-style: none;
margin: 0;
@ -172,47 +167,62 @@ label .checkbox {
line-height: 24px;
}
.button, .button:visited, .button:hover, .button:active {
.button,
.button:visited,
.button:hover,
.button:active {
align-items: center;
border-radius: 3px;
box-sizing: border-box;
cursor:pointer;
display: inline-block;
font-weight: normal;
font-weight: 600;
letter-spacing: 0.08em;
line-height: 133%;
padding: 8px 20px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
vertical-align: middle;
cursor:pointer;
border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
touch-callout: none;
user-select: none;
-o-touch-callout: none;
-moz-touch-callout: none;
-webkit-touch-callout: none;
user-select: none;
-o-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
font-size: 12px;
line-height: 16px;
margin-right: 3px;
padding: 4px 12px;
color: #fff;
background: #3D96C6;
border-width: 1px;
border-style: solid;
border-color: #3D96C6;
}
.button.disable {
cursor: default;
background: #BADDEF;
border: 1px solid #BADDEF;
#beginEdit {
background: #FF6F3D;
border: 1px solid #FF6F3D;
color: #FFFFFF;
}
#beginEdit.disable {
background: #EDC2B3;
border: 1px solid #EDC2B3;
cursor: default;
}
#beginEdit:not(.disable):hover{
background: #ff7a4b;
}
.button.gray {
background: #ebebeb;
border: 1px solid #D0D0D0;
color: #333;
border: 1px solid #AAAAAA;
margin-left: 8px;
}
.button.gray.disable {
border: 1px solid #E5E5E5;
color: #B5B5B5;
cursor: default;
}
.button.gray:not(.disable):hover {
border: 1px solid #FF6F3D;
color: #FF6F3D;
}
.upload-panel {
@ -257,9 +267,28 @@ label .checkbox {
}
#mainProgress {
color: #979b9f;
color: #333333;
display: none;
margin: 15px;
font-size: 12px;
margin: 30px 40px;
}
#mainProgress .uploadFileName{
background-position: left center;
background-repeat: no-repeat;
display: block;
font-size: 14px;
line-height: 160%;
overflow: hidden;
padding-left: 28px;
text-overflow: ellipsis;
white-space: nowrap;
}
#mainProgress .describeUpload {
line-height: 150%;
letter-spacing: -0.02em;
padding: 16px 0;
}
#mainProgress #embeddedView {
@ -275,55 +304,48 @@ label .checkbox {
}
.error-message {
background: url("../images/alert.png") no-repeat scroll 4px 10px #FFECE3;
color: #666668 !important;
background: url(../images/error.svg) no-repeat scroll 4px 10px;
color: #CB0000;
display: none;
font-size: 13px;
font-weight: normal;
line-height: 160%;
letter-spacing: -0.02em;
margin: 5px 0;
padding: 10px 10px 10px 30px;
vertical-align: middle;
}
#mainProgress .error-message a {
color: #666668;
word-wrap: break-word;
}
.step {
background-repeat: no-repeat;
background-position: left center;
background-color: transparent;
color: #979B9F;
font-size: 14px;
line-height: 30px;
padding-left: 25px;
font-weight: bold;
line-height: 167%;
padding-left: 35px;
}
.current {
background-image: url("../images/loader16.gif");
color: #333;
}
.done {
background-image: url("../images/done.png");
color: #333;
background-image: url("../images/done.svg");
}
.error {
background-image: url("../images/alert.png");
background-image: url("../images/notdone.svg");
}
.step-descr {
display: block;
margin-left: 45px;
}
#mainProgress .step-descr a {
color: #979B9F;
margin-left: 35px;
font-size: 11px;
line-height: 188%;
}
.progress-descr {
color: #333;
letter-spacing: -0.02em;
line-height: 150%;
}
#loadScripts {
@ -371,7 +393,6 @@ footer a:hover {
padding-left: 510px;
}
.help-block {
margin: 48px 32px;
}
@ -403,15 +424,18 @@ footer a:hover {
white-space: nowrap;
}
.stored-edit.word {
.stored-edit.word,
.uploadFileName.word {
background-image: url("../images/icon_docx.svg");
}
.stored-edit.cell {
.stored-edit.cell,
.uploadFileName.cell {
background-image: url("../images/icon_xlsx.svg");
}
.stored-edit.slide {
.stored-edit.slide,
.uploadFileName.slide {
background-image: url("../images/icon_pptx.svg");
}
@ -424,38 +448,29 @@ footer a:hover {
text-decoration: underline;
}
.stored-download {
color: #787878;
float: right;
text-decoration: none;
}
.stored-download:hover {
color: #787878;
text-decoration: underline;
}
.blockTitle {
background-color: #E2E2E2 !important;
background-color: #333333 !important;
border: none !important;
border-radius: 0 !important;
-moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important;
color: #333 !important;
color: #F5F5F5 !important;
font-size: 16px !important;
font-weight: normal !important;
padding: 15px 25px !important;
font-weight: 600!important;
line-height: 133%;
letter-spacing: -0.02em;
padding: 14px 16px 14px 46px !important;
}
.dialog-close {
background: url("../images/close.png") no-repeat scroll left top #E2E2E2;
background: url(../images/close.svg) no-repeat scroll left top;
cursor: pointer;
float: right;
font-size: 1px;
height: 12px;
height: 14px;
line-height: 1px;
margin-top: 4px;
width: 12px;
width: 14px;
}
.blockPage {
@ -475,15 +490,6 @@ footer a:hover {
visibility: hidden;
}
.td100 {
width: 100%;
}
.block-lang {
padding-right: 10px;
padding-top: 9px;
}
.tableRow {
background: transparent;
-moz-transition: all 0.2s ease-in-out;
@ -560,13 +566,6 @@ footer a:hover {
width: 4%;
}
.primaryRow {
background-color: #e9e9e9;
}
.secondaryRow {
background-color: #F9F9F9;
}
.select-user {
color: #444444;
font-family: Open Sans;