mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
ENHANCEMENT: Changes to styling for linking a document so it works in CMS when adding a link to text
This commit is contained in:
parent
005e0658e7
commit
6ffa85f564
@ -14,15 +14,15 @@
|
||||
.DMSDocumentAddController .ui-tabs ul.ui-tabs-nav li { padding-bottom: 1px; border: 1px solid #C0C0C2; }
|
||||
.DMSDocumentAddController .ui-tabs ul.ui-tabs-nav li a { padding: 8px 20px 8px; }
|
||||
|
||||
#Main_FromtheCMS .document-add-existing input { position: absolute; z-index: 9999; top: 70px; width: 390px; padding: 9px 7px; border-bottom-right-radius: 0; border-top-right-radius: 0; }
|
||||
#Main_FromtheCMS .document-add-existing input[disabled] { color: #C0C0C2; text-shadow: 0 -1px 0 white; background: #EEE; background-image: none; box-shadow: inset 0 1px 8px 0 #C4C4C4; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
|
||||
#Main_FromtheCMS .document-add-existing .TreeDropdownField { border: none; }
|
||||
#Main_FromtheCMS .document-add-existing .treedropdownfield-toggle-panel-link { padding: 5px 9px 9px; border: 1px solid #B3B3B3; float: right; }
|
||||
#Main_FromtheCMS .document-add-existing .treedropdownfield-title { width: auto; }
|
||||
#Main_FromtheCMS .document-add-existing .treedropdownfield-toggle-panel-link a { display: inline-block; top: 4px; position: relative; }
|
||||
#Main_FromtheCMS .document-add-existing .document-list { position: absolute; z-index: 9999; width: 510px; border: 1px solid #DDD; border-top: none; background: #ffffff; display: none; box-shadow: 0 2px 4px 1px #DDD; max-height: 300px; border-radius: 6px; background-clip: padding-box; overflow: scroll; }
|
||||
#Main_FromtheCMS .document-add-existing .document-list ul li { display: block; line-height: 18px; padding: 4px 8px; border: 1px solid #FFF; }
|
||||
#Main_FromtheCMS .document-add-existing .document-list ul li:hover { border: 1px solid #CCC; border-radius: 4px; background: rgba(203, 203, 203, 0.4); }
|
||||
.ss-add .document-add-existing input { position: absolute; z-index: 9999; width: 390px; padding: 9px 7px; border-bottom-right-radius: 0; border-top-right-radius: 0; outline: none; box-sizing: border-box; }
|
||||
.ss-add .document-add-existing input[disabled] { color: #C0C0C2; text-shadow: 0 -1px 0 white; background: #EEE; background-image: none; box-shadow: inset 0 1px 8px 0 #C4C4C4; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
|
||||
.ss-add .document-add-existing .TreeDropdownField { border: none; width: 100%; max-width: 512px; box-sizing: border-box; cursor: pointer; overflow: hidden; }
|
||||
.ss-add .document-add-existing .treedropdownfield-toggle-panel-link { padding: 5px 9px 9px; border: 1px solid #B3B3B3; float: right; }
|
||||
.ss-add .document-add-existing .treedropdownfield-title { width: auto; }
|
||||
.ss-add .document-add-existing .treedropdownfield-toggle-panel-link a { display: inline-block; top: 4px; position: relative; }
|
||||
.ss-add .document-add-existing .document-list { position: absolute; z-index: 9999; width: 510px; border: 1px solid #DDD; border-top: none; background: #ffffff; display: none; box-shadow: 0 2px 4px 1px #DDD; max-height: 300px; border-radius: 6px; background-clip: padding-box; overflow: scroll; }
|
||||
.ss-add .document-add-existing .document-list ul li { display: block; line-height: 18px; padding: 4px 8px; border: 1px solid #FFF; }
|
||||
.ss-add .document-add-existing .document-list ul li:hover { border: 1px solid #CCC; border-radius: 4px; background: rgba(203, 203, 203, 0.4); }
|
||||
|
||||
@-moz-document url-prefix() { #Main_FromtheCMS .document-add-existing input { padding: 10px 7px; } }
|
||||
|
||||
|
@ -57,16 +57,18 @@ $gf_colour_zebra: #F0F4F7;
|
||||
}
|
||||
}
|
||||
|
||||
#Main_FromtheCMS{
|
||||
.ss-add{
|
||||
.document-add-existing{
|
||||
input{
|
||||
position: absolute;
|
||||
z-index: 9999;
|
||||
top: 70px;
|
||||
//top: 70px;
|
||||
width: 390px;
|
||||
padding: 9px 7px;
|
||||
border-bottom-right-radius:0;
|
||||
border-top-right-radius:0;
|
||||
outline:none;
|
||||
box-sizing:border-box;
|
||||
&[disabled]{
|
||||
color: #C0C0C2;
|
||||
text-shadow: 0 -1px 0 #FFF;
|
||||
@ -79,6 +81,11 @@ $gf_colour_zebra: #F0F4F7;
|
||||
}
|
||||
.TreeDropdownField{
|
||||
border:none;
|
||||
width: 100%;
|
||||
max-width: 512px;
|
||||
box-sizing: border-box;
|
||||
cursor:pointer;
|
||||
overflow:hidden;
|
||||
}
|
||||
.treedropdownfield-toggle-panel-link{
|
||||
padding: 5px 9px 9px;
|
||||
|
Loading…
Reference in New Issue
Block a user