Skip to content

Commit

Permalink
Removed git stuff out of fancy-settings.
Browse files Browse the repository at this point in the history
Instead tracking every file in this main repo.
  • Loading branch information
soerface committed Sep 16, 2012
1 parent 814ad45 commit 3708d21
Show file tree
Hide file tree
Showing 24 changed files with 8,074 additions and 1 deletion.
1 change: 0 additions & 1 deletion fancy-settings
Submodule fancy-settings deleted from 04dc71
11 changes: 11 additions & 0 deletions fancy-settings/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog

## v1.2 [ API CHANGE! ]
* **Feature**: Added version number to README file
* **Feature**: Added CHANGELOG
* **Feature**: Added alignment support
* **Change**: Removed the possibility to use objects to define options
* **Change**: Changed the default value of "display" in the slider params from true to false
* **Change**: Search doesn't change the DOM structure of settings any more
* **Change**: i18n now returns the string you entered instead of undefined if no translation can be found
* **Bug**: Fixed an issue were the search field had the wrong placeholder when "search" had no translation
502 changes: 502 additions & 0 deletions fancy-settings/LICENSE.txt

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions fancy-settings/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# [Fancy Settings 1.2](https://github.com/frankkohlhepp/fancy-settings)
*Create fancy, chrome-look-alike settings for your Chrome or Safari extension in minutes!*

### Howto
Welcome to Fancy Settings! Are you ready for tabs, groups, search, good style?
Let's get started, it only takes a few minutes...

[Getting started](https://github.com/frankkohlhepp/fancy-settings/wiki)
[View Sample](http://frankkohlhepp.github.com/fancy-settings/)

### License
Fancy Settings is licensed under the **LGPL 2.1**.
For details see *LICENSE.txt*
Binary file added fancy-settings/resources/icon.drawit/Data
Binary file not shown.
8 changes: 8 additions & 0 deletions fancy-settings/resources/icon.drawit/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileVersion</key>
<integer>2</integer>
</dict>
</plist>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
132 changes: 132 additions & 0 deletions fancy-settings/source/css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
/*
// Copyright (c) 2011 Frank Kohlhepp
// https://github.com/frankkohlhepp/fancy-settings
// License: LGPL v2.1
*/
.fancy {
text-shadow: #F5F5F5 0 1px 0;
}

#sidebar {
position: absolute;
background-color: #EDEDED;
background-image: linear-gradient(top, #EDEDED, #F5F5F5);
background-image: -webkit-gradient(
linear,
left top,
left 500,
color-stop(0, #EDEDED),
color-stop(1, #F5F5F5)
);
background-image: -moz-linear-gradient(
center top,
#EDEDED 0%,
#F5F5F5 100%
);
background-image: -o-linear-gradient(top, #EDEDED, #F5F5F5);
width: 219px;
top: 0;
left: 0;
bottom: 0;
border-right: 1px solid #C2C2C2;
box-shadow: inset -8px 0 30px -30px black;
}

#icon {
position: absolute;
width: 30px;
height: 30px;
top: 12px;
left: 12px;
}

#sidebar h1 {
position: absolute;
top: 13px;
right: 25px;
font-size: 26px;
color: #707070;
}

#tab-container {
position: absolute;
top: 50px;
left: 0;
right: 0;
bottom: 0;
overflow-y: auto;
overflow-x: hidden;
text-align: right;
}

#tab-container .tab {
height: 28px;
padding-right: 25px;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
font-size: 12px;
line-height: 28px;
color: #808080;
cursor: pointer;
}

#search-container {
margin-top: 5px;
margin-bottom: 5px;
padding-right: 23px !important;
cursor: default !important;
}

#search-container input {
width: 130px;
}

#tab-container .tab.active, body.searching #search-container {
background-color: #D4D4D4;
border-color: #BFBFBF;
color: black;
text-shadow: #DBDBDB 0 1px 0;
box-shadow: inset -12px 0 30px -30px black;
}

body.searching #tab-container .tab.active {
background-color: transparent;
border-color: transparent;
color: #808080;
text-shadow: inherit;
box-shadow: none;
}

#content {
position: absolute;
top: 0;
left: 220px;
right: 0;
bottom: 0;
overflow: auto;
}

.tab-content {
display: none;
position: absolute;
width: 840px;
top: 0;
left: 0;
bottom: 0;
padding: 20px;
padding-top: 15px;
}

body.searching .tab-content {
display: none !important;
}

body.searching #search-result-container {
display: block !important;
}

body.measuring .tab-content, body.measuring #search-result-container {
display: block !important;
opacity: 0;
overflow: hidden;
}
81 changes: 81 additions & 0 deletions fancy-settings/source/css/setting.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
/*
// Copyright (c) 2011 Frank Kohlhepp
// https://github.com/frankkohlhepp/fancy-settings
// License: LGPL v2.1
*/
.tab-content h2 {
margin: 0;
padding-bottom: 5px;
font-size: 26px;
color: #707070;
line-height: 1;
}

.setting.group {
border-top: 1px solid #EEEEEE;
margin-top: 10px;
padding-top: 5px;
padding-left: 2px;
}

.setting.group-name {
width: 140px;
padding: 0;
font-size: 14px;
font-weight: bold;
vertical-align: top;
}

.setting.bundle {
max-width: 600px;
margin-bottom: 5px;
}

.setting.bundle.list-box {
margin-bottom: 10px;
}

.setting.label.radio-buttons + .setting.container.radio-buttons {
margin-top: 3px;
}

.setting.label, .setting.element-label {
margin-right: 15px;
font-size: 13px;
font-weight: normal;
}

.setting.label.checkbox, .setting.element-label {
margin-left: 5px;
margin-right: 0;
}

.setting.label.checkbox {
position: relative;
top: 1px;
}

.setting.element.slider {
position: relative;
width: 150px;
top: 4px;
}

.setting.element.list-box {
display: block;
height: 100px;
width: 100%;
}

.setting.display.slider {
margin-left: 5px;
color: #666666;
}

#nothing-found {
display: none;
margin-top: 10px;
font-size: 18px;
font-weight: lighter;
color: #999999;
}
4 changes: 4 additions & 0 deletions fancy-settings/source/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/*
// Add your own style rules here, not in css/main.css
// or css/setting.css for easy updating reasons.
*/
42 changes: 42 additions & 0 deletions fancy-settings/source/i18n.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
this.i18n = {
'blocks': {
'en': 'Blocks',
'de': 'Sperren'
},
'block_chat_seen': {
'en': 'Block the ”seen” feature of the chat',
'de': '„Gelesen“ Funktion des Chats blockieren'
},
'block_group_seen': {
'en': 'Block the ”seen” feature in groups',
'de': '„Gelesen“ Funktion in Gruppen blockieren'
},
'block_typing_indicator': {
'en': 'Block the typing indicator of the chat',
'de': '„Schreibt etwas“ Funktion blockieren'
},
'general': {
'en': 'General',
'de': 'Allgemein'
},
'interface': {
'en': 'Interface',
'de': 'Oberfläche'
},
'nothing-found': {
'en': 'No matches were found.',
'de': 'Keine Übereinstimmungen gefunden.'
},
'search': {
'en': 'Search',
'de': 'Suche'
},
'show_mark_as_read': {
'en': 'Show the ”Mark as read” Button (reload of facebook page required)',
'de': '„Als gelesen markieren“ Knopf anzeigen (Neuladen der Facebook Seite erforderlich)'
},
'settings': {
'en': 'Settings',
'de': 'Optionen'
}
};
Binary file added fancy-settings/source/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions fancy-settings/source/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!--
// Copyright (c) 2011 Frank Kohlhepp
// https://github.com/frankkohlhepp/fancy-settings
// License: LGPL v2.1
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title id="title"></title>

<!-- Stylesheets -->
<link id="favicon" rel="icon" href="">
<link rel="stylesheet" href="lib/default.css" media="screen">
<link rel="stylesheet" href="css/main.css" media="screen">
<link rel="stylesheet" href="css/setting.css" media="screen">
<link rel="stylesheet" href="custom.css" media="screen">

<!-- JavaScripts -->
<script src="lib/mootools-core.js"></script>
<script src="lib/store.js"></script>
<script src="js/classes/tab.js"></script>
<script src="js/classes/setting.js"></script>
<script src="js/classes/search.js"></script>
<script src="js/classes/fancy-settings.js"></script>
<script src="i18n.js"></script>
<script src="js/i18n.js"></script>
<script src="manifest.js"></script>
<script src="settings.js"></script>
</head>
<body class="no-select">
<div id="sidebar" class="fancy">
<img id="icon" src="" alt=""><h1 id="settings-label"></h1>
<div id="tab-container">
<div id="search-container" class="tab">
<input id="search" type="search" placeholder="">
</div>
</div>
</div>
<div id="content">
<div id="search-result-container" class="tab-content">
<h2 id="search-label"></h2>
</div>
</div>
</body>
</html>
Loading

0 comments on commit 3708d21

Please sign in to comment.