github.com/kula/etcd@v0.2.1-0.20131226070625-e96234382ac0/mod/dashboard/app/styles/etcd-widgets.css (about)

     1  body {
     2  	margin: 0px;
     3  }
     4  .etcd-container {
     5  	background-color: #fff;
     6  	border: 1px solid #ddd;
     7  	border-radius: 5px;
     8  	box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 3px;
     9  	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    10  	overflow: hidden;
    11  	box-sizing: border-box;
    12  	-moz-box-sizing: border-box;
    13  	position: relative;
    14  	user-select: none;
    15  	-webkit-user-select: none;
    16  	-moz-user-select: none;
    17  	-ms-user-select: none;
    18  }
    19  
    20  	a {
    21  		color: #2176AC;
    22  		text-decoration: none;
    23  	}
    24  
    25  	a:hover, a:active {
    26  		text-decoration: underline;
    27  	}
    28  
    29  	input[type=text] {
    30  		box-shadow: inset 0 1px 2px rgba(0,0,0,.5);
    31  		border: none;
    32  		border-radius: 3px;
    33  		font-size: 13px;
    34  		padding-left: 5px;
    35  		padding-right: 5px;
    36  		height: 25px;
    37  	}
    38  
    39  	input[type=text]:focus {
    40  		
    41  	}
    42  
    43  	h2 {
    44  		font-size: 22px;
    45  		font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    46  		font-weight: 500;
    47  		margin: 0 0 20px 0;
    48  		padding: 0;
    49  	}
    50  
    51  	.etcd-button {
    52  		display:inline-block;
    53  		padding:6px 12px;
    54  		margin-bottom:0;
    55  		font-size:14px;
    56  		font-weight:normal;
    57  		line-height:1.428571429;
    58  		text-align:center;
    59  		white-space:nowrap;
    60  		vertical-align:middle;
    61  		cursor:pointer;
    62  		border:1px solid transparent;
    63  		border-radius:4px;
    64  		-webkit-user-select:none;
    65  		-moz-user-select:none;
    66  		-ms-user-select:none;
    67  		-o-user-select:none;
    68  		user-select:none;
    69  		margin: 0px;
    70  		border: none;
    71  		box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.25);
    72  	}
    73  
    74  	.etcd-button.etcd-button-small {
    75  		height: 25px;
    76  		padding: 0 10px;
    77  		font-size: 13px;
    78  	}
    79  
    80  	.etcd-button-primary {
    81  		background-color: #428BCA;
    82  		color: #fff;
    83  		text-shadow: 0 0 3px rgba(0,0,0,0.25);
    84  	}
    85  
    86  	.etcd-button-primary:active {
    87  		background-color: #2276ad;
    88  	}
    89  
    90  	.etcd-popover {
    91  		background: #333;
    92  		border-radius: 3px;
    93  		padding: 15px;
    94  		position: absolute;
    95  		top: 39px;
    96  		z-index: 9999;
    97  		color: #fff;
    98  		font-size: 13px;
    99  		box-shadow: 0px 2px 10px rgba(0,0,0,.5);
   100  		display: none;
   101  	}
   102  
   103  		.etcd-popover-error .etcd-popover-content {
   104  			color: #FF3C43;
   105  			font-weight: bold;
   106  			user-select: text;
   107  			-webkit-user-select: text;
   108  			-moz-user-select: text;
   109  			-ms-user-select: text;
   110  		}
   111  
   112  		.etcd-popover-notch {
   113  			width: 14px;
   114  			height: 14px;
   115  			-webkit-transform: rotate(45deg);
   116  			-moz-transform: rotate(45deg);
   117  			-ms-transform: rotate(45deg);
   118  			position: absolute;
   119  			margin-top: -5px;
   120  			margin-left: 3px;
   121  			background: #333;
   122  			top: 0px;
   123  			right: 15px;
   124  		}
   125  
   126  	.etcd-popover.etcd-popover-right {
   127  		left: 77px;
   128  	}
   129  
   130  		.etcd-popover-right .etcd-popover-notch {
   131  			left: 15px;
   132  		}
   133  
   134  	.etcd-popover.etcd-popover-left {
   135  		right: 10px;
   136  	}
   137  
   138  		.etcd-popover-left .etcd-popover-notch {
   139  			right: 15px;
   140  		}
   141  
   142  		.etcd-popover-confirm {
   143  			margin-top: 10px;
   144  		}
   145  
   146  		.etcd-popover-confirm button {
   147  
   148  		}
   149  
   150  	.etcd-header {
   151  		width: 100%;
   152  		position: relative;
   153  		box-sizing: border-box;
   154  		-moz-box-sizing: border-box;
   155  	}
   156  	.etcd-header.solid {
   157  		background: #eeeeee;
   158  		background: -moz-linear-gradient(top,  #eeeeee 0%, #dddddd 100%);
   159  		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#dddddd));
   160  		background: -webkit-linear-gradient(top,  #eeeeee 0%,#dddddd 100%);
   161  		background: -o-linear-gradient(top,  #eeeeee 0%,#dddddd 100%);
   162  		background: -ms-linear-gradient(top,  #eeeeee 0%,#dddddd 100%);
   163  		background: linear-gradient(to bottom,  #eeeeee 0%,#dddddd 100%);
   164  		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#dddddd',GradientType=0 );
   165  	}
   166  
   167  	.etcd-body {
   168  		top: 0px;
   169  		left: 0px;
   170  		position: relative;
   171  		overflow-y: auto;
   172  		overflow-x: hidden;
   173  		height: 100%;
   174  		width: 100%;
   175  		box-sizing: border-box;
   176  		-moz-box-sizing: border-box;
   177  	}
   178  
   179  		.etcd-body table {
   180  			width: 100%;
   181  			box-sizing: border-box;
   182  			-moz-box-sizing: border-box;
   183  		}
   184  
   185  			.etcd-body table thead td {
   186  				text-transform: uppercase;
   187  				font-size: 11px;
   188  				line-height: 20px;
   189  				border-bottom: 1px solid #ddd;
   190  				padding-top: 0px;
   191  				padding-right: 10px;
   192  				padding-bottom: 0px;
   193  				padding-left: 0px;
   194  				color: #666;
   195  			}
   196  
   197  			.etcd-body table tbody td {
   198  				line-height: 18px;
   199  				border-bottom: 1px solid #ddd;
   200  				padding-top: 6px;
   201  				padding-right: 10px;
   202  				padding-bottom: 6px;
   203  				padding-left: 0px;
   204  				vertical-align: text-top;
   205  				user-select: text;
   206  				-webkit-user-select: text;
   207  				-moz-user-select: text;
   208  				-ms-user-select: text;
   209  			}
   210  
   211  			.etcd-body table .etcd-ttl-header {
   212  				width: 33%;
   213  			}
   214  
   215  			.etcd-body table tbody .etcd-ttl {
   216  				font-size: 13px;
   217  			}
   218  
   219  			.etcd-body table tbody .etcd-ttl .etcd-ttl-none {
   220  				color: #999;
   221  				font-weight: 100;
   222  			}
   223  
   224  			.etcd-body table .etcd-actions-header {
   225  				width: 30px;
   226  			}
   227  
   228  		.etcd-body table thead td:first-child, .etcd-body table tbody td:first-child {
   229  			padding-left: 10px;
   230  		}
   231  
   232  		.etcd-body table thead td:last-child, .etcd-body table tbody td:last-child {
   233  			padding-right: 10px;
   234  		}
   235  
   236  		.etcd-container .etcd-preview .etcd-dialog {
   237  			background: #333;
   238  			position: absolute;
   239  			right: 0px;
   240  			left: 0px;
   241  			padding: 20px;
   242  			color: #fff;
   243  			font-size: 14px;
   244  			font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
   245  			bottom: 0px;
   246  			opacity: 0;
   247  			min-height: 110px; /* REMOVE ME! */
   248  			transition-property: all;
   249  			transition-duration: 150ms;
   250  			transition-timing-function: ease-in-out;
   251  		}
   252  
   253  			.etcd-container .etcd-preview .etcd-dialog .etcd-dialog-message {
   254  				margin-bottom: 20px;
   255  			}
   256  
   257  			.etcd-container .etcd-preview .etcd-dialog .etcd-dialog-buttons a {
   258  				line-height: 34px;
   259  				color: #fff;
   260  				vertical-align: middle;
   261  				margin-left: 10px;
   262  			}
   263  
   264  		/*.etcd-container .etcd-preview .etcd-dialog.etcd-reveal {
   265  			opacity: 1;
   266  		}
   267  
   268  		.etcd-container .etcd-preview .etcd-dialog.etcd-hide {
   269  			opacity: 0;
   270  		}*/
   271  
   272  		.etcd-body .etcd-list {
   273  			padding: 20px;
   274  			box-sizing: border-box;
   275  			-moz-box-sizing: border-box;
   276  			overflow: auto;
   277  			height: 100%;
   278  			position: absolute;
   279  		}
   280  
   281  			.etcd-body .etcd-list .etcd-selected {
   282  				background-color: #EAF3FF;
   283  			}
   284  
   285  			.etcd-body .etcd-list a.directory {
   286  				font-weight: bold;
   287  			}
   288  
   289  			.etcd-body .etcd-list tr:hover .etcd-delete svg {
   290  				1visibility: visible;
   291  				fill: #ff0000;
   292  			}
   293  
   294  			.etcd-body .etcd-list .etcd-delete {
   295  				height: 20px;
   296  				width: 25px;
   297  				vertical-align: middle;
   298  				margin: 0px;
   299  				display: inline-block;
   300  			}
   301  
   302  				.etcd-body .etcd-list .etcd-delete svg {
   303  					height: 20px;
   304  					fill: #eee;
   305  				}
   306  
   307  				.etcd-body .etcd-list .etcd-selected .etcd-delete svg {
   308  					height: 20px;
   309  					fill: #ddd;
   310  				}
   311  
   312  				.etcd-body .etcd-list .etcd-delete:hover svg {
   313  					cursor: pointer;
   314  					fill: #ff0000;
   315  				}
   316  
   317  
   318  .etcd-container.etcd-browser {
   319  
   320  }
   321  
   322  	.etcd-container.etcd-browser .etcd-header {
   323  		height: 37px;
   324  	}
   325  
   326  		.etcd-back {
   327  			height: 37px;
   328  			width: 37px;
   329  			vertical-align: middle;
   330  			margin: 0px;
   331  			position: absolute;
   332  			top: 0px;
   333  			left: 3px;
   334  			display: none;
   335  		}
   336  
   337  		.etcd-container.etcd-browser.etcd-preview-reveal .etcd-back {
   338  			display: block;
   339  		}
   340  
   341  		.etcd-container.etcd-browser.etcd-preview-hide .etcd-back {
   342  			display: block;
   343  		}
   344  
   345  			.etcd-back svg {
   346  				height: 20px;
   347  				padding: 8px 6px;
   348  			}
   349  
   350  			.etcd-back:hover svg {
   351  				cursor: pointer;
   352  				fill: #428bca;
   353  			}
   354  
   355  			.etcd-back.etcd-disabled svg {
   356  				fill: #bbb;
   357  			}
   358  
   359  		.etcd-add {
   360  			height: 37px;
   361  			width: 37px;
   362  			vertical-align: middle;
   363  			margin: 0px;
   364  			position: absolute;
   365  			top: 0px;
   366  			left: 36px;
   367  		}
   368  
   369  		.etcd-container.etcd-browser.etcd-preview-reveal .etcd-add {
   370  
   371  		}
   372  
   373  		.etcd-container.etcd-browser.etcd-preview-hide .etcd-add {
   374  
   375  		}
   376  
   377  			.etcd-add svg {
   378  				height: 22px;
   379  				padding: 7px 6px;
   380  			}
   381  
   382  			.etcd-add:hover svg {
   383  				cursor: pointer;
   384  				fill: #428bca;
   385  			}
   386  
   387  			.etcd-add.etcd-disabled svg {
   388  				fill: #bbb;
   389  			}
   390  
   391  		.etcd-container.etcd-browser .etcd-header .etcd-browser-path {
   392  			position: absolute;
   393  			left: 72px;
   394  			right: 0px;
   395  			top: 0;
   396  			margin: 6px 5px 6px 5px;
   397  		}
   398  
   399  		.etcd-container.etcd-browser .etcd-header .etcd-browser-path input {
   400  			width: 100%;
   401  			box-sizing: border-box;
   402     			-moz-box-sizing: border-box;
   403     			-webkit-box-sizing: border-box;
   404  		}
   405  
   406  		.etcd-container.etcd-browser .etcd-header .etcd-save {
   407  			position: absolute;
   408  			width: 54px;
   409  			right: -55px;
   410  			margin: 6px 0;
   411  		}
   412  
   413  		.etcd-container.etcd-browser.etcd-save-reveal .etcd-header .etcd-save {
   414  			right: 7px;
   415  		}
   416  
   417  		.etcd-container.etcd-browser.etcd-save-reveal .etcd-header .etcd-browser-path {
   418  			right: 62px;
   419  		}
   420  
   421  		.etcd-container.etcd-browser.etcd-save-hide .etcd-header .etcd-save {
   422  			right: -55px;
   423  		}
   424  
   425  		.etcd-container.etcd-browser.etcd-save-hide .etcd-header .etcd-browser-path {
   426  			right: 0px;
   427  		}
   428  
   429  	.etcd-container.etcd-browser .etcd-preview {
   430  		position: absolute;
   431  		left: 100%;
   432  		min-height: 100%;
   433  		overflow-y: auto;
   434  		overflow-x: hidden;
   435  		top: 0px;
   436  		box-sizing: border-box;
   437  		-moz-box-sizing: border-box;
   438  		background-color: #fff;
   439  		width: 100%;
   440  		border-left: 1px solid #ddd;
   441  	}
   442  
   443  	.etcd-container.etcd-browser .etcd-preview pre, .etcd-container.etcd-browser .etcd-preview textarea {
   444  		padding: 20px 20px 20px 20px;
   445  		margin: 0px;
   446  		font-family: Consolas, "Liberation Mono", Courier, monospace;
   447  		height: 100%;
   448  		width: 100%;
   449  		white-space: pre-wrap;
   450  		position: absolute;
   451  		font-size: 13px;
   452  		border: 1px;
   453  		outline: none;
   454  		box-sizing: border-box;
   455  		-moz-box-sizing: border-box;
   456  	}
   457  
   458  		.etcd-container.etcd-browser.etcd-preview-reveal .etcd-preview pre, .etcd-container.etcd-browser.etcd-preview-reveal .etcd-preview textarea {
   459  			display: block;
   460  		}
   461  
   462  	.etcd-container.etcd-browser .etcd-preview .etcd-empty {
   463  		top: 0px;
   464  		bottom: 0px;
   465  		width: 100%;
   466  		text-align: center;
   467  		position: absolute;
   468  	}
   469  
   470  		.etcd-container.etcd-browser.etcd-preview-reveal .etcd-empty {
   471  			display: none;
   472  		}
   473  
   474  	.etcd-container.etcd-browser .etcd-preview .etcd-empty-message {
   475  		margin-top: 25%;
   476  		color: #999;
   477  	}
   478  
   479  	/* Single Column Positioning */
   480  	@media (max-width: 700px) {
   481  		.etcd-container.etcd-browser .etcd-list {
   482  			width: 100%;
   483  		}
   484  
   485  			.etcd-container.etcd-browser.etcd-preview-reveal .etcd-list {
   486  				left: -100%;
   487  				transition-property: all;
   488    				transition-duration: 250ms;
   489    				transition-timing-function: ease-in-out;
   490  			}
   491  
   492  			.etcd-container.etcd-browser.etcd-preview-hide .etcd-list {
   493  				left: 0%;
   494  				transition-property: all;
   495    				transition-duration: 250ms;
   496    				transition-timing-function: ease-in-out;
   497  			}
   498  
   499  		.etcd-container.etcd-browser .etcd-preview {
   500  			left: 100%;
   501  		}
   502  
   503  			.etcd-container.etcd-browser.etcd-preview-reveal .etcd-preview {
   504  				left: -1px;
   505  				transition-property: all;
   506    				transition-duration: 250ms;
   507    				transition-timing-function: ease-in-out;
   508  			}
   509  
   510  			.etcd-container.etcd-browser.etcd-preview-hide .etcd-preview {
   511  				left: 100%;
   512  				transition-property: all;
   513    				transition-duration: 250ms;
   514    				transition-timing-function: ease-in-out;
   515  			}
   516  	}
   517  	
   518  
   519  	/* Double Column Positioning */
   520  	@media (min-width: 700px) {
   521  	.etcd-container.etcd-browser .etcd-list {
   522  			width: 50%;
   523  		}
   524  
   525  		.etcd-container.etcd-browser .etcd-preview {
   526  			left: 50%;
   527  			width: 50%;
   528  		}
   529  
   530  			.etcd-container.etcd-browser.etcd-preview-reveal .etcd-preview {
   531  				left: 50%; /* does nothing */
   532  			}
   533  
   534  			.etcd-container.etcd-browser.etcd-preview-reveal .etcd-preview .etcd-empty {
   535  				display: none;
   536  			}
   537  
   538  			.etcd-container.etcd-browser.etcd-preview-hide .etcd-preview {
   539  				left: 50%; /* does nothing */
   540  			}
   541  
   542  			.etcd-container.etcd-browser.etcd-preview-hide .etcd-preview .etcd-empty {
   543  				display: block;
   544  			}
   545  
   546  			.etcd-container.etcd-browser.etcd-preview-hide .etcd-preview pre, .etcd-container.etcd-browser.etcd-preview-hide .etcd-preview textarea {
   547  				display: none;
   548  			}
   549  	}
   550  
   551  .etcd-container.etcd-stats {
   552  
   553  }
   554  
   555  	.etcd-container.etcd-stats h2 {
   556  		margin-top: -7px;
   557  	}
   558  
   559  	.etcd-format-selector {
   560  		position: absolute;
   561  		top: 12px;
   562  		right: 16px;
   563  		z-index: 999;
   564  	}
   565  
   566  	.etcd-format-selector .etcd-selector-item {
   567  		display: inline-block;
   568  		height: 12px;
   569  		width: 12px;
   570  		padding: 8px 4px;
   571  	}
   572  
   573  	.etcd-format-selector .etcd-selector-item:hover {
   574  		cursor: pointer;
   575  	}
   576  
   577  		.etcd-format-selector .etcd-selector-item svg {
   578  			fill: #333;
   579  		}
   580  
   581  	.etcd-container.etcd-stats .etcd-graph {
   582  		box-sizing: border-box;
   583  		-moz-box-sizing: border-box;
   584  		position: absolute;
   585  		top: 0px;
   586  		bottom: 0px;
   587  		left: 0px;
   588  		right: 0px;
   589  		padding: 20px;
   590  	}
   591  
   592  		.etcd-container.etcd-stats .etcd-graph .etcd-graph-container {
   593  			position: absolute;
   594  			top: 60px;
   595  			bottom: 20px;
   596  			left: 20px;
   597  			right: 20px;
   598  			box-sizing: border-box;
   599  			-moz-box-sizing: border-box;
   600  		}
   601  
   602  	.etcd-container.etcd-stats table .etcd-latency {
   603  		width: 50%;
   604  	}
   605  
   606  	.etcd-container.etcd-stats .etcd-list {
   607  		position: absolute;
   608  		left: 100%;
   609  		min-height: 100%;
   610  		overflow-y: auto;
   611  		overflow-x: hidden;
   612  		top: 0px;
   613  		box-sizing: border-box;
   614  		-moz-box-sizing: border-box;
   615  		background-color: #fff;
   616  		width: 100%;
   617  		border-left: 1px solid #ddd;
   618  	}
   619  
   620  	.etcd-container.etcd-stats .etcd-list .etcd-square {
   621  		height: 10px;
   622  		width: 10px;
   623  		display: inline-block;
   624  		margin-right: 5px;
   625  	}
   626  
   627  		.etcd-container.etcd-stats .etcd-list .etcd-square-red {
   628  			background-color: #c40022;
   629  		}
   630  
   631  		.etcd-container.etcd-stats .etcd-list .etcd-square-orange {
   632  			background-color: #FFC000;
   633  		}
   634  
   635  		.etcd-container.etcd-stats .etcd-list .etcd-square-green {
   636  			background-color: #00DB24;
   637  		}
   638  
   639  	.etcd-container.etcd-stats .etcd-list .etcd-peer-type {
   640  		color: #999;
   641  		padding-left: 3px;
   642  		font-size: 13px;
   643  		line-height: 100%;
   644  	}
   645  
   646  	.etcd-container.etcd-stats .etcd-list .etcd-latency-value {
   647  		display: inline-block;
   648  	}
   649  
   650  	/* Single Column Positioning */
   651  	@media (max-width: 700px) {
   652  		.etcd-container.etcd-stats .etcd-list {
   653  			width: 100%;
   654  			left: 100%;
   655  		}
   656  
   657  		.etcd-container.etcd-stats .etcd-graph {
   658  			left: 0%;
   659  		}
   660  
   661  		.etcd-container.etcd-stats.etcd-table-reveal .etcd-graph {
   662  			left: -100%;
   663  			transition-property: all;
   664    			transition-duration: 250ms;
   665    			transition-timing-function: ease-in-out;
   666  		}
   667  		.etcd-container.etcd-stats.etcd-table-hide .etcd-graph {
   668  			left: 0%;
   669  			transition-property: all;
   670    			transition-duration: 250ms;
   671    			transition-timing-function: ease-in-out;
   672  
   673  		}
   674  		.etcd-container.etcd-stats.etcd-table-hide .etcd-format-selector .etcd-selector-graph svg * {
   675  			fill: #428bca;
   676  		}
   677  
   678  		.etcd-container.etcd-stats.etcd-table-hide .etcd-list {
   679  			left: 100%;
   680  			transition-property: all;
   681    			transition-duration: 250ms;
   682    			transition-timing-function: ease-in-out;
   683  		}
   684  		.etcd-container.etcd-stats.etcd-table-reveal .etcd-list {
   685  			left: 0%;
   686  			transition-property: all;
   687    			transition-duration: 250ms;
   688    			transition-timing-function: ease-in-out;
   689  		}
   690  		.etcd-container.etcd-stats.etcd-table-reveal .etcd-format-selector .etcd-selector-table svg * {
   691  			fill: #428bca;
   692  		}
   693  
   694  	}
   695  	
   696  
   697  	/* Double Column Positioning */
   698  	@media (min-width: 700px) {
   699  		.etcd-container.etcd-stats .etcd-list {
   700  			width: 50%;
   701  			left: 50%;
   702  		}
   703  
   704  		.etcd-container.etcd-stats .etcd-graph {
   705  			left: 0%;
   706  			width: 50%;
   707  		}
   708  
   709  		.etcd-container.etcd-stats .etcd-format-selector {
   710  			display: none;
   711  		}
   712  
   713  	}