parent
edc2bc8b93
commit
e85a1bce0a
13 changed files with 541 additions and 369 deletions
|
@ -1659,4 +1659,40 @@ a:focus {
|
|||
.cor-confirm-dialog-element .progress-message {
|
||||
margin-bottom: 10px;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.co-top-tab-bar {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
padding-left: 10px;
|
||||
|
||||
margin-bottom: 10px;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.co-top-tab-bar li {
|
||||
display: inline-block;
|
||||
list-style: none;
|
||||
text-align: center;
|
||||
padding: 6px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
border-bottom: 1px solid #eee;
|
||||
font-size: 15px;
|
||||
cursor: pointer;
|
||||
color: #666;
|
||||
|
||||
bottom: -2px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.co-top-tab-bar li.active {
|
||||
color: #51a3d9;
|
||||
border-bottom: 2px solid #51a3d9;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
.modal-header.ahead-of-tabs {
|
||||
border-bottom: 0px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
|
|
@ -20,3 +20,7 @@
|
|||
font-size: 12px;
|
||||
}
|
||||
|
||||
.dockerfile-build-dialog-element .fa-exclamation-triangle {
|
||||
margin-right: 4px;
|
||||
color: #FCA657;
|
||||
}
|
|
@ -1,24 +1,20 @@
|
|||
.dockerfile-build-form table td {
|
||||
vertical-align: top;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dockerfile-build-form .file-drop {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.dockerfile-build-form input[type="file"] {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.dockerfile-build-form .help-text {
|
||||
font-size: 13px;
|
||||
color: #aaa;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 16px;
|
||||
font-size: 14px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.dockerfile-build-form dd {
|
||||
padding-left: 20px;
|
||||
padding-top: 14px;
|
||||
}
|
||||
.dockerfile-build-form .robot-permission {
|
||||
margin-top: 10px;
|
||||
background: #fafafa;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.dockerfile-build-form .co-alert {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.dockerfile-build-form .starting-build {
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
}
|
||||
|
|
117
static/css/directives/ui/file-upload-box.css
Normal file
117
static/css/directives/ui/file-upload-box.css
Normal file
|
@ -0,0 +1,117 @@
|
|||
/* Based off of http://tympanus.net/Tutorials/CustomFileInputs/ */
|
||||
|
||||
.file-upload-box-element .file-drop {
|
||||
width: 0.1px;
|
||||
height: 0.1px;
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.file-upload-box-element .file-input-container {
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.file-upload-box-element .fa-times-circle {
|
||||
margin-right: 4px;
|
||||
color: #D64456;
|
||||
}
|
||||
|
||||
.file-upload-box-element .fa-check-circle {
|
||||
margin-right: 4px;
|
||||
color: #2FC98E;
|
||||
}
|
||||
|
||||
.file-upload-box-element .select-message {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.file-upload-box-element .file-drop + label {
|
||||
margin-top: 14px;
|
||||
margin-bottom: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.file-upload-box-element .file-drop + label .chosen-file {
|
||||
background: white;
|
||||
display: inline-block;
|
||||
height: 34px;
|
||||
line-height: 34px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
font-weight: normal;
|
||||
width: 250px;
|
||||
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
|
||||
.file-upload-box-element .file-drop + label .choose-button {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
padding: 8px;
|
||||
background-color: #51a3d9;
|
||||
color: white;
|
||||
font-weight: normal;
|
||||
font-size: 16px;
|
||||
height: 34px;
|
||||
vertical-align: top;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
line-height: 18px;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
|
||||
.file-upload-box-element .file-drop + label:hover .choose-button {
|
||||
background-color: #3d769c;
|
||||
}
|
||||
|
||||
.file-upload-box-element .file-drop + label:hover .chosen-file {
|
||||
border-color: #3d769c;
|
||||
}
|
||||
|
||||
.file-upload-box-element .file-drop + label.okay .choose-button {
|
||||
background-color: #2FC98E;
|
||||
}
|
||||
|
||||
.file-upload-box-element .file-drop + label.okay .chosen-file {
|
||||
border-color: #2FC98E;
|
||||
}
|
||||
|
||||
.file-upload-box-element .file-drop + label.error .choose-button {
|
||||
background-color: #D64456;
|
||||
}
|
||||
|
||||
.file-upload-box-element .file-drop + label.error .chosen-file {
|
||||
border-color: #D64456;
|
||||
}
|
||||
|
||||
.file-upload-box-element .file-drop + label.uploading .choose-button {
|
||||
background-color: #666;
|
||||
}
|
||||
|
||||
.file-upload-box-element .file-drop + label.uploading .chosen-file {
|
||||
border-color: #666;
|
||||
}
|
||||
|
||||
|
||||
.file-upload-box-element .file-drop + label .fa {
|
||||
color: white;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.file-upload-box-element .file-drop + label * {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.file-upload-box-element .status-message {
|
||||
font-size: 16px;
|
||||
}
|
Reference in a new issue