Theming the gTrans block - a .css addition

ica - April 23, 2007 - 05:22
Project:Google Translate
Version:5.x-1.2
Component:User interface
Category:feature request
Priority:normal
Assigned:Omar
Status:closed
Description

Omar thanks for the module, works perfectly

although gTrans block selector form is a bit awkward in terms of style

-to get the language selector form and the submit button on the same line-

i have tried with many themes and the result was the same -i attached a screenshot to show what i mean
i have not much of php skills but i tried to play with the blocks part -that is lines between 64 -104- it did not work

how to hack the block part on the module to get the language selector form and the submit button on the same line? so the block takes less of a space or would the module styled with a simple css addition?

tnx

AttachmentSize
gtrans_screen.png3.48 KB

#1

ica - April 27, 2007 - 17:55
Title:Theming the gTrans block» Theming the gTrans block - a .css addition

here is a my css fix - i found for the my issue above, if you consider a gtrans.css addition to the module

#gtrans-change-language-form {
padding-bottom: 10px;
clear: right;
bottom: 10px;
display: block;
}

#gtrans-change-language-form .form-select {
float: left;
}

#gtrans-change-language-form .form-submit {
margin-left: 10px;
padding-left: 10px;
float: left;
left: 10px;
}

AttachmentSize
gtrans.css_.txt 278 bytes

#2

ica - April 27, 2007 - 17:55
Status:active» needs review

here is a my css fix - i found for the my issue above, if you consider a gtrans.css addition to the module

#gtrans-change-language-form {
padding-bottom: 10px;
clear: right;
bottom: 10px;
display: block;
}

#gtrans-change-language-form .form-select {
float: left;
}

#gtrans-change-language-form .form-submit {
margin-left: 10px;
padding-left: 10px;
float: left;
left: 10px;
}

#3

Omar - May 8, 2007 - 22:46
Assigned to:Anonymous» Omar

#4

Omar - May 8, 2007 - 23:13
Status:needs review» needs work

Thanks ica for the effort.
I will test the CSS file on some browsers and it'll be RTBC soon.

#5

Omar - May 8, 2007 - 23:17

Well, I found its easier and less cost to put the whole form in

<div class="container-inline">
/** The block **/
</div>

Fixed.

#6

Omar - May 8, 2007 - 23:18
Status:needs work» fixed

#7

Omar - May 14, 2007 - 14:00
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.