Changeset 895


Ignore:
Timestamp:
Apr 22, 2015 10:17:01 AM (10 years ago)
Author:
lamdt
Message:

style2 - update modal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/www/deploy/20150304/assets/css/space/style2.css

    r853 r895  
    6464    border: 20px solid rgba(0, 0, 0, 0);
    6565    border-radius: 3px;
    66     border-image: url('../img/border-image.png') 25 repeat;
     66    border-image: url('../../img/border-image.png') 25 repeat;
    6767    text-align: center;
    6868    text-transform: uppercase;
     
    257257
    258258
    259 /* --------------------------------Fix something from style.css ---------------------------*/
     259/* --------------------------------Fix something from .css ---------------------------*/
    260260
    261261/* Bootstrap modified */
     
    294294}
    295295.breadcrumb .home-icon {
    296     color: #9BB8A7;
     296    color: #929292;
    297297}
    298298@media only screen and (max-width: 991px) {
     
    335335    outline: none !important;
    336336}
     337
     338/****************************** FILE COPY MODAL ***********************************/
     339.copy-meter {
     340    height: 20px;
     341    width: calc(100% - 20px);
     342    position: relative;
     343    background: #F5F5F5;
     344    margin-top: 10px;
     345    border: 1px solid #E8E4E4;
     346}
     347.copy-meter > span {
     348    display: block;
     349    height: 100%;
     350    background-color: rgb(43,194,83);
     351    background-image: linear-gradient(
     352    center bottom,
     353    rgb(43,194,83) 37%,
     354    rgb(84,240,84) 69%
     355    );
     356    box-shadow:
     357    inset 0 2px 9px  rgba(255,255,255,0.3),
     358    inset 0 -2px 6px rgba(0,0,0,0.4);
     359    position: relative;
     360    overflow: hidden;
     361    -webkit-animation: expandWidth .33s linear;
     362    -moz-animation: expandWidth .33s linear;
     363}
     364.copy-meter > span:after, .meter-animate > span > span {
     365    content: "";
     366    position: absolute;
     367    top: 0; left: 0; bottom: 0; right: 0;
     368    background-image:
     369       -webkit-gradient(linear, 0 0, 100% 100%,
     370          color-stop(.25, rgba(255, 255, 255, .2)),
     371          color-stop(.25, transparent), color-stop(.5, transparent),
     372          color-stop(.5, rgba(255, 255, 255, .2)),
     373          color-stop(.75, rgba(255, 255, 255, .2)),
     374          color-stop(.75, transparent), to(transparent)
     375       );
     376    background-image:
     377        -moz-linear-gradient(
     378          -45deg,
     379          rgba(255, 255, 255, .2) 25%,
     380          transparent 25%,
     381          transparent 50%,
     382          rgba(255, 255, 255, .2) 50%,
     383          rgba(255, 255, 255, .2) 75%,
     384          transparent 75%,
     385          transparent
     386       );
     387    z-index: 1;
     388    -webkit-background-size: 50px 50px;
     389    -moz-background-size: 50px 50px;
     390    background-size: 50px 50px;
     391    -webkit-animation: move 2s linear infinite;
     392    -moz-animation: move 2s linear infinite;
     393    overflow: hidden;
     394}
     395
     396.meter-animate > span:after {
     397    display: none;
     398}
     399
     400@-webkit-keyframes move {
     401    0% { background-position: 0 0; }
     402    100% { background-position: 50px 50px; }
     403}
     404
     405@-moz-keyframes move {
     406    0% { background-position: 0 0;}
     407    100% { background-position: 50px 50px; }
     408}
     409
     410@-webkit-keyframes expandWidth {
     411    0% { width: 0; }
     412    100% { width: 50%; }
     413}
     414
     415@-moz-keyframes expandWidth {
     416    0% { width: 0; }
     417    100% { width: auto; }
     418}
     419
     420.copy {
     421    position: absolute;
     422    -moz-animation-name: copy-transform-keyframes;
     423    -moz-animation-duration: 4000ms;
     424    -moz-animation-delay: 0ms;
     425    -moz-animation-fill-mode: forwards;
     426    -moz-animation-timing-function: linear;
     427    -moz-animation-iteration-count: infinite;
     428    -moz-transform-origin: 0 0;
     429    -webkit-animation-name: copy-transform-keyframes;
     430    -webkit-animation-duration: 4000ms;
     431    -webkit-animation-delay: 0ms;
     432    -webkit-animation-fill-mode: forwards;
     433    -webkit-animation-timing-function: linear;
     434    -webkit-animation-iteration-count: infinite;
     435    -webkit-transform-origin: 0 0;
     436    animation-name: copy-transform-keyframes;
     437    animation-duration: 4000ms;
     438    animation-delay: 0ms;
     439    animation-fill-mode: forwards;
     440    animation-timing-function: linear;
     441    animation-iteration-count: infinite;
     442    transform-origin: 0 0;
     443}
     444@-moz-keyframes copy-transform-keyframes {
     445    0% {-moz-transform:translate(0px, 0px) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);-moz-animation-timing-function: cubic-bezier(.25,.25,.75,.75);}
     446    100% {-moz-transform:translate(145px, 1.5px) scale(1) rotateX(180deg) rotateY(180deg) rotateZ(180deg) translate(-50%, -50%);}
     447}
     448@-webkit-keyframes copy-transform-keyframes {
     449    0% {-webkit-transform:translate(0px, 0px) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);-webkit-animation-timing-function: cubic-bezier(.25,.25,.75,.75);}
     450    100% {-webkit-transform:translate(145px, 1.5px) scale(1) rotateX(180deg) rotateY(180deg) rotateZ(180deg) translate(-50%, -50%);}
     451}
     452@keyframes copy-transform-keyframes {
     453    0% {transform:translate(0px, 0px) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);animation-timing-function: cubic-bezier(.25,.25,.75,.75);}
     454    100% {transform:translate(145px, 1.5px) scale(1) rotateX(180deg) rotateY(180deg) rotateZ(180deg) translate(-50%, -50%);}
     455}
     456span, a {
     457    font-family: Verdana, sans-serif;
     458}
     459.space-modal {
     460    width: 400px;
     461    margin: 0 auto;
     462    border: 1px solid #EBE4E4;
     463    border-radius: 6px;
     464    margin-bottom: 10px;
     465    margin-top: 10px;
     466    background: #fff;
     467}
     468.space-modal-body {
     469    padding: 10px;
     470}
     471.space-modal-footer {
     472    text-align: center;
     473    border-top: 1px solid #EBE4E4;
     474    padding: 10px;
     475}
     476.space-modal-footer:hover {
     477    background: #eff3f8;
     478}
     479.modal-footer {
     480    padding: 0;
     481    background-color: transparent;
     482}
     483.modal-footer button {
     484    outline: none;
     485    background: transparent;
     486    border: 0;
     487    cursor: pointer;
     488    font-size: 16px;
     489    padding: 15px;
     490    border-left: 1px solid #E5E5E5;
     491}
     492.modal-footer button:hover {
     493    background-color: #eff3f8;
     494}
     495
     496#copy-modal i {
     497    font-size: 16px;
     498    color: #959191;
     499}
     500#copy-modal i:nth-child(4) {
     501    margin-left: 150px;
     502}
     503
     504#replace-modal ul {
     505    list-style: none;
     506    padding-left: 30px;
     507}
     508#replace-modal ul li {
     509    margin: 10px 0;
     510    padding: 10px;
     511}
     512#replace-modal ul li:hover {
     513    background: #AADFE1;
     514}
     515#replace-modal ul li a {
     516    text-decoration: none;
     517    color: #666;
     518}
     519#replace-modal .replace-file {
     520
     521}
     522
     523/*************************************Preview Modal ***********************************************/
    337524.preview .modal-content {
    338525    background: transparent;
     
    374561    cursor: pointer;
    375562}
     563
     564/*------------ Icon file --------- */
    376565.vstree li.home {
    377     background: url(../images/icon-set/cloud-16.png) left top no-repeat
     566    background: url(../../images/icon-set/cloud-16.png) left top no-repeat;
    378567}
    379568.vstree li.directory {
    380     background: url(../images/icon-set/folder-16.png) left top no-repeat
    381 }
     569    background: url(../../images/icon-set/folder-16.png) left top no-repeat;
     570}
     571ul.vstree a.currentDir {
     572    background: #E4E4E4;
     573}
     574
    382575#file-container ul.vsgrid li.vscell.selected div[class^="icon-"],
    383576#file-container ul.vsgrid li.vscell.selected div.file-name {
     
    385578}
    386579#file-container ul.vsgrid li.vscell div.icon-xvl {
    387     background-image: url(../images/icon-set/violet.png) !important;
     580    background-image: url(../../images/icon-set/violet.png) !important;
    388581}
    389582#file-container ul.vsgrid li.vscell div.icon-directory {
    390     background-image: url(../images/icon-set/folder.png) !important;
     583    background-image: url(../../images/icon-set/folder.png) !important;
     584}
     585#file-container ul.vsgrid li.vscell div.icon-xls {
     586    background-image: url(../../images/icon-set/xls.png) !important;
    391587}
    392588#file-container ul.vsgrid li.vscell div.icon-xlsx {
    393     background-image: url(../images/icon-set/xlsx.png) !important;
     589    background-image: url(../../images/icon-set/xlsx.png) !important;
     590}
     591#file-container ul.vsgrid li.vscell div.icon-doc {
     592    background-image: url(../../images/icon-set/doc.png) !important;
     593}
     594#file-container ul.vsgrid li.vscell div.icon-docx {
     595    background-image: url(../../images/icon-set/docx.png) !important;
     596}
     597#file-container ul.vsgrid li.vscell div.icon-ppt {
     598    background-image: url(../../images/icon-set/ppt.png) !important;
     599}
     600#file-container ul.vsgrid li.vscell div.icon-pptx {
     601    background-image: url(../../images/icon-set/pptx.png) !important;
    394602}
    395603#file-container ul.vsgrid li.vscell div.icon-txt {
    396     background-image: url(../images/icon-set/txt.png) !important;
     604    background-image: url(../../images/icon-set/txt.png) !important;
    397605}
    398606#file-container ul.vsgrid li.vscell div.icon-mp4,
    399 #file-container ul.vsgrid li.vscell div.icon-flv {
    400     background-image: url(../images/icon-set/video.png) !important;
     607#file-container ul.vsgrid li.vscell div.icon-flv,
     608#file-container ul.vsgrid li.vscell div.icon-avi,
     609#file-container ul.vsgrid li.vscell div.icon-wmv {
     610    background-image: url(../../images/icon-set/video.png) !important;
     611}
     612
     613#file-container ul.vsgrid li.vscell div.icon-mp3,
     614#file-container ul.vsgrid li.vscell div.icon-wav {
     615    background-image: url(../../images/icon-set/audio.png) !important;
    401616}
    402617/*------------ File Manager: Grid View ----- */
     
    415630#file-container ul.vsgrid li.vscell div[class^="icon-"]:not([class="icon-directory"]) img:not([src]),
    416631#file-container ul.vsgrid li.vscell div[class^="icon-"]:not([class="icon-directory"]):empty {
    417     background-image: url(../images/icon-set/file.png);
     632    background-image: url(../../images/icon-set/file.png);
    418633}
    419634
     
    463678    background-size: cover;
    464679}
     680
     681/* --------------- Context Menu --------------------*/
     682#context-menu-container .right-arrow {
     683    float: right;
     684    top: 4px;
     685    position: relative;
     686}
     687#context-menu-container ul {
     688    margin:0px;
     689    padding:4px 0;
     690    list-style:none;
     691    min-width:160px;
     692    white-space:nowrap
     693}
     694#context-menu-container ul.menu div.icon-frame {
     695    display: inline-block;
     696    vertical-align: top;
     697    margin-right: 2px;
     698}
     699#context-menu-container ul.menu {
     700    border: 1px solid rgba(61,70,77,0.1);
     701    box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
     702    background: #fff;
     703    border-radius: 5px;
     704    background-clip: padding-box;
     705}
     706#context-menu {
     707    position:fixed;
     708    z-index:501
     709}
     710#context-menu a {
     711    min-width:160px;
     712    margin:0;
     713    padding:8px 10px;
     714    display:block
     715}
     716#context-menu a:hover {
     717    text-decoration:none
     718}
     719#context-menu button {
     720    min-width:160px;
     721    height:100%;
     722    padding:8px 8px;
     723    margin:0;
     724    text-align:left;
     725    vertical-align:middle;
     726    background-color:transparent;
     727    border:none
     728}
     729#context-menu button.disabled {
     730    filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
     731    opacity:0.4
     732}
     733#context-menu a>img {
     734    margin-right:4px
     735}
     736#context-menu a,
     737#context-menu button,
     738#context-menu button div{
     739    cursor:pointer;
     740    color:#222
     741}
     742#context-menu .secondary {
     743    display:none;
     744    position:absolute;
     745    top:-5px;
     746    left:98%;
     747    z-index:20
     748}
     749#context-menu .secondary button {
     750    padding-right:12px
     751}
     752#context-menu li.primary {
     753    position:relative
     754}
     755#context-menu li.action {
     756    height:34px
     757}
     758#context-menu li:hover {
     759    background: #E3F2FF;
     760}
     761#context-menu li:hover > .secondary {
     762    display:block
     763}
Note: See TracChangeset for help on using the changeset viewer.