engine/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/table.css

194 lines
4.3 KiB
CSS
Raw Normal View History

.GENTICS_Aloha_Table {
border: 0px solid #AFAFAF;
width: 100%;
box-sizing : none !important;
cursor: default;
}
.GENTICS_Aloha_Table td {
border: 1px solid #AFAFAF;
padding: 1px;
margin: 0;
vertical-align: top;
cursor: text;
}
.GENTICS_Aloha_Table td .GENTICS_Table_Cell_editable {
cursor: text !important;
}
/**
* Hide the border for contenteditables
*/
.GENTICS_Table_Cell_editable,
.GENTICS_Aloha_Table_wrapper {
outline: 0px solid transparent;
}
/* :TODO: make custom cursors visible in IE */
.GENTICS_Aloha_Table tr.GENTICS_Aloha_Table_selectColumn td.GENTICS_Aloha_Table_leftUpperCorner,
.GENTICS_Aloha_Table tr.GENTICS_Aloha_Table_selectColumn td.GENTICS_Aloha_Table_leftUpperCorner:hover {
cursor: default;
background-color: transparent;
}
tr.GENTICS_Aloha_Table_selectColumn td,
td.GENTICS_Aloha_Table_selectRow {
visibility: hidden;
}
.GENTICS_editable_active tr.GENTICS_Aloha_Table_selectColumn td,
.GENTICS_editable_active td.GENTICS_Aloha_Table_selectRow {
visibility: visible;
}
.GENTICS_Aloha_Table tr.GENTICS_Aloha_Table_selectColumn {
height: 10px;
}
.GENTICS_Aloha_Table tr.GENTICS_Aloha_Table_selectColumn td {
cursor: url(down.cur),url(../plugins/table/resources/down.cur),default;
}
/* :TODO: make custom cursors visible in IE */
.GENTICS_Aloha_Table td.GENTICS_Aloha_Table_selectRow {
cursor: url(left.cur),url(../plugins/table/resources/left.cur),default;
}
.GENTICS_Aloha_Table td.GENTICS_Aloha_Table_selectRow,
.GENTICS_Aloha_Table tr.GENTICS_Aloha_Table_selectColumn td {
border: 0;
background-color: #D0D0D0;
font-size: 0.01em;
}
.GENTICS_Aloha_Table td.GENTICS_Aloha_Table_selectRow:hover,
.GENTICS_Aloha_Table tr.GENTICS_Aloha_Table_selectColumn td:hover {
background-color: #C0C0C0;
}
/**
* Create dialog
*/
.GENTICS_Table_Createdialog {
z-index: 99999;
position: absolute;
background-color: #F0F0F0;
border: 1px solid #cccccc;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.GENTICS_Table_Createdialog table {
padding: 0px;
margin: 0px;
}
.GENTICS_Table_Createdialog table td {
margin: 0px;
padding: 0px;
border: 2px solid #AFAFAF;
font-size: 8px;
width: 15px;
height: 15px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.GENTICS_Table_Createdialog table td.hover {
border-color: #1c94c4;
}
.GENTICS_Table_Createdialog #table-size-info {
text-align: center;
font-size: 0.8em;
}
.GENTICS_Aloha_Cell_selected {
background-color: #3399FF !important;
color: #FFF;
}
table td {
height: 100%;
min-height: 100%;
}
div.GENTICS_Table_Cell_editable {
height: 100%;
min-height: 100%;
width: 100%;
z-index: 99999;
}
/*
floating menu buttons
*/
.GENTICS_floatingmenu a.GENTICS_Aloha_addColumnLeft {
background-position: -540px 0;
}
.GENTICS_floatingmenu a:hover.GENTICS_Aloha_addColumnLeft {
background-position: -540px -20px;
}
.GENTICS_floatingmenu .pressed a.GENTICS_Aloha_addColumnLeft {
background-position: -540px -40px;
}
.GENTICS_floatingmenu a.GENTICS_Aloha_addColumnRight {
background-position: -560px 0;
}
.GENTICS_floatingmenu a:hover.GENTICS_Aloha_addColumnRight {
background-position: -560px -20px;
}
.GENTICS_floatingmenu .pressed a.GENTICS_Aloha_addColumnRight {
background-position: -560px -40px;
}
.GENTICS_floatingmenu a.GENTICS_Aloha_addRowBefore {
background-position: -580px 0;
}
.GENTICS_floatingmenu a:hover.GENTICS_Aloha_addRowBefore {
background-position: -580px -20px;
}
.GENTICS_floatingmenu .pressed a.GENTICS_Aloha_addRowBefore {
background-position: -580px -40px;
}
.GENTICS_floatingmenu a.GENTICS_Aloha_addRowAfter {
background-position: -600px 0;
}
.GENTICS_floatingmenu a:hover.GENTICS_Aloha_addRowAfter {
background-position: -600px -20px;
}
.GENTICS_floatingmenu .pressed a.GENTICS_Aloha_addRowAfter {
background-position: -600px -40px;
}
.GENTICS_floatingmenu a.GENTICS_Aloha_deleteRows {
background-position: -620px 0;
}
.GENTICS_floatingmenu a:hover.GENTICS_Aloha_deleteRows {
background-position: -620px -20px;
}
.GENTICS_floatingmenu .pressed a.GENTICS_Aloha_deleteRows {
background-position: -620px -40px;
}
.GENTICS_floatingmenu a.GENTICS_Aloha_deleteColumns {
background-position: -640px 0;
}
.GENTICS_floatingmenu a:hover.GENTICS_Aloha_deleteColumns {
background-position: -640px -20px;
}
.GENTICS_floatingmenu .pressed a.GENTICS_Aloha_deleteColumns {
background-position: -640px -40px;
}