themes

Fix Size of Login Box in Drupal Theme

前提是你 提交于 2019-12-24 07:14:32
问题 I've asked this question previously here, and thought it was fixed, however, it is only fixed in firefox. In Safari the login box is now very wide, jutting out over the page contents. Here is what it looks like in Safari, and here is what it looks like in Firefox. I originally went about fixing it by creating a drupal module which changed the input "size" from 15 or to 43. I put my widerlogin.module code up on paste bin here, where a kind person helped me to where I am now. 43 was chosen by

Fix Size of Login Box in Drupal Theme

跟風遠走 提交于 2019-12-24 07:14:03
问题 I've asked this question previously here, and thought it was fixed, however, it is only fixed in firefox. In Safari the login box is now very wide, jutting out over the page contents. Here is what it looks like in Safari, and here is what it looks like in Firefox. I originally went about fixing it by creating a drupal module which changed the input "size" from 15 or to 43. I put my widerlogin.module code up on paste bin here, where a kind person helped me to where I am now. 43 was chosen by

Change Font in Bitmap Style Designer

做~自己de王妃 提交于 2019-12-24 06:06:41
问题 Delphi XE7 provides the "Bitmap Style Designer" tool ('Tools > Bitmap Style Designer') which can be used to edit and create styles for your metro themed applications. Changing graphics and colors for buttons, checkboxes and labels works and looks pretty fly. But how can I change the Font Settings? To be more precise: What can I do to let the font settings take effect on my application? Of course there's a Fonts-Section where custom font-styles, -families, -sizes and so on can be edited, but

Theme-ing applications in Delphi XE

独自空忆成欢 提交于 2019-12-24 05:23:08
问题 Does anyone know if it is possible to apply custom themes to Delphi applications. Example, changing the default colour, font, tab styles, etc. of a whole application (i.e. set of forms) at once. Kind of like css files for webpages. 回答1: Change the color and font of most of the vcl controls is relative easy to do, you can iterate over all the controls of a form and then set the properties Font and Color for each control. Now to customize the drawing of a VCL control you must owner draw each

maximum image width for a wordpress theme (or any theme, really)

◇◆丶佛笑我妖孽 提交于 2019-12-24 04:19:13
问题 In word press, if you upload an image, and let it display in 100%: if it exceeds its containers width, the theme will either: a) be broken, messing up the layout of the page or b) hide the extra width it cant display This is for a non-fluid layout, of course. The solution presented here: http://lorelle.wordpress.com/2006/10/07/the-battle-between-image-width-and-column-width/ p img { padding: 0; max-width: 100%; } #header, #content, #footer, .widget { overflow: hidden; } what this does,

Adjust a Control Template and still respect the Theme of the OS?

巧了我就是萌 提交于 2019-12-24 04:13:06
问题 In WPF how do I modifiy the template for a standard control in a way that it will respect the current Theme of the Operating System later on? If I just "edit a copy" of the template in blend, it will just give me the template of the currently running theme. Is this correct? So when I apply the modified template and run the app on different themes it will always look the same. For custom controls and even for data templates the problem is similar. How do I provide a template that respects all

Error compiling Android app with Material Components and androidX

无人久伴 提交于 2019-12-24 03:39:16
问题 Android application suddenly refuses to build, it returns this error: Android resource linking failed error: resource style/Theme.MaterialComponents.Light.NoActionBar (aka it.duemilanet.icircle:style/Theme.MaterialComponents.Light.NoActionBar) not found. D:\GitLab\iCircleAndroidRMA\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1440: error: style attribute 'attr/colorSecondary (aka it.duemilanet.icircle:attr/colorSecondary)' not found. error: resource

Override typed textblock style for contentpresenter in WPF

这一生的挚爱 提交于 2019-12-24 02:48:09
问题 I have defined the Textblock style that are typed (as opposed to have a key value) so that it applies to all the textblocks. <Style TargetType="{x:Type TextBlock}"> <Setter Property="FontFamily" Value="MyFancyFont"/> <Setter Property="FontSize" Value="13.333" /> <Setter Property="Foreground" Value="Gray" /> </Style> Now I have a, say, TreeViewItem, which I'd like to show as blue background and as white foreground against dark background when it's selected. <!--part of the treeviewitem

Mixing Android widget old & new themes

旧时模样 提交于 2019-12-24 02:02:10
问题 I'm starting my second Android app and find that I would like to mostly use HOLO dark theme for app. EXCEPT for the EditTexts, I would prefer to use the old Gingerbread style ones (looking closer to iOS) with some rounded corner. I'm a bit lost as to how I can achieve this. If anyone could drop some hints or links that would be HIGHLY appreciated 回答1: In your Theme: <style name="myTheme" parent="android:Theme.Holo"> <item name="editTextStyle">@style/MyWidget.EditText</item> </style> <style

Mixing Android widget old & new themes

烈酒焚心 提交于 2019-12-24 02:01:08
问题 I'm starting my second Android app and find that I would like to mostly use HOLO dark theme for app. EXCEPT for the EditTexts, I would prefer to use the old Gingerbread style ones (looking closer to iOS) with some rounded corner. I'm a bit lost as to how I can achieve this. If anyone could drop some hints or links that would be HIGHLY appreciated 回答1: In your Theme: <style name="myTheme" parent="android:Theme.Holo"> <item name="editTextStyle">@style/MyWidget.EditText</item> </style> <style