This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.navigationBarColor = [ UIColor colorWithHexString: @"#1c232c" ]; | |
[[ UINavigationBar appearance ] setTintColor: self.navigationBarColor ]; | |
// in sharing view: | |
[[ UIBarButtonItem appearance ] setTintColor: [ UIColor colorWithHexString: @"#4E565D" ] ]; | |
// tabbar on the bottom: | |
[[ UITabBar appearance ] setTintColor: [ UIColor colorWithHexString: @"#1c232c" ] ]; | |
[[ UITabBar appearance ] setSelectedImageTintColor: [ UIColor colorWithHexString: @"#ffffff" ] ]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
re: | |
Fixed regression in .form-actions background, which was too dark, by adding a new variable @formActionsBackground and changing the color to #f5f5f5 instead of #eee. | |
-- | |
I can tell you that #f5f5f5 is not visible on non Apple screens (i.e. Dell, what the rest of the world uses) | |
Hell, even #eee is not discernable from white on many screens. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Respond test</title> | |
<link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" title="no title" charset="utf-8"> | |
</head> | |
<body> | |
<div id="debugger"> | |
current body width: <span></span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NUMBERING: | |
# number each line of a file (simple left alignment). Using a tab (see | |
# note on '\t' at end of file) instead of space will preserve margins. | |
sed = filename | sed 'N;s/\n/\t/' | |
# number each line of a file (number on left, right-aligned) | |
sed = filename | sed 'N; s/^/ /; s/ *\(.\{6,\}\)\n/\1 /' | |
# number each line of file, but only print numbers if line is not blank |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<php require('file.html')> | |
I'm looking for a system that generates HTML templates from | |
HTML with includes. | |
I'm looking for a way to use includes while still able to send | |
a HTML/CSS/JS package off to a client that can be opened | |
through clicking .html files. | |
The system doesn't have to be PHP based, it can be a shell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here's what I know: | |
* Some apps I make demand to be skinnable/themable. This is so much simpler | |
in CSS than in native iOS code. Instapaper used to make heavy use of webviews | |
for the "reading" part. Not sure if they do now. | |
* I have dabbled in Objective-C and Swift and I can't make an app myself. | |
I can make a full HTML website though, and using things like Wordpress I | |
can make it somewhat dynamic (I am a designer). | |
* UI implementation in iOS is difficult for a non-programmer like me. Straying |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Replace first occurence of comment (the main comment with nothing) | |
// This regex finds all CSS comments as proposed by CSS styleguide | |
// We replace the first one found by an empty sring | |
colors = colors.replace(new RegExp(/[/][*]([^*]|([*]*)[^*/])*[*]+[/]/), '') | |
// This regex finds level 2 CSS comments but provides an extra capturing group for the color category heading | |
// Replace other occurences of C style comment with jade markup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span class="dateGroup"> | |
<select class="input2AN" required> | |
<option>01</option> | |
<!-- All options for days, 01 to 31 -removed for blogpost --> | |
</select> | |
<select class="input2AN" required> | |
<option>01</option> | |
<!-- All options for months, januari to december - removed for blogpost --> | |
</select> | |
<select class="input4AN" required> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span class="dateGroup"> | |
<select class="input2AN" required> | |
<option>01</option> | |
<option>02</option> | |
<option>03</option> | |
<option>04</option> | |
<option>05</option> | |
<option>06</option> | |
<option>07</option> | |
<option>08</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Wolf's Little Store gitignore defaults | |
.sass-cache | |
.DS_Store | |
# This is a template .gitignore file for git-managed WordPress projects. | |
# | |
# Fact: you don't want WordPress core files, or your server-specific | |
# configuration files etc., in your project's repository. You just don't. | |
# |