├── .gitignore ├── README.md ├── css ├── maps │ └── myetherapi-master.min.css.map ├── myetherapi-master.css └── myetherapi-master.min.css ├── fonts ├── Lato-Bold.ttf ├── Lato-Bold.woff ├── Lato-Light.ttf ├── Lato-Light.woff ├── Lato-Regular.ttf └── Lato-Regular.woff ├── gulpfile.js ├── images ├── etherwallet-logo.svg ├── fav │ ├── android-chrome-144x144.png │ ├── android-chrome-192x192.png │ ├── android-chrome-36x36.png │ ├── android-chrome-48x48.png │ ├── android-chrome-72x72.png │ ├── android-chrome-96x96.png │ ├── apple-touch-icon-120x120.png │ ├── apple-touch-icon-152x152.png │ ├── apple-touch-icon-180x180.png │ ├── apple-touch-icon-60x60.png │ ├── apple-touch-icon-76x76.png │ ├── apple-touch-icon-precomposed.png │ ├── apple-touch-icon.png │ ├── browserconfig.xml │ ├── favicon-16x16.png │ ├── favicon-194x194.png │ ├── favicon-32x32.png │ ├── favicon-96x96.png │ ├── favicon.ico │ ├── manifest.json │ ├── mstile-144x144.png │ ├── mstile-150x150.png │ ├── mstile-310x150.png │ ├── mstile-310x310.png │ └── mstile-70x70.png └── favicon.ico ├── index.html ├── js ├── maps │ └── myetherapi-master.min.js.map ├── myetherapi-master.js └── myetherapi-master.min.js ├── package.json ├── src ├── js │ ├── 01-jquery-3.1.1.js │ ├── 02-web3.js │ └── 99-myetherapi-global.js └── less │ ├── bootstrap │ ├── alerts.less │ ├── badges.less │ ├── breadcrumbs.less │ ├── button-groups.less │ ├── buttons.less │ ├── carousel.less │ ├── close.less │ ├── code.less │ ├── component-animations.less │ ├── dropdowns.less │ ├── forms.less │ ├── glyphicons.less │ ├── grid.less │ ├── input-groups.less │ ├── jumbotron.less │ ├── labels.less │ ├── list-group.less │ ├── media.less │ ├── mixins.less │ ├── mixins │ │ ├── alerts.less │ │ ├── background-variant.less │ │ ├── border-radius.less │ │ ├── buttons.less │ │ ├── center-block.less │ │ ├── clearfix.less │ │ ├── forms.less │ │ ├── gradients.less │ │ ├── grid-framework.less │ │ ├── grid.less │ │ ├── hide-text.less │ │ ├── image.less │ │ ├── labels.less │ │ ├── list-group.less │ │ ├── nav-divider.less │ │ ├── nav-vertical-align.less │ │ ├── opacity.less │ │ ├── pagination.less │ │ ├── panels.less │ │ ├── progress-bar.less │ │ ├── reset-filter.less │ │ ├── reset-text.less │ │ ├── resize.less │ │ ├── responsive-visibility.less │ │ ├── size.less │ │ ├── tab-focus.less │ │ ├── table-row.less │ │ ├── text-emphasis.less │ │ ├── text-overflow.less │ │ └── vendor-prefixes.less │ ├── modals.less │ ├── navbar.less │ ├── navs.less │ ├── normalize.less │ ├── pager.less │ ├── pagination.less │ ├── panels.less │ ├── popovers.less │ ├── print.less │ ├── progress-bars.less │ ├── responsive-embed.less │ ├── responsive-utilities.less │ ├── scaffolding.less │ ├── tables.less │ ├── theme.less │ ├── thumbnails.less │ ├── tooltip.less │ ├── type.less │ ├── utilities.less │ └── wells.less │ ├── myetherapi-custom.less │ ├── myetherapi-fonts.less │ ├── myetherapi-master.less │ ├── myetherapi-nav.less │ ├── myetherapi-utilities.less │ └── myetherapi-variables.less └── styleguide.htm /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | 6 | # Runtime data 7 | pids 8 | *.pid 9 | *.seed 10 | 11 | # Directory for instrumented libs generated by jscoverage/JSCover 12 | lib-cov 13 | 14 | # Coverage directory used by tools like istanbul 15 | coverage 16 | 17 | # nyc test coverage 18 | .nyc_output 19 | 20 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 21 | .grunt 22 | 23 | # node-waf configuration 24 | .lock-wscript 25 | 26 | # Compiled binary addons (http://nodejs.org/api/addons.html) 27 | build/Release 28 | 29 | # Dependency directories 30 | node_modules 31 | jspm_packages 32 | 33 | # Optional npm cache directory 34 | .npm 35 | 36 | # Optional REPL history 37 | .node_repl_history 38 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## MyEtherAPI: An API by MyEtherWallet 2 | - https://www.myetherapi.com/ 3 | - Finally, we've evolved to (sorta) have an API WITH documentation 4 | 5 | --- 6 | 7 | ### The Basics 8 | 9 | #### Endpoints 10 | - **ETH**: https://api.myetherapi.com/eth, Parity, Supports EIP-155, ChainID=1 11 | - **Ropsten**: https://api.myetherapi.com/rop, Parity, Supports EIP-155, 3 12 | 13 | #### Call Types 14 | - **JSON RPC Methods**: https://github.com/ethereum/wiki/wiki/JSON-RPC#json-rpc-methods 15 | - **Web3**: web3.setProvider(new web3.providers.HttpProvider('PUT_ENDPOINT_URL_HERE') 16 | 17 | #### All The Calls 18 | - [https://www.myetherapi.com/](https://www.myetherapi.com/) 19 | 20 | If you are looking for very intense setup or most customizable stuff, we highly recommend just spinning up your own AWS clone of what we've done: https://github.com/MyEtherWallet/docker-geth-lb. 21 | 22 | --- 23 | 24 | ### Contact 25 | 26 | ##### On the Web • [MyEtherWallet.com](https://www.MyEtherWallet.com) • [Sign Message](https://www.myetherwallet.com/signmsg.html) 27 | 28 | ##### Github • [MyEtherWallet v3](https://github.com/kvhnuke/etherwallet) • [MyEtherWallet Organization](https://github.com/MyEtherWallet) 29 | 30 | ##### Chrome Extension • [MyEtherWallet CX](https://chrome.google.com/webstore/detail/myetherwallet-cx/nlbmnnijcnlegkjjpcfjclmcfggfefdm?hl=en) • [EAL CX (anti-phishing)](https://chrome.google.com/webstore/detail/etheraddresslookup/pdknmigbbbhmllnmgdfalmedcmcefdfn) 31 | 32 | ##### Help • [Knowledge Base](https://myetherwallet.groovehq.com/help_center) • [Email Suppport](mailto:support@myetherwallet.com) • [Helpful Utils & ENS Debugging](https://www.myetherwallet.com/helpers.html) 33 | 34 | ##### Social: [Facebook](https://www.facebook.com/MyEtherWallet/) • [Linkedin](https://www.linkedin.com/company/myetherwallet) • [Medium](https://medium.com/@myetherwallet) • [Reddit](https://www.reddit.com/r/MyEtherWallet/) • [Slack](https://myetherwallet.herokuapp.com/) • [Twitter](https://twitter.com/myetherwallet) 35 | 36 | --- 37 | 38 | [Be safe & secure & always back up your keys.](https://myetherwallet.groovehq.com/knowledge_base/topics/protecting-yourself-and-your-funds) 39 | 40 | MIT License Copyright © 2015-2017 MyEtherWallet LLC 41 | -------------------------------------------------------------------------------- /fonts/Lato-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/fonts/Lato-Bold.ttf -------------------------------------------------------------------------------- /fonts/Lato-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/fonts/Lato-Bold.woff -------------------------------------------------------------------------------- /fonts/Lato-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/fonts/Lato-Light.ttf -------------------------------------------------------------------------------- /fonts/Lato-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/fonts/Lato-Light.woff -------------------------------------------------------------------------------- /fonts/Lato-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/fonts/Lato-Regular.ttf -------------------------------------------------------------------------------- /fonts/Lato-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/fonts/Lato-Regular.woff -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | /* Global */ 2 | var autoprefixer = require('gulp-autoprefixer'); 3 | var cssnano = require('gulp-cssnano'); 4 | var gulp = require('gulp'); 5 | var gulpConcat = require('gulp-concat'); 6 | var imagemin = require('gulp-imagemin'); 7 | var less = require('gulp-less'); 8 | var notify = require('gulp-notify'); 9 | var plumber = require('gulp-plumber'); 10 | var rename = require('gulp-rename'); 11 | var sourcemaps = require('gulp-sourcemaps'); 12 | var uglify = require('gulp-uglify'); 13 | 14 | /* Errors */ 15 | function onError( error ){ 16 | notify.onError( { 17 | title: "Gulp", 18 | subtitle: "Failure!", 19 | message: "Error: <%= error.message %>", 20 | sound: "Beep" 21 | } )( error ); 22 | this.emit('end'); 23 | } 24 | 25 | 26 | /* Copy & Optimize Images */ 27 | gulp.task('images', function() { 28 | return gulp.src('./images/*') 29 | .pipe(plumber({ errorHandler: onError })) 30 | .pipe(imagemin({ progressive: true, optimizationLevel: 6 })) 31 | .pipe(gulp.dest('./images')) 32 | .pipe(notify({ message: 'Images Optimized & Copied', onLast: true })) 33 | }); 34 | 35 | 36 | /* Compile Less */ 37 | gulp.task('less', function() { 38 | return gulp.src('./src/less/myetherapi-master.less') 39 | .pipe(plumber({ errorHandler: onError })) 40 | .pipe( sourcemaps.init() ) 41 | .pipe(less('compress: false')) 42 | .pipe( autoprefixer({ 43 | browsers: ['last 3 versions', 'iOS > 7'], remove: false 44 | } ) ) 45 | .pipe(rename('myetherapi-master.css')) 46 | .pipe(gulp.dest('./css')) 47 | .pipe( cssnano({ 48 | autoprefixer: false, 49 | safe: true 50 | } ) ) 51 | .pipe(rename('myetherapi-master.min.css')) 52 | .pipe(sourcemaps.write( '../css/maps/' )) 53 | .pipe(gulp.dest('./css')) 54 | .pipe(notify('Less Compiled, Prefixed, & Minified')); 55 | }); 56 | 57 | 58 | /* Concat & Uglify JS */ 59 | gulp.task('js', function() { 60 | return gulp.src('./src/js/*.js') 61 | .pipe(plumber({ errorHandler: onError })) 62 | .pipe( sourcemaps.init() ) 63 | .pipe(gulpConcat('myetherapi-master.js')) 64 | .pipe(gulp.dest('./js')) 65 | .pipe(uglify()) 66 | .pipe(rename('myetherapi-master.min.js')) 67 | .pipe(sourcemaps.write( '../js/maps/' ) ) 68 | .pipe(gulp.dest('./js')) 69 | .pipe(notify('JS Concatonated & Uglified')) 70 | }); 71 | 72 | /* Watch Folders */ 73 | var imgWatch = './images/*'; 74 | var lessWatch = './src/less/**/*.less'; 75 | var jsWatch = './src/js/*.js'; 76 | 77 | gulp.task('watch', function() { 78 | gulp.watch(imgWatch, ['images']); 79 | gulp.watch(lessWatch, ['less']); 80 | gulp.watch(jsWatch, ['js']); 81 | }); 82 | 83 | gulp.task('default', ['less', 'js', 'watch']); 84 | gulp.task('build', ['images', 'less', 'js']); 85 | -------------------------------------------------------------------------------- /images/etherwallet-logo.svg: -------------------------------------------------------------------------------- 1 | etherwallet-logo -------------------------------------------------------------------------------- /images/fav/android-chrome-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/android-chrome-144x144.png -------------------------------------------------------------------------------- /images/fav/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/android-chrome-192x192.png -------------------------------------------------------------------------------- /images/fav/android-chrome-36x36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/android-chrome-36x36.png -------------------------------------------------------------------------------- /images/fav/android-chrome-48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/android-chrome-48x48.png -------------------------------------------------------------------------------- /images/fav/android-chrome-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/android-chrome-72x72.png -------------------------------------------------------------------------------- /images/fav/android-chrome-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/android-chrome-96x96.png -------------------------------------------------------------------------------- /images/fav/apple-touch-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/apple-touch-icon-120x120.png -------------------------------------------------------------------------------- /images/fav/apple-touch-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/apple-touch-icon-152x152.png -------------------------------------------------------------------------------- /images/fav/apple-touch-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/apple-touch-icon-180x180.png -------------------------------------------------------------------------------- /images/fav/apple-touch-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/apple-touch-icon-60x60.png -------------------------------------------------------------------------------- /images/fav/apple-touch-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/apple-touch-icon-76x76.png -------------------------------------------------------------------------------- /images/fav/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/apple-touch-icon-precomposed.png -------------------------------------------------------------------------------- /images/fav/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/apple-touch-icon.png -------------------------------------------------------------------------------- /images/fav/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | #2e4868 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /images/fav/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/favicon-16x16.png -------------------------------------------------------------------------------- /images/fav/favicon-194x194.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/favicon-194x194.png -------------------------------------------------------------------------------- /images/fav/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/favicon-32x32.png -------------------------------------------------------------------------------- /images/fav/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/favicon-96x96.png -------------------------------------------------------------------------------- /images/fav/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/favicon.ico -------------------------------------------------------------------------------- /images/fav/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "My app", 3 | "icons": [ 4 | { 5 | "src": "\/fav\/android-chrome-36x36.png", 6 | "sizes": "36x36", 7 | "type": "image\/png", 8 | "density": "0.75" 9 | }, 10 | { 11 | "src": "\/fav\/android-chrome-48x48.png", 12 | "sizes": "48x48", 13 | "type": "image\/png", 14 | "density": "1.0" 15 | }, 16 | { 17 | "src": "\/fav\/android-chrome-72x72.png", 18 | "sizes": "72x72", 19 | "type": "image\/png", 20 | "density": "1.5" 21 | }, 22 | { 23 | "src": "\/fav\/android-chrome-96x96.png", 24 | "sizes": "96x96", 25 | "type": "image\/png", 26 | "density": "2.0" 27 | }, 28 | { 29 | "src": "\/fav\/android-chrome-144x144.png", 30 | "sizes": "144x144", 31 | "type": "image\/png", 32 | "density": "3.0" 33 | }, 34 | { 35 | "src": "\/fav\/android-chrome-192x192.png", 36 | "sizes": "192x192", 37 | "type": "image\/png", 38 | "density": "4.0" 39 | } 40 | ] 41 | } 42 | -------------------------------------------------------------------------------- /images/fav/mstile-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/mstile-144x144.png -------------------------------------------------------------------------------- /images/fav/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/mstile-150x150.png -------------------------------------------------------------------------------- /images/fav/mstile-310x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/mstile-310x150.png -------------------------------------------------------------------------------- /images/fav/mstile-310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/mstile-310x310.png -------------------------------------------------------------------------------- /images/fav/mstile-70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/fav/mstile-70x70.png -------------------------------------------------------------------------------- /images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/images/favicon.ico -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | MyEtherAPI: An API by MyEtherWallet 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 |
33 |
34 |
35 | MyEtherAPI 36 |
An API by MyEtherWallet · v0.0.1
37 |
38 |
39 |
40 |
41 |

Endpoints

42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 |
Name Endpoint Type EIP-155 Chain ID
ETH https://api.myetherapi.com/eth Parity TRUE 1
Ropsten https://api.myetherapi.com/rop Parity TRUE 3
69 |

Calls

70 | 71 | 72 | 73 | 76 | 79 | 80 | 81 | 82 | 83 | 86 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
74 | This Stuff 75 | 77 | More Info 78 |
84 | JSON RPC Methods 85 | 87 | https://github.com/ethereum/wiki/wiki/JSON-RPC#json-rpc-methods 88 |
Web3 web3.setProvider(new web3.providers.HttpProvider('PUT_ENDPOINT_URL_HERE')
96 |
Allowed Methods
97 |

 98 |     web3_clientVersion
 99 |     web3_sha3
100 |     net_version
101 |     net_peerCount
102 |     eth_protocolVersion
103 |     eth_syncing
104 |     eth_gasPrice
105 |     eth_blockNumber
106 |     eth_getBalance
107 |     eth_getStorageAt
108 |     eth_getTransactionCount
109 |     eth_getBlockTransactionCountByHash
110 |     eth_getBlockTransactionCountByNumber
111 |     eth_getUncleCountByBlockHash
112 |     eth_getUncleCountByBlockNumber
113 |     eth_getCode
114 |     eth_sendRawTransaction
115 |     eth_call
116 |     eth_estimateGas
117 |     eth_getBlockByHash
118 |     eth_getBlockByNumber
119 |     eth_getTransactionByHash
120 |     eth_getTransactionByBlockHashAndIndex
121 |     eth_getTransactionByBlockNumberAndIndex
122 |     eth_getTransactionReceipt
123 |     eth_getUncleByBlockHashAndIndex
124 |     eth_getUncleByBlockNumberAndIndex
125 |     eth_getCompilers
126 |     eth_compileSolidity
127 |     eth_newFilter
128 |     eth_newBlockFilter
129 |     eth_newPendingTransactionFilter
130 |     eth_uninstallFilter
131 |     eth_getFilterChanges
132 |     eth_getFilterLogs
133 |     eth_getLogs
134 |     trace_call
135 |     trace_rawTransaction
136 |     trace_replayTransaction
137 |     trace_filter
138 |     trace_get
139 |     trace_transaction
140 |     trace_block
141 |   
142 |

Examples: JSON RPC

143 |
Example 1
144 |

145 |     // Request
146 |     curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getBalance","params":["0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8", "latest"],"id":1}' https://api.myetherapi.com/eth
147 | 
148 |     // Result
149 |     {
150 |       "id":1,
151 |       "jsonrpc": "2.0",
152 |       "result": "0x231d5cd577654ceab3" // 647751843213568961203
153 |     }
154 |   
155 |

Examples: Web3

156 |
Example 1
157 |

158 |     var web3 = new Web3();
159 |     web3.setProvider(new web3.providers.HttpProvider('https://api.myetherapi.com/eth'));
160 |     web3.eth.getBalance("0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8").toString();
161 | 
162 |     //Result
163 |     "647751843213568961203"  
164 |       
165 |
Example 2
166 |

167 |     var web3 = new Web3();
168 |     web3.setProvider(new web3.providers.HttpProvider('https://api.myetherapi.com/eth'));
169 |     var filter = web3.eth.filter('pending');
170 |     filter.watch(function(error, result) {
171 |       if (!error) {
172 |         web3.eth.getTransaction(result, function(error, data) {
173 |           if (!error) $("#newTxs tr:first").after(''+data.from+''+data.to+' '+web3.fromWei(data.value,'ether').toString()+' ETH ');
174 |         });
175 |       }
176 |     });
177 | 
178 |     //Result
179 |     //checkout latest transactions below, it might take a second to load as it is waiting for incoming txs
180 |       
181 |

Latest Transactions

182 |
183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 |
From To Value
192 |
193 |
Example 3
194 |

195 |     var web3 = new Web3();
196 |     web3.setProvider(new web3.providers.HttpProvider('https://api.myetherapi.com/eth'));
197 |     var filter = web3.eth.filter('latest');
198 |     filter.watch(function(error, result) {
199 |       if (!error) {
200 |         web3.eth.Block(result, function(error, data) {
201 |           if (!error) $("#newBlocks tr:first").after(''+data.hash.substr(0,20)+'...'+data.number+' '+data.miner+' '+data.uncles.length+'');
202 |         });
203 |       }
204 |     });
205 | 
206 |     //Result
207 |     //checkout latest Blocks below, it might take a second to load as it is waiting for new Blocks
208 |       
209 |

Latest Blocks

210 |
211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 |
Hash Block # Miner # Transactions
221 |
222 | 241 |

Support

242 |

Contact your friendly tayvano any time, she'll be super excited to help you :)

243 |
244 | 270 | 271 | 272 | 273 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "myetherapi", 3 | "version": "0.2.0", 4 | "description": "", 5 | "main": "gulpfile.js", 6 | "dependencies": { 7 | "gulp": "^3.9.1", 8 | "gulp-autoprefixer": "^3.1.0", 9 | "gulp-concat": "^2.6.0", 10 | "gulp-cssnano": "^2.1.2", 11 | "gulp-imagemin": "^2.4.0", 12 | "gulp-less": "^3.0.5", 13 | "gulp-notify": "^2.2.0", 14 | "gulp-plumber": "^1.1.0", 15 | "gulp-rename": "^1.2.2", 16 | "gulp-sourcemaps": "^1.6.0", 17 | "gulp-uglify": "^1.5.3" 18 | }, 19 | "author": "MyEtherWallet", 20 | "license": "ISC" 21 | } 22 | -------------------------------------------------------------------------------- /src/js/99-myetherapi-global.js: -------------------------------------------------------------------------------- 1 | var web3 = new Web3(); 2 | web3.setProvider(new web3.providers.HttpProvider('https://api.myetherapi.com/eth')); 3 | var filter = web3.eth.filter('pending'); 4 | filter.watch(function(error, result) { 5 | if (!error) { 6 | web3.eth.getTransaction(result, function(error, data) { 7 | if (!error) 8 | $("#newTxs tr:first").after(''+data.from+''+data.to+' '+web3.fromWei(data.value,'ether').toString()+' ETH '); 9 | }); 10 | } 11 | }); 12 | var filter2 = web3.eth.filter('latest'); 13 | filter2.watch(function(error, result) { 14 | if (!error) { 15 | web3.eth.getBlock(result, function(error, data) { 16 | if (!error) 17 | $("#newBlocks tr:first").after(''+data.hash.substr(0,20)+'...'+data.number+' '+data.miner+' '+data.transactions.length+''); 18 | }); 19 | } 20 | }); 21 | 22 | -------------------------------------------------------------------------------- /src/less/bootstrap/alerts.less: -------------------------------------------------------------------------------- 1 | // 2 | // Alerts 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // ------------------------- 8 | .alert { 9 | padding: @alert-padding; 10 | margin-bottom: @line-height-computed; 11 | border: 1px solid transparent; 12 | border-radius: @alert-border-radius; 13 | 14 | // Headings for larger alerts 15 | h4 { 16 | margin-top: 0; 17 | // Specified for the h4 to prevent conflicts of changing @headings-color 18 | color: inherit; 19 | } 20 | 21 | // Provide class for links that match alerts 22 | .alert-link { 23 | font-weight: @alert-link-font-weight; 24 | } 25 | 26 | // Improve alignment and spacing of inner content 27 | > p, 28 | > ul { 29 | margin-bottom: 0; 30 | } 31 | 32 | > p + p { 33 | margin-top: 5px; 34 | } 35 | } 36 | 37 | // Dismissible alerts 38 | // 39 | // Expand the right padding and account for the close button's positioning. 40 | 41 | .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0. 42 | .alert-dismissible { 43 | padding-right: (@alert-padding + 20); 44 | 45 | // Adjust close link position 46 | .close { 47 | position: relative; 48 | top: -2px; 49 | right: -21px; 50 | color: inherit; 51 | } 52 | } 53 | 54 | // Alternate styles 55 | // 56 | // Generate contextual modifier classes for colorizing the alert. 57 | 58 | .alert-success { 59 | .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text); 60 | } 61 | 62 | .alert-info { 63 | .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text); 64 | } 65 | 66 | .alert-warning { 67 | .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text); 68 | } 69 | 70 | .alert-danger { 71 | .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text); 72 | } 73 | -------------------------------------------------------------------------------- /src/less/bootstrap/badges.less: -------------------------------------------------------------------------------- 1 | // 2 | // Badges 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .badge { 8 | display: inline-block; 9 | min-width: 10px; 10 | padding: 3px 7px; 11 | font-size: @font-size-small; 12 | font-weight: @badge-font-weight; 13 | color: @badge-color; 14 | line-height: @badge-line-height; 15 | vertical-align: middle; 16 | white-space: nowrap; 17 | text-align: center; 18 | background-color: @badge-bg; 19 | border-radius: @badge-border-radius; 20 | 21 | // Empty badges collapse automatically (not available in IE8) 22 | &:empty { 23 | display: none; 24 | } 25 | 26 | // Quick fix for badges in buttons 27 | .btn & { 28 | position: relative; 29 | top: -1px; 30 | } 31 | 32 | .btn-xs &, 33 | .btn-group-xs > .btn & { 34 | top: 0; 35 | padding: 1px 5px; 36 | } 37 | 38 | // Hover state, but only for links 39 | a& { 40 | &:hover, 41 | &:focus { 42 | color: @badge-link-hover-color; 43 | text-decoration: none; 44 | cursor: pointer; 45 | } 46 | } 47 | 48 | // Account for badges in navs 49 | .list-group-item.active > &, 50 | .nav-pills > .active > a > & { 51 | color: @badge-active-color; 52 | background-color: @badge-active-bg; 53 | } 54 | 55 | .list-group-item > & { 56 | float: right; 57 | } 58 | 59 | .list-group-item > & + & { 60 | margin-right: 5px; 61 | } 62 | 63 | .nav-pills > li > a > & { 64 | margin-left: 3px; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /src/less/bootstrap/breadcrumbs.less: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal; 8 | margin-bottom: @line-height-computed; 9 | list-style: none; 10 | background-color: @breadcrumb-bg; 11 | border-radius: @border-radius-base; 12 | 13 | > li { 14 | display: inline-block; 15 | 16 | + li:before { 17 | content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space 18 | padding: 0 5px; 19 | color: @breadcrumb-color; 20 | } 21 | } 22 | 23 | > .active { 24 | color: @breadcrumb-active-color; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/less/bootstrap/button-groups.less: -------------------------------------------------------------------------------- 1 | // 2 | // Button groups 3 | // -------------------------------------------------- 4 | 5 | // Make the div behave like a button 6 | .btn-group, 7 | .btn-group-vertical { 8 | position: relative; 9 | display: inline-block; 10 | vertical-align: middle; // match .btn alignment given font-size hack above 11 | margin-bottom: 5px; 12 | > .btn { 13 | position: relative; 14 | float: left; 15 | // Bring the "active" button to the front 16 | &:hover, 17 | &:focus, 18 | &:active, 19 | &.active { 20 | z-index: 2; 21 | } 22 | } 23 | } 24 | 25 | // Prevent double borders when buttons are next to each other 26 | .btn-group { 27 | .btn + .btn, 28 | .btn + .btn-group, 29 | .btn-group + .btn, 30 | .btn-group + .btn-group { 31 | margin-left: -1px; 32 | } 33 | } 34 | 35 | // Optional: Group multiple button groups together for a toolbar 36 | .btn-toolbar { 37 | margin-left: -5px; // Offset the first child's margin 38 | &:extend(.clearfix all); 39 | 40 | .btn, 41 | .btn-group, 42 | .input-group { 43 | float: left; 44 | } 45 | > .btn, 46 | > .btn-group, 47 | > .input-group { 48 | margin-left: 5px; 49 | } 50 | } 51 | 52 | .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { 53 | border-radius: 0; 54 | } 55 | 56 | // Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match 57 | .btn-group > .btn:first-child { 58 | margin-left: 0; 59 | &:not(:last-child):not(.dropdown-toggle) { 60 | .border-right-radius(0); 61 | } 62 | } 63 | // Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it 64 | .btn-group > .btn:last-child:not(:first-child), 65 | .btn-group > .dropdown-toggle:not(:first-child) { 66 | .border-left-radius(0); 67 | } 68 | 69 | // Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group) 70 | .btn-group > .btn-group { 71 | float: left; 72 | } 73 | .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { 74 | border-radius: 0; 75 | } 76 | .btn-group > .btn-group:first-child:not(:last-child) { 77 | > .btn:last-child, 78 | > .dropdown-toggle { 79 | .border-right-radius(0); 80 | } 81 | } 82 | .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { 83 | .border-left-radius(0); 84 | } 85 | 86 | // On active and open, don't show outline 87 | .btn-group .dropdown-toggle:active, 88 | .btn-group.open .dropdown-toggle { 89 | outline: 0; 90 | } 91 | 92 | 93 | // Sizing 94 | // 95 | // Remix the default button sizing classes into new ones for easier manipulation. 96 | 97 | .btn-group-xs > .btn { &:extend(.btn-xs); } 98 | .btn-group-sm > .btn { &:extend(.btn-sm); } 99 | .btn-group-lg > .btn { &:extend(.btn-lg); } 100 | 101 | 102 | // Split button dropdowns 103 | // ---------------------- 104 | 105 | // Give the line between buttons some depth 106 | .btn-group > .btn + .dropdown-toggle { 107 | padding-left: 8px; 108 | padding-right: 8px; 109 | } 110 | .btn-group > .btn-lg + .dropdown-toggle { 111 | padding-left: 12px; 112 | padding-right: 12px; 113 | } 114 | 115 | // The clickable button for toggling the menu 116 | // Remove the gradient and set the same inset shadow as the :active state 117 | .btn-group.open .dropdown-toggle { 118 | .box-shadow(inset 0 3px 5px rgba(0,0,0,.125)); 119 | 120 | // Show no shadow for `.btn-link` since it has no other button styles. 121 | &.btn-link { 122 | .box-shadow(none); 123 | } 124 | } 125 | 126 | 127 | // Reposition the caret 128 | .btn .caret { 129 | margin-left: 0; 130 | } 131 | // Carets in other button sizes 132 | .btn-lg .caret { 133 | border-width: @caret-width-large @caret-width-large 0; 134 | border-bottom-width: 0; 135 | } 136 | // Upside down carets for .dropup 137 | .dropup .btn-lg .caret { 138 | border-width: 0 @caret-width-large @caret-width-large; 139 | } 140 | 141 | 142 | // Vertical button groups 143 | // ---------------------- 144 | 145 | .btn-group-vertical { 146 | > .btn, 147 | > .btn-group, 148 | > .btn-group > .btn { 149 | display: block; 150 | float: none; 151 | width: 100%; 152 | max-width: 100%; 153 | } 154 | 155 | // Clear floats so dropdown menus can be properly placed 156 | > .btn-group { 157 | &:extend(.clearfix all); 158 | > .btn { 159 | float: none; 160 | } 161 | } 162 | 163 | > .btn + .btn, 164 | > .btn + .btn-group, 165 | > .btn-group + .btn, 166 | > .btn-group + .btn-group { 167 | margin-top: -1px; 168 | margin-left: 0; 169 | } 170 | } 171 | 172 | .btn-group-vertical > .btn { 173 | &:not(:first-child):not(:last-child) { 174 | border-radius: 0; 175 | } 176 | &:first-child:not(:last-child) { 177 | border-top-right-radius: @btn-border-radius-base; 178 | .border-bottom-radius(0); 179 | } 180 | &:last-child:not(:first-child) { 181 | border-bottom-left-radius: @btn-border-radius-base; 182 | .border-top-radius(0); 183 | } 184 | } 185 | .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { 186 | border-radius: 0; 187 | } 188 | .btn-group-vertical > .btn-group:first-child:not(:last-child) { 189 | > .btn:last-child, 190 | > .dropdown-toggle { 191 | .border-bottom-radius(0); 192 | } 193 | } 194 | .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { 195 | .border-top-radius(0); 196 | } 197 | 198 | 199 | // Justified button groups 200 | // ---------------------- 201 | 202 | .btn-group-justified { 203 | display: table; 204 | width: 100%; 205 | table-layout: fixed; 206 | border-collapse: separate; 207 | > .btn, 208 | > .btn-group { 209 | float: none; 210 | display: table-cell; 211 | width: 1%; 212 | } 213 | > .btn-group .btn { 214 | width: 100%; 215 | } 216 | 217 | > .btn-group .dropdown-menu { 218 | left: auto; 219 | } 220 | } 221 | 222 | 223 | // Checkbox and radio options 224 | // 225 | // In order to support the browser's form validation feedback, powered by the 226 | // `required` attribute, we have to "hide" the inputs via `clip`. We cannot use 227 | // `display: none;` or `visibility: hidden;` as that also hides the popover. 228 | // Simply visually hiding the inputs via `opacity` would leave them clickable in 229 | // certain cases which is prevented by using `clip` and `pointer-events`. 230 | // This way, we ensure a DOM element is visible to position the popover from. 231 | // 232 | // See https://github.com/twbs/bootstrap/pull/12794 and 233 | // https://github.com/twbs/bootstrap/pull/14559 for more information. 234 | 235 | [data-toggle="buttons"] { 236 | > .btn, 237 | > .btn-group > .btn { 238 | input[type="radio"], 239 | input[type="checkbox"] { 240 | position: absolute; 241 | clip: rect(0,0,0,0); 242 | pointer-events: none; 243 | } 244 | } 245 | } 246 | -------------------------------------------------------------------------------- /src/less/bootstrap/buttons.less: -------------------------------------------------------------------------------- 1 | // 2 | // Buttons 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // -------------------------------------------------- 8 | 9 | .btn { 10 | display: inline-block; 11 | margin-bottom: 0; // For input.btn 12 | font-weight: @btn-font-weight; 13 | text-align: center; 14 | vertical-align: middle; 15 | touch-action: manipulation; 16 | cursor: pointer; 17 | background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214 18 | border: 1px solid transparent; 19 | white-space: nowrap; 20 | letter-spacing: .05em; 21 | box-shadow: inset 2px 2px 2px rgba(200,200,200,.1); 22 | .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @btn-border-radius-base); 23 | .user-select(none); 24 | 25 | &, 26 | &:active, 27 | &.active { 28 | &:focus, 29 | &.focus { 30 | .tab-focus(); 31 | } 32 | } 33 | 34 | &:hover, 35 | &:focus, 36 | &.focus { 37 | color: @btn-default-color; 38 | text-decoration: none; 39 | border-bottom-color: transparent; 40 | box-shadow: inset 3px 3px 3px rgba(200,200,200,.1); 41 | } 42 | 43 | &:active, 44 | &.active { 45 | outline: 0; 46 | background-image: none; 47 | .box-shadow(inset 0 3px 5px rgba(0,0,0,.125)); 48 | } 49 | 50 | &.disabled, 51 | &[disabled], 52 | fieldset[disabled] & { 53 | cursor: @cursor-disabled; 54 | .opacity(.65); 55 | .box-shadow(none); 56 | } 57 | 58 | a& { 59 | &.disabled, 60 | fieldset[disabled] & { 61 | pointer-events: none; // Future-proof disabling of clicks on `` elements 62 | } 63 | } 64 | } 65 | 66 | 67 | // Alternate buttons 68 | // -------------------------------------------------- 69 | 70 | .btn-default { 71 | .button-variant(@btn-default-color; @btn-default-bg; @btn-default-border); 72 | } 73 | .btn-primary { 74 | .button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-border); 75 | } 76 | // Success appears as green 77 | .btn-success { 78 | .button-variant(@btn-success-color; @btn-success-bg; @btn-success-border); 79 | } 80 | // Info appears as blue-green 81 | .btn-info { 82 | .button-variant(@btn-info-color; @btn-info-bg; @btn-info-border); 83 | } 84 | // Warning appears as orange 85 | .btn-warning { 86 | .button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border); 87 | } 88 | // Danger and error appear as red 89 | .btn-danger { 90 | .button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border); 91 | } 92 | 93 | .btn-group .btn-default { 94 | border-bottom-width: 1px; 95 | &.active { 96 | border: 1px solid @brand-primary; 97 | color: @brand-primary; 98 | background: #F5F5F5; 99 | } 100 | } 101 | 102 | 103 | // Link buttons 104 | // ------------------------- 105 | 106 | // Make a button look and behave like a link 107 | .btn-link { 108 | color: @link-color; 109 | font-weight: normal; 110 | border-radius: 0; 111 | 112 | &, 113 | &:active, 114 | &.active, 115 | &[disabled], 116 | fieldset[disabled] & { 117 | background-color: transparent; 118 | .box-shadow(none); 119 | } 120 | &, 121 | &:hover, 122 | &:focus, 123 | &:active { 124 | border-color: transparent; 125 | } 126 | &:hover, 127 | &:focus { 128 | color: @link-hover-color; 129 | text-decoration: @link-hover-decoration; 130 | background-color: transparent; 131 | } 132 | &[disabled], 133 | fieldset[disabled] & { 134 | &:hover, 135 | &:focus { 136 | color: @btn-link-disabled-color; 137 | text-decoration: none; 138 | } 139 | } 140 | } 141 | 142 | 143 | // Button Sizes 144 | // -------------------------------------------------- 145 | 146 | .btn-lg { 147 | // line-height: ensure even-numbered height of button next to large input 148 | .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @btn-border-radius-large); 149 | } 150 | .btn-sm { 151 | // line-height: ensure proper height of button next to small input 152 | .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @btn-border-radius-small); 153 | } 154 | .btn-xs { 155 | .button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @btn-border-radius-small); 156 | } 157 | 158 | 159 | // Block button 160 | // -------------------------------------------------- 161 | 162 | .btn-block { 163 | display: block; 164 | width: 100%; 165 | } 166 | 167 | // Vertically space out multiple block buttons 168 | .btn-block + .btn-block { 169 | margin-top: 5px; 170 | } 171 | 172 | // Specificity overrides 173 | input[type="submit"], 174 | input[type="reset"], 175 | input[type="button"] { 176 | &.btn-block { 177 | width: 100%; 178 | } 179 | } 180 | 181 | .btn-file { 182 | position: relative; 183 | overflow: hidden; 184 | } 185 | .btn-file input[type=file] { 186 | position: absolute; 187 | top: 0; 188 | right: 0; 189 | min-width: 100%; 190 | min-height: 100%; 191 | font-size: 100px; 192 | text-align: right; 193 | filter: alpha(opacity=0); 194 | opacity: 0; 195 | background: red; 196 | cursor: inherit; 197 | display: block; 198 | } 199 | -------------------------------------------------------------------------------- /src/less/bootstrap/carousel.less: -------------------------------------------------------------------------------- 1 | // 2 | // Carousel 3 | // -------------------------------------------------- 4 | 5 | 6 | // Wrapper for the slide container and indicators 7 | .carousel { 8 | position: relative; 9 | } 10 | 11 | .carousel-inner { 12 | position: relative; 13 | overflow: hidden; 14 | width: 100%; 15 | 16 | > .item { 17 | display: none; 18 | position: relative; 19 | .transition(.6s ease-in-out left); 20 | 21 | // Account for jankitude on images 22 | > img, 23 | > a > img { 24 | &:extend(.img-responsive); 25 | line-height: 1; 26 | } 27 | 28 | // WebKit CSS3 transforms for supported devices 29 | @media all and (transform-3d), (-webkit-transform-3d) { 30 | .transition-transform(~'0.6s ease-in-out'); 31 | .backface-visibility(~'hidden'); 32 | .perspective(1000px); 33 | 34 | &.next, 35 | &.active.right { 36 | .translate3d(100%, 0, 0); 37 | left: 0; 38 | } 39 | &.prev, 40 | &.active.left { 41 | .translate3d(-100%, 0, 0); 42 | left: 0; 43 | } 44 | &.next.left, 45 | &.prev.right, 46 | &.active { 47 | .translate3d(0, 0, 0); 48 | left: 0; 49 | } 50 | } 51 | } 52 | 53 | > .active, 54 | > .next, 55 | > .prev { 56 | display: block; 57 | } 58 | 59 | > .active { 60 | left: 0; 61 | } 62 | 63 | > .next, 64 | > .prev { 65 | position: absolute; 66 | top: 0; 67 | width: 100%; 68 | } 69 | 70 | > .next { 71 | left: 100%; 72 | } 73 | > .prev { 74 | left: -100%; 75 | } 76 | > .next.left, 77 | > .prev.right { 78 | left: 0; 79 | } 80 | 81 | > .active.left { 82 | left: -100%; 83 | } 84 | > .active.right { 85 | left: 100%; 86 | } 87 | 88 | } 89 | 90 | // Left/right controls for nav 91 | // --------------------------- 92 | 93 | .carousel-control { 94 | position: absolute; 95 | top: 0; 96 | left: 0; 97 | bottom: 0; 98 | width: @carousel-control-width; 99 | .opacity(@carousel-control-opacity); 100 | font-size: @carousel-control-font-size; 101 | color: @carousel-control-color; 102 | text-align: center; 103 | text-shadow: @carousel-text-shadow; 104 | // We can't have this transition here because WebKit cancels the carousel 105 | // animation if you trip this while in the middle of another animation. 106 | 107 | // Set gradients for backgrounds 108 | &.left { 109 | #gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001)); 110 | } 111 | &.right { 112 | left: auto; 113 | right: 0; 114 | #gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5)); 115 | } 116 | 117 | // Hover/focus state 118 | &:hover, 119 | &:focus { 120 | outline: 0; 121 | color: @carousel-control-color; 122 | text-decoration: none; 123 | .opacity(.9); 124 | } 125 | 126 | // Toggles 127 | .icon-prev, 128 | .icon-next, 129 | .glyphicon-chevron-left, 130 | .glyphicon-chevron-right { 131 | position: absolute; 132 | top: 50%; 133 | margin-top: -10px; 134 | z-index: 5; 135 | display: inline-block; 136 | } 137 | .icon-prev, 138 | .glyphicon-chevron-left { 139 | left: 50%; 140 | margin-left: -10px; 141 | } 142 | .icon-next, 143 | .glyphicon-chevron-right { 144 | right: 50%; 145 | margin-right: -10px; 146 | } 147 | .icon-prev, 148 | .icon-next { 149 | width: 20px; 150 | height: 20px; 151 | line-height: 1; 152 | font-family: serif; 153 | } 154 | 155 | 156 | .icon-prev { 157 | &:before { 158 | content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039) 159 | } 160 | } 161 | .icon-next { 162 | &:before { 163 | content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A) 164 | } 165 | } 166 | } 167 | 168 | // Optional indicator pips 169 | // 170 | // Add an unordered list with the following class and add a list item for each 171 | // slide your carousel holds. 172 | 173 | .carousel-indicators { 174 | position: absolute; 175 | bottom: 10px; 176 | left: 50%; 177 | z-index: 15; 178 | width: 60%; 179 | margin-left: -30%; 180 | padding-left: 0; 181 | list-style: none; 182 | text-align: center; 183 | 184 | li { 185 | display: inline-block; 186 | width: 10px; 187 | height: 10px; 188 | margin: 1px; 189 | text-indent: -999px; 190 | border: 1px solid @carousel-indicator-border-color; 191 | border-radius: 10px; 192 | cursor: pointer; 193 | 194 | // IE8-9 hack for event handling 195 | // 196 | // Internet Explorer 8-9 does not support clicks on elements without a set 197 | // `background-color`. We cannot use `filter` since that's not viewed as a 198 | // background color by the browser. Thus, a hack is needed. 199 | // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Internet_Explorer 200 | // 201 | // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we 202 | // set alpha transparency for the best results possible. 203 | background-color: #000 \9; // IE8 204 | background-color: rgba(0,0,0,0); // IE9 205 | } 206 | .active { 207 | margin: 0; 208 | width: 12px; 209 | height: 12px; 210 | background-color: @carousel-indicator-active-bg; 211 | } 212 | } 213 | 214 | // Optional captions 215 | // ----------------------------- 216 | // Hidden by default for smaller viewports 217 | .carousel-caption { 218 | position: absolute; 219 | left: 15%; 220 | right: 15%; 221 | bottom: 20px; 222 | z-index: 10; 223 | padding-top: 20px; 224 | padding-bottom: 20px; 225 | color: @carousel-caption-color; 226 | text-align: center; 227 | text-shadow: @carousel-text-shadow; 228 | & .btn { 229 | text-shadow: none; // No shadow for button elements in carousel-caption 230 | } 231 | } 232 | 233 | 234 | // Scale up controls for tablets and up 235 | @media screen and (min-width: @screen-sm-min) { 236 | 237 | // Scale up the controls a smidge 238 | .carousel-control { 239 | .glyphicon-chevron-left, 240 | .glyphicon-chevron-right, 241 | .icon-prev, 242 | .icon-next { 243 | width: 30px; 244 | height: 30px; 245 | margin-top: -15px; 246 | font-size: 30px; 247 | } 248 | .glyphicon-chevron-left, 249 | .icon-prev { 250 | margin-left: -15px; 251 | } 252 | .glyphicon-chevron-right, 253 | .icon-next { 254 | margin-right: -15px; 255 | } 256 | } 257 | 258 | // Show and left align the captions 259 | .carousel-caption { 260 | left: 20%; 261 | right: 20%; 262 | padding-bottom: 30px; 263 | } 264 | 265 | // Move up the indicators 266 | .carousel-indicators { 267 | bottom: 20px; 268 | } 269 | } 270 | -------------------------------------------------------------------------------- /src/less/bootstrap/close.less: -------------------------------------------------------------------------------- 1 | // 2 | // Close icons 3 | // -------------------------------------------------- 4 | 5 | 6 | .close { 7 | float: right; 8 | font-size: (@font-size-base * 1.5); 9 | font-weight: @close-font-weight; 10 | line-height: 1; 11 | color: @close-color; 12 | text-shadow: @close-text-shadow; 13 | .opacity(.2); 14 | 15 | &:hover, 16 | &:focus { 17 | color: @close-color; 18 | text-decoration: none; 19 | cursor: pointer; 20 | .opacity(.5); 21 | } 22 | 23 | // Additional properties for button version 24 | // iOS requires the button element instead of an anchor tag. 25 | // If you want the anchor version, it requires `href="#"`. 26 | // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile 27 | button& { 28 | padding: 0; 29 | cursor: pointer; 30 | background: transparent; 31 | border: 0; 32 | -webkit-appearance: none; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/less/bootstrap/code.less: -------------------------------------------------------------------------------- 1 | // 2 | // Code (inline and block) 3 | // -------------------------------------------------- 4 | 5 | 6 | // Inline and block code styles 7 | code, 8 | kbd, 9 | pre, 10 | samp { 11 | font-family: @font-family-monospace; 12 | } 13 | 14 | // Inline code 15 | code { 16 | padding: 2px 4px; 17 | font-size: 90%; 18 | color: @code-color; 19 | background-color: @code-bg; 20 | border-radius: @border-radius-base; 21 | } 22 | 23 | // User input typically entered via keyboard 24 | kbd { 25 | padding: 2px 4px; 26 | font-size: 90%; 27 | color: @kbd-color; 28 | background-color: @kbd-bg; 29 | border-radius: @border-radius-small; 30 | box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); 31 | 32 | kbd { 33 | padding: 0; 34 | font-size: 100%; 35 | font-weight: bold; 36 | box-shadow: none; 37 | } 38 | } 39 | 40 | // Blocks of code 41 | pre { 42 | display: block; 43 | margin: 0 0 (@line-height-computed / 2); 44 | font-size: (@font-size-base - 1); // 14px to 13px 45 | line-height: @line-height-base; 46 | word-break: break-all; 47 | word-wrap: break-word; 48 | color: @pre-color; 49 | background-color: @pre-bg; 50 | border: 1px solid @pre-border-color; 51 | border-radius: @border-radius-base; 52 | padding: 0 10px; 53 | 54 | // Account for some code outputs that place code tags in pre tags 55 | code { 56 | padding: 0; 57 | font-size: inherit; 58 | color: inherit; 59 | white-space: pre-wrap; 60 | background-color: transparent; 61 | border-radius: 0; 62 | } 63 | } 64 | 65 | // Enable scrollable blocks of code 66 | .pre-scrollable { 67 | max-height: @pre-scrollable-max-height; 68 | overflow-y: scroll; 69 | } 70 | 71 | -------------------------------------------------------------------------------- /src/less/bootstrap/component-animations.less: -------------------------------------------------------------------------------- 1 | // 2 | // Component animations 3 | // -------------------------------------------------- 4 | 5 | // Heads up! 6 | // 7 | // We don't use the `.opacity()` mixin here since it causes a bug with text 8 | // fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552. 9 | 10 | /* uncss:ignore */ 11 | .fade { 12 | opacity: 0; 13 | .transition(opacity .15s linear); 14 | } 15 | 16 | /* uncss:ignore */ 17 | .fade.in { 18 | opacity: 1; 19 | } 20 | 21 | /* uncss:ignore */ 22 | .collapse { 23 | display: none; 24 | 25 | &.in { display: block; } 26 | tr&.in { display: table-row; } 27 | tbody&.in { display: table-row-group; } 28 | } 29 | 30 | /* uncss:ignore */ 31 | .collapsing { 32 | position: relative; 33 | height: 0; 34 | overflow: hidden; 35 | .transition-property(~"height, visibility"); 36 | .transition-duration(.35s); 37 | .transition-timing-function(ease); 38 | } 39 | -------------------------------------------------------------------------------- /src/less/bootstrap/dropdowns.less: -------------------------------------------------------------------------------- 1 | // 2 | // Dropdown menus 3 | // -------------------------------------------------- 4 | 5 | 6 | // Dropdown arrow/caret 7 | .caret { 8 | display: inline-block; 9 | width: 0; 10 | height: 0; 11 | margin-left: 2px; 12 | vertical-align: middle; 13 | border-top: @caret-width-base dashed; 14 | border-top: @caret-width-base solid ~"\9"; // IE8 15 | border-right: @caret-width-base solid transparent; 16 | border-left: @caret-width-base solid transparent; 17 | } 18 | 19 | // The dropdown wrapper (div) 20 | .dropup, 21 | .dropdown { 22 | position: relative; 23 | } 24 | 25 | // Prevent the focus on the dropdown toggle when closing dropdowns 26 | .dropdown-toggle:focus { 27 | outline: 0; 28 | } 29 | 30 | .dropdown:hover { 31 | .dropdown-menu { 32 | display: block; 33 | } 34 | } 35 | 36 | // The dropdown menu (ul) 37 | .dropdown-menu { 38 | position: absolute; 39 | top: 100%; 40 | left: 0; 41 | z-index: @zindex-dropdown; 42 | float: left; 43 | min-width: 160px; 44 | padding: 4px 0; 45 | margin: 2px 0 0; // override default ul 46 | list-style: none; 47 | font-size: @font-size-base; 48 | text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer) 49 | background-color: @dropdown-bg; 50 | border-radius: @border-radius-base; 51 | .box-shadow(0 6px 10px rgba(0,0,0,.175)); 52 | background-clip: padding-box; 53 | 54 | // Aligns the dropdown menu to right 55 | // 56 | // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]` 57 | &.pull-right { 58 | right: 0; 59 | left: auto; 60 | } 61 | 62 | // Dividers (basically an hr) within the dropdown 63 | .divider { 64 | .nav-divider(@dropdown-divider-bg); 65 | } 66 | 67 | > li { 68 | margin: 0; 69 | } 70 | // Links within the dropdown menu 71 | > li > a { 72 | display: block; 73 | padding: 3px 20px; 74 | clear: both; 75 | font-weight: 300; 76 | line-height: @line-height-base; 77 | color: @dropdown-link-color; 78 | white-space: nowrap; // prevent links from randomly breaking onto new lines 79 | } 80 | } 81 | 82 | // Hover/Focus state 83 | .dropdown-menu > li > a { 84 | &:hover, 85 | &:focus { 86 | text-decoration: none; 87 | color: @dropdown-link-hover-color; 88 | background-color: @dropdown-link-hover-bg; 89 | } 90 | } 91 | 92 | // Active state 93 | .dropdown-menu > .active > a { 94 | &, 95 | &:hover, 96 | &:focus { 97 | color: @dropdown-link-active-color; 98 | text-decoration: none; 99 | outline: 0; 100 | background-color: @dropdown-link-active-bg; 101 | } 102 | } 103 | 104 | // Disabled state 105 | // 106 | // Gray out text and ensure the hover/focus state remains gray 107 | 108 | .dropdown-menu > .disabled > a { 109 | &, 110 | &:hover, 111 | &:focus { 112 | color: @dropdown-link-disabled-color; 113 | } 114 | 115 | // Nuke hover/focus effects 116 | &:hover, 117 | &:focus { 118 | text-decoration: none; 119 | background-color: transparent; 120 | background-image: none; // Remove CSS gradient 121 | .reset-filter(); 122 | cursor: @cursor-disabled; 123 | } 124 | } 125 | 126 | // Open state for the dropdown 127 | .open { 128 | // Show the menu 129 | > .dropdown-menu { 130 | display: block; 131 | } 132 | 133 | // Remove the outline when :focus is triggered 134 | > a { 135 | outline: 0; 136 | } 137 | } 138 | 139 | // Menu positioning 140 | // 141 | // Add extra class to `.dropdown-menu` to flip the alignment of the dropdown 142 | // menu with the parent. 143 | .dropdown-menu-right { 144 | left: auto; // Reset the default from `.dropdown-menu` 145 | right: 0; 146 | } 147 | // With v3, we enabled auto-flipping if you have a dropdown within a right 148 | // aligned nav component. To enable the undoing of that, we provide an override 149 | // to restore the default dropdown menu alignment. 150 | // 151 | // This is only for left-aligning a dropdown menu within a `.navbar-right` or 152 | // `.pull-right` nav component. 153 | .dropdown-menu-left { 154 | left: 0; 155 | right: auto; 156 | } 157 | 158 | // Dropdown section headers 159 | .dropdown-header { 160 | display: block; 161 | padding: 3px 20px; 162 | font-size: @font-size-small; 163 | line-height: @line-height-base; 164 | color: @dropdown-header-color; 165 | white-space: nowrap; // as with > li > a 166 | } 167 | 168 | // Backdrop to catch body clicks on mobile, etc. 169 | .dropdown-backdrop { 170 | position: fixed; 171 | left: 0; 172 | right: 0; 173 | bottom: 0; 174 | top: 0; 175 | z-index: (@zindex-dropdown - 10); 176 | } 177 | 178 | // Right aligned dropdowns 179 | .pull-right > .dropdown-menu { 180 | right: 0; 181 | left: auto; 182 | } 183 | 184 | // Allow for dropdowns to go bottom up (aka, dropup-menu) 185 | // 186 | // Just add .dropup after the standard .dropdown class and you're set, bro. 187 | // TODO: abstract this so that the navbar fixed styles are not placed here? 188 | 189 | .dropup, 190 | .navbar-fixed-bottom .dropdown { 191 | // Reverse the caret 192 | .caret { 193 | border-top: 0; 194 | border-bottom: @caret-width-base solid; 195 | content: ""; 196 | } 197 | // Different positioning for bottom up menu 198 | .dropdown-menu { 199 | top: auto; 200 | bottom: 100%; 201 | margin-bottom: 2px; 202 | } 203 | } 204 | 205 | 206 | // Component alignment 207 | // 208 | // Reiterate per navbar.less and the modified component alignment there. 209 | 210 | @media (min-width: @grid-float-breakpoint) { 211 | .navbar-right { 212 | .dropdown-menu { 213 | .dropdown-menu-right(); 214 | } 215 | // Necessary for overrides of the default right aligned menu. 216 | // Will remove come v4 in all likelihood. 217 | .dropdown-menu-left { 218 | .dropdown-menu-left(); 219 | } 220 | } 221 | } 222 | -------------------------------------------------------------------------------- /src/less/bootstrap/grid.less: -------------------------------------------------------------------------------- 1 | // 2 | // Grid system 3 | // -------------------------------------------------- 4 | 5 | 6 | // Container widths 7 | // 8 | // Set the container width, and override it for fixed navbars in media queries. 9 | 10 | .container { 11 | .container-fixed(); 12 | 13 | @media (min-width: @screen-sm-min) { 14 | width: @container-sm; 15 | } 16 | @media (min-width: @screen-md-min) { 17 | width: @container-md; 18 | } 19 | @media (min-width: @screen-lg-min) { 20 | width: @container-lg; 21 | } 22 | } 23 | 24 | 25 | // Fluid container 26 | // 27 | // Utilizes the mixin meant for fixed width containers, but without any defined 28 | // width for fluid, full width layouts. 29 | 30 | .container-fluid { 31 | .container-fixed(); 32 | } 33 | 34 | 35 | // Row 36 | // 37 | // Rows contain and clear the floats of your columns. 38 | 39 | .row { 40 | .make-row(); 41 | } 42 | 43 | 44 | // Columns 45 | // 46 | // Common styles for small and large grid columns 47 | 48 | .make-grid-columns(); 49 | 50 | 51 | // Extra small grid 52 | // 53 | // Columns, offsets, pushes, and pulls for extra small devices like 54 | // smartphones. 55 | 56 | .make-grid(xs); 57 | 58 | 59 | // Small grid 60 | // 61 | // Columns, offsets, pushes, and pulls for the small device range, from phones 62 | // to tablets. 63 | 64 | @media (min-width: @screen-sm-min) { 65 | .make-grid(sm); 66 | } 67 | 68 | 69 | // Medium grid 70 | // 71 | // Columns, offsets, pushes, and pulls for the desktop device range. 72 | 73 | @media (min-width: @screen-md-min) { 74 | .make-grid(md); 75 | } 76 | 77 | 78 | // Large grid 79 | // 80 | // Columns, offsets, pushes, and pulls for the large desktop device range. 81 | 82 | @media (min-width: @screen-lg-min) { 83 | .make-grid(lg); 84 | } 85 | -------------------------------------------------------------------------------- /src/less/bootstrap/input-groups.less: -------------------------------------------------------------------------------- 1 | // 2 | // Input groups 3 | // -------------------------------------------------- 4 | 5 | // Base styles 6 | // ------------------------- 7 | .input-group { 8 | position: relative; // For dropdowns 9 | display: table; 10 | border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table 11 | 12 | // Undo padding and float of grid classes 13 | &[class*="col-"] { 14 | float: none; 15 | padding-left: 0; 16 | padding-right: 0; 17 | } 18 | 19 | .form-control { 20 | // Ensure that the input is always above the *appended* addon button for 21 | // proper border colors. 22 | position: relative; 23 | z-index: 2; 24 | 25 | // IE9 fubars the placeholder attribute in text inputs and the arrows on 26 | // select elements in input groups. To fix it, we float the input. Details: 27 | // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855 28 | float: left; 29 | 30 | width: 100%; 31 | margin-bottom: 0; 32 | } 33 | .dropdown-toggle { 34 | padding-right: 20px; 35 | padding-left: 20px; 36 | } 37 | } 38 | 39 | // Sizing options 40 | // 41 | // Remix the default form control sizing classes into new ones for easier 42 | // manipulation. 43 | 44 | .input-group-lg > .form-control, 45 | .input-group-lg > .input-group-addon, 46 | .input-group-lg > .input-group-btn > .btn { 47 | .input-lg(); 48 | } 49 | .input-group-sm > .form-control, 50 | .input-group-sm > .input-group-addon, 51 | .input-group-sm > .input-group-btn > .btn { 52 | .input-sm(); 53 | } 54 | 55 | 56 | // Display as table-cell 57 | // ------------------------- 58 | .input-group-addon, 59 | .input-group-btn, 60 | .input-group .form-control { 61 | display: table-cell; 62 | 63 | &:not(:first-child):not(:last-child) { 64 | border-radius: 0; 65 | } 66 | } 67 | // Addon and addon wrapper for buttons 68 | .input-group-addon, 69 | .input-group-btn { 70 | width: 1%; 71 | white-space: nowrap; 72 | vertical-align: middle; // Match the inputs 73 | } 74 | 75 | // Text input groups 76 | // ------------------------- 77 | .input-group-addon { 78 | padding: @padding-base-vertical @padding-base-horizontal; 79 | font-size: @font-size-base; 80 | font-weight: normal; 81 | line-height: 1; 82 | color: @input-color; 83 | text-align: center; 84 | background-color: @input-group-addon-bg; 85 | border: 1px solid @input-group-addon-border-color; 86 | border-radius: @border-radius-base; 87 | 88 | // Sizing 89 | &.input-sm { 90 | padding: @padding-small-vertical @padding-small-horizontal; 91 | font-size: @font-size-small; 92 | border-radius: @border-radius-small; 93 | } 94 | &.input-lg { 95 | padding: @padding-large-vertical @padding-large-horizontal; 96 | font-size: @font-size-large; 97 | border-radius: @border-radius-large; 98 | } 99 | 100 | // Nuke default margins from checkboxes and radios to vertically center within. 101 | input[type="radio"], 102 | input[type="checkbox"] { 103 | margin-top: 0; 104 | } 105 | } 106 | 107 | // Reset rounded corners 108 | .input-group .form-control:first-child, 109 | .input-group-addon:first-child, 110 | .input-group-btn:first-child > .btn, 111 | .input-group-btn:first-child > .btn-group > .btn, 112 | .input-group-btn:first-child > .dropdown-toggle, 113 | .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), 114 | .input-group-btn:last-child > .btn-group:not(:last-child) > .btn { 115 | .border-right-radius(0); 116 | } 117 | .input-group-addon:first-child { 118 | border-right: 0; 119 | } 120 | .input-group .form-control:last-child, 121 | .input-group-addon:last-child, 122 | .input-group-btn:last-child > .btn, 123 | .input-group-btn:last-child > .btn-group > .btn, 124 | .input-group-btn:last-child > .dropdown-toggle, 125 | .input-group-btn:first-child > .btn:not(:first-child), 126 | .input-group-btn:first-child > .btn-group:not(:first-child) > .btn { 127 | .border-left-radius(0); 128 | } 129 | .input-group-addon:last-child { 130 | border-left: 0; 131 | } 132 | 133 | // Button input groups 134 | // ------------------------- 135 | .input-group-btn { 136 | position: relative; 137 | // Jankily prevent input button groups from wrapping with `white-space` and 138 | // `font-size` in combination with `inline-block` on buttons. 139 | font-size: 0; 140 | white-space: nowrap; 141 | 142 | // Negative margin for spacing, position for bringing hovered/focused/actived 143 | // element above the siblings. 144 | > .btn { 145 | position: relative; 146 | + .btn { 147 | margin-left: -1px; 148 | } 149 | // Bring the "active" button to the front 150 | &:hover, 151 | &:focus, 152 | &:active { 153 | z-index: 2; 154 | } 155 | } 156 | 157 | // Negative margin to only have a 1px border between the two 158 | &:first-child { 159 | > .btn, 160 | > .btn-group { 161 | margin-right: -1px; 162 | } 163 | } 164 | &:last-child { 165 | > .btn, 166 | > .btn-group { 167 | z-index: 2; 168 | margin-left: -1px; 169 | } 170 | } 171 | } 172 | -------------------------------------------------------------------------------- /src/less/bootstrap/jumbotron.less: -------------------------------------------------------------------------------- 1 | // 2 | // Jumbotron 3 | // -------------------------------------------------- 4 | 5 | 6 | .jumbotron { 7 | padding-top: @jumbotron-padding; 8 | padding-bottom: @jumbotron-padding; 9 | margin-bottom: @jumbotron-padding; 10 | color: @jumbotron-color; 11 | background-color: @jumbotron-bg; 12 | 13 | h1, 14 | .h1 { 15 | color: @jumbotron-heading-color; 16 | } 17 | 18 | p { 19 | margin-bottom: (@jumbotron-padding / 2); 20 | font-size: @jumbotron-font-size; 21 | font-weight: 200; 22 | } 23 | 24 | > hr { 25 | border-top-color: darken(@jumbotron-bg, 10%); 26 | } 27 | 28 | .container &, 29 | .container-fluid & { 30 | border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container 31 | } 32 | 33 | .container { 34 | max-width: 100%; 35 | } 36 | 37 | @media screen and (min-width: @screen-sm-min) { 38 | padding-top: (@jumbotron-padding * 1.6); 39 | padding-bottom: (@jumbotron-padding * 1.6); 40 | 41 | .container &, 42 | .container-fluid & { 43 | padding-left: (@jumbotron-padding * 2); 44 | padding-right: (@jumbotron-padding * 2); 45 | } 46 | 47 | h1, 48 | .h1 { 49 | font-size: @jumbotron-heading-font-size; 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/less/bootstrap/labels.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MyEtherWallet/myetherapi/263bdcc1602989a2ffb3213f0076c2caa5958b7b/src/less/bootstrap/labels.less -------------------------------------------------------------------------------- /src/less/bootstrap/list-group.less: -------------------------------------------------------------------------------- 1 | // 2 | // List groups 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | // 8 | // Easily usable on