.app-files .detailsView.disappear { margin-right: -359px; } .app-files .detailsView { position: fixed; width: 350px; top: 44px; /* main header's height */ right: 9px; left: auto; bottom: 0; background-color: white; -webkit-transition: margin-right 300ms; -moz-transition: margin-right 300ms; -o-transition: margin-right 300ms; transition: margin-right 300ms; overflow-x: hidden; overflow-y: auto; } .app-files .detailsView { background: #eee; border-top-left-radius: 3px; border-bottom-left-radius: 3px; box-shadow: 0 2px 3px rgba(50, 50, 50, .4); display: block; z-index: 500; } .app-files .detailsView .detailFileInfoContainer { min-height: 60px; padding: 15px; } .app-files .detailsView .detailFileInfoContainer > div { clear: both; } .app-files .detailsView .mainFileInfoView { margin-right: 20px; /* accomodate for close icon */ } .app-files .detailsView .thumbnail { width: 50px; height: 50px; float: left; margin-right: 10px; background-size: 50px; } .app-files .detailsView .ellipsis { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .app-files .detailsView .fileName { font-weight: bold; font-size: 17px; overflow: hidden; } .app-files .detailsView .detailList { float: left; } .app-files .detailsView .close { position: absolute; top: 0; right: 0; margin: 15px; }