xml,visual-studio-2013,tags,documentation,themes
have a look at: Tools => Options => Environment => Fonts and Colors => Text Editor => XML Doc Tag Hope it helps :)...
I had the same problem with GtkInspector on Debian Jessie and I solved it by calling terminal and typing next : gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true this enables GtkInspector shorcut buttons just run your application and press Control-Shift-I or Control-Shift-D I hope it helps...
java,swing,jframe,themes,synthetica
Swing GUI objects should be constructed and manipulated only on the event dispatch thread, after you've invoked UIManager.setLookAndFeel(). try { UIManager.setLookAndFeel(new SyntheticaAluOxideLookAndFeel()); } catch (UnsupportedLookAndFeelException e) { e.printStackTrace(); } catch (ParseException e) { e.printStackTrace(); } EventQueue.invokeLater(new Runnable() { public void run() { JFrame frame = new JFrame(); … frame.pack(true); frame.setVisible(true);...
jquery-mobile,themes,themeroller
What you've got there should work. You'll need to include the jquerymobile.js and jquerymobile.css, as well as your theme's css file. Aside from that, you can apply theme directly to parts of a page (either jquerymobile controls, or general page elements) by using the theme related css classes such as...
You can change it in xaml, BTW it is called System Tray not top bar. <phone:PhoneApplicationPage ... xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" shell:SystemTray.IsVisible="True" shell:SystemTray.BackgroundColor="Blue"> ... Hope this helped you...
drupal,plugins,content-management-system,themes,drupal-modules
Themes are (usually) only styling front-end of your site. Drupal by default (must) have users system login/registration form and all other functionality related to users. When you activate your new theme logout and go to page "/user" to see your loging form. There are also "/user/register", "/user/password" and some other...
try this global $wpdb; $result = $wpdb->get_results("select * from `table_name` where column = value"); foreach($result as $results){ echo $results->field1; echo $results->field2; } ...
css,user-interface,javafx,styles,themes
Guigarage provides 3 out-of-the-box styles. AquaFX, a native look & feel for Mac OSX AeroFX, that gives you the look of a Windows Forms app for Windows 7 Flatter, a flat-design gui theme Feel free to complete this list by answering the question....
user-interface,themes,sublimetext3
The class you are looking for is sidebar_container and the property is content_margin. I see in your screenshot that you already know what file you need to look in, but maybe is usefulf for other users to know that you can create a file called Soda Dark 3.sublime-theme inside Packages/User...
Nevermind! I got it working myself, <?xml version='1.0' encoding='utf-8' standalone='yes'?> <feed xmlns='http://www.w3.org/2005/Atom' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:flickr='urn:flickr:user' xmlns:media='http://search.yahoo.com/mrss/'> <title>Fun Feeds</title> <link rel='self' href='[Url of Feed]' /> <entry> <link rel='enclosure' type='image/jpg' href='[Link to Image]' /> <title>[Post Title]</title> <link rel='alternate' type='text/html' href='[Link to...
You are correct. mvn package will build the code in dspace-source/target. ant update will copy the code from dspace-source/target to your installation directory. The maven build is generic and does not know your configuration settings. The ant task will read your configuration settings (which contain the install path). After running...
xaml,silverlight,styles,themes
Chris, you hit the nail on the head with that link! I didn't know there was such a thing as DynamicResource, which lead me to what I am seeking: Silverlight 5’s New Style Data Binding...
python,colors,themes,editor,aptana
Install Eclipse Market Place on Aptana Studio From Eclipse Market Place install Eclipse Color theme Plugin You will find out most of the popular themes after installing plugin.(In Aptana Studio -> Window->Preferences->Appearance->Color Theme). You can also install themes from here by importing themes. To install Eclipse market place on Aptana...
striptags should be used here instead of raw object.content|striptags|slice(0, 50) See fiddle...
There is a very good tutorial here that shows you how to create a register_deactivation_hook for your theme. Wordpress does not have this feature for themes (like plugins) by default, but with a little tweaking your can duplicate the behavior for your theme. For reference, it used to be done...
android,android-fragments,styles,themes
According to my knowledge you can't do that for Dialogs created by System, like the ones in the Preferences but you can change of Dialogs which you create from sratch Here's what I found from another answer : protected AlertDialog(Context context) { this(context, com.android.internal.R.style.Theme_Dialog_Alert); } public Builder(Context context) { this(context,...
synchronization,themes,cluster-computing,ibm,connections
So finally here's the solution: Stopping ALL cluster nodes AND the deployment manager at the same time, then deleting the temp-Folders on ALL nodes AND the deployment manager and starting all nodes again did the trick. Not sure why this was necessary, it shouldn't be in a cluster scenario. Daniel...
I found the issue. I changed the WPML settings and it worked..
ajax,wordpress,themes,wordpress-theming
this code below works for me with posts: $('a.ajax').click(function(event) { $.ajaxSetup({cache:false}); var post_url = $(this).attr("href") + ' #primary-ajax'; nanobar.go(100); $("#portfolio-content").load(post_url,function(){ $(this).addClass('open'); $('body').removeClass('ajax-wait'); }); event.preventDefault(); }); I just tested it for pages and it works too. You will need to tweek it for you needs but this entirely possible!...
install the the theme check plugin and then modify plugins/theme-check/checks/customizer.php file add echo "$file_path: $match "; After this section of code: `if ( false === strpos( $match, 'sanitize_callback' ) && false === strpos( $match, 'sanitize_js_callback' ) ) { $this->error[] = '<span class="tc-lead tc-required">' . __('REQUIRED','theme-check') . '</span>: ' . __(...
The exception is pretty clear : you need to use a theme that inherits from Theme.AppCompat, probably because you are using ActionBarActivity, which requires it as specified in the docs. You can do this : <style name="AcelinkTheme" parent="@android:style/Theme.AppCompat.Light"> <item name="android:actionBarStyle">@style/AcelinkActionBar</item> </style> <!-- ActionBar styles --> <style name="AcelinkActionBar" parent="@android:style/Widget.AppCompat.ActionBar"> <item...
android,xml,dialog,themes,android-5.0-lollipop
Found out I needed to use <item name="android:alertDialogTheme">@style/AlertDialogCustom</item> instead of alertDialogStyle. Don't know why it made a difference, I would have expected either to work, since Style worked all the way up to api 21. I am posting this answer well after I had this question, and the solution I...
Stil, they won't be defined on the imported files, just on the main file, so >compilation will break on the imported files. You see what I mean? Nope? example: mixins.less: .mixin() { color: @color; } variables.less: @color: orange; project.less: @import "mixins"; @import "variables"; p { .mixin(); } Now running...
android,android-intent,themes,preferenceactivity,onbackpressed
if you want to exit from app on BackPress then In onBackPress Use moveTaskToBack(true); finish() and for another ques i can say take some String with intent by putString and then check condition in another activity by If statement .. if it is true then change theme acc to condition.....
php,wordpress,templates,themes,custom-post-type
The rewrite parameter in the arguments you pass to register_post_type determines the permalink for your custom post type archive. https://codex.wordpress.org/Function_Reference/register_post_type Looking at the example in the documentation: $args = array( 'labels' => $labels, 'public' => true, 'publicly_queryable' => true, 'show_ui' => true, 'show_in_menu' => true, 'query_var' => true, 'rewrite' =>...
No you can't, with pure CSS at least. Assuming that your elements share common styles, your CSS would need to be structured like this... #theme-green .thingnumber1, #theme-green .thingnumber2, #theme-green .thingnumber3 { stuff here; } If you wish to do as you suggest in your question you could use a CSS...
android,android-actionbar,styles,themes,appcompat
I would like to be able to use something like the Android Action Bar Style Generator that I mentioned, As is noted on the site, that generator is deprecated, because you do not need it with the AppCompat action bar. If your objective is to provide a custom background...
Might be caching. On your development machine add this to your config.php $CFG->themedesignermode = true; Only do this when designing though, Moodle will be very slow otherwise. Remove it or set it to false when you are finished designing. I wouldn't recommend putting it on a production server. https://docs.moodle.org/28/en/Theme_Designer_Mode...
android,api,themes,action,appcompat
AppCompat should add functionality of the latest API to older APIs when needed. For instance, lollipop added the CardView class, which can be used in older Android APIs when AppCompat is used, with some minor differences (some of the Android L animations may not apply on older versions of Android...
Shortcode comes in fusion core plugin. fusion-core/shortcodes.php findout add_shortcode('youtube', 'shortcode_youtube'); remove frameborder from div under above shortcode....
You can achieve it through code. Obtain the back arrow drawable, modify its color with a filter, and set it as back button. final Drawable upArrow = getResources().getDrawable(R.drawable.abc_ic_ab_back_mtrl_am_alpha); upArrow.setColorFilter(getResources().getColor(R.color.grey), PorterDuff.Mode.SRC_ATOP); getSupportActionBar().setHomeAsUpIndicator(upArrow); ...
javascript,html,wordpress,themes
Thanks all . problem solved that is jquery confiscation
I don't think bootstrap is more or less professional than alternatives. You should certainly clear it with your client. Make it clear to them what the advantages and disadvantages are with using a framework. Tell them if it'll constrain their choices in any way and get their buy in....
When I create a ListView with columns and an ItemsSource, it works (but the colors are messed up, probably a different issue): <ListView x:Name="ListView1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="200" Height="150"> <ListView.View> <GridView> <GridView.Columns> <GridViewColumn DisplayMemberBinding="{Binding A}" /> <GridViewColumn DisplayMemberBinding="{Binding B}" /> </GridView.Columns> </GridView> </ListView.View> </ListView> And in code-behind (of course this is...
html,css,wordpress,header,themes
You can do this with CSS nth child selector as follows: #menu-default li:nth-child(1) a { color: green; } #menu-default li:nth-child(2) a { color: red; } #menu-default li:nth-child(3) a { color: yellow; } #menu-default li:nth-child(4) a { color: orange; } #menu-default li:nth-child(5) a { color: blue; } ...
visual-studio,visual-studio-2013,themes,vssettings
Open Tools > Customize Colors and make a copy of the theme you want to work with, then edit it to get the theme editor open.(Visual hints) Next, go to Tools > Import and Export Settings to install the .vssettings file you downloaded (Details). Follow the prompts to optionally save...
themes,sublimetext,sublimetext3,sidebar
You can manually change the sidebar style by editing Default.sublime-theme. To do this, edit the “sidebar_tree”, “sidebar_heading”, etc classes in Packages/Theme - Default/Default.sublime-theme. You can overrode those defaults by putting this Default.sublime-theme inside the Packages/User folder. From the sublime text menu, selecting “Preferences → Browse Packages…” will take you to...
Add word-wrap: break-word to your posts class .posts { width: 500px; background: #fff; color: #aaa; font-family: 'Gibson', sans-serif; font-size: 12px; margin-bottom: 20px; padding: 10px 10px 10px 10px; text-align: left; -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset; -moz-box-shadow:0 1px 4px rgba(0, 0, 0,...
Printing variable into string works only if the string is in double quotes. Your is in single hence $onlynumbersandletters wont print out. It should look like this: echo '<link rel="stylesheet" type="text/css" href="css/'.$onlynumbersandletters.'.css" />'; Cookies to store this are fine. And for your security concerns. If you plan to use that...
javascript,templates,themes,hexo
Try this: <% site.posts.sort('date', 'desc').limit(8).each(function(post, i){ %> <div id="post-<%=i+1%>" class="post"> <%= post.title %> all the other post tags and content </div> <% }) %> As you can see, there is an additional parameter, i, which means index....
themes,sublimetext,color-scheme,espresso
If you can't find a color scheme there is a nice tm-theme editor to build your own scheme: http://tmtheme-editor.herokuapp.com/#!/editor/theme/Monokai%20Extended%20Mod
Instead of physically swapping CSS stylesheets from the head, why not create a global CSS selector for each of the themes within your stylesheet? You can use onClick or onChange events on the radio buttons to know when they've been changed. You can then use jQuery's addClass and removeClass functions...
You can simply resize vertically the panel by dragging it.
Write this code in the oncreate function of your activity if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { getWindow().setStatusBarColor(Color.parseColor("#0288d1")); } ...
With such code looks good: from Tkinter import * from ttk import * def label(row, column, text): L = Label(root, text=text, anchor='w') L.grid(row=row,column=column,sticky="nw",pady=2,padx=3) def button(root, row, column, text, command): B = Button(root, text=text, command=command, width=15) B.grid(row=row, column=column, sticky="e", pady=4, padx=3) def entry(row, column, insert="", show=""): E = Entry(root, width=32) E.insert(0,...
The first step is understanding Jinja template inheritance. Then you can drill down into the templates as needed. For example, author information in the NotMyIdea theme is located in article_infos.html.
Write a custom route class that you'll use for the route to that controller(s). See the routing chapter of the manual for how to do that. Inside your route you'll implement the logic that checks if the actual controller file you expect is present or not and define a callback....
css,node.js,dojo,themes,customization
Due to the way Dijit themes are traditionally structured, yes, this is intended. claro.css doesn't contain any styles of its own, it simply contains @imports to each individual file which is being compiled by compile.js. Dojo's build system is already capable of flattening CSS imports, so that is the point...
ruby-on-rails,ruby-on-rails-4,themes
What I did is: Create an admin.html.erb layout with the base markup provided in index.html of the SB Admin 2 template Take a look at the js and css files included in the template and put them in their corresponding dirs in vendor/assets Add the corresponding requiere and import in...
android,android-actionbar,themes,appcompat,android-toolbar
Please read this article: http://cyrilmottier.com/2013/05/24/pushing-the-actionbar-to-the-next-level/ There you will find example and tutorial about your questuion And also you can set action bar background like this. private void setActionBar() { getSupportActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM); getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setHomeButtonEnabled(true); getSupportActionBar().setDisplayShowHomeEnabled(true);...
android-activity,android-actionbar,themes
You are no longer using the support ActionBarActivity, but the normal Android Activity. Thats why instead of getSupportActionBar() you have to call getActionBar() supportInvalidateOptionsMenu() you have to call invalidateOptionsMenu() getSupportFragmentManager() you have to call getFragmentManager() and so on.....
The theme can be set in the database by creating a following record: Plugin: Ip Key: theme Value: "Air" //Quotes are important. As this must be json'ed value. Looks like reinstalling would be also not a bad idea....
css,wordpress,themes,blank-space
I've looked a bit over your website. Firstly, you want to remove the 170px right-margin from .content. Than you can edit the width of .sidebar-primary to fit in the space. @media all and (min-width: 1140px) { .site-container .content { right-margin: 10px; } .site-container .sidebar-primary { width: 330px; } } As...
So I was able to fix this by applying a patch to sphinxtheme-readability. There is also a bug report on this. Configuration: My source/conf.py looks like this: import sphinxtheme html_theme = 'readability' html_theme_path = sphinxtheme.get_html_theme_path() Patch: This is the patch I had to apply to sphinxtheme/__init__.py: diff --git a/sphinxtheme/__init__.py b/sphinxtheme/__init__.py...
I hope it helps you.This is style where you can declare your group style, child style , single style ... just like this <style name="Widget.Group" parent="@android:style/Widget"> <item name="android:layout_width">match_parent</item> <item name="android:layout_height">46dp</item> <item name="android:layout_marginLeft">10dp</item> <item name="android:layout_marginRight">10dp</item> <item name="android:layout_marginTop">-1dp</item> <!-- Ensures we don't get a 2 dp top stroke...
wordpress,templates,joomla,themes
I can only confirm that it isn't Joomla or Wordpress from looking at the code. The tidiness of the code suggests to me that it is likely to be a bespoke system or a static site - most CMS systems leave their footprints in the code somewhere. The html/css is...
What "Enable runtime themes" actually does is telling Windows to Enable Visual Styling of the applications via following manifest entry <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> You could also have runtime themes enabled in older Delphi versions using different methods. Delphi 7 included TXPManifest component that...
themes,sublimetext,sublimetext3
It looks like you have only changed the color_scheme, which can be done in the menu, you need to also change the theme in the settings file: Add/edit this to your Preferences: Settings - User { "theme": "Lyte-Dark.sublime-theme", "color_scheme": "Packages/Theme - Lyte/Lyte-Dark/Lyte-Dark.tmTheme", } docs: https://github.com/lytedev/lyte-theme/blob/master/README.md#usage...
android,themes,material-design
Change your res/values/themes.xml in: <style name="Theme.MyTheme" parent="Theme.AppCompat.Light"> <item name="colorPrimary">@color/green</item> <item name="colorPrimaryDark">@color/darkgreen</item> </style> Then remove the same theme (name="Theme.MyTheme") from res/values-v21/themes.xml...
php,magento,templates,widget,themes
For the purposes of this answer I will assume you understand how Magento extensions work, but if not there are many good answers on this topic. Widgets are defined by widget.xml files, so you will need to add a widget.xml file to the etc subdirectory of a new or existing...
javascript,jquery,html5,themes,local-storage
Please remove apostrophe when using the variable name: var name = localStorage.getItem("value"); $('body').css("background-color",name); ...
Your xml , instead of the button that you have, should be like this: <ImageButton android:src="@drawable/yourimagename" android:id="@+id/button1" android:layout_width = "wrap_content" android:layout_height = "wrap_content" android:background="@null" /> If you have any problems just let me know ;)...
android,xml,reference,themes,android-preferences
Fixed it! i just renamed all the styles to inst_theme and referenced them with just @style/inst_theme Moral of the story: Think before you post...
This should work (did not test): attrs.xml <resources> <attr name="customViewBackground" format="reference" /> </resources> styles.xml <style name="MyCustomViewBackground"> ... <item name="android:background">?attr/customViewBackground</item> ... </style> themes.xml <style name="AppTheme.Light" parent="@android:style/Theme.Holo.Light"> ... <item name="customViewBackground">@drawable/half_alpha_white_rounded_background</item> ... </style> <style...
If you want to disable theme update notifications you can do it by changing the Theme Name field in the main style.css, or if you don't wanna change the name the other option is changing its version number to something really high. /* Theme Name: Your Theme Name Author: Your...
android,android-actionbar,styles,themes
change the parent of your Theme.BlinkMessage to Theme.AppCompat.Light. This should fix your : <style name="Theme.Blinkmessage" parent="Theme.AppCompat.Light"> ...
Emacs 24 includes package.el, and I strongly recommend using that to install packages whenever possible. Versions of the Solarized theme are available from MELPA Stable, MELPA, and Marmalade. If you haven't used any of these package repositories yet, you'll need to add one by putting something like this in your...
user-interface,themes,sublimetext3
If you installed Seti_UI through package control, you should be able to change your color scheme and theme by doing the following: Open up your Preferences/Settings - User/ The "color_scheme" and "theme" options in the file should be set like this: { "color_scheme": "Packages/Seti_UI/Scheme/Seti.tmTheme", "theme": "Seti.sublime-theme", } There may be...
I think it might be because your using a pretty old version of jquery mobile, I see you're referencing version 1.2.1, try version 1.4.5.
Test existence of key with isset: if (isset($_GET['page']) && $_GET['page'] == basename(__FILE__) ) { ^^ ...
php,laravel,themes,service-provider
Since Sessions in Laravel5 are initiated in the middleware stack you should create your own middleware and place it in the $middleware array in Kernel.php. This is a sample middleware: class myMiddleware { public function handle($request, Closure $next) { $themeName = \Session::get('themeName', 'NONE'); if(\Theme::exists($themeName)) \Theme::set($themeName); return $next($request); } } your...
The error is pretty self-explanatory, you are trying to create an instance of a class that doesn't exist. On line 244 you have the following: $footerLayout = new $footer(); And before it: //Get selected layout from theme options $footer = stge_get_option('footer-layout'); // Set default in case of not loaded options...
Create two styles. One you already create for all buttons in your application. Now create another style but put the key attribute to it and assign it to your specific buttons. In your App.xaml: <Style TargetType="{x:Type Button}"> <!-- This is for generic button --> <Setter Property="FontSize" Value="12"/> </Style> Now its...
themes,customization,mezzanine,pythonanywhere
Preconditions: 0) Versioning Python 2.7.6. Django 1.6.10 Mezzanine 3.1.10 Moderna v.? (static content) 1) I used PythonAnywhere for hosting 2) I followed this way to install Mezzanine: here, at the bottom there are links to PythonAnywhere specific guides 3) So, initial state is: Mezzanine is deployed, empty, with default theme....
Go to Window > Preferences > Java > Editor > Syntax Coloring. Expand the 'Comments' sections. Selecting the comment type (Multi-line, single-line) will enable the color box on the right hand side. Pick away!...
c++,user-interface,styles,window,themes
Yes, you can do it with the WinAPI. The primary message you care about is WM_NCPAINT. That's what's sent when the non-client areas of a window (e.g., the frame and title bar) need to be painted. Note that by default, rendering of the non-client areas is handled by the desktop...
android,background,themes,appcompat,actionmode
Use ActionMode properties' names without android: prefix.
android,android-actionbar,themes,appcompat
You should use getSupportActionBar() with support library. Moreover, your activity should extend android.support.v7.app.ActionBarActivity, not android.app.Activity
Problem solved: Mage_Catalog_Block_Product_View_Media::isGalleryImageVisible is a method in 1.9.1 and later, while the production environment I am on is 1.9.0.1....
php,wordpress,themes,wordpress-theming,web-deployment-project
May be steps below should do it Make receive.php as template, add <?php /* Template Name: theTemplateName */ ?> at the beginning of template file. Create a page, give it a slug, let say the-receiver, make sure you select theTemplateName as its template. Now, create a form inside single.php, give...
themes,sublimetext,sublimetext3
This turned out to be a problem with non-anti-aliased font rendering on Sublime Text, at a certain font size. In other words, it's a very specialized problem. Switching to an anti-aliased font fixed the problem....
You've got a shed-load of <script> tags being inserted in between your product <li> elements; it looks like they are meant to insert a link to the brand archive page, but they aren't working. Not only are they not working, because they are inserted after some of the product <li>...
Devexpress doesn't supports skinning of regular winforms controls. You need to use their own controls to get the application skinned/themed. For TextBox you use TextEdit, for Button you use SimpleButton and so on. But you can read the skin element colors at runtime and apply yourself. Sample code from the...
c#,css,asp.net-mvc,razor,themes
I got some of it working via dotless just seems a bit old, wondering if its still maintained.
android,radio-button,themes,appearance
You are definitely on the right track. My first guess would have been the theme and style used. I do not believe the version of the Android IDE will have anything to do with this. I would look a little bit more closely at the themes. See if you have...
Try this code. $(document).ready(function () { $('#getintouch').click( function(){ alert('test'); // if( function_exists( 'ninja_forms_display_form' ) ) ninja_forms_display_form( 1 ); }); }); and then still not luck then comment //ninja_forms_display_form( 1 ); and then try...
Broadly speaking, I know of two ways to go about changing a site's style while using one css source (which may or not require multiple files). Define lots of classes .blueBorder, .redBorder etc and using JavaScript, add and remove classes on elements as needed. Or define classes and using JavaScript...